@alwaysmeticulous/api 2.194.1 → 2.201.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.
@@ -189,10 +189,26 @@ export type CustomUserEvent = {
189
189
  data: string;
190
190
  };
191
191
  export declare enum CustomDataSingletonInternalKey {
192
- SystemThemePreferredColor = "met-system-theme-preferred-color"
192
+ SystemThemePreferredColor = "met-system-theme-preferred-color",
193
+ /**
194
+ * System timezone of the browser the session was recorded on. This is an IANA timezone string,
195
+ * as defined in https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab
196
+ * For example, "America/New_York" or "Europe/Paris".
197
+ * Present on recordings since ~Feb 2025.
198
+ */
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"
193
207
  }
194
208
  export type CustomDataSingletonInternalValues = {
195
209
  [CustomDataSingletonInternalKey.SystemThemePreferredColor]: "light" | "dark";
210
+ [CustomDataSingletonInternalKey.TimezoneName]: string;
211
+ [CustomDataSingletonInternalKey.Languages]: string;
196
212
  };
197
213
  export type CustomData = {
198
214
  singletons: Record<string, string> & Partial<CustomDataSingletonInternalValues>;
@@ -4,5 +4,19 @@ exports.CustomDataSingletonInternalKey = void 0;
4
4
  var CustomDataSingletonInternalKey;
5
5
  (function (CustomDataSingletonInternalKey) {
6
6
  CustomDataSingletonInternalKey["SystemThemePreferredColor"] = "met-system-theme-preferred-color";
7
+ /**
8
+ * System timezone of the browser the session was recorded on. This is an IANA timezone string,
9
+ * as defined in https://data.iana.org/time-zones/tzdb-2021a/zone1970.tab
10
+ * For example, "America/New_York" or "Europe/Paris".
11
+ * Present on recordings since ~Feb 2025.
12
+ */
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";
7
21
  })(CustomDataSingletonInternalKey = exports.CustomDataSingletonInternalKey || (exports.CustomDataSingletonInternalKey = {}));
8
22
  //# 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,8BAEX;AAFD,WAAY,8BAA8B;IACxC,gGAA8D,CAAA;AAChE,CAAC,EAFW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAEzC"}
1
+ {"version":3,"file":"session-data.js","sourceRoot":"","sources":["../../../src/sdk-bundle-api/sdk-to-bundle/session-data.ts"],"names":[],"mappings":";;;AAuNA,IAAY,8BAkBX;AAlBD,WAAY,8BAA8B;IACxC,gGAA8D,CAAA;IAE9D;;;;;OAKG;IACH,oEAAkC,CAAA;IAElC;;;;;OAKG;IACH,6DAA2B,CAAA;AAC7B,CAAC,EAlBW,8BAA8B,GAA9B,sCAA8B,KAA9B,sCAA8B,QAkBzC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.194.1",
3
+ "version": "2.201.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": "893ddda7fad918abd21e80c065289336f88d125f"
38
+ "gitHead": "febc97c342ee826171aff37a12df09e2a70a12bd"
39
39
  }