Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
ff890fb2af | |||
a512fd64b5 | |||
377318a62a | |||
671c871304 |
2097
package-lock.json
generated
2097
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
14
package.json
14
package.json
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@pushrocks/smartpdf",
|
||||
"version": "2.0.12",
|
||||
"version": "2.0.14",
|
||||
"private": false,
|
||||
"description": "create pdfs on the fly",
|
||||
"main": "dist_ts/index.js",
|
||||
@ -14,20 +14,20 @@
|
||||
"devDependencies": {
|
||||
"@gitzone/tsbuild": "^2.1.28",
|
||||
"@gitzone/tsrun": "^1.2.18",
|
||||
"@gitzone/tstest": "^1.0.59",
|
||||
"@pushrocks/tapbundle": "^3.2.14",
|
||||
"@types/node": "^16.10.5",
|
||||
"@gitzone/tstest": "^1.0.60",
|
||||
"@pushrocks/tapbundle": "^3.2.15",
|
||||
"@types/node": "^17.0.8",
|
||||
"tslint": "^6.1.3",
|
||||
"tslint-config-prettier": "^1.18.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@pushrocks/smartfile": "^8.0.10",
|
||||
"@pushrocks/smartfile": "^9.0.5",
|
||||
"@pushrocks/smartnetwork": "^2.0.10",
|
||||
"@pushrocks/smartpromise": "^3.1.6",
|
||||
"@pushrocks/smartpuppeteer": "^1.0.27",
|
||||
"@pushrocks/smartpuppeteer": "^1.0.36",
|
||||
"@pushrocks/smartunique": "^3.0.3",
|
||||
"@types/express": "^4.17.13",
|
||||
"express": "^4.17.1",
|
||||
"express": "^4.17.2",
|
||||
"pdf-merger-js": "^3.2.1"
|
||||
},
|
||||
"files": [
|
||||
|
@ -69,8 +69,8 @@ export class SmartPdf {
|
||||
this._candidates[pdfCandidate.pdfId] = pdfCandidate;
|
||||
const page = await this.headlessBrowser.newPage();
|
||||
await page.setViewport({
|
||||
height: 842,
|
||||
width: 595,
|
||||
width: 794,
|
||||
height: 1122
|
||||
})
|
||||
const response = await page.goto(`http://localhost:3210/${pdfCandidate.pdfId}`, {
|
||||
waitUntil: 'networkidle2',
|
||||
|
Reference in New Issue
Block a user