screenright-client 0.9.2 → 0.9.3

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.js CHANGED
@@ -85,6 +85,7 @@ export const capture = (page, key, title, parentKey) => __awaiter(void 0, void 0
85
85
  const attribute = {
86
86
  key,
87
87
  title,
88
+ url: page.url(),
88
89
  childrens: [],
89
90
  };
90
91
  if (parentKey) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "screenright-client",
3
- "version": "0.9.2",
3
+ "version": "0.9.3",
4
4
  "description": "screenright's nodejs client library",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -7,6 +7,7 @@ import FormData from 'form-data'
7
7
  type ScreenshotItemAttribute = {
8
8
  key: string
9
9
  title: string
10
+ url: string
10
11
  childrens: ScreenshotItemAttribute[]
11
12
  }
12
13
 
@@ -109,6 +110,7 @@ export const capture = async (
109
110
  const attribute: ScreenshotItemAttribute = {
110
111
  key,
111
112
  title,
113
+ url: page.url(),
112
114
  childrens: [],
113
115
  }
114
116