@things-factory/integration-headless 8.0.94 → 8.0.97
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@things-factory/integration-headless",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.97",
|
|
4
4
|
"main": "dist-server/index.js",
|
|
5
5
|
"things-factory": true,
|
|
6
6
|
"author": "heartyoh <heartyoh@hatiolab.com>",
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
"clean": "npm run clean:server"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@things-factory/attachment-base": "^8.0.
|
|
26
|
-
"@things-factory/board-service": "^8.0.
|
|
27
|
-
"@things-factory/integration-base": "^8.0.
|
|
28
|
-
"@things-factory/shell": "^8.0.
|
|
25
|
+
"@things-factory/attachment-base": "^8.0.97",
|
|
26
|
+
"@things-factory/board-service": "^8.0.97",
|
|
27
|
+
"@things-factory/integration-base": "^8.0.97",
|
|
28
|
+
"@things-factory/shell": "^8.0.97",
|
|
29
29
|
"ejs": "^3.1.10",
|
|
30
30
|
"pdf-lib": "^1.17.1"
|
|
31
31
|
},
|
|
32
|
-
"gitHead": "
|
|
32
|
+
"gitHead": "5d03c18493fb5e9d58e56bf893b51a9d682b8823"
|
|
33
33
|
}
|
|
@@ -79,7 +79,7 @@ export class PDFCaptureUtil {
|
|
|
79
79
|
|
|
80
80
|
if (htmlContent) {
|
|
81
81
|
// 페이지 컨텐츠 설정
|
|
82
|
-
await page.setContent(htmlContent, { waitUntil: '
|
|
82
|
+
await page.setContent(htmlContent, { waitUntil: 'load' }) // HTML 컨텐츠가 완전히 로드될 때까지 대기
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
// 페이지가 완전히 로드된 후에 워터마크와 머릿글 적용
|
|
@@ -212,7 +212,7 @@ export class PDFCaptureUtil {
|
|
|
212
212
|
const page = await this.browser.newPage()
|
|
213
213
|
|
|
214
214
|
// 페이지에 HTML 콘텐츠를 설정합니다.
|
|
215
|
-
await page.setContent(htmlContent, { waitUntil: '
|
|
215
|
+
await page.setContent(htmlContent, { waitUntil: 'load' })
|
|
216
216
|
|
|
217
217
|
// 페이지가 완전히 로드된 후에 워터마크와 머릿글 적용
|
|
218
218
|
const { __headless_pdf } = this.context
|