@alwaysmeticulous/api 2.218.1 → 2.218.3
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.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { TestRunChunkStatus } from "./replay/test-run-chunk.types";
|
|
|
6
6
|
export * from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
|
|
7
7
|
export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
|
|
8
8
|
export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
|
|
9
|
-
export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata, IDBObjectStoreSnapshot, IDBObjectStoreWithEntries, IDBIndexSnapshot, CustomDataSingletonInternalKey, CustomDataSingletonInternalValues, CustomData, CustomUserEvent, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
|
|
9
|
+
export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata, IDBObjectStoreSnapshot, IDBObjectStoreWithEntries, IDBIndexSnapshot, CustomDataSingletonInternalKey, CustomDataSingletonInternalValues, CustomData, CustomUserEvent, SessionContext, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
|
|
10
10
|
export { SequenceNumber, WebSocketConnectionData, WebSocketConnectionEvent, WebSocketConnectionCreatedEvent, WebSocketConnectionOpenedEvent, EncodedArrayBuffer, EncodedBlob, WebSocketConnectionMessageEvent, WebSocketConnectionErrorEvent, WebSocketConnectionClosedEvent, } from "./sdk-bundle-api/sdk-to-bundle/websocket-data";
|
|
11
11
|
export { Replay } from "./replay/replay.types";
|
|
12
12
|
export { ScreenshotAssertionsOptions, ScreenshotAssertionsEnabledOptions, ScreenshottingEnabledOptions, StoryboardOptions, ScreenshotDiffOptions, ElementToIgnore, CSSSelectorToIgnore, } from "./sdk-bundle-api/sdk-to-bundle/screenshotting-options";
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAsBA,0DAOiC;AAN/B,kHAAA,gBAAgB,OAAA;AAQlB,sFAAoE;AAQpE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAsBA,0DAOiC;AAN/B,kHAAA,gBAAgB,OAAA;AAQlB,sFAAoE;AAQpE,4EAkBqD;AALnD,8HAAA,8BAA8B,OAAA"}
|
|
@@ -57,6 +57,10 @@ export interface SessionData {
|
|
|
57
57
|
*/
|
|
58
58
|
requestsBeforeNetworkRecordingStarted?: EarlyRequest[];
|
|
59
59
|
applicationSpecificData?: ApplicationSpecificData;
|
|
60
|
+
/**
|
|
61
|
+
* Only present on recordings since ~May 2025.
|
|
62
|
+
*/
|
|
63
|
+
context?: SessionContext;
|
|
60
64
|
}
|
|
61
65
|
export interface WindowData {
|
|
62
66
|
startUrl: string;
|
|
@@ -222,16 +226,6 @@ export declare enum CustomDataSingletonInternalKey {
|
|
|
222
226
|
* Present on recordings since ~Feb 2025.
|
|
223
227
|
*/
|
|
224
228
|
Languages = "met-languages",
|
|
225
|
-
/**
|
|
226
|
-
* The id of the logged in user (e.g. a user id from a database for the application Meticulous is testing).
|
|
227
|
-
* This must be set by the recording application by calling `window.Meticulous.record.recordUserId(userId)`.
|
|
228
|
-
*/
|
|
229
|
-
UserId = "met-user-id",
|
|
230
|
-
/**
|
|
231
|
-
* The email address of the logged in user. This must be set by the recording application
|
|
232
|
-
* by calling `window.Meticulous.record.recordUserEmail(email)`.
|
|
233
|
-
*/
|
|
234
|
-
UserEmail = "met-user-email",
|
|
235
229
|
/**
|
|
236
230
|
* The user agent of the browser the session was recorded on. As returned by `navigator.userAgent`.
|
|
237
231
|
* Present on recordings since ~May 2025.
|
|
@@ -242,8 +236,6 @@ export type CustomDataSingletonInternalValues = {
|
|
|
242
236
|
[CustomDataSingletonInternalKey.SystemThemePreferredColor]: "light" | "dark";
|
|
243
237
|
[CustomDataSingletonInternalKey.TimezoneName]: string;
|
|
244
238
|
[CustomDataSingletonInternalKey.Languages]: string;
|
|
245
|
-
[CustomDataSingletonInternalKey.UserId]: string;
|
|
246
|
-
[CustomDataSingletonInternalKey.UserEmail]: string;
|
|
247
239
|
[CustomDataSingletonInternalKey.UserAgent]: string;
|
|
248
240
|
};
|
|
249
241
|
export type CustomData = {
|
|
@@ -254,4 +246,10 @@ export type CustomData = {
|
|
|
254
246
|
*/
|
|
255
247
|
events?: CustomUserEvent[];
|
|
256
248
|
};
|
|
249
|
+
export type SessionContext = {
|
|
250
|
+
customContext: Record<string, string | boolean>;
|
|
251
|
+
featureFlags: Record<string, string | boolean>;
|
|
252
|
+
userId?: string;
|
|
253
|
+
userEmail?: string;
|
|
254
|
+
};
|
|
257
255
|
export {};
|
|
@@ -18,16 +18,6 @@ var CustomDataSingletonInternalKey;
|
|
|
18
18
|
* Present on recordings since ~Feb 2025.
|
|
19
19
|
*/
|
|
20
20
|
CustomDataSingletonInternalKey["Languages"] = "met-languages";
|
|
21
|
-
/**
|
|
22
|
-
* The id of the logged in user (e.g. a user id from a database for the application Meticulous is testing).
|
|
23
|
-
* This must be set by the recording application by calling `window.Meticulous.record.recordUserId(userId)`.
|
|
24
|
-
*/
|
|
25
|
-
CustomDataSingletonInternalKey["UserId"] = "met-user-id";
|
|
26
|
-
/**
|
|
27
|
-
* The email address of the logged in user. This must be set by the recording application
|
|
28
|
-
* by calling `window.Meticulous.record.recordUserEmail(email)`.
|
|
29
|
-
*/
|
|
30
|
-
CustomDataSingletonInternalKey["UserEmail"] = "met-user-email";
|
|
31
21
|
/**
|
|
32
22
|
* The user agent of the browser the session was recorded on. As returned by `navigator.userAgent`.
|
|
33
23
|
* Present on recordings since ~May 2025.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-data.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"session-data.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"names":[],"mappings":";;;AAgPA,IAAY,8BAwBX;AAxBD,WAAY,8BAA8B;IACxC,gGAA8D,CAAA;IAE9D;;;;;OAKG;IACH,oEAAkC,CAAA;IAElC;;;;;OAKG;IACH,6DAA2B,CAAA;IAE3B;;;OAGG;IACH,8DAA4B,CAAA;AAC9B,CAAC,EAxBW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAwBzC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.218.
|
|
3
|
+
"version": "2.218.3",
|
|
4
4
|
"description": "Meticulous API types",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -35,5 +35,5 @@
|
|
|
35
35
|
"bugs": {
|
|
36
36
|
"url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
|
|
37
37
|
},
|
|
38
|
-
"gitHead": "
|
|
38
|
+
"gitHead": "501fcb42297b85967b47aadb7971e4a1baa7b23b"
|
|
39
39
|
}
|