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