@snapcall/stream-ui 1.42.3 → 1.43.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/dist/stream-ui.esm.js +171 -33
- package/dist/stream-ui.js +171 -33
- package/dist/types.d.ts +16 -0
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -34,6 +34,7 @@ interface Step {
|
|
|
34
34
|
interface Flow {
|
|
35
35
|
token: string;
|
|
36
36
|
name: string;
|
|
37
|
+
type: 'clip' | 'call' | 'attachment';
|
|
37
38
|
is_default: number;
|
|
38
39
|
config?: {
|
|
39
40
|
real_time_assistant?: boolean;
|
|
@@ -68,6 +69,7 @@ interface Flow {
|
|
|
68
69
|
enabled: boolean;
|
|
69
70
|
required: boolean;
|
|
70
71
|
};
|
|
72
|
+
auto_step_attribution?: boolean;
|
|
71
73
|
};
|
|
72
74
|
steps: Array<Step>;
|
|
73
75
|
}
|
|
@@ -95,6 +97,19 @@ interface StreamInfo {
|
|
|
95
97
|
};
|
|
96
98
|
company_id: number;
|
|
97
99
|
flow: Flow;
|
|
100
|
+
flowState?: {
|
|
101
|
+
version: string;
|
|
102
|
+
flowToken: string;
|
|
103
|
+
name: string;
|
|
104
|
+
config: Flow['config'];
|
|
105
|
+
steps: Array<Step & {
|
|
106
|
+
media: Array<{
|
|
107
|
+
id: number;
|
|
108
|
+
type: string;
|
|
109
|
+
name: string;
|
|
110
|
+
}>;
|
|
111
|
+
}>;
|
|
112
|
+
};
|
|
98
113
|
defaultVideoBackground?: string;
|
|
99
114
|
videoBackgrounds?: Array<string>;
|
|
100
115
|
company: {
|
|
@@ -106,6 +121,7 @@ interface StreamInfo {
|
|
|
106
121
|
hide_stream_invite?: boolean;
|
|
107
122
|
};
|
|
108
123
|
kyc_status?: 'pending' | 'approved' | 'rejected' | null;
|
|
124
|
+
isProcessing: boolean;
|
|
109
125
|
}
|
|
110
126
|
interface InitResult {
|
|
111
127
|
peerId: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@snapcall/stream-ui",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.43.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"main": "dist/stream-ui.js",
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
"i18next": "^25.5.2",
|
|
61
61
|
"inobounce": "^0.2.1",
|
|
62
62
|
"mediasoup-client": "^3.18.3",
|
|
63
|
-
"protoo-client": "^4.0.
|
|
63
|
+
"protoo-client": "^4.0.7",
|
|
64
64
|
"qrcode": "^1.5.4",
|
|
65
65
|
"react": "^19.1.1",
|
|
66
66
|
"react-dom": "^19.1.1",
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
"typescript": "^5.8.3"
|
|
95
95
|
},
|
|
96
96
|
"dependencies": {
|
|
97
|
-
"@snapcall/design-system": "^1.
|
|
97
|
+
"@snapcall/design-system": "^1.25.1",
|
|
98
98
|
"@sumsub/websdk-react": "^2.5.0",
|
|
99
99
|
"@tanstack/react-query": "^5.81.5",
|
|
100
100
|
"bowser": "^2.11.0",
|