@alwaysmeticulous/sdk-bundles-api 2.241.0 → 2.242.2

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.
@@ -10,4 +10,5 @@ export interface MeticulousPrivateApi {
10
10
  /** Initialises and starts Meticulous recording */
11
11
  initialiseRecorder?: () => void;
12
12
  stopRecording?: () => void;
13
+ flushPendingPayloads?: () => Promise<void>;
13
14
  }
@@ -77,6 +77,12 @@ export interface MeticulousPublicRecordApi {
77
77
  * is of course only accessible by users with access to the Meticulous project.
78
78
  */
79
79
  getSessionUrl(): string;
80
+ /**
81
+ * Ensure all data held in memory by the Meticulous recorder has been sent back. If you
82
+ * are recording automated tests, it is recommended to call this at the end of each test
83
+ * and before any full-page navigation.
84
+ */
85
+ flush(): () => Promise<void>;
80
86
  }
81
87
  export interface MeticulousPublicContextApi {
82
88
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/sdk-bundles-api",
3
- "version": "2.241.0",
3
+ "version": "2.242.2",
4
4
  "description": "Meticulous common types",
5
5
  "license": "ISC",
6
6
  "main": "dist/index.js",
@@ -38,5 +38,5 @@
38
38
  "bugs": {
39
39
  "url": "https://github.com/alwaysmeticulous/meticulous-sdk/issues"
40
40
  },
41
- "gitHead": "516c9c1f8c6fa6d93a0290db37540d0a5ea7fcdd"
41
+ "gitHead": "078e8d238054af0fd51d889a88bd9f951e8aef58"
42
42
  }