@clerk/elements 0.23.58 → 0.23.59
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/{chunk-OCDTPQFS.mjs → chunk-A5ZZN62M.mjs} +2 -2
- package/dist/{chunk-DKCDTPFJ.mjs → chunk-NQPTVXBS.mjs} +10 -1
- package/dist/chunk-NQPTVXBS.mjs.map +1 -0
- package/dist/react/common/index.js +6 -0
- package/dist/react/common/index.js.map +1 -1
- package/dist/react/common/index.mjs +1 -1
- package/dist/react/sign-in/index.js +3 -0
- package/dist/react/sign-in/index.js.map +1 -1
- package/dist/react/sign-in/index.mjs +2 -2
- package/dist/react/sign-up/index.mjs +2 -2
- package/package.json +4 -4
- package/dist/chunk-DKCDTPFJ.mjs.map +0 -1
- /package/dist/{chunk-OCDTPQFS.mjs.map → chunk-A5ZZN62M.mjs.map} +0 -0
|
@@ -1333,6 +1333,9 @@ var useThirdPartyProvider = (ref, provider) => {
|
|
|
1333
1333
|
if (isEnterpriseSSO) {
|
|
1334
1334
|
return ref.send({ type: "AUTHENTICATE.ENTERPRISE_SSO" });
|
|
1335
1335
|
}
|
|
1336
|
+
if (provider === "base") {
|
|
1337
|
+
return ref.send({ type: "AUTHENTICATE.WEB3", strategy: "web3_base_signature" });
|
|
1338
|
+
}
|
|
1336
1339
|
if (provider === "metamask") {
|
|
1337
1340
|
return ref.send({ type: "AUTHENTICATE.WEB3", strategy: "web3_metamask_signature" });
|
|
1338
1341
|
}
|
|
@@ -1460,6 +1463,9 @@ function mapScopeToStrategy(scope) {
|
|
|
1460
1463
|
if (scope === "provider:coinbase_wallet") {
|
|
1461
1464
|
return "web3_coinbase_wallet_signature";
|
|
1462
1465
|
}
|
|
1466
|
+
if (scope === "provider:base") {
|
|
1467
|
+
return "web3_base_signature";
|
|
1468
|
+
}
|
|
1463
1469
|
if (scope === "provider:okx_wallet") {
|
|
1464
1470
|
return "web3_okx_wallet_signature";
|
|
1465
1471
|
}
|