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.cjs
CHANGED
|
@@ -6437,7 +6437,16 @@ function DecaneKit({ config, children }) {
|
|
|
6437
6437
|
apiBaseUrl,
|
|
6438
6438
|
chains,
|
|
6439
6439
|
rpcUrls,
|
|
6440
|
-
requireAssertionPerSignature
|
|
6440
|
+
requireAssertionPerSignature,
|
|
6441
|
+
// Recovery callbacks. Forwarding these is what makes recovery
|
|
6442
|
+
// configurable at all from <DecaneKit>; before, they were silently
|
|
6443
|
+
// dropped and the headless client was constructed without them.
|
|
6444
|
+
offerRecoveryAtSignup,
|
|
6445
|
+
onRecoveryShareOffer,
|
|
6446
|
+
onRecoveryFileReady,
|
|
6447
|
+
promptForRecoveryFile,
|
|
6448
|
+
onRecoveryRotated,
|
|
6449
|
+
onRecoveryProgress
|
|
6441
6450
|
} = config.social;
|
|
6442
6451
|
createDecaneConnect({
|
|
6443
6452
|
appId: config.appId,
|
|
@@ -6447,7 +6456,13 @@ function DecaneKit({ config, children }) {
|
|
|
6447
6456
|
chains: chains ?? ["evm:1", "solana:mainnet"],
|
|
6448
6457
|
rpcUrls,
|
|
6449
6458
|
promptPin,
|
|
6450
|
-
requireAssertionPerSignature
|
|
6459
|
+
requireAssertionPerSignature,
|
|
6460
|
+
offerRecoveryAtSignup,
|
|
6461
|
+
onRecoveryShareOffer,
|
|
6462
|
+
onRecoveryFileReady,
|
|
6463
|
+
promptForRecoveryFile,
|
|
6464
|
+
onRecoveryRotated,
|
|
6465
|
+
onRecoveryProgress
|
|
6451
6466
|
}).then((sdk) => {
|
|
6452
6467
|
socialRef.current = sdk;
|
|
6453
6468
|
sdk.on(
|