@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.
@@ -26,7 +26,7 @@ declare global {
26
26
  }
27
27
  }
28
28
  export declare class Offscript implements EventSink {
29
- static readonly version = "0.1.8";
29
+ static readonly version = "0.1.9";
30
30
  readonly config: ResolvedConfig;
31
31
  readonly sanitizer: DataSanitizer;
32
32
  private readonly bus;
package/dist/index.cjs CHANGED
@@ -1,78 +1,78 @@
1
1
  'use strict';
2
2
 
3
- var chunkYIKWNN5R_cjs = require('./chunk-YIKWNN5R.cjs');
4
- var chunkE53R6UOC_cjs = require('./chunk-E53R6UOC.cjs');
5
- var chunkZB2LSKD2_cjs = require('./chunk-ZB2LSKD2.cjs');
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 chunkYIKWNN5R_cjs.createOffscript; }
11
+ get: function () { return chunkWK242AJ2_cjs.createOffscript; }
12
12
  });
13
13
  Object.defineProperty(exports, "startOffscript", {
14
14
  enumerable: true,
15
- get: function () { return chunkYIKWNN5R_cjs.startOffscript; }
15
+ get: function () { return chunkWK242AJ2_cjs.startOffscript; }
16
16
  });
17
17
  Object.defineProperty(exports, "ConfigError", {
18
18
  enumerable: true,
19
- get: function () { return chunkE53R6UOC_cjs.ConfigError; }
19
+ get: function () { return chunkYPGRVKY4_cjs.ConfigError; }
20
20
  });
21
21
  Object.defineProperty(exports, "DEFAULT_PRIVACY", {
22
22
  enumerable: true,
23
- get: function () { return chunkE53R6UOC_cjs.DEFAULT_PRIVACY; }
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 chunkE53R6UOC_cjs.DEFAULT_RECORDING; }
27
+ get: function () { return chunkYPGRVKY4_cjs.DEFAULT_RECORDING; }
28
28
  });
29
29
  Object.defineProperty(exports, "DataSanitizer", {
30
30
  enumerable: true,
31
- get: function () { return chunkE53R6UOC_cjs.DataSanitizer; }
31
+ get: function () { return chunkYPGRVKY4_cjs.DataSanitizer; }
32
32
  });
33
33
  Object.defineProperty(exports, "InvalidStateError", {
34
34
  enumerable: true,
35
- get: function () { return chunkE53R6UOC_cjs.InvalidStateError; }
35
+ get: function () { return chunkYPGRVKY4_cjs.InvalidStateError; }
36
36
  });
37
37
  Object.defineProperty(exports, "Offscript", {
38
38
  enumerable: true,
39
- get: function () { return chunkE53R6UOC_cjs.Offscript; }
39
+ get: function () { return chunkYPGRVKY4_cjs.Offscript; }
40
40
  });
41
41
  Object.defineProperty(exports, "OffscriptError", {
42
42
  enumerable: true,
43
- get: function () { return chunkE53R6UOC_cjs.OffscriptError; }
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 chunkZB2LSKD2_cjs.ACTION_SCHEMA_VERSION; }
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 chunkZB2LSKD2_cjs.PLAYWRIGHT_CONTRACT_VERSION; }
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 chunkZB2LSKD2_cjs.SCHEMA_VERSION; }
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 chunkZB2LSKD2_cjs.SDK_VERSION; }
59
+ get: function () { return chunkM2E6CWGK_cjs.SDK_VERSION; }
60
60
  });
61
61
  Object.defineProperty(exports, "SelectorGenerator", {
62
62
  enumerable: true,
63
- get: function () { return chunkZB2LSKD2_cjs.SelectorGenerator; }
63
+ get: function () { return chunkM2E6CWGK_cjs.SelectorGenerator; }
64
64
  });
65
65
  Object.defineProperty(exports, "buildPlaywrightContract", {
66
66
  enumerable: true,
67
- get: function () { return chunkZB2LSKD2_cjs.buildPlaywrightContract; }
67
+ get: function () { return chunkM2E6CWGK_cjs.buildPlaywrightContract; }
68
68
  });
69
69
  Object.defineProperty(exports, "normalizeActions", {
70
70
  enumerable: true,
71
- get: function () { return chunkZB2LSKD2_cjs.normalizeActions; }
71
+ get: function () { return chunkM2E6CWGK_cjs.normalizeActions; }
72
72
  });
73
73
  Object.defineProperty(exports, "validatePlaywrightContract", {
74
74
  enumerable: true,
75
- get: function () { return chunkZB2LSKD2_cjs.validatePlaywrightContract; }
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-IOIVKJTV.js';
2
- export { ConfigError, DEFAULT_PRIVACY, DEFAULT_RECORDING, DataSanitizer, InvalidStateError, Offscript, OffscriptError } from './chunk-W27UMAEC.js';
3
- export { ACTION_SCHEMA_VERSION, PLAYWRIGHT_CONTRACT_VERSION, SCHEMA_VERSION, SDK_VERSION, SelectorGenerator, buildPlaywrightContract, normalizeActions, validatePlaywrightContract } from './chunk-AQG5MIW5.js';
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
@@ -1,56 +1,56 @@
1
1
  'use strict';
2
2
 
3
- var chunkZB2LSKD2_cjs = require('./chunk-ZB2LSKD2.cjs');
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 chunkZB2LSKD2_cjs.CONTRACT_LIMITATIONS; }
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 chunkZB2LSKD2_cjs.PLAYWRIGHT_CONTRACT_KIND; }
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 chunkZB2LSKD2_cjs.PLAYWRIGHT_CONTRACT_VERSION; }
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 chunkZB2LSKD2_cjs.SelectorGenerator; }
21
+ get: function () { return chunkM2E6CWGK_cjs.SelectorGenerator; }
22
22
  });
23
23
  Object.defineProperty(exports, "accessibleName", {
24
24
  enumerable: true,
25
- get: function () { return chunkZB2LSKD2_cjs.accessibleName; }
25
+ get: function () { return chunkM2E6CWGK_cjs.accessibleName; }
26
26
  });
27
27
  Object.defineProperty(exports, "buildPlaywrightContract", {
28
28
  enumerable: true,
29
- get: function () { return chunkZB2LSKD2_cjs.buildPlaywrightContract; }
29
+ get: function () { return chunkM2E6CWGK_cjs.buildPlaywrightContract; }
30
30
  });
31
31
  Object.defineProperty(exports, "implicitRole", {
32
32
  enumerable: true,
33
- get: function () { return chunkZB2LSKD2_cjs.implicitRole; }
33
+ get: function () { return chunkM2E6CWGK_cjs.implicitRole; }
34
34
  });
35
35
  Object.defineProperty(exports, "isStableClass", {
36
36
  enumerable: true,
37
- get: function () { return chunkZB2LSKD2_cjs.isStableClass; }
37
+ get: function () { return chunkM2E6CWGK_cjs.isStableClass; }
38
38
  });
39
39
  Object.defineProperty(exports, "isStableId", {
40
40
  enumerable: true,
41
- get: function () { return chunkZB2LSKD2_cjs.isStableId; }
41
+ get: function () { return chunkM2E6CWGK_cjs.isStableId; }
42
42
  });
43
43
  Object.defineProperty(exports, "labelText", {
44
44
  enumerable: true,
45
- get: function () { return chunkZB2LSKD2_cjs.labelText; }
45
+ get: function () { return chunkM2E6CWGK_cjs.labelText; }
46
46
  });
47
47
  Object.defineProperty(exports, "normalizeActions", {
48
48
  enumerable: true,
49
- get: function () { return chunkZB2LSKD2_cjs.normalizeActions; }
49
+ get: function () { return chunkM2E6CWGK_cjs.normalizeActions; }
50
50
  });
51
51
  Object.defineProperty(exports, "validatePlaywrightContract", {
52
52
  enumerable: true,
53
- get: function () { return chunkZB2LSKD2_cjs.validatePlaywrightContract; }
53
+ get: function () { return chunkM2E6CWGK_cjs.validatePlaywrightContract; }
54
54
  });
55
55
  //# sourceMappingURL=playwright.cjs.map
56
56
  //# sourceMappingURL=playwright.cjs.map
@@ -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-AQG5MIW5.js';
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
@@ -1,5 +1,5 @@
1
1
  export declare const SCHEMA_VERSION = "1.0";
2
- export declare const SDK_VERSION = "0.1.8";
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> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@offscript/sdk",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "Offscript SDK - gravação de sessões de teste QA (rrweb, ações, rede, erros)",
5
5
  "license": "MIT",
6
6
  "type": "module",