@live-change/print-service 0.9.180 → 0.9.182

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/screenshot.js +2 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/print-service",
3
- "version": "0.9.180",
3
+ "version": "0.9.182",
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.180",
25
- "@live-change/relations-plugin": "^0.9.180",
26
- "@live-change/user-service": "^0.9.180",
24
+ "@live-change/framework": "^0.9.182",
25
+ "@live-change/relations-plugin": "^0.9.182",
26
+ "@live-change/user-service": "^0.9.182",
27
27
  "got": "^11.8.6",
28
28
  "p-queue": "8.1.0",
29
29
  "playwright": "1.49.1"
30
30
  },
31
- "gitHead": "c6ee30c8f36f989714e8fc7ec71daadb895b2b6e",
31
+ "gitHead": "e12068c10b76a5661032a3df85d7168f228192af",
32
32
  "type": "module"
33
33
  }
package/screenshot.js CHANGED
@@ -60,8 +60,9 @@ export const screenshotToFileTask = task({
60
60
  async execute({ path, data, timeout, media, options, waitForSelector, viewport, outputPath, clipSelector },
61
61
  { task, trigger, triggerService }, emit) {
62
62
  const all = 10
63
- let at = 0
63
+ let at = 0
64
64
  const url = await getAuthenticatedUrl(path, data)
65
+ console.log("SCREENSHOT URL", url, "DATA", data, 'PATH', path)
65
66
  let imageData
66
67
  let size
67
68
  task.progress(at++, all, 'gettingBrowserReady')