@snapcall/stream-ui 1.41.1 → 1.41.2
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 +6 -5
- package/dist/stream-ui.js +6 -5
- package/package.json +1 -1
package/dist/stream-ui.esm.js
CHANGED
|
@@ -10062,12 +10062,12 @@ const $0bd5dc59be85fdb8$export$aab864ee9e2aed8d = ()=>{
|
|
|
10062
10062
|
},
|
|
10063
10063
|
children: /*#__PURE__*/ (0, $3Sbms$jsx)((0, $3Sbms$TabsList), {
|
|
10064
10064
|
className: (0, $3Sbms$classnames)('flex w-full border border-black/10 rounded-2xl backdrop-blur-[20px]', hasVideo ? 'bg-gray-25/50' : 'bg-gray-50'),
|
|
10065
|
-
children: availableModes.map((
|
|
10065
|
+
children: availableModes.map((availableMode)=>/*#__PURE__*/ (0, $3Sbms$jsx)((0, $3Sbms$TabsTrigger), {
|
|
10066
10066
|
className: (0, $3Sbms$classnames)('flex-1 rounded-xl text-black dark:data-[state=active]:text-white data-[state=active]:bg-black', hasVideo ? 'hover:bg-black/5' : 'hover:bg-gray-200'),
|
|
10067
|
-
value:
|
|
10068
|
-
disabled: devicesState.data?.isAskingPermissions,
|
|
10069
|
-
children:
|
|
10070
|
-
},
|
|
10067
|
+
value: availableMode.value,
|
|
10068
|
+
disabled: devicesState.data?.isAskingPermissions && !(mode === 'upload' || mode === 'screen'),
|
|
10069
|
+
children: availableMode.title
|
|
10070
|
+
}, availableMode.value))
|
|
10071
10071
|
})
|
|
10072
10072
|
})
|
|
10073
10073
|
});
|
|
@@ -11229,6 +11229,7 @@ const $c17ed5e6f3ec1094$export$60c4050edc47776a = ({ streamToken: streamToken, o
|
|
|
11229
11229
|
},
|
|
11230
11230
|
onMessage: (message, payload)=>{
|
|
11231
11231
|
if (message === 'idCheck.onApplicantVerificationCompleted' && // @ts-expect-error invalid lib types
|
|
11232
|
+
payload.reviewResult.reviewAnswer === 'GREEN' || message === 'idCheck.onApplicantStatusChanged' && // @ts-expect-error invalid lib types
|
|
11232
11233
|
payload.reviewResult.reviewAnswer === 'GREEN') setTimeout(()=>{
|
|
11233
11234
|
onSuccess?.();
|
|
11234
11235
|
}, 1500);
|
package/dist/stream-ui.js
CHANGED
|
@@ -10068,12 +10068,12 @@ const $d0ded347a490aa03$export$aab864ee9e2aed8d = ()=>{
|
|
|
10068
10068
|
},
|
|
10069
10069
|
children: /*#__PURE__*/ (0, $jQDcL$reactjsxruntime.jsx)((0, $jQDcL$snapcalldesignsystem.TabsList), {
|
|
10070
10070
|
className: (0, ($parcel$interopDefault($jQDcL$classnames)))('flex w-full border border-black/10 rounded-2xl backdrop-blur-[20px]', hasVideo ? 'bg-gray-25/50' : 'bg-gray-50'),
|
|
10071
|
-
children: availableModes.map((
|
|
10071
|
+
children: availableModes.map((availableMode)=>/*#__PURE__*/ (0, $jQDcL$reactjsxruntime.jsx)((0, $jQDcL$snapcalldesignsystem.TabsTrigger), {
|
|
10072
10072
|
className: (0, ($parcel$interopDefault($jQDcL$classnames)))('flex-1 rounded-xl text-black dark:data-[state=active]:text-white data-[state=active]:bg-black', hasVideo ? 'hover:bg-black/5' : 'hover:bg-gray-200'),
|
|
10073
|
-
value:
|
|
10074
|
-
disabled: devicesState.data?.isAskingPermissions,
|
|
10075
|
-
children:
|
|
10076
|
-
},
|
|
10073
|
+
value: availableMode.value,
|
|
10074
|
+
disabled: devicesState.data?.isAskingPermissions && !(mode === 'upload' || mode === 'screen'),
|
|
10075
|
+
children: availableMode.title
|
|
10076
|
+
}, availableMode.value))
|
|
10077
10077
|
})
|
|
10078
10078
|
})
|
|
10079
10079
|
});
|
|
@@ -11235,6 +11235,7 @@ const $07ad611f1c0acb4b$export$60c4050edc47776a = ({ streamToken: streamToken, o
|
|
|
11235
11235
|
},
|
|
11236
11236
|
onMessage: (message, payload)=>{
|
|
11237
11237
|
if (message === 'idCheck.onApplicantVerificationCompleted' && // @ts-expect-error invalid lib types
|
|
11238
|
+
payload.reviewResult.reviewAnswer === 'GREEN' || message === 'idCheck.onApplicantStatusChanged' && // @ts-expect-error invalid lib types
|
|
11238
11239
|
payload.reviewResult.reviewAnswer === 'GREEN') setTimeout(()=>{
|
|
11239
11240
|
onSuccess?.();
|
|
11240
11241
|
}, 1500);
|