@alwaysmeticulous/sdk-bundles-api 2.212.0 → 2.213.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.
@@ -35,6 +35,13 @@ export interface MeticulousPublicReplayApi {
35
35
  * Call this method to add a listener for a custom event that was recorded during the test run.
36
36
  */
37
37
  addCustomEventListener(type: string, callback: (serializedData: string) => void | Promise<void>): void;
38
+ /**
39
+ * Record a custom event. If a mock communication channel is configured,
40
+ * this may trigger custom events to be fired.
41
+ */
42
+ recordCustomEvent(type: string, serializedData: string): {
43
+ success: boolean;
44
+ };
38
45
  }
39
46
  export interface MeticulousPublicRecordApi {
40
47
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alwaysmeticulous/sdk-bundles-api",
3
- "version": "2.212.0",
3
+ "version": "2.213.0",
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": "8004c993600e4d50fcacd0af55c29be8a498060a"
41
+ "gitHead": "4da2cc2646ed34af7677e7524e60add96a1c6a59"
42
42
  }