@alwaysmeticulous/api 2.157.0 → 2.163.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/index.d.ts CHANGED
@@ -5,7 +5,7 @@ export { TestCase, TestCaseReplayOptions, TestRunStatus, TestCaseResult, TestCas
5
5
  export { TestRunEnvironment, TestRunGitHubContext, TestRunGitHubPullRequestContext, TestRunGitHubPushContext, TestRunGitHubWorkflowDispatchContext, TestRunGitLabContext, TestRunGitLabMergeRequestContext, TestRunGitLabPushContext, } from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
6
6
  export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
7
7
  export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
8
- export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata, IDBObjectStoreWithEntries, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
8
+ export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata, IDBObjectStoreWithEntries, CustomData, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
9
9
  export { SequenceNumber, WebSocketConnectionData, WebSocketConnectionEvent, WebSocketConnectionCreatedEvent, WebSocketConnectionOpenedEvent, EncodedArrayBuffer, EncodedBlob, WebSocketConnectionMessageEvent, WebSocketConnectionErrorEvent, WebSocketConnectionClosedEvent, } from "./sdk-bundle-api/sdk-to-bundle/websocket-data";
10
10
  export { Replay } from "./replay/replay.types";
11
11
  export { ScreenshotAssertionsOptions, ScreenshotAssertionsEnabledOptions, ScreenshottingEnabledOptions, StoryboardOptions, ScreenshotDiffOptions, ElementToIgnore, CSSSelectorToIgnore, } from "./sdk-bundle-api/sdk-to-bundle/screenshotting-options";
@@ -19,7 +19,7 @@ export interface ConsoleMessageCoreData {
19
19
  repetitionCount?: number;
20
20
  stackTraceId: number;
21
21
  }
22
- export type ConsoleMessageType = "log" | "debug" | "info" | "error" | "warning" | "dir" | "dirxml" | "table" | "trace" | "clear" | "startGroup" | "startGroupCollapsed" | "endGroup" | "assert" | "profile" | "profileEnd" | "count" | "timeEnd" | "verbose";
22
+ export type ConsoleMessageType = "log" | "debug" | "info" | "error" | "warn" | "dir" | "dirxml" | "table" | "trace" | "clear" | "startGroup" | "startGroupCollapsed" | "endGroup" | "assert" | "profile" | "profileEnd" | "count" | "timeEnd" | "verbose";
23
23
  export interface ConsoleMessageLocation {
24
24
  /**
25
25
  * URL of the resource if known or `undefined` otherwise.
@@ -44,6 +44,10 @@ export interface SessionData {
44
44
  datetime_first_payload: string;
45
45
  hostname: string;
46
46
  abandoned: boolean;
47
+ /**
48
+ * Only present on recordings since ~Oct 2024
49
+ */
50
+ customData?: CustomData;
47
51
  /**
48
52
  * @deprecated This isn't set for new sessions.
49
53
  */
@@ -130,4 +134,8 @@ export type IDBObjectStoreWithEntries = Omit<IDBObjectStoreMetadata, "serialize"
130
134
  value: string;
131
135
  }[];
132
136
  };
137
+ export type CustomData = {
138
+ singletons: Record<string, string>;
139
+ arrays: Record<string, string[]>;
140
+ };
133
141
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/api",
3
- "version": "2.157.0",
3
+ "version": "2.163.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": "5f3055efff4d46208a7c604c34555a7caf62d45e"
38
+ "gitHead": "3433132494bcd861f837662603d25556521dbeac"
39
39
  }