@upscopeio/sdk 2024.9.9 → 2024.10.9

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.
Files changed (2) hide show
  1. package/index.d.ts +2 -0
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -127,6 +127,7 @@ type SDKEvents = {
127
127
  callEnd: undefined;
128
128
  connectionReset: undefined;
129
129
  sessionRequest: undefined;
130
+ customMessage: [{ observer: string } | { visitor: string }, Record<string, any>];
130
131
  };
131
132
 
132
133
  type Instruction =
@@ -147,6 +148,7 @@ type Instruction =
147
148
  | ["saveHistory"]
148
149
  | ["stopSession"]
149
150
  | ["prefetchAssets"]
151
+ | ["customMessage", Record<string, any>]
150
152
  | [
151
153
  "submitRating",
152
154
  {
package/package.json CHANGED
@@ -3,5 +3,5 @@
3
3
  "main": "index.js",
4
4
  "type": "module",
5
5
  "dependencies": {},
6
- "version": "2024.9.9"
6
+ "version": "2024.10.9"
7
7
  }