cobrowse-sdk-js 3.9.1 → 3.11.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.
- package/CHANGELOG.md +25 -0
- package/dist/CobrowseIO.d.ts +3 -0
- package/dist/CobrowseIO.js +1 -1
- package/dist/CobrowseIO.umd.js +1 -1
- package/dist/pdf-viewer.umd.js +1 -1
- package/dist/universal-client.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,31 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [3.11.0](#) (2025-10-03)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* expose ended_reason on Session ([#368](#)) ([3deacda](#))
|
|
11
|
+
* highlightElement delegate can be a promise ([#362](#)) ([0fc4922](#))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Bug Fixes
|
|
15
|
+
|
|
16
|
+
* handle forms that have inputs called 'action' ([#367](#)) ([3145b9a](#))
|
|
17
|
+
|
|
18
|
+
## [3.10.0](#) (2025-09-17)
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* store session ID in Intercom ([#360](#)) ([7ab3b31](#))
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Bug Fixes
|
|
27
|
+
|
|
28
|
+
* include all settled polyfill ([#363](#)) ([f1bc843](#))
|
|
29
|
+
|
|
5
30
|
### [3.9.1](#) (2025-09-12)
|
|
6
31
|
|
|
7
32
|
|
package/dist/CobrowseIO.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import type { EventEmitter } from 'events'
|
|
|
3
3
|
type Metrics = { last_alive: Date | null, latency: number | null }
|
|
4
4
|
type SessionState = 'active' | 'authorizing' | 'pending' | 'ended'
|
|
5
5
|
type DeviceControlState = 'on' | 'off' | 'requested' | 'rejected'
|
|
6
|
+
type EndedReason = 'device_ended' | 'agent_ended' | 'pending_timeout' | 'authorizing_timeout' | 'active_timeout' | 'limit_enforcement'
|
|
6
7
|
|
|
7
8
|
interface Session {
|
|
8
9
|
readonly capabilities: string[]
|
|
@@ -19,6 +20,8 @@ interface Session {
|
|
|
19
20
|
activate(): Promise<this>
|
|
20
21
|
end(): Promise<this>
|
|
21
22
|
|
|
23
|
+
endedReason(): EndedReason | undefined
|
|
24
|
+
|
|
22
25
|
redactionSelectors(): string[]
|
|
23
26
|
unredactionSelectors(): string[]
|
|
24
27
|
|