@alwaysmeticulous/api 2.218.3 → 2.221.0
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/replay/test-run.types.d.ts +1 -0
- package/dist/replay/test-run.types.js +1 -0
- package/dist/replay/test-run.types.js.map +1 -1
- package/dist/sdk-bundle-api/sdk-to-bundle/session-data.d.ts +12 -1
- package/dist/sdk-bundle-api/sdk-to-bundle/session-data.js +10 -0
- package/dist/sdk-bundle-api/sdk-to-bundle/session-data.js.map +1 -1
- package/package.json +2 -2
|
@@ -3,6 +3,7 @@ import { ScreenshotDiffOptions } from "../sdk-bundle-api/sdk-to-bundle/screensho
|
|
|
3
3
|
* Relevance of a session
|
|
4
4
|
*/
|
|
5
5
|
export declare enum SessionRelevance {
|
|
6
|
+
IsPrAuthor = "is-pr-author",
|
|
6
7
|
IsRelevant = "is-relevant",
|
|
7
8
|
NotRelevant = "not-relevant",
|
|
8
9
|
MaybeRelevant = "maybe-relevant"
|
|
@@ -6,6 +6,7 @@ exports.SessionRelevance = void 0;
|
|
|
6
6
|
*/
|
|
7
7
|
var SessionRelevance;
|
|
8
8
|
(function (SessionRelevance) {
|
|
9
|
+
SessionRelevance["IsPrAuthor"] = "is-pr-author";
|
|
9
10
|
SessionRelevance["IsRelevant"] = "is-relevant";
|
|
10
11
|
SessionRelevance["NotRelevant"] = "not-relevant";
|
|
11
12
|
SessionRelevance["MaybeRelevant"] = "maybe-relevant";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-run.types.js","sourceRoot":"","sources":["../../src/replay/test-run.types.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,IAAY,
|
|
1
|
+
{"version":3,"file":"test-run.types.js","sourceRoot":"","sources":["../../src/replay/test-run.types.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,IAAY,gBAKX;AALD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,8CAA0B,CAAA;IAC1B,gDAA4B,CAAA;IAC5B,oDAAgC,CAAA;AAClC,CAAC,EALW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAK3B"}
|
|
@@ -211,6 +211,10 @@ export type CustomUserEvent = {
|
|
|
211
211
|
data: string;
|
|
212
212
|
};
|
|
213
213
|
export declare enum CustomDataSingletonInternalKey {
|
|
214
|
+
/**
|
|
215
|
+
* The preferred color scheme of the device on which the session was recorded.
|
|
216
|
+
* Present on recordings since ~Jan 2025.
|
|
217
|
+
*/
|
|
214
218
|
SystemThemePreferredColor = "met-system-theme-preferred-color",
|
|
215
219
|
/**
|
|
216
220
|
* System timezone of the browser the session was recorded on. This is an IANA timezone string,
|
|
@@ -230,13 +234,20 @@ export declare enum CustomDataSingletonInternalKey {
|
|
|
230
234
|
* The user agent of the browser the session was recorded on. As returned by `navigator.userAgent`.
|
|
231
235
|
* Present on recordings since ~May 2025.
|
|
232
236
|
*/
|
|
233
|
-
UserAgent = "met-user-agent"
|
|
237
|
+
UserAgent = "met-user-agent",
|
|
238
|
+
/**
|
|
239
|
+
* When recording custom data, we don't abandon the recording if we encounter an object that is too large to serialize.
|
|
240
|
+
* However, we still want to track if this happens so we can surface a warning in the UI.
|
|
241
|
+
* Present on recordings since ~May 2025.
|
|
242
|
+
*/
|
|
243
|
+
CustomObjectTooLargeToSerialize = "met-custom-object-too-large-to-serialize"
|
|
234
244
|
}
|
|
235
245
|
export type CustomDataSingletonInternalValues = {
|
|
236
246
|
[CustomDataSingletonInternalKey.SystemThemePreferredColor]: "light" | "dark";
|
|
237
247
|
[CustomDataSingletonInternalKey.TimezoneName]: string;
|
|
238
248
|
[CustomDataSingletonInternalKey.Languages]: string;
|
|
239
249
|
[CustomDataSingletonInternalKey.UserAgent]: string;
|
|
250
|
+
[CustomDataSingletonInternalKey.CustomObjectTooLargeToSerialize]: "singleton" | "array" | "event" | "context" | "feature-flag" | "user-id" | "user-email";
|
|
240
251
|
};
|
|
241
252
|
export type CustomData = {
|
|
242
253
|
singletons: Record<string, string> & Partial<CustomDataSingletonInternalValues>;
|
|
@@ -3,6 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.CustomDataSingletonInternalKey = void 0;
|
|
4
4
|
var CustomDataSingletonInternalKey;
|
|
5
5
|
(function (CustomDataSingletonInternalKey) {
|
|
6
|
+
/**
|
|
7
|
+
* The preferred color scheme of the device on which the session was recorded.
|
|
8
|
+
* Present on recordings since ~Jan 2025.
|
|
9
|
+
*/
|
|
6
10
|
CustomDataSingletonInternalKey["SystemThemePreferredColor"] = "met-system-theme-preferred-color";
|
|
7
11
|
/**
|
|
8
12
|
* System timezone of the browser the session was recorded on. This is an IANA timezone string,
|
|
@@ -23,5 +27,11 @@ var CustomDataSingletonInternalKey;
|
|
|
23
27
|
* Present on recordings since ~May 2025.
|
|
24
28
|
*/
|
|
25
29
|
CustomDataSingletonInternalKey["UserAgent"] = "met-user-agent";
|
|
30
|
+
/**
|
|
31
|
+
* When recording custom data, we don't abandon the recording if we encounter an object that is too large to serialize.
|
|
32
|
+
* However, we still want to track if this happens so we can surface a warning in the UI.
|
|
33
|
+
* Present on recordings since ~May 2025.
|
|
34
|
+
*/
|
|
35
|
+
CustomDataSingletonInternalKey["CustomObjectTooLargeToSerialize"] = "met-custom-object-too-large-to-serialize";
|
|
26
36
|
})(CustomDataSingletonInternalKey = exports.CustomDataSingletonInternalKey || (exports.CustomDataSingletonInternalKey = {}));
|
|
27
37
|
//# sourceMappingURL=session-data.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"session-data.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"names":[],"mappings":";;;AAgPA,IAAY,
|
|
1
|
+
{"version":3,"file":"session-data.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"names":[],"mappings":";;;AAgPA,IAAY,8BAmCX;AAnCD,WAAY,8BAA8B;IACxC;;;OAGG;IACH,gGAA8D,CAAA;IAE9D;;;;;OAKG;IACH,oEAAkC,CAAA;IAElC;;;;;OAKG;IACH,6DAA2B,CAAA;IAE3B;;;OAGG;IACH,8DAA4B,CAAA;IAE5B;;;;OAIG;IACH,8GAA4E,CAAA;AAC9E,CAAC,EAnCW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAmCzC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.221.0",
|
|
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": "87f598857d832acb593e1c3f1fd08aa02bd12426"
|
|
39
39
|
}
|