@alwaysmeticulous/api 2.214.1 → 2.218.1

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.
@@ -231,7 +231,12 @@ export declare enum CustomDataSingletonInternalKey {
231
231
  * The email address of the logged in user. This must be set by the recording application
232
232
  * by calling `window.Meticulous.record.recordUserEmail(email)`.
233
233
  */
234
- UserEmail = "met-user-email"
234
+ UserEmail = "met-user-email",
235
+ /**
236
+ * The user agent of the browser the session was recorded on. As returned by `navigator.userAgent`.
237
+ * Present on recordings since ~May 2025.
238
+ */
239
+ UserAgent = "met-user-agent"
235
240
  }
236
241
  export type CustomDataSingletonInternalValues = {
237
242
  [CustomDataSingletonInternalKey.SystemThemePreferredColor]: "light" | "dark";
@@ -239,10 +244,14 @@ export type CustomDataSingletonInternalValues = {
239
244
  [CustomDataSingletonInternalKey.Languages]: string;
240
245
  [CustomDataSingletonInternalKey.UserId]: string;
241
246
  [CustomDataSingletonInternalKey.UserEmail]: string;
247
+ [CustomDataSingletonInternalKey.UserAgent]: string;
242
248
  };
243
249
  export type CustomData = {
244
250
  singletons: Record<string, string> & Partial<CustomDataSingletonInternalValues>;
245
251
  arrays: Record<string, string[]>;
246
- events: CustomUserEvent[];
252
+ /**
253
+ * Only present on recordings since ~November 2024.
254
+ */
255
+ events?: CustomUserEvent[];
247
256
  };
248
257
  export {};
@@ -28,5 +28,10 @@ var CustomDataSingletonInternalKey;
28
28
  * by calling `window.Meticulous.record.recordUserEmail(email)`.
29
29
  */
30
30
  CustomDataSingletonInternalKey["UserEmail"] = "met-user-email";
31
+ /**
32
+ * The user agent of the browser the session was recorded on. As returned by `navigator.userAgent`.
33
+ * Present on recordings since ~May 2025.
34
+ */
35
+ CustomDataSingletonInternalKey["UserAgent"] = "met-user-agent";
31
36
  })(CustomDataSingletonInternalKey = exports.CustomDataSingletonInternalKey || (exports.CustomDataSingletonInternalKey = {}));
32
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":";;;AA2OA,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"}
1
+ {"version":3,"file":"session-data.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"names":[],"mappings":";;;AA2OA,IAAY,8BAoCX;AApCD,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;IAE5B;;;OAGG;IACH,8DAA4B,CAAA;AAC9B,CAAC,EApCW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAoCzC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.214.1",
3
+ "version": "2.218.1",
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": "cf2d60a43bc20ffa900abe252960a12db703b839"
38
+ "gitHead": "96a25d0fdd70d83e486a6d441ef32aa43c734765"
39
39
  }