decane-connect-kit 2.7.5 → 2.7.6
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/index.cjs +17 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +583 -537
- package/dist/index.d.ts +583 -537
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -6368,7 +6368,16 @@ function DecaneKit({ config, children }) {
|
|
|
6368
6368
|
apiBaseUrl,
|
|
6369
6369
|
chains,
|
|
6370
6370
|
rpcUrls,
|
|
6371
|
-
requireAssertionPerSignature
|
|
6371
|
+
requireAssertionPerSignature,
|
|
6372
|
+
// Recovery callbacks. Forwarding these is what makes recovery
|
|
6373
|
+
// configurable at all from <DecaneKit>; before, they were silently
|
|
6374
|
+
// dropped and the headless client was constructed without them.
|
|
6375
|
+
offerRecoveryAtSignup,
|
|
6376
|
+
onRecoveryShareOffer,
|
|
6377
|
+
onRecoveryFileReady,
|
|
6378
|
+
promptForRecoveryFile,
|
|
6379
|
+
onRecoveryRotated,
|
|
6380
|
+
onRecoveryProgress
|
|
6372
6381
|
} = config.social;
|
|
6373
6382
|
createDecaneConnect({
|
|
6374
6383
|
appId: config.appId,
|
|
@@ -6378,7 +6387,13 @@ function DecaneKit({ config, children }) {
|
|
|
6378
6387
|
chains: chains ?? ["evm:1", "solana:mainnet"],
|
|
6379
6388
|
rpcUrls,
|
|
6380
6389
|
promptPin,
|
|
6381
|
-
requireAssertionPerSignature
|
|
6390
|
+
requireAssertionPerSignature,
|
|
6391
|
+
offerRecoveryAtSignup,
|
|
6392
|
+
onRecoveryShareOffer,
|
|
6393
|
+
onRecoveryFileReady,
|
|
6394
|
+
promptForRecoveryFile,
|
|
6395
|
+
onRecoveryRotated,
|
|
6396
|
+
onRecoveryProgress
|
|
6382
6397
|
}).then((sdk) => {
|
|
6383
6398
|
socialRef.current = sdk;
|
|
6384
6399
|
sdk.on(
|