@alwaysmeticulous/api 2.199.1 → 2.206.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.
|
@@ -196,11 +196,31 @@ export declare enum CustomDataSingletonInternalKey {
|
|
|
196
196
|
* For example, "America/New_York" or "Europe/Paris".
|
|
197
197
|
* Present on recordings since ~Feb 2025.
|
|
198
198
|
*/
|
|
199
|
-
TimezoneName = "met-timezone-name"
|
|
199
|
+
TimezoneName = "met-timezone-name",
|
|
200
|
+
/**
|
|
201
|
+
* The browser's languages as given by `navigator.languages`. This is a comma-separated list of
|
|
202
|
+
* language tags, as defined in RFC 5646:
|
|
203
|
+
* https://datatracker.ietf.org/doc/html/rfc5646
|
|
204
|
+
* Present on recordings since ~Feb 2025.
|
|
205
|
+
*/
|
|
206
|
+
Languages = "met-languages",
|
|
207
|
+
/**
|
|
208
|
+
* The id of the logged in user (e.g. a user id from a database for the application Meticulous is testing).
|
|
209
|
+
* This must be set by the recording application by calling `window.Meticulous.record.recordUserId(userId)`.
|
|
210
|
+
*/
|
|
211
|
+
UserId = "met-user-id",
|
|
212
|
+
/**
|
|
213
|
+
* The email address of the logged in user. This must be set by the recording application
|
|
214
|
+
* by calling `window.Meticulous.record.recordUserEmail(email)`.
|
|
215
|
+
*/
|
|
216
|
+
UserEmail = "met-user-email"
|
|
200
217
|
}
|
|
201
218
|
export type CustomDataSingletonInternalValues = {
|
|
202
219
|
[CustomDataSingletonInternalKey.SystemThemePreferredColor]: "light" | "dark";
|
|
203
220
|
[CustomDataSingletonInternalKey.TimezoneName]: string;
|
|
221
|
+
[CustomDataSingletonInternalKey.Languages]: string;
|
|
222
|
+
[CustomDataSingletonInternalKey.UserId]: string;
|
|
223
|
+
[CustomDataSingletonInternalKey.UserEmail]: string;
|
|
204
224
|
};
|
|
205
225
|
export type CustomData = {
|
|
206
226
|
singletons: Record<string, string> & Partial<CustomDataSingletonInternalValues>;
|
|
@@ -11,5 +11,22 @@ var CustomDataSingletonInternalKey;
|
|
|
11
11
|
* Present on recordings since ~Feb 2025.
|
|
12
12
|
*/
|
|
13
13
|
CustomDataSingletonInternalKey["TimezoneName"] = "met-timezone-name";
|
|
14
|
+
/**
|
|
15
|
+
* The browser's languages as given by `navigator.languages`. This is a comma-separated list of
|
|
16
|
+
* language tags, as defined in RFC 5646:
|
|
17
|
+
* https://datatracker.ietf.org/doc/html/rfc5646
|
|
18
|
+
* Present on recordings since ~Feb 2025.
|
|
19
|
+
*/
|
|
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";
|
|
14
31
|
})(CustomDataSingletonInternalKey = exports.CustomDataSingletonInternalKey || (exports.CustomDataSingletonInternalKey = {}));
|
|
15
32
|
//# 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":";;;AAuNA,IAAY,
|
|
1
|
+
{"version":3,"file":"session-data.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"names":[],"mappings":";;;AAuNA,IAAY,8BA8BX;AA9BD,WAAY,8BAA8B;IACxC,gGAA8D,CAAA;IAE9D;;;;;OAKG;IACH,oEAAkC,CAAA;IAElC;;;;;OAKG;IACH,6DAA2B,CAAA;IAE3B;;;OAGG;IACH,wDAAsB,CAAA;IAEtB;;;OAGG;IACH,8DAA4B,CAAA;AAC9B,CAAC,EA9BW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QA8BzC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.206.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": "831a3fdf09d721002c5ef77d32c11fe471d208f3"
|
|
39
39
|
}
|