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 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(
@@ -6765,7 +6780,7 @@ function DecaneKit({ config, children }) {
6765
6780
  chains: config?.social?.chains
6766
6781
  }
6767
6782
  ),
6768
- /* @__PURE__ */ import_react5.default.createElement(WalletStatusOverlay, { phase: socialAuth.phase, theme })
6783
+ config?.social?.showStatusOverlay !== false && /* @__PURE__ */ import_react5.default.createElement(WalletStatusOverlay, { phase: socialAuth.phase, theme })
6769
6784
  );
6770
6785
  }
6771
6786
  function useDecaneContext() {