@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.
@@ -3,7 +3,7 @@ import {
3
3
  __privateAdd,
4
4
  __privateGet,
5
5
  __privateSet
6
- } from "./chunk-DKCDTPFJ.mjs";
6
+ } from "./chunk-NQPTVXBS.mjs";
7
7
 
8
8
  // src/react/router/virtual.ts
9
9
  import { useSyncExternalStore } from "react";
@@ -131,4 +131,4 @@ export {
131
131
  useClerkRouter,
132
132
  ClerkHostRouterContext
133
133
  };
134
- //# sourceMappingURL=chunk-OCDTPQFS.mjs.map
134
+ //# sourceMappingURL=chunk-A5ZZN62M.mjs.map
@@ -1430,6 +1430,9 @@ var useThirdPartyProvider = (ref, provider) => {
1430
1430
  if (isEnterpriseSSO) {
1431
1431
  return ref.send({ type: "AUTHENTICATE.ENTERPRISE_SSO" });
1432
1432
  }
1433
+ if (provider === "base") {
1434
+ return ref.send({ type: "AUTHENTICATE.WEB3", strategy: "web3_base_signature" });
1435
+ }
1433
1436
  if (provider === "metamask") {
1434
1437
  return ref.send({ type: "AUTHENTICATE.WEB3", strategy: "web3_metamask_signature" });
1435
1438
  }
@@ -2625,6 +2628,9 @@ var SignInStartMachine = setup5({
2625
2628
  if (strategy === "web3_coinbase_wallet_signature") {
2626
2629
  return parent.getSnapshot().context.clerk.client.signIn.authenticateWithCoinbaseWallet();
2627
2630
  }
2631
+ if (strategy === "web3_base_signature") {
2632
+ return parent.getSnapshot().context.clerk.client.signIn.authenticateWithBase();
2633
+ }
2628
2634
  if (strategy === "web3_okx_wallet_signature") {
2629
2635
  return parent.getSnapshot().context.clerk.client.signIn.authenticateWithOKXWallet();
2630
2636
  }
@@ -3913,6 +3919,9 @@ function mapScopeToStrategy(scope) {
3913
3919
  if (scope === "provider:coinbase_wallet") {
3914
3920
  return "web3_coinbase_wallet_signature";
3915
3921
  }
3922
+ if (scope === "provider:base") {
3923
+ return "web3_base_signature";
3924
+ }
3916
3925
  if (scope === "provider:okx_wallet") {
3917
3926
  return "web3_okx_wallet_signature";
3918
3927
  }
@@ -4113,4 +4122,4 @@ export {
4113
4122
  Loading,
4114
4123
  Link
4115
4124
  };
4116
- //# sourceMappingURL=chunk-DKCDTPFJ.mjs.map
4125
+ //# sourceMappingURL=chunk-NQPTVXBS.mjs.map