@live-change/print-service 0.9.20 → 0.9.21
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/browser.js +3 -1
- package/package.json +5 -5
package/browser.js
CHANGED
|
@@ -23,7 +23,9 @@ async function newBrowser() {
|
|
|
23
23
|
return browser
|
|
24
24
|
} if(config.browserHost) {
|
|
25
25
|
const ip = await dns.resolve4(config.browserHost)
|
|
26
|
-
const
|
|
26
|
+
const browserInfoUrl = `http://${ip}:${config.browserPort}/json/version`
|
|
27
|
+
console.log("Browser info url", browserInfoUrl)
|
|
28
|
+
const browserInfo = await got.post(browserInfoUrl).json()
|
|
27
29
|
console.log("Browser info", browserInfo)
|
|
28
30
|
try {
|
|
29
31
|
const browser = await chromium.connectOverCDP(browserInfo.webSocketDebuggerUrl)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/print-service",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.21",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"url": "https://www.viamage.com/"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@live-change/framework": "^0.9.
|
|
25
|
-
"@live-change/relations-plugin": "^0.9.
|
|
26
|
-
"@live-change/user-service": "^0.9.
|
|
24
|
+
"@live-change/framework": "^0.9.21",
|
|
25
|
+
"@live-change/relations-plugin": "^0.9.21",
|
|
26
|
+
"@live-change/user-service": "^0.9.21",
|
|
27
27
|
"got": "^11.8.6",
|
|
28
28
|
"p-queue": "^8.0.1",
|
|
29
29
|
"playwright": "1.49.1"
|
|
30
30
|
},
|
|
31
|
-
"gitHead": "
|
|
31
|
+
"gitHead": "362e325d1c636f9c0f2fb6432e209c5c56f46919",
|
|
32
32
|
"type": "module"
|
|
33
33
|
}
|