Skip to content

Commit f07bd18

Browse files
committed
bump viz version
1 parent 051cba0 commit f07bd18

File tree

3 files changed

+8
-14
lines changed

3 files changed

+8
-14
lines changed

lib/report.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import genAGPURL from '@tidepool/viz/dist/genAGPURL.js';
1+
import getAGPFigures from '@tidepool/viz/dist/getAGPFigures.js';
22
import vizDataUtil from '@tidepool/viz/dist/data.js';
33
import { Blob } from 'buffer';
44
import axios from 'axios';
@@ -16,7 +16,7 @@ global.Blob = Blob;
1616
const blobStream = await import('blob-stream');
1717
const { DataUtil } = vizDataUtil;
1818
const { createPrintPDFPackage, utils: PrintPDFUtils } = vizPrintUtil;
19-
const { generateAGPSVGDataURLS } = genAGPURL;
19+
const { generateAGPFigureDefinitions } = getAGPFigures;
2020
const {
2121
reject, includes, max, map, find, get, pick, flatten, valuesIn, some, keys, isArray, fromPairs,
2222
} = _;
@@ -644,7 +644,7 @@ class Report {
644644
}
645645

646646
async processAGPSVGs(agpPDFData) {
647-
this.agpSVGFigures = await generateAGPSVGDataURLS({
647+
this.agpSVGFigures = await generateAGPFigureDefinitions({
648648
...agpPDFData,
649649
});
650650
this.agpFigurePromises = map(this.agpSVGFigures, async (image, key) => {

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"dependencies": {
2121
"@godaddy/terminus": "4.12.1",
2222
"@tidepool/data-tools": "2.4.1-esm.3",
23-
"@tidepool/viz": "1.35.0-web-2479-ssr-pdf.1",
23+
"@tidepool/viz": "1.35.0-web-2479-ssr-pdf.3",
2424
"axios": "1.4.0",
2525
"blob-stream": "0.1.3",
2626
"body-parser": "1.20.2",

yarn.lock

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -431,10 +431,10 @@
431431
mkdirp "1.0.3"
432432
moment "2.24.0"
433433

434-
"@tidepool/viz@1.35.0-web-2479-ssr-pdf.1":
435-
version "1.35.0-web-2479-ssr-pdf.1"
436-
resolved "https://registry.yarnpkg.com/@tidepool/viz/-/viz-1.35.0-web-2479-ssr-pdf.1.tgz#a6784cf0ef2cd0b3383c7e77c899582d43388072"
437-
integrity sha512-jGbyG/EzwuHOxNpCkdF3fE4ZK6ip7C3+Y1bJr8DbjgDxXembVp1mMLAd20ZzOOA93c8b7C1uzI9yOJLgioasVQ==
434+
"@tidepool/viz@1.35.0-web-2479-ssr-pdf.3":
435+
version "1.35.0-web-2479-ssr-pdf.3"
436+
resolved "https://registry.yarnpkg.com/@tidepool/viz/-/viz-1.35.0-web-2479-ssr-pdf.3.tgz#c506fa968119f87cf031a2344114dc7cdaad8d6b"
437+
integrity sha512-7jXsANYNVngR1PUDlcLWiBvEQcdvvQtMUPZQV8qo9XImev+7TXbyHcdDLDWkx5NPRL+qnzog0Xujbh065dUVNQ==
438438
dependencies:
439439
bluebird "3.5.2"
440440
bows "1.7.2"
@@ -456,7 +456,6 @@
456456
moment "2.29.4"
457457
moment-timezone "0.5.21"
458458
parse-svg-path "0.1.2"
459-
plotly.js-basic-dist-min "2.20.0"
460459
prop-types "15.6.2"
461460
react "16.12.0"
462461
react-clipboard.js "2.0.16"
@@ -3529,11 +3528,6 @@ picomatch@^2.0.4, picomatch@^2.2.1:
35293528
resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.1.tgz#3ba3833733646d9d3e4995946c1365a67fb07a42"
35303529
integrity sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==
35313530

3532-
plotly.js-basic-dist-min@2.20.0:
3533-
version "2.20.0"
3534-
resolved "https://registry.yarnpkg.com/plotly.js-basic-dist-min/-/plotly.js-basic-dist-min-2.20.0.tgz#9dcb93259b54cecde2faf9df466b5b901291a070"
3535-
integrity sha512-9lg4HsNtazmev5t/BNiA8iDcQcuuVOI4zyt2pgeZvout2eYIhDcYqT9X4+1UquSPUNTt72xsphFzRCX300jDVw==
3536-
35373531
plur@^4.0.0:
35383532
version "4.0.0"
35393533
resolved "https://registry.yarnpkg.com/plur/-/plur-4.0.0.tgz#729aedb08f452645fe8c58ef115bf16b0a73ef84"

0 commit comments

Comments
 (0)