@offscript/sdk 0.1.8 → 0.1.9
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/adapters/nuxt.cjs +3 -3
- package/dist/adapters/nuxt.js +2 -2
- package/dist/adapters/vanilla.cjs +5 -5
- package/dist/adapters/vanilla.js +3 -3
- package/dist/adapters/vue.cjs +3 -3
- package/dist/adapters/vue.js +2 -2
- package/dist/{chunk-W27UMAEC.js → chunk-5F637PDG.js} +34 -8
- package/dist/chunk-5F637PDG.js.map +1 -0
- package/dist/{chunk-AQG5MIW5.js → chunk-KKEYBVTX.js} +3 -3
- package/dist/{chunk-AQG5MIW5.js.map → chunk-KKEYBVTX.js.map} +1 -1
- package/dist/{chunk-ZB2LSKD2.cjs → chunk-M2E6CWGK.cjs} +3 -3
- package/dist/{chunk-ZB2LSKD2.cjs.map → chunk-M2E6CWGK.cjs.map} +1 -1
- package/dist/{chunk-IOIVKJTV.js → chunk-U232L3JD.js} +3 -3
- package/dist/{chunk-IOIVKJTV.js.map → chunk-U232L3JD.js.map} +1 -1
- package/dist/{chunk-YIKWNN5R.cjs → chunk-WK242AJ2.cjs} +4 -4
- package/dist/{chunk-YIKWNN5R.cjs.map → chunk-WK242AJ2.cjs.map} +1 -1
- package/dist/{chunk-E53R6UOC.cjs → chunk-YPGRVKY4.cjs} +39 -13
- package/dist/chunk-YPGRVKY4.cjs.map +1 -0
- package/dist/core/OffscriptSDK.d.ts +1 -1
- package/dist/index.cjs +20 -20
- package/dist/index.js +3 -3
- package/dist/playwright.cjs +13 -13
- package/dist/playwright.js +1 -1
- package/dist/types/events.d.ts +1 -1
- package/package.json +1 -1
- package/dist/chunk-E53R6UOC.cjs.map +0 -1
- package/dist/chunk-W27UMAEC.js.map +0 -1
package/dist/index.cjs
CHANGED
|
@@ -1,78 +1,78 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
3
|
+
var chunkWK242AJ2_cjs = require('./chunk-WK242AJ2.cjs');
|
|
4
|
+
var chunkYPGRVKY4_cjs = require('./chunk-YPGRVKY4.cjs');
|
|
5
|
+
var chunkM2E6CWGK_cjs = require('./chunk-M2E6CWGK.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
Object.defineProperty(exports, "createOffscript", {
|
|
10
10
|
enumerable: true,
|
|
11
|
-
get: function () { return
|
|
11
|
+
get: function () { return chunkWK242AJ2_cjs.createOffscript; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "startOffscript", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunkWK242AJ2_cjs.startOffscript; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "ConfigError", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunkYPGRVKY4_cjs.ConfigError; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "DEFAULT_PRIVACY", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunkYPGRVKY4_cjs.DEFAULT_PRIVACY; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "DEFAULT_RECORDING", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunkYPGRVKY4_cjs.DEFAULT_RECORDING; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "DataSanitizer", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunkYPGRVKY4_cjs.DataSanitizer; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "InvalidStateError", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkYPGRVKY4_cjs.InvalidStateError; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "Offscript", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkYPGRVKY4_cjs.Offscript; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "OffscriptError", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkYPGRVKY4_cjs.OffscriptError; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "ACTION_SCHEMA_VERSION", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkM2E6CWGK_cjs.ACTION_SCHEMA_VERSION; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "PLAYWRIGHT_CONTRACT_VERSION", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkM2E6CWGK_cjs.PLAYWRIGHT_CONTRACT_VERSION; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "SCHEMA_VERSION", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkM2E6CWGK_cjs.SCHEMA_VERSION; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "SDK_VERSION", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkM2E6CWGK_cjs.SDK_VERSION; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "SelectorGenerator", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkM2E6CWGK_cjs.SelectorGenerator; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "buildPlaywrightContract", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkM2E6CWGK_cjs.buildPlaywrightContract; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "normalizeActions", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkM2E6CWGK_cjs.normalizeActions; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "validatePlaywrightContract", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkM2E6CWGK_cjs.validatePlaywrightContract; }
|
|
76
76
|
});
|
|
77
77
|
//# sourceMappingURL=index.cjs.map
|
|
78
78
|
//# sourceMappingURL=index.cjs.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { createOffscript, startOffscript } from './chunk-
|
|
2
|
-
export { ConfigError, DEFAULT_PRIVACY, DEFAULT_RECORDING, DataSanitizer, InvalidStateError, Offscript, OffscriptError } from './chunk-
|
|
3
|
-
export { ACTION_SCHEMA_VERSION, PLAYWRIGHT_CONTRACT_VERSION, SCHEMA_VERSION, SDK_VERSION, SelectorGenerator, buildPlaywrightContract, normalizeActions, validatePlaywrightContract } from './chunk-
|
|
1
|
+
export { createOffscript, startOffscript } from './chunk-U232L3JD.js';
|
|
2
|
+
export { ConfigError, DEFAULT_PRIVACY, DEFAULT_RECORDING, DataSanitizer, InvalidStateError, Offscript, OffscriptError } from './chunk-5F637PDG.js';
|
|
3
|
+
export { ACTION_SCHEMA_VERSION, PLAYWRIGHT_CONTRACT_VERSION, SCHEMA_VERSION, SDK_VERSION, SelectorGenerator, buildPlaywrightContract, normalizeActions, validatePlaywrightContract } from './chunk-KKEYBVTX.js';
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
package/dist/playwright.cjs
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkM2E6CWGK_cjs = require('./chunk-M2E6CWGK.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
Object.defineProperty(exports, "CONTRACT_LIMITATIONS", {
|
|
8
8
|
enumerable: true,
|
|
9
|
-
get: function () { return
|
|
9
|
+
get: function () { return chunkM2E6CWGK_cjs.CONTRACT_LIMITATIONS; }
|
|
10
10
|
});
|
|
11
11
|
Object.defineProperty(exports, "PLAYWRIGHT_CONTRACT_KIND", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkM2E6CWGK_cjs.PLAYWRIGHT_CONTRACT_KIND; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "PLAYWRIGHT_CONTRACT_VERSION", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkM2E6CWGK_cjs.PLAYWRIGHT_CONTRACT_VERSION; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "SelectorGenerator", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkM2E6CWGK_cjs.SelectorGenerator; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "accessibleName", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkM2E6CWGK_cjs.accessibleName; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "buildPlaywrightContract", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkM2E6CWGK_cjs.buildPlaywrightContract; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "implicitRole", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkM2E6CWGK_cjs.implicitRole; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "isStableClass", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkM2E6CWGK_cjs.isStableClass; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "isStableId", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkM2E6CWGK_cjs.isStableId; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "labelText", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkM2E6CWGK_cjs.labelText; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "normalizeActions", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkM2E6CWGK_cjs.normalizeActions; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "validatePlaywrightContract", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkM2E6CWGK_cjs.validatePlaywrightContract; }
|
|
54
54
|
});
|
|
55
55
|
//# sourceMappingURL=playwright.cjs.map
|
|
56
56
|
//# sourceMappingURL=playwright.cjs.map
|
package/dist/playwright.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { CONTRACT_LIMITATIONS, PLAYWRIGHT_CONTRACT_KIND, PLAYWRIGHT_CONTRACT_VERSION, SelectorGenerator, accessibleName, buildPlaywrightContract, implicitRole, isStableClass, isStableId, labelText, normalizeActions, validatePlaywrightContract } from './chunk-
|
|
1
|
+
export { CONTRACT_LIMITATIONS, PLAYWRIGHT_CONTRACT_KIND, PLAYWRIGHT_CONTRACT_VERSION, SelectorGenerator, accessibleName, buildPlaywrightContract, implicitRole, isStableClass, isStableId, labelText, normalizeActions, validatePlaywrightContract } from './chunk-KKEYBVTX.js';
|
|
2
2
|
//# sourceMappingURL=playwright.js.map
|
|
3
3
|
//# sourceMappingURL=playwright.js.map
|
package/dist/types/events.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const SCHEMA_VERSION = "1.0";
|
|
2
|
-
export declare const SDK_VERSION = "0.1.
|
|
2
|
+
export declare const SDK_VERSION = "0.1.9";
|
|
3
3
|
export type EventKind = "rrweb" | "action" | "http" | "console" | "error" | "context" | "iframe" | "lifecycle";
|
|
4
4
|
/** Envelope comum a todos os eventos. A ordem canônica é (tabId, sequence). */
|
|
5
5
|
export interface OffscriptEvent<T = unknown> {
|