decane-connect-kit 2.7.4 → 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 +18 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +614 -551
- package/dist/index.d.ts +614 -551
- package/dist/index.js +18 -3
- 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(
|
|
@@ -6696,7 +6711,7 @@ function DecaneKit({ config, children }) {
|
|
|
6696
6711
|
chains: config?.social?.chains
|
|
6697
6712
|
}
|
|
6698
6713
|
),
|
|
6699
|
-
/* @__PURE__ */ React5.createElement(WalletStatusOverlay, { phase: socialAuth.phase, theme })
|
|
6714
|
+
config?.social?.showStatusOverlay !== false && /* @__PURE__ */ React5.createElement(WalletStatusOverlay, { phase: socialAuth.phase, theme })
|
|
6700
6715
|
);
|
|
6701
6716
|
}
|
|
6702
6717
|
function useDecaneContext() {
|