@alwaysmeticulous/api 2.201.0 → 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.
|
@@ -203,12 +203,24 @@ export declare enum CustomDataSingletonInternalKey {
|
|
|
203
203
|
* https://datatracker.ietf.org/doc/html/rfc5646
|
|
204
204
|
* Present on recordings since ~Feb 2025.
|
|
205
205
|
*/
|
|
206
|
-
Languages = "met-languages"
|
|
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"
|
|
207
217
|
}
|
|
208
218
|
export type CustomDataSingletonInternalValues = {
|
|
209
219
|
[CustomDataSingletonInternalKey.SystemThemePreferredColor]: "light" | "dark";
|
|
210
220
|
[CustomDataSingletonInternalKey.TimezoneName]: string;
|
|
211
221
|
[CustomDataSingletonInternalKey.Languages]: string;
|
|
222
|
+
[CustomDataSingletonInternalKey.UserId]: string;
|
|
223
|
+
[CustomDataSingletonInternalKey.UserEmail]: string;
|
|
212
224
|
};
|
|
213
225
|
export type CustomData = {
|
|
214
226
|
singletons: Record<string, string> & Partial<CustomDataSingletonInternalValues>;
|
|
@@ -18,5 +18,15 @@ 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";
|
|
21
31
|
})(CustomDataSingletonInternalKey = exports.CustomDataSingletonInternalKey || (exports.CustomDataSingletonInternalKey = {}));
|
|
22
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
|
}
|