@b3dotfun/sdk 0.1.70-alpha.4 → 0.1.70-alpha.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.
Files changed (55) hide show
  1. package/constants/chains/b3Chain.js +3 -1
  2. package/dist/cjs/global-account/better-auth-client.d.ts +2 -2
  3. package/dist/cjs/global-account/react/components/ManageAccount/SettingsProfileCard.js +1 -1
  4. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +1 -5
  5. package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +3 -2
  6. package/dist/cjs/global-account/react/components/SignInWithB3/utils/signInUtils.js +1 -3
  7. package/dist/cjs/global-account/react/components/index.d.ts +0 -1
  8. package/dist/cjs/global-account/react/components/index.js +3 -5
  9. package/dist/cjs/global-account/react/hooks/index.d.ts +0 -1
  10. package/dist/cjs/global-account/react/hooks/index.js +2 -4
  11. package/dist/cjs/global-account/react/hooks/useBetterAuth.d.ts +1 -1
  12. package/dist/cjs/global-account/types/b3-api.types.d.ts +5 -0
  13. package/dist/cjs/global-account/types/chain-networks.d.ts +34 -34
  14. package/dist/cjs/global-account/types/feature-flags.d.ts +5 -5
  15. package/dist/esm/global-account/better-auth-client.d.ts +2 -2
  16. package/dist/esm/global-account/react/components/ManageAccount/SettingsProfileCard.js +1 -1
  17. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Flow.js +1 -5
  18. package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +3 -2
  19. package/dist/esm/global-account/react/components/SignInWithB3/utils/signInUtils.js +1 -3
  20. package/dist/esm/global-account/react/components/index.d.ts +0 -1
  21. package/dist/esm/global-account/react/components/index.js +0 -1
  22. package/dist/esm/global-account/react/hooks/index.d.ts +0 -1
  23. package/dist/esm/global-account/react/hooks/index.js +0 -1
  24. package/dist/esm/global-account/react/hooks/useBetterAuth.d.ts +1 -1
  25. package/dist/esm/global-account/types/b3-api.types.d.ts +5 -0
  26. package/dist/esm/global-account/types/chain-networks.d.ts +34 -34
  27. package/dist/esm/global-account/types/feature-flags.d.ts +5 -5
  28. package/dist/styles/index.css +1 -1
  29. package/dist/types/global-account/better-auth-client.d.ts +2 -2
  30. package/dist/types/global-account/react/components/SignInWithB3/utils/signInUtils.d.ts +3 -2
  31. package/dist/types/global-account/react/components/index.d.ts +0 -1
  32. package/dist/types/global-account/react/hooks/index.d.ts +0 -1
  33. package/dist/types/global-account/react/hooks/useBetterAuth.d.ts +1 -1
  34. package/dist/types/global-account/types/b3-api.types.d.ts +5 -0
  35. package/dist/types/global-account/types/chain-networks.d.ts +34 -34
  36. package/dist/types/global-account/types/feature-flags.d.ts +5 -5
  37. package/package.json +16 -7
  38. package/src/global-account/react/components/ManageAccount/SettingsProfileCard.tsx +1 -1
  39. package/src/global-account/react/components/SignInWithB3/SignInWithB3Flow.tsx +1 -4
  40. package/src/global-account/react/components/SignInWithB3/utils/signInUtils.ts +2 -4
  41. package/src/global-account/react/components/index.ts +0 -1
  42. package/src/global-account/react/hooks/index.ts +0 -1
  43. package/src/global-account/types/b3-api.types.ts +5 -1
  44. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +0 -10
  45. package/dist/cjs/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +0 -46
  46. package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +0 -11
  47. package/dist/cjs/global-account/react/hooks/useHandleConnectWithPrivy.js +0 -70
  48. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +0 -10
  49. package/dist/esm/global-account/react/components/SignInWithB3/SignInWithB3Privy.js +0 -43
  50. package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +0 -11
  51. package/dist/esm/global-account/react/hooks/useHandleConnectWithPrivy.js +0 -67
  52. package/dist/types/global-account/react/components/SignInWithB3/SignInWithB3Privy.d.ts +0 -10
  53. package/dist/types/global-account/react/hooks/useHandleConnectWithPrivy.d.ts +0 -11
  54. package/src/global-account/react/components/SignInWithB3/SignInWithB3Privy.tsx +0 -63
  55. package/src/global-account/react/hooks/useHandleConnectWithPrivy.tsx +0 -79
@@ -1,2 +1,4 @@
1
- // hack for metro https://github.com/b3-fun/b3-mono/pull/50
1
+ // React Native / Metro requires CJS-compatible re-exports from a fixed path.
2
+ // This shim resolves `@b3dotfun/sdk/constants/chains/b3Chain` for bundlers
3
+ // that don't honour the package's `exports` map.
2
4
  export * from "../../dist/esm/constants/chains/b3Chain";
@@ -668,8 +668,8 @@ export declare function createB3BetterAuthClient(baseURL?: string): {
668
668
  onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
669
669
  };
670
670
  })[];
671
- cache?: RequestCache | undefined;
672
671
  priority?: RequestPriority | undefined;
672
+ cache?: RequestCache | undefined;
673
673
  credentials?: RequestCredentials;
674
674
  headers?: (HeadersInit & (HeadersInit | {
675
675
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1617,8 +1617,8 @@ export declare const betterAuthClient: {
1617
1617
  onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
1618
1618
  };
1619
1619
  })[];
1620
- cache?: RequestCache | undefined;
1621
1620
  priority?: RequestPriority | undefined;
1621
+ cache?: RequestCache | undefined;
1622
1622
  credentials?: RequestCredentials;
1623
1623
  headers?: (HeadersInit & (HeadersInit | {
1624
1624
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -77,7 +77,7 @@ const SettingsProfileCard = () => {
77
77
  // Better Auth: register username without wallet signing (DB-only, no ENS)
78
78
  // Skip ens_normalize — it rejects underscores/mixed-case that are valid non-ENS usernames
79
79
  const sanitizedUsername = editedUsername.trim().toLowerCase();
80
- // Type assertion needed: b3-mono now accepts message/hash as optional for Better Auth users
80
+ // Type assertion needed: API now accepts message/hash as optional for Better Auth users
81
81
  updatedUser = (await app_1.default
82
82
  .service("users")
83
83
  .registerUsername({ username: sanitizedUsername }, {}));
@@ -7,7 +7,6 @@ const LoginStepBetterAuth_1 = require("./steps/LoginStepBetterAuth");
7
7
  const debug_1 = require("../../../../shared/utils/debug");
8
8
  const react_2 = require("react");
9
9
  const react_3 = require("thirdweb/react");
10
- const SignInWithB3Privy_1 = require("./SignInWithB3Privy");
11
10
  const LoginStep_1 = require("./steps/LoginStep");
12
11
  const LoginStepCustom_1 = require("./steps/LoginStepCustom");
13
12
  const debug = (0, debug_1.debugB3React)("SignInWithB3Flow");
@@ -254,10 +253,7 @@ function SignInWithB3Flow({ strategies, onLoginSuccess, onSessionKeySuccess, onE
254
253
  }
255
254
  else {
256
255
  // Custom strategy
257
- if (strategies?.[0] === "privy") {
258
- content = (0, jsx_runtime_1.jsx)(SignInWithB3Privy_1.SignInWithB3Privy, { onSuccess: handleLoginSuccess, chain: chain });
259
- }
260
- else if (strategies) {
256
+ if (strategies) {
261
257
  // Strategies are explicitly provided
262
258
  content = ((0, jsx_runtime_1.jsx)(LoginStepCustom_1.LoginStepCustom, { strategies: strategies, chain: chain, onSuccess: handleLoginSuccess, onError: onError, automaticallySetFirstEoa: !!automaticallySetFirstEoa }));
263
259
  }
@@ -2,10 +2,11 @@ import { Chain } from "thirdweb";
2
2
  import { SingleStepAuthArgsType, Wallet } from "thirdweb/wallets";
3
3
  type WalletType = Wallet["id"];
4
4
  type StrategyType = SingleStepAuthArgsType["strategy"];
5
- type CustomStrategyType = "basement" | "privy";
5
+ declare const customStrategies: readonly ["basement"];
6
+ type CustomStrategyType = (typeof customStrategies)[number];
6
7
  type AllowedStrategies = StrategyType | WalletType | CustomStrategyType | "email";
7
8
  type NonWalletStrategyType = Exclude<AllowedStrategies, WalletType>;
8
- export declare const allowedStrategies: readonly ["apple", "google", "github", "x", "discord", "email", "guest", "walletConnect", "io.metamask", "com.coinbase.wallet", "basement", "privy"];
9
+ export declare const allowedStrategies: readonly ["apple", "google", "github", "x", "discord", "email", "guest", "walletConnect", "io.metamask", "com.coinbase.wallet", "basement"];
9
10
  export type AllowedStrategy = (typeof allowedStrategies)[number];
10
11
  export declare function isWalletType(strategy: AllowedStrategies): strategy is WalletType;
11
12
  export declare function isStrategyType(strategy: AllowedStrategies): strategy is NonWalletStrategyType;
@@ -5,8 +5,7 @@ exports.isWalletType = isWalletType;
5
5
  exports.isStrategyType = isStrategyType;
6
6
  exports.getConnectOptionsFromStrategy = getConnectOptionsFromStrategy;
7
7
  const wallets_1 = require("thirdweb/wallets");
8
- const customStrategies = ["basement", "privy"];
9
- // type CustomStrategy = (typeof customStrategies)[number];
8
+ const customStrategies = ["basement"];
10
9
  exports.allowedStrategies = [
11
10
  // Auth strategies
12
11
  "apple",
@@ -21,7 +20,6 @@ exports.allowedStrategies = [
21
20
  "io.metamask",
22
21
  "com.coinbase.wallet",
23
22
  // Custom strategies
24
- // TODO: Audit we don't use "privy" directly anymore
25
23
  ...customStrategies,
26
24
  ];
27
25
  function isWalletType(strategy) {
@@ -14,7 +14,6 @@ export { PermissionItem } from "./SignInWithB3/components/PermissionItem";
14
14
  export { WalletRow } from "./SignInWithB3/components/WalletRow";
15
15
  export { SignInWithB3 } from "./SignInWithB3/SignInWithB3";
16
16
  export { SignInWithB3Flow } from "./SignInWithB3/SignInWithB3Flow";
17
- export { SignInWithB3Privy } from "./SignInWithB3/SignInWithB3Privy";
18
17
  export { LoginStepContainer } from "./SignInWithB3/steps/LoginStep";
19
18
  export { getConnectOptionsFromStrategy, isWalletType, type AllowedStrategy } from "./SignInWithB3/utils/signInUtils";
20
19
  export { ManageAccount } from "./ManageAccount/ManageAccount";
@@ -3,9 +3,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.CommandShortcut = exports.CommandSeparator = exports.CommandList = exports.CommandItem = exports.CommandInput = exports.CommandGroup = exports.CommandEmpty = exports.CommandDialog = exports.Command = exports.buttonVariants = exports.Button = exports.badgeVariants = exports.Badge = exports.WalletConnectorIcon = exports.StaggeredFadeLoader = exports.CopyToClipboard = exports.ClientOnly = exports.customButtonVariants = exports.CustomButton = exports.SingleUserSearchSelector = exports.SendERC20Button = exports.SendETHButton = exports.MintButton = exports.AccountAssets = exports.RequestPermissionsButton = exports.RequestPermissions = exports.IPFSMediaRenderer = exports.Send = exports.Deposit = exports.UserAvatar = exports.ManageAccount = exports.isWalletType = exports.getConnectOptionsFromStrategy = exports.LoginStepContainer = exports.SignInWithB3Privy = exports.SignInWithB3Flow = exports.SignInWithB3 = exports.WalletRow = exports.PermissionItem = exports.AuthButton = exports.BetterAuthVerifyEmail = exports.BetterAuthSignIn = exports.BetterAuthResetPassword = exports.StyleRoot = exports.useB3Config = exports.useB3Account = exports.useB3 = exports.RelayKitProviderWrapper = exports.B3Provider = exports.B3DynamicModal = void 0;
7
- exports.TooltipProvider = exports.TooltipContent = exports.Tooltip = exports.TextShimmer = exports.TextLoop = exports.TabTrigger = exports.TabsTransitionWrapper = exports.TabsList = exports.TabsContent = exports.Tabs = exports.TabTriggerPrimitive = exports.TabsPrimitive = exports.TabsListPrimitive = exports.TabsContentPrimitive = exports.Skeleton = exports.ShinyButton = exports.ScrollBar = exports.ScrollArea = exports.PopoverTrigger = exports.PopoverContent = exports.Popover = exports.Loading = exports.Input = exports.GlareCardRounded = exports.GlareCard = exports.DropdownMenuTrigger = exports.DropdownMenuSeparator = exports.DropdownMenuItem = exports.DropdownMenuContent = exports.DropdownMenu = exports.DrawerTrigger = exports.DrawerTitle = exports.DrawerPortal = exports.DrawerOverlay = exports.DrawerHeader = exports.DrawerFooter = exports.DrawerDescription = exports.DrawerContent = exports.DrawerClose = exports.Drawer = exports.DialogTrigger = exports.DialogTitle = exports.DialogPortal = exports.DialogOverlay = exports.DialogHeader = exports.DialogFooter = exports.DialogDescription = exports.DialogContent = exports.DialogClose = exports.Dialog = void 0;
8
- exports.WalletImage = exports.useToastContext = exports.ToastProvider = exports.ToastContainer = exports.Toast = exports.toast = exports.AnimatedLottie = exports.TransitionPanel = exports.TooltipTrigger = void 0;
6
+ exports.Dialog = exports.CommandShortcut = exports.CommandSeparator = exports.CommandList = exports.CommandItem = exports.CommandInput = exports.CommandGroup = exports.CommandEmpty = exports.CommandDialog = exports.Command = exports.buttonVariants = exports.Button = exports.badgeVariants = exports.Badge = exports.WalletConnectorIcon = exports.StaggeredFadeLoader = exports.CopyToClipboard = exports.ClientOnly = exports.customButtonVariants = exports.CustomButton = exports.SingleUserSearchSelector = exports.SendERC20Button = exports.SendETHButton = exports.MintButton = exports.AccountAssets = exports.RequestPermissionsButton = exports.RequestPermissions = exports.IPFSMediaRenderer = exports.Send = exports.Deposit = exports.UserAvatar = exports.ManageAccount = exports.isWalletType = exports.getConnectOptionsFromStrategy = exports.LoginStepContainer = exports.SignInWithB3Flow = exports.SignInWithB3 = exports.WalletRow = exports.PermissionItem = exports.AuthButton = exports.BetterAuthVerifyEmail = exports.BetterAuthSignIn = exports.BetterAuthResetPassword = exports.StyleRoot = exports.useB3Config = exports.useB3Account = exports.useB3 = exports.RelayKitProviderWrapper = exports.B3Provider = exports.B3DynamicModal = void 0;
7
+ exports.TooltipTrigger = exports.TooltipProvider = exports.TooltipContent = exports.Tooltip = exports.TextShimmer = exports.TextLoop = exports.TabTrigger = exports.TabsTransitionWrapper = exports.TabsList = exports.TabsContent = exports.Tabs = exports.TabTriggerPrimitive = exports.TabsPrimitive = exports.TabsListPrimitive = exports.TabsContentPrimitive = exports.Skeleton = exports.ShinyButton = exports.ScrollBar = exports.ScrollArea = exports.PopoverTrigger = exports.PopoverContent = exports.Popover = exports.Loading = exports.Input = exports.GlareCardRounded = exports.GlareCard = exports.DropdownMenuTrigger = exports.DropdownMenuSeparator = exports.DropdownMenuItem = exports.DropdownMenuContent = exports.DropdownMenu = exports.DrawerTrigger = exports.DrawerTitle = exports.DrawerPortal = exports.DrawerOverlay = exports.DrawerHeader = exports.DrawerFooter = exports.DrawerDescription = exports.DrawerContent = exports.DrawerClose = exports.Drawer = exports.DialogTrigger = exports.DialogTitle = exports.DialogPortal = exports.DialogOverlay = exports.DialogHeader = exports.DialogFooter = exports.DialogDescription = exports.DialogContent = exports.DialogClose = void 0;
8
+ exports.WalletImage = exports.useToastContext = exports.ToastProvider = exports.ToastContainer = exports.Toast = exports.toast = exports.AnimatedLottie = exports.TransitionPanel = void 0;
9
9
  // TODO woj: Barrel file for all components, this might be reason of bundle size issues
10
10
  // Core Components
11
11
  var B3DynamicModal_1 = require("./B3DynamicModal");
@@ -39,8 +39,6 @@ var SignInWithB3_1 = require("./SignInWithB3/SignInWithB3");
39
39
  Object.defineProperty(exports, "SignInWithB3", { enumerable: true, get: function () { return SignInWithB3_1.SignInWithB3; } });
40
40
  var SignInWithB3Flow_1 = require("./SignInWithB3/SignInWithB3Flow");
41
41
  Object.defineProperty(exports, "SignInWithB3Flow", { enumerable: true, get: function () { return SignInWithB3Flow_1.SignInWithB3Flow; } });
42
- var SignInWithB3Privy_1 = require("./SignInWithB3/SignInWithB3Privy");
43
- Object.defineProperty(exports, "SignInWithB3Privy", { enumerable: true, get: function () { return SignInWithB3Privy_1.SignInWithB3Privy; } });
44
42
  var LoginStep_1 = require("./SignInWithB3/steps/LoginStep");
45
43
  Object.defineProperty(exports, "LoginStepContainer", { enumerable: true, get: function () { return LoginStep_1.LoginStepContainer; } });
46
44
  var signInUtils_1 = require("./SignInWithB3/utils/signInUtils");
@@ -17,7 +17,6 @@ export { useFirstEOA } from "./useFirstEOA";
17
17
  export { useGetAllTWSigners, type TWSignerWithMetadata } from "./useGetAllTWSigners";
18
18
  export { useGetGeo } from "./useGetGeo";
19
19
  export { useGlobalAccount } from "./useGlobalAccount";
20
- export { useHandleConnectWithPrivy } from "./useHandleConnectWithPrivy";
21
20
  export { useHasMounted } from "./useHasMounted";
22
21
  export { useIsMobile } from "./useIsMobile";
23
22
  export { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect";
@@ -14,8 +14,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- exports.useTokensFromAddress = exports.useTokenPriceWithFallback = exports.useTokenPrice = exports.useTokenFromUrl = exports.useTokenData = exports.useTokenBalancesByChain = exports.useTokenBalanceDirect = exports.useTokenBalance = exports.useSiwe = exports.useSimCollectibles = exports.useSimTokenBalance = exports.useSimSvmBalance = exports.useSimBalance = exports.useSearchParamsSSR = exports.useRouter = exports.useRemoveSessionKey = exports.useQueryBSMNT = exports.useQueryB3 = exports.useProfileSettings = exports.useProfilePreference = exports.useProfile = exports.useDisplayName = exports.useOneBalance = exports.useNotifications = exports.useNativeBalanceFromRPC = exports.useNativeBalance = exports.useMediaQuery = exports.useIsomorphicLayoutEffect = exports.useIsMobile = exports.useHasMounted = exports.useHandleConnectWithPrivy = exports.useGlobalAccount = exports.useGetGeo = exports.useGetAllTWSigners = exports.useFirstEOA = exports.useExchangeRate = exports.useConnect = exports.useClient = exports.useChainSwitchWithAction = exports.useB3EnsName = exports.useB3BalanceFromAddresses = exports.EmailVerificationRequiredError = exports.useBetterAuth = exports.useAuthentication = exports.useAuth = exports.useAnalytics = exports.useAddTWSessionKey = exports.useAccountWallet = exports.useAccountAssets = exports.createWagmiConfig = void 0;
18
- exports.useUser = exports.useURLParams = exports.useUnifiedChainSwitchAndExecute = void 0;
17
+ exports.useUnifiedChainSwitchAndExecute = exports.useTokensFromAddress = exports.useTokenPriceWithFallback = exports.useTokenPrice = exports.useTokenFromUrl = exports.useTokenData = exports.useTokenBalancesByChain = exports.useTokenBalanceDirect = exports.useTokenBalance = exports.useSiwe = exports.useSimCollectibles = exports.useSimTokenBalance = exports.useSimSvmBalance = exports.useSimBalance = exports.useSearchParamsSSR = exports.useRouter = exports.useRemoveSessionKey = exports.useQueryBSMNT = exports.useQueryB3 = exports.useProfileSettings = exports.useProfilePreference = exports.useProfile = exports.useDisplayName = exports.useOneBalance = exports.useNotifications = exports.useNativeBalanceFromRPC = exports.useNativeBalance = exports.useMediaQuery = exports.useIsomorphicLayoutEffect = exports.useIsMobile = exports.useHasMounted = exports.useGlobalAccount = exports.useGetGeo = exports.useGetAllTWSigners = exports.useFirstEOA = exports.useExchangeRate = exports.useConnect = exports.useClient = exports.useChainSwitchWithAction = exports.useB3EnsName = exports.useB3BalanceFromAddresses = exports.EmailVerificationRequiredError = exports.useBetterAuth = exports.useAuthentication = exports.useAuth = exports.useAnalytics = exports.useAddTWSessionKey = exports.useAccountWallet = exports.useAccountAssets = exports.createWagmiConfig = void 0;
18
+ exports.useUser = exports.useURLParams = void 0;
19
19
  var createWagmiConfig_1 = require("../utils/createWagmiConfig");
20
20
  Object.defineProperty(exports, "createWagmiConfig", { enumerable: true, get: function () { return createWagmiConfig_1.createWagmiConfig; } });
21
21
  var useAccountAssets_1 = require("./useAccountAssets");
@@ -54,8 +54,6 @@ var useGetGeo_1 = require("./useGetGeo");
54
54
  Object.defineProperty(exports, "useGetGeo", { enumerable: true, get: function () { return useGetGeo_1.useGetGeo; } });
55
55
  var useGlobalAccount_1 = require("./useGlobalAccount");
56
56
  Object.defineProperty(exports, "useGlobalAccount", { enumerable: true, get: function () { return useGlobalAccount_1.useGlobalAccount; } });
57
- var useHandleConnectWithPrivy_1 = require("./useHandleConnectWithPrivy");
58
- Object.defineProperty(exports, "useHandleConnectWithPrivy", { enumerable: true, get: function () { return useHandleConnectWithPrivy_1.useHandleConnectWithPrivy; } });
59
57
  var useHasMounted_1 = require("./useHasMounted");
60
58
  Object.defineProperty(exports, "useHasMounted", { enumerable: true, get: function () { return useHasMounted_1.useHasMounted; } });
61
59
  var useIsMobile_1 = require("./useIsMobile");
@@ -698,8 +698,8 @@ export declare function useBetterAuth(): {
698
698
  onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
699
699
  };
700
700
  })[];
701
- cache?: RequestCache | undefined;
702
701
  priority?: RequestPriority | undefined;
702
+ cache?: RequestCache | undefined;
703
703
  credentials?: RequestCredentials;
704
704
  headers?: (HeadersInit & (HeadersInit | {
705
705
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3,9 +3,13 @@
3
3
  */
4
4
  type ObjectId = string;
5
5
  interface PartnerIds {
6
+ /** @deprecated Privy is no longer used for authentication. This field exists for legacy data compatibility only. */
6
7
  privyId?: string;
7
8
  thirdwebId?: string;
8
9
  }
10
+ /**
11
+ * @deprecated Privy is no longer used for authentication. This type exists for legacy data compatibility only.
12
+ */
9
13
  interface PrivyLinkedAccount {
10
14
  type: string;
11
15
  address?: string;
@@ -45,6 +49,7 @@ interface User {
45
49
  createdAt: number;
46
50
  updatedAt: number;
47
51
  partnerIds: PartnerIds;
52
+ /** @deprecated Privy is no longer used for authentication. This field exists for legacy data compatibility only. */
48
53
  privyLinkedAccounts?: PrivyLinkedAccount[];
49
54
  twProfiles?: TWProfile[];
50
55
  }
@@ -1,44 +1,44 @@
1
1
  import { Static } from "@feathersjs/typebox";
2
- export declare const chainNetworksSchema: import("@feathersjs/typebox").TObject<{
3
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4
- id: import("@feathersjs/typebox").TInteger;
5
- name: import("@feathersjs/typebox").TString<string>;
6
- rpcUrls: import("@feathersjs/typebox").TObject<{
7
- default: import("@feathersjs/typebox").TObject<{
8
- http: import("@feathersjs/typebox").TString<"uri">;
9
- ws: import("@feathersjs/typebox").TString<"uri">;
2
+ export declare const chainNetworksSchema: import("@sinclair/typebox").TObject<{
3
+ _id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TObject<{}>]>;
4
+ id: import("@sinclair/typebox").TInteger;
5
+ name: import("@sinclair/typebox").TString<string>;
6
+ rpcUrls: import("@sinclair/typebox").TObject<{
7
+ default: import("@sinclair/typebox").TObject<{
8
+ http: import("@sinclair/typebox").TString<"uri">;
9
+ ws: import("@sinclair/typebox").TString<"uri">;
10
10
  }>;
11
- backups: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
12
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"http">, import("@feathersjs/typebox").TLiteral<"ws">]>;
13
- uri: import("@feathersjs/typebox").TString<string>;
11
+ backups: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
12
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"http">, import("@sinclair/typebox").TLiteral<"ws">]>;
13
+ uri: import("@sinclair/typebox").TString<string>;
14
14
  }>>;
15
15
  }>;
16
- icon: import("@feathersjs/typebox").TObject<{
17
- url: import("@feathersjs/typebox").TString<"uri">;
18
- width: import("@feathersjs/typebox").TInteger;
19
- height: import("@feathersjs/typebox").TInteger;
20
- format: import("@feathersjs/typebox").TString<string>;
16
+ icon: import("@sinclair/typebox").TObject<{
17
+ url: import("@sinclair/typebox").TString<"uri">;
18
+ width: import("@sinclair/typebox").TInteger;
19
+ height: import("@sinclair/typebox").TInteger;
20
+ format: import("@sinclair/typebox").TString<string>;
21
21
  }>;
22
- blockExplorers: import("@feathersjs/typebox").TObject<{
23
- explorerTitle: import("@feathersjs/typebox").TString<string>;
24
- default: import("@feathersjs/typebox").TString<"uri">;
22
+ blockExplorers: import("@sinclair/typebox").TObject<{
23
+ explorerTitle: import("@sinclair/typebox").TString<string>;
24
+ default: import("@sinclair/typebox").TString<"uri">;
25
25
  }>;
26
- nativeCurrency: import("@feathersjs/typebox").TObject<{
27
- name: import("@feathersjs/typebox").TString<string>;
28
- symbol: import("@feathersjs/typebox").TString<string>;
29
- decimals: import("@feathersjs/typebox").TInteger;
26
+ nativeCurrency: import("@sinclair/typebox").TObject<{
27
+ name: import("@sinclair/typebox").TString<string>;
28
+ symbol: import("@sinclair/typebox").TString<string>;
29
+ decimals: import("@sinclair/typebox").TInteger;
30
30
  }>;
31
- testnet: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
32
- testnetConfigID: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
33
- sourceId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
34
- contracts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRecord<import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{
35
- address: import("@feathersjs/typebox").TString<string>;
36
- blockCreated: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
31
+ testnet: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
32
+ testnetConfigID: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
33
+ sourceId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
34
+ contracts: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TObject<{
35
+ address: import("@sinclair/typebox").TString<string>;
36
+ blockCreated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
37
37
  }>>>;
38
- formatters: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRecord<import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TAny>>;
39
- fees: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRecord<import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TAny>>;
40
- badge: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<"uri">>;
41
- color: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
42
- enabledFeatures: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>>;
38
+ formatters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TAny>>;
39
+ fees: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TAny>>;
40
+ badge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"uri">>;
41
+ color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
42
+ enabledFeatures: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>>;
43
43
  }>;
44
44
  export type ChainNetworks = Static<typeof chainNetworksSchema>;
@@ -1,8 +1,8 @@
1
1
  import { Static } from "@feathersjs/typebox";
2
- export declare const featureFlagsSchema: import("@feathersjs/typebox").TObject<{
3
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4
- id: import("@feathersjs/typebox").TString<string>;
5
- enabled: import("@feathersjs/typebox").TBoolean;
6
- description: import("@feathersjs/typebox").TString<string>;
2
+ export declare const featureFlagsSchema: import("@sinclair/typebox").TObject<{
3
+ _id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TObject<{}>]>;
4
+ id: import("@sinclair/typebox").TString<string>;
5
+ enabled: import("@sinclair/typebox").TBoolean;
6
+ description: import("@sinclair/typebox").TString<string>;
7
7
  }>;
8
8
  export type FeatureFlags = Static<typeof featureFlagsSchema>;
@@ -668,8 +668,8 @@ export declare function createB3BetterAuthClient(baseURL?: string): {
668
668
  onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
669
669
  };
670
670
  })[];
671
- cache?: RequestCache | undefined;
672
671
  priority?: RequestPriority | undefined;
672
+ cache?: RequestCache | undefined;
673
673
  credentials?: RequestCredentials;
674
674
  headers?: (HeadersInit & (HeadersInit | {
675
675
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -1617,8 +1617,8 @@ export declare const betterAuthClient: {
1617
1617
  onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
1618
1618
  };
1619
1619
  })[];
1620
- cache?: RequestCache | undefined;
1621
1620
  priority?: RequestPriority | undefined;
1621
+ cache?: RequestCache | undefined;
1622
1622
  credentials?: RequestCredentials;
1623
1623
  headers?: (HeadersInit & (HeadersInit | {
1624
1624
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -72,7 +72,7 @@ const SettingsProfileCard = () => {
72
72
  // Better Auth: register username without wallet signing (DB-only, no ENS)
73
73
  // Skip ens_normalize — it rejects underscores/mixed-case that are valid non-ENS usernames
74
74
  const sanitizedUsername = editedUsername.trim().toLowerCase();
75
- // Type assertion needed: b3-mono now accepts message/hash as optional for Better Auth users
75
+ // Type assertion needed: API now accepts message/hash as optional for Better Auth users
76
76
  updatedUser = (await app
77
77
  .service("users")
78
78
  .registerUsername({ username: sanitizedUsername }, {}));
@@ -4,7 +4,6 @@ import { LoginStepBetterAuth } from "./steps/LoginStepBetterAuth.js";
4
4
  import { debugB3React } from "../../../../shared/utils/debug.js";
5
5
  import { useCallback, useEffect, useRef, useState } from "react";
6
6
  import { useActiveAccount } from "thirdweb/react";
7
- import { SignInWithB3Privy } from "./SignInWithB3Privy.js";
8
7
  import { LoginStep, LoginStepContainer } from "./steps/LoginStep.js";
9
8
  import { LoginStepCustom } from "./steps/LoginStepCustom.js";
10
9
  const debug = debugB3React("SignInWithB3Flow");
@@ -251,10 +250,7 @@ export function SignInWithB3Flow({ strategies, onLoginSuccess, onSessionKeySucce
251
250
  }
252
251
  else {
253
252
  // Custom strategy
254
- if (strategies?.[0] === "privy") {
255
- content = _jsx(SignInWithB3Privy, { onSuccess: handleLoginSuccess, chain: chain });
256
- }
257
- else if (strategies) {
253
+ if (strategies) {
258
254
  // Strategies are explicitly provided
259
255
  content = (_jsx(LoginStepCustom, { strategies: strategies, chain: chain, onSuccess: handleLoginSuccess, onError: onError, automaticallySetFirstEoa: !!automaticallySetFirstEoa }));
260
256
  }
@@ -2,10 +2,11 @@ import { Chain } from "thirdweb";
2
2
  import { SingleStepAuthArgsType, Wallet } from "thirdweb/wallets";
3
3
  type WalletType = Wallet["id"];
4
4
  type StrategyType = SingleStepAuthArgsType["strategy"];
5
- type CustomStrategyType = "basement" | "privy";
5
+ declare const customStrategies: readonly ["basement"];
6
+ type CustomStrategyType = (typeof customStrategies)[number];
6
7
  type AllowedStrategies = StrategyType | WalletType | CustomStrategyType | "email";
7
8
  type NonWalletStrategyType = Exclude<AllowedStrategies, WalletType>;
8
- export declare const allowedStrategies: readonly ["apple", "google", "github", "x", "discord", "email", "guest", "walletConnect", "io.metamask", "com.coinbase.wallet", "basement", "privy"];
9
+ export declare const allowedStrategies: readonly ["apple", "google", "github", "x", "discord", "email", "guest", "walletConnect", "io.metamask", "com.coinbase.wallet", "basement"];
9
10
  export type AllowedStrategy = (typeof allowedStrategies)[number];
10
11
  export declare function isWalletType(strategy: AllowedStrategies): strategy is WalletType;
11
12
  export declare function isStrategyType(strategy: AllowedStrategies): strategy is NonWalletStrategyType;
@@ -1,6 +1,5 @@
1
1
  import { createWallet } from "thirdweb/wallets";
2
- const customStrategies = ["basement", "privy"];
3
- // type CustomStrategy = (typeof customStrategies)[number];
2
+ const customStrategies = ["basement"];
4
3
  export const allowedStrategies = [
5
4
  // Auth strategies
6
5
  "apple",
@@ -15,7 +14,6 @@ export const allowedStrategies = [
15
14
  "io.metamask",
16
15
  "com.coinbase.wallet",
17
16
  // Custom strategies
18
- // TODO: Audit we don't use "privy" directly anymore
19
17
  ...customStrategies,
20
18
  ];
21
19
  export function isWalletType(strategy) {
@@ -14,7 +14,6 @@ export { PermissionItem } from "./SignInWithB3/components/PermissionItem";
14
14
  export { WalletRow } from "./SignInWithB3/components/WalletRow";
15
15
  export { SignInWithB3 } from "./SignInWithB3/SignInWithB3";
16
16
  export { SignInWithB3Flow } from "./SignInWithB3/SignInWithB3Flow";
17
- export { SignInWithB3Privy } from "./SignInWithB3/SignInWithB3Privy";
18
17
  export { LoginStepContainer } from "./SignInWithB3/steps/LoginStep";
19
18
  export { getConnectOptionsFromStrategy, isWalletType, type AllowedStrategy } from "./SignInWithB3/utils/signInUtils";
20
19
  export { ManageAccount } from "./ManageAccount/ManageAccount";
@@ -16,7 +16,6 @@ export { PermissionItem } from "./SignInWithB3/components/PermissionItem.js";
16
16
  export { WalletRow } from "./SignInWithB3/components/WalletRow.js";
17
17
  export { SignInWithB3 } from "./SignInWithB3/SignInWithB3.js";
18
18
  export { SignInWithB3Flow } from "./SignInWithB3/SignInWithB3Flow.js";
19
- export { SignInWithB3Privy } from "./SignInWithB3/SignInWithB3Privy.js";
20
19
  export { LoginStepContainer } from "./SignInWithB3/steps/LoginStep.js";
21
20
  export { getConnectOptionsFromStrategy, isWalletType } from "./SignInWithB3/utils/signInUtils.js";
22
21
  // ManageAccount Components
@@ -17,7 +17,6 @@ export { useFirstEOA } from "./useFirstEOA";
17
17
  export { useGetAllTWSigners, type TWSignerWithMetadata } from "./useGetAllTWSigners";
18
18
  export { useGetGeo } from "./useGetGeo";
19
19
  export { useGlobalAccount } from "./useGlobalAccount";
20
- export { useHandleConnectWithPrivy } from "./useHandleConnectWithPrivy";
21
20
  export { useHasMounted } from "./useHasMounted";
22
21
  export { useIsMobile } from "./useIsMobile";
23
22
  export { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect";
@@ -17,7 +17,6 @@ export { useFirstEOA } from "./useFirstEOA.js";
17
17
  export { useGetAllTWSigners } from "./useGetAllTWSigners.js";
18
18
  export { useGetGeo } from "./useGetGeo.js";
19
19
  export { useGlobalAccount } from "./useGlobalAccount.js";
20
- export { useHandleConnectWithPrivy } from "./useHandleConnectWithPrivy.js";
21
20
  export { useHasMounted } from "./useHasMounted.js";
22
21
  export { useIsMobile } from "./useIsMobile.js";
23
22
  export { useIsomorphicLayoutEffect } from "./useIsomorphicLayoutEffect.js";
@@ -698,8 +698,8 @@ export declare function useBetterAuth(): {
698
698
  onResponse: ((context: import("@better-fetch/fetch").ResponseContext) => Promise<Response | void | import("@better-fetch/fetch").ResponseContext> | Response | import("@better-fetch/fetch").ResponseContext | void) | undefined;
699
699
  };
700
700
  })[];
701
- cache?: RequestCache | undefined;
702
701
  priority?: RequestPriority | undefined;
702
+ cache?: RequestCache | undefined;
703
703
  credentials?: RequestCredentials;
704
704
  headers?: (HeadersInit & (HeadersInit | {
705
705
  accept: "application/json" | "text/plain" | "application/octet-stream";
@@ -3,9 +3,13 @@
3
3
  */
4
4
  type ObjectId = string;
5
5
  interface PartnerIds {
6
+ /** @deprecated Privy is no longer used for authentication. This field exists for legacy data compatibility only. */
6
7
  privyId?: string;
7
8
  thirdwebId?: string;
8
9
  }
10
+ /**
11
+ * @deprecated Privy is no longer used for authentication. This type exists for legacy data compatibility only.
12
+ */
9
13
  interface PrivyLinkedAccount {
10
14
  type: string;
11
15
  address?: string;
@@ -45,6 +49,7 @@ interface User {
45
49
  createdAt: number;
46
50
  updatedAt: number;
47
51
  partnerIds: PartnerIds;
52
+ /** @deprecated Privy is no longer used for authentication. This field exists for legacy data compatibility only. */
48
53
  privyLinkedAccounts?: PrivyLinkedAccount[];
49
54
  twProfiles?: TWProfile[];
50
55
  }
@@ -1,44 +1,44 @@
1
1
  import { Static } from "@feathersjs/typebox";
2
- export declare const chainNetworksSchema: import("@feathersjs/typebox").TObject<{
3
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4
- id: import("@feathersjs/typebox").TInteger;
5
- name: import("@feathersjs/typebox").TString<string>;
6
- rpcUrls: import("@feathersjs/typebox").TObject<{
7
- default: import("@feathersjs/typebox").TObject<{
8
- http: import("@feathersjs/typebox").TString<"uri">;
9
- ws: import("@feathersjs/typebox").TString<"uri">;
2
+ export declare const chainNetworksSchema: import("@sinclair/typebox").TObject<{
3
+ _id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TObject<{}>]>;
4
+ id: import("@sinclair/typebox").TInteger;
5
+ name: import("@sinclair/typebox").TString<string>;
6
+ rpcUrls: import("@sinclair/typebox").TObject<{
7
+ default: import("@sinclair/typebox").TObject<{
8
+ http: import("@sinclair/typebox").TString<"uri">;
9
+ ws: import("@sinclair/typebox").TString<"uri">;
10
10
  }>;
11
- backups: import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TObject<{
12
- type: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TLiteral<"http">, import("@feathersjs/typebox").TLiteral<"ws">]>;
13
- uri: import("@feathersjs/typebox").TString<string>;
11
+ backups: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
12
+ type: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TLiteral<"http">, import("@sinclair/typebox").TLiteral<"ws">]>;
13
+ uri: import("@sinclair/typebox").TString<string>;
14
14
  }>>;
15
15
  }>;
16
- icon: import("@feathersjs/typebox").TObject<{
17
- url: import("@feathersjs/typebox").TString<"uri">;
18
- width: import("@feathersjs/typebox").TInteger;
19
- height: import("@feathersjs/typebox").TInteger;
20
- format: import("@feathersjs/typebox").TString<string>;
16
+ icon: import("@sinclair/typebox").TObject<{
17
+ url: import("@sinclair/typebox").TString<"uri">;
18
+ width: import("@sinclair/typebox").TInteger;
19
+ height: import("@sinclair/typebox").TInteger;
20
+ format: import("@sinclair/typebox").TString<string>;
21
21
  }>;
22
- blockExplorers: import("@feathersjs/typebox").TObject<{
23
- explorerTitle: import("@feathersjs/typebox").TString<string>;
24
- default: import("@feathersjs/typebox").TString<"uri">;
22
+ blockExplorers: import("@sinclair/typebox").TObject<{
23
+ explorerTitle: import("@sinclair/typebox").TString<string>;
24
+ default: import("@sinclair/typebox").TString<"uri">;
25
25
  }>;
26
- nativeCurrency: import("@feathersjs/typebox").TObject<{
27
- name: import("@feathersjs/typebox").TString<string>;
28
- symbol: import("@feathersjs/typebox").TString<string>;
29
- decimals: import("@feathersjs/typebox").TInteger;
26
+ nativeCurrency: import("@sinclair/typebox").TObject<{
27
+ name: import("@sinclair/typebox").TString<string>;
28
+ symbol: import("@sinclair/typebox").TString<string>;
29
+ decimals: import("@sinclair/typebox").TInteger;
30
30
  }>;
31
- testnet: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TBoolean>;
32
- testnetConfigID: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
33
- sourceId: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
34
- contracts: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRecord<import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{
35
- address: import("@feathersjs/typebox").TString<string>;
36
- blockCreated: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TInteger>;
31
+ testnet: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TBoolean>;
32
+ testnetConfigID: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
33
+ sourceId: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
34
+ contracts: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TObject<{
35
+ address: import("@sinclair/typebox").TString<string>;
36
+ blockCreated: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TInteger>;
37
37
  }>>>;
38
- formatters: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRecord<import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TAny>>;
39
- fees: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TRecord<import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TAny>>;
40
- badge: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<"uri">>;
41
- color: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TString<string>>;
42
- enabledFeatures: import("@feathersjs/typebox").TOptional<import("@feathersjs/typebox").TArray<import("@feathersjs/typebox").TString<string>>>;
38
+ formatters: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TAny>>;
39
+ fees: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TAny>>;
40
+ badge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<"uri">>;
41
+ color: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString<string>>;
42
+ enabledFeatures: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TArray<import("@sinclair/typebox").TString<string>>>;
43
43
  }>;
44
44
  export type ChainNetworks = Static<typeof chainNetworksSchema>;
@@ -1,8 +1,8 @@
1
1
  import { Static } from "@feathersjs/typebox";
2
- export declare const featureFlagsSchema: import("@feathersjs/typebox").TObject<{
3
- _id: import("@feathersjs/typebox").TUnion<[import("@feathersjs/typebox").TString<string>, import("@feathersjs/typebox").TObject<{}>]>;
4
- id: import("@feathersjs/typebox").TString<string>;
5
- enabled: import("@feathersjs/typebox").TBoolean;
6
- description: import("@feathersjs/typebox").TString<string>;
2
+ export declare const featureFlagsSchema: import("@sinclair/typebox").TObject<{
3
+ _id: import("@sinclair/typebox").TUnion<[import("@sinclair/typebox").TString<string>, import("@sinclair/typebox").TObject<{}>]>;
4
+ id: import("@sinclair/typebox").TString<string>;
5
+ enabled: import("@sinclair/typebox").TBoolean;
6
+ description: import("@sinclair/typebox").TString<string>;
7
7
  }>;
8
8
  export type FeatureFlags = Static<typeof featureFlagsSchema>;