@alwaysmeticulous/api 2.177.0 → 2.178.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
|
@@ -6,7 +6,7 @@ export { TestRunChunkStatus } from "./replay/test-run-chunk.types";
|
|
|
6
6
|
export * from "./sdk-bundle-api/sdk-to-bundle/test-run-environment";
|
|
7
7
|
export { ReplayableEvent } from "./sdk-bundle-api/bidirectional/replayable-event";
|
|
8
8
|
export { HarEntry, HarLog, HarRequest, HarResponse, } from "./sdk-bundle-api/sdk-to-bundle/har-log";
|
|
9
|
-
export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata,
|
|
9
|
+
export { Cookie, SessionData, UrlHistoryEvent, WindowData, ApplicationSpecificData, StorageEntry, EarlyRequest, SerializedIDBValidKey, IDBObjectStoreMetadata, IDBObjectStoreSnapshot, IDBIndexSnapshot, CustomData, CustomUserEvent, } from "./sdk-bundle-api/sdk-to-bundle/session-data";
|
|
10
10
|
export { SequenceNumber, WebSocketConnectionData, WebSocketConnectionEvent, WebSocketConnectionCreatedEvent, WebSocketConnectionOpenedEvent, EncodedArrayBuffer, EncodedBlob, WebSocketConnectionMessageEvent, WebSocketConnectionErrorEvent, WebSocketConnectionClosedEvent, } from "./sdk-bundle-api/sdk-to-bundle/websocket-data";
|
|
11
11
|
export { Replay } from "./replay/replay.types";
|
|
12
12
|
export { ScreenshotAssertionsOptions, ScreenshotAssertionsEnabledOptions, ScreenshottingEnabledOptions, StoryboardOptions, ScreenshotDiffOptions, ElementToIgnore, CSSSelectorToIgnore, } from "./sdk-bundle-api/sdk-to-bundle/screenshotting-options";
|
|
@@ -30,7 +30,7 @@ export interface SessionData {
|
|
|
30
30
|
* Only present on recordings since ~Aug 2024
|
|
31
31
|
*/
|
|
32
32
|
indexedDb?: {
|
|
33
|
-
state:
|
|
33
|
+
state: IDBObjectStoreSnapshot[];
|
|
34
34
|
};
|
|
35
35
|
};
|
|
36
36
|
/**
|
|
@@ -122,7 +122,7 @@ interface StringKey {
|
|
|
122
122
|
type: "string";
|
|
123
123
|
serializedKey: string;
|
|
124
124
|
}
|
|
125
|
-
export type
|
|
125
|
+
export type IDBObjectStoreSnapshot = Omit<IDBObjectStoreMetadata, "serialize" | "deserialize"> & {
|
|
126
126
|
createObjectStoreOptions: IDBObjectStoreParameters;
|
|
127
127
|
/**
|
|
128
128
|
* Entry values are JSON stringified by default. JSON representable objects, arrays and primitives are supported.
|
|
@@ -133,6 +133,21 @@ export type IDBObjectStoreWithEntries = Omit<IDBObjectStoreMetadata, "serialize"
|
|
|
133
133
|
key?: SerializedIDBValidKey;
|
|
134
134
|
value: string;
|
|
135
135
|
}[];
|
|
136
|
+
/**
|
|
137
|
+
* This is only present on IDB snapshots taken since ~Dec 2024.
|
|
138
|
+
* It contains the indexes of the object store. In particular, these are the arguments that need to be provided to
|
|
139
|
+
* the `createIndex` method on the IDBObjectStore object to re-create the indexes that existed at the time of the
|
|
140
|
+
* snapshot.
|
|
141
|
+
*/
|
|
142
|
+
indexes?: IDBIndexSnapshot[];
|
|
143
|
+
};
|
|
144
|
+
export type IDBIndexSnapshot = {
|
|
145
|
+
name: string;
|
|
146
|
+
keyPath: string | string[];
|
|
147
|
+
options: {
|
|
148
|
+
unique: boolean;
|
|
149
|
+
multiEntry: boolean;
|
|
150
|
+
};
|
|
136
151
|
};
|
|
137
152
|
export type CustomUserEvent = {
|
|
138
153
|
type: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alwaysmeticulous/api",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.178.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": "3762dc597f2c29590a4bef6e3ef6808d8c1924d2"
|
|
39
39
|
}
|