@upscopeio/react 2025.12.9 → 2025.12.11

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/package.json +1 -1
  2. package/sdk.d.ts +5 -0
package/package.json CHANGED
@@ -9,5 +9,5 @@
9
9
  "react": ">=16.2.0",
10
10
  "react-dom": ">=16.2.0"
11
11
  },
12
- "version": "2025.12.9"
12
+ "version": "2025.12.11"
13
13
  }
package/sdk.d.ts CHANGED
@@ -48,6 +48,7 @@ type CobrowsingSdkConfiguration = {
48
48
  callRingtone: string;
49
49
  callWaitMessage: string;
50
50
  collectHistory: boolean;
51
+ compressImages: boolean;
51
52
  computedStyleSelectors: "angular" | "react" | string[];
52
53
  consoleAllowed: boolean;
53
54
  controlRequestMessage: string;
@@ -135,6 +136,7 @@ type Instruction =
135
136
  | ["cancelRequestAgent"]
136
137
  | ["connect"]
137
138
  | ["customMessage", Record<string, unknown>]
139
+ | ["dataBounce", (ms: number) => void]
138
140
  | ["expectDisconnect", Partial<{ message: null | string; returnTimeSeconds: null | number; title: null | string }>]
139
141
  | ["fullTabEnd"]
140
142
  | ["fullTabStart"]
@@ -164,10 +166,13 @@ type Instruction =
164
166
  | ["updateConnection", Partial<CobrowsingSdkConfiguration>];
165
167
 
166
168
  type Observer = {
169
+ hasFocus: boolean;
167
170
  id: string;
168
171
  name: null | string;
169
172
  screenHeight: number;
170
173
  screenWidth: number;
174
+ windowHeight: number;
175
+ windowWidth: number;
171
176
  };
172
177
 
173
178
  type SDKEvents = {