@upscopeio/sdk 2024.11.12 → 2024.12.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 +1 -4
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -24,7 +24,6 @@ type CobrowsingSdkConfiguration = {
24
24
  phoneEndpoint: string;
25
25
  javascriptEndpoint: string;
26
26
  storageImplementation: null | Storage;
27
- proxyRedirectEndpoint: string;
28
27
  requireAuthorizationForSession: boolean;
29
28
  integrateWithLivechat: boolean;
30
29
  liveChatRewrite: boolean;
@@ -100,10 +99,8 @@ type CobrowsingSdkConfiguration = {
100
99
  callAudioAuthorizationFailedMessage: string;
101
100
  unavailableAgentRequestRedirectImmediately: boolean;
102
101
  unavailableAgentRequestRedirectTo: null | string;
103
- fromProxy: boolean;
104
102
  sfdcFieldLabel: string;
105
103
  sfdcFieldId: string;
106
- needsProxy: (url: string) => boolean;
107
104
  onSessionRequest: (cb: (accepted: boolean) => void, requestingAgent: string | null) => void | (() => void);
108
105
  onSessionStart: () => void;
109
106
  onSessionEnd: () => void;
@@ -125,6 +122,7 @@ type SDKEvents = {
125
122
  agentRequestUpdate: ["pending" | "unavailable" | "canceled" | "accepted"];
126
123
  newObserver: [string, Observer];
127
124
  observerGone: [string];
125
+ observerContentVisible: [string];
128
126
  observersCount: [number];
129
127
  agentsAvailable: undefined;
130
128
  sessionContinue: undefined;
@@ -156,7 +154,6 @@ type Instruction =
156
154
  | ["on", ...(keyof SDKEvents)[], (event: any) => void]
157
155
  | ["requestAgent"]
158
156
  | ["reset", boolean]
159
- | ["redirect", string]
160
157
  | ["saveHistory"]
161
158
  | ["stopSession"]
162
159
  | ["prefetchAssets"]
package/package.json CHANGED
@@ -3,5 +3,5 @@
3
3
  "main": "index.js",
4
4
  "type": "module",
5
5
  "dependencies": {},
6
- "version": "2024.11.12"
6
+ "version": "2024.12.9"
7
7
  }