@alwaysmeticulous/sdk-bundles-api 2.32.0 → 2.34.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.
@@ -7,7 +7,7 @@ export interface ReplayUserInteractionsResultFull {
7
7
  /** Returned when the recorded session has been cut short during replay */
8
8
  export interface ReplayUserInteractionsResultShort {
9
9
  length: "short";
10
- reason: "max events" | "max duration";
10
+ reason: "max events" | "max duration" | "full page navigation" | "error";
11
11
  }
12
12
  export interface BeforeUserEventOptions {
13
13
  /**
@@ -1,4 +1,4 @@
1
- import { SessionData, ReplayTimelineEntry } from "@alwaysmeticulous/api";
1
+ import { SessionData, SDKReplayTimelineEntry } from "@alwaysmeticulous/api";
2
2
  import type { LogLevelDesc } from "loglevel";
3
3
  import type { Page } from "puppeteer";
4
4
  import { BeforeUserEventOptions, ReplayUserInteractionsResult } from "../bundle-to-sdk";
@@ -38,7 +38,7 @@ export type StoryboardOptions = {
38
38
  enabled: true;
39
39
  screenshotsDir: string;
40
40
  };
41
- export type OnReplayTimelineEventFn = (entry: ReplayTimelineEntry) => void;
41
+ export type OnReplayTimelineEventFn = (entry: SDKReplayTimelineEntry) => void;
42
42
  export type OnBeforeUserEventFn = (options: BeforeUserEventOptions) => Promise<void>;
43
43
  export interface NetworkStubbingOptions {
44
44
  page: Page;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/sdk-bundles-api",
3
- "version": "2.32.0",
3
+ "version": "2.34.0",
4
4
  "description": "Meticulous common types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -18,7 +18,7 @@
18
18
  "lint:fix": "eslint src --ext=ts,tsx,js --cache --fix"
19
19
  },
20
20
  "devDependencies": {
21
- "@alwaysmeticulous/api": "^2.32.0"
21
+ "@alwaysmeticulous/api": "^2.34.0"
22
22
  },
23
23
  "peerDependencies": {
24
24
  "loglevel": "^1.8.0",
@@ -49,5 +49,5 @@
49
49
  "bugs": {
50
50
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
51
51
  },
52
- "gitHead": "af5dfd9ad6fcfff55c9fe36df17233d9455b538b"
52
+ "gitHead": "239b51bf54a4114e6134d1a4d38bb1f992284af4"
53
53
  }