@sparkvault/sdk 1.23.1 → 1.23.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/sparkvault.esm.js
CHANGED
|
@@ -5810,6 +5810,10 @@ class IdentityRenderer {
|
|
|
5810
5810
|
token: data.token,
|
|
5811
5811
|
identity: data.identity,
|
|
5812
5812
|
identityType: data.identityType || 'email',
|
|
5813
|
+
// For simple-mode flows the server also emits a signed
|
|
5814
|
+
// success-callback URL; without it the SDK has nowhere to send
|
|
5815
|
+
// the user after WebSocket success.
|
|
5816
|
+
redirect: typeof data.redirect === 'string' ? data.redirect : undefined,
|
|
5813
5817
|
});
|
|
5814
5818
|
break;
|
|
5815
5819
|
case 'sparklink_failed':
|