decane-connect-kit 2.2.0 → 2.2.1
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 +11 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +11 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +11 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -5311,7 +5311,15 @@ function DecaneKit({ config, children }) {
|
|
|
5311
5311
|
(0, import_react4.useEffect)(() => {
|
|
5312
5312
|
if (!hasSocial(mode) || !config?.social || socialInitialized.current) return;
|
|
5313
5313
|
socialInitialized.current = true;
|
|
5314
|
-
const {
|
|
5314
|
+
const {
|
|
5315
|
+
apiKey,
|
|
5316
|
+
authMethods,
|
|
5317
|
+
promptPin,
|
|
5318
|
+
apiBaseUrl,
|
|
5319
|
+
chains,
|
|
5320
|
+
rpcUrls,
|
|
5321
|
+
requireAssertionPerSignature
|
|
5322
|
+
} = config.social;
|
|
5315
5323
|
createDecaneConnect({
|
|
5316
5324
|
appId: config.appId,
|
|
5317
5325
|
apiKey,
|
|
@@ -5319,7 +5327,8 @@ function DecaneKit({ config, children }) {
|
|
|
5319
5327
|
authMethods: authMethods ?? ["google", "email"],
|
|
5320
5328
|
chains: chains ?? ["evm:1", "solana:mainnet"],
|
|
5321
5329
|
rpcUrls,
|
|
5322
|
-
promptPin
|
|
5330
|
+
promptPin,
|
|
5331
|
+
requireAssertionPerSignature
|
|
5323
5332
|
}).then((sdk) => {
|
|
5324
5333
|
socialRef.current = sdk;
|
|
5325
5334
|
sdk.on(
|