@iflyrpa/playwright 1.0.12 → 1.0.13

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/dist/index.cjs CHANGED
@@ -16,7 +16,7 @@ const npminstall__default = /*#__PURE__*/_interopDefaultCompat(npminstall);
16
16
 
17
17
  const name = "@iflyrpa/playwright";
18
18
  const type = "module";
19
- const version$1 = "1.0.12";
19
+ const version$1 = "1.0.13";
20
20
  const main = "./dist/index.cjs";
21
21
  const module$1 = "./dist/index.mjs";
22
22
  const types = "./dist/index.d.ts";
@@ -35,9 +35,6 @@ const dependencies = {
35
35
  npminstall: "^7.12.0",
36
36
  playwright: "^1.46.1"
37
37
  };
38
- const peerDependencies = {
39
- electron: "*"
40
- };
41
38
  const devDependencies = {
42
39
  esno: "^4.7.0",
43
40
  typescript: "^5.5.2",
@@ -55,7 +52,6 @@ const packageJson = {
55
52
  license: license,
56
53
  files: files,
57
54
  dependencies: dependencies,
58
- peerDependencies: peerDependencies,
59
55
  devDependencies: devDependencies
60
56
  };
61
57
 
package/dist/index.d.cts CHANGED
@@ -1,4 +1,47 @@
1
- import { CookiesSetDetails } from 'electron';
1
+ interface CookiesSetDetails {
2
+ /**
3
+ * The URL to associate the cookie with. The promise will be rejected if the URL is
4
+ * invalid.
5
+ */
6
+ url: string;
7
+ /**
8
+ * The name of the cookie. Empty by default if omitted.
9
+ */
10
+ name?: string;
11
+ /**
12
+ * The value of the cookie. Empty by default if omitted.
13
+ */
14
+ value?: string;
15
+ /**
16
+ * The domain of the cookie; this will be normalized with a preceding dot so that
17
+ * it's also valid for subdomains. Empty by default if omitted.
18
+ */
19
+ domain?: string;
20
+ /**
21
+ * The path of the cookie. Empty by default if omitted.
22
+ */
23
+ path?: string;
24
+ /**
25
+ * Whether the cookie should be marked as Secure. Defaults to false unless Same
26
+ * Site=None attribute is used.
27
+ */
28
+ secure?: boolean;
29
+ /**
30
+ * Whether the cookie should be marked as HTTP only. Defaults to false.
31
+ */
32
+ httpOnly?: boolean;
33
+ /**
34
+ * The expiration date of the cookie as the number of seconds since the UNIX epoch.
35
+ * If omitted then the cookie becomes a session cookie and will not be retained
36
+ * between sessions.
37
+ */
38
+ expirationDate?: number;
39
+ /**
40
+ * The Same Site policy to apply to this cookie. Can be `unspecified`,
41
+ * `no_restriction`, `lax` or `strict`. Default is `lax`.
42
+ */
43
+ sameSite?: "unspecified" | "no_restriction" | "lax" | "strict";
44
+ }
2
45
 
3
46
  type CookieMap = CookiesSetDetails[];
4
47
 
package/dist/index.d.mts CHANGED
@@ -1,4 +1,47 @@
1
- import { CookiesSetDetails } from 'electron';
1
+ interface CookiesSetDetails {
2
+ /**
3
+ * The URL to associate the cookie with. The promise will be rejected if the URL is
4
+ * invalid.
5
+ */
6
+ url: string;
7
+ /**
8
+ * The name of the cookie. Empty by default if omitted.
9
+ */
10
+ name?: string;
11
+ /**
12
+ * The value of the cookie. Empty by default if omitted.
13
+ */
14
+ value?: string;
15
+ /**
16
+ * The domain of the cookie; this will be normalized with a preceding dot so that
17
+ * it's also valid for subdomains. Empty by default if omitted.
18
+ */
19
+ domain?: string;
20
+ /**
21
+ * The path of the cookie. Empty by default if omitted.
22
+ */
23
+ path?: string;
24
+ /**
25
+ * Whether the cookie should be marked as Secure. Defaults to false unless Same
26
+ * Site=None attribute is used.
27
+ */
28
+ secure?: boolean;
29
+ /**
30
+ * Whether the cookie should be marked as HTTP only. Defaults to false.
31
+ */
32
+ httpOnly?: boolean;
33
+ /**
34
+ * The expiration date of the cookie as the number of seconds since the UNIX epoch.
35
+ * If omitted then the cookie becomes a session cookie and will not be retained
36
+ * between sessions.
37
+ */
38
+ expirationDate?: number;
39
+ /**
40
+ * The Same Site policy to apply to this cookie. Can be `unspecified`,
41
+ * `no_restriction`, `lax` or `strict`. Default is `lax`.
42
+ */
43
+ sameSite?: "unspecified" | "no_restriction" | "lax" | "strict";
44
+ }
2
45
 
3
46
  type CookieMap = CookiesSetDetails[];
4
47
 
package/dist/index.d.ts CHANGED
@@ -1,4 +1,47 @@
1
- import { CookiesSetDetails } from 'electron';
1
+ interface CookiesSetDetails {
2
+ /**
3
+ * The URL to associate the cookie with. The promise will be rejected if the URL is
4
+ * invalid.
5
+ */
6
+ url: string;
7
+ /**
8
+ * The name of the cookie. Empty by default if omitted.
9
+ */
10
+ name?: string;
11
+ /**
12
+ * The value of the cookie. Empty by default if omitted.
13
+ */
14
+ value?: string;
15
+ /**
16
+ * The domain of the cookie; this will be normalized with a preceding dot so that
17
+ * it's also valid for subdomains. Empty by default if omitted.
18
+ */
19
+ domain?: string;
20
+ /**
21
+ * The path of the cookie. Empty by default if omitted.
22
+ */
23
+ path?: string;
24
+ /**
25
+ * Whether the cookie should be marked as Secure. Defaults to false unless Same
26
+ * Site=None attribute is used.
27
+ */
28
+ secure?: boolean;
29
+ /**
30
+ * Whether the cookie should be marked as HTTP only. Defaults to false.
31
+ */
32
+ httpOnly?: boolean;
33
+ /**
34
+ * The expiration date of the cookie as the number of seconds since the UNIX epoch.
35
+ * If omitted then the cookie becomes a session cookie and will not be retained
36
+ * between sessions.
37
+ */
38
+ expirationDate?: number;
39
+ /**
40
+ * The Same Site policy to apply to this cookie. Can be `unspecified`,
41
+ * `no_restriction`, `lax` or `strict`. Default is `lax`.
42
+ */
43
+ sameSite?: "unspecified" | "no_restriction" | "lax" | "strict";
44
+ }
2
45
 
3
46
  type CookieMap = CookiesSetDetails[];
4
47
 
package/dist/index.mjs CHANGED
@@ -6,7 +6,7 @@ import npminstall from 'npminstall';
6
6
 
7
7
  const name = "@iflyrpa/playwright";
8
8
  const type = "module";
9
- const version$1 = "1.0.12";
9
+ const version$1 = "1.0.13";
10
10
  const main = "./dist/index.cjs";
11
11
  const module = "./dist/index.mjs";
12
12
  const types = "./dist/index.d.ts";
@@ -25,9 +25,6 @@ const dependencies = {
25
25
  npminstall: "^7.12.0",
26
26
  playwright: "^1.46.1"
27
27
  };
28
- const peerDependencies = {
29
- electron: "*"
30
- };
31
28
  const devDependencies = {
32
29
  esno: "^4.7.0",
33
30
  typescript: "^5.5.2",
@@ -45,7 +42,6 @@ const packageJson = {
45
42
  license: license,
46
43
  files: files,
47
44
  dependencies: dependencies,
48
- peerDependencies: peerDependencies,
49
45
  devDependencies: devDependencies
50
46
  };
51
47
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@iflyrpa/playwright",
3
3
  "type": "module",
4
- "version": "1.0.12",
4
+ "version": "1.0.13",
5
5
  "main": "./dist/index.cjs",
6
6
  "module": "./dist/index.mjs",
7
7
  "types": "./dist/index.d.ts",
@@ -18,9 +18,6 @@
18
18
  "npminstall": "^7.12.0",
19
19
  "playwright": "^1.46.1"
20
20
  },
21
- "peerDependencies": {
22
- "electron": "*"
23
- },
24
21
  "devDependencies": {
25
22
  "esno": "^4.7.0",
26
23
  "typescript": "^5.5.2",