diff --git a/examples/react-waas/index.html b/examples/react-waas/index.html index e4b78eae..f828b817 100644 --- a/examples/react-waas/index.html +++ b/examples/react-waas/index.html @@ -8,6 +8,6 @@
- + diff --git a/examples/react-waas/src/main.tsx b/examples/react-waas/src/index.tsx similarity index 100% rename from examples/react-waas/src/main.tsx rename to examples/react-waas/src/index.tsx diff --git a/packages/checkout/src/api/data.tsx b/packages/checkout/src/api/data.ts similarity index 100% rename from packages/checkout/src/api/data.tsx rename to packages/checkout/src/api/data.ts diff --git a/packages/checkout/src/api/index.tsx b/packages/checkout/src/api/index.ts similarity index 100% rename from packages/checkout/src/api/index.tsx rename to packages/checkout/src/api/index.ts diff --git a/packages/checkout/src/hooks/useCheckoutModal.tsx b/packages/checkout/src/hooks/useCheckoutModal.ts similarity index 100% rename from packages/checkout/src/hooks/useCheckoutModal.tsx rename to packages/checkout/src/hooks/useCheckoutModal.ts diff --git a/packages/checkout/src/hooks/useModalTheme.tsx b/packages/checkout/src/hooks/useModalTheme.ts similarity index 100% rename from packages/checkout/src/hooks/useModalTheme.tsx rename to packages/checkout/src/hooks/useModalTheme.ts diff --git a/packages/checkout/src/hooks/useNavigation.tsx b/packages/checkout/src/hooks/useNavigation.ts similarity index 100% rename from packages/checkout/src/hooks/useNavigation.tsx rename to packages/checkout/src/hooks/useNavigation.ts diff --git a/packages/checkout/src/shared/components/index.tsx b/packages/checkout/src/shared/components/index.ts similarity index 100% rename from packages/checkout/src/shared/components/index.tsx rename to packages/checkout/src/shared/components/index.ts diff --git a/packages/connectors/src/defaultConnectors.tsx b/packages/connectors/src/defaultConnectors.ts similarity index 100% rename from packages/connectors/src/defaultConnectors.tsx rename to packages/connectors/src/defaultConnectors.ts diff --git a/packages/kit/src/components/index.tsx b/packages/kit/src/components/index.ts similarity index 100% rename from packages/kit/src/components/index.tsx rename to packages/kit/src/components/index.ts diff --git a/packages/kit/src/contexts/Analytics.tsx b/packages/kit/src/contexts/Analytics.ts similarity index 100% rename from packages/kit/src/contexts/Analytics.tsx rename to packages/kit/src/contexts/Analytics.ts diff --git a/packages/kit/src/contexts/ConnectModal.tsx b/packages/kit/src/contexts/ConnectModal.ts similarity index 100% rename from packages/kit/src/contexts/ConnectModal.tsx rename to packages/kit/src/contexts/ConnectModal.ts diff --git a/packages/kit/src/contexts/Theme.tsx b/packages/kit/src/contexts/Theme.ts similarity index 100% rename from packages/kit/src/contexts/Theme.tsx rename to packages/kit/src/contexts/Theme.ts diff --git a/packages/kit/src/contexts/WalletSettings.tsx b/packages/kit/src/contexts/WalletSettings.ts similarity index 100% rename from packages/kit/src/contexts/WalletSettings.tsx rename to packages/kit/src/contexts/WalletSettings.ts diff --git a/packages/kit/src/hooks/useOpenConnectModal.tsx b/packages/kit/src/hooks/useOpenConnectModal.ts similarity index 100% rename from packages/kit/src/hooks/useOpenConnectModal.tsx rename to packages/kit/src/hooks/useOpenConnectModal.ts diff --git a/packages/kit/src/hooks/useTheme.tsx b/packages/kit/src/hooks/useTheme.ts similarity index 100% rename from packages/kit/src/hooks/useTheme.tsx rename to packages/kit/src/hooks/useTheme.ts diff --git a/packages/kit/src/hooks/useWaasFeeOptions.tsx b/packages/kit/src/hooks/useWaasFeeOptions.ts similarity index 100% rename from packages/kit/src/hooks/useWaasFeeOptions.tsx rename to packages/kit/src/hooks/useWaasFeeOptions.ts diff --git a/packages/kit/src/hooks/useWalletSettings.tsx b/packages/kit/src/hooks/useWalletSettings.ts similarity index 90% rename from packages/kit/src/hooks/useWalletSettings.tsx rename to packages/kit/src/hooks/useWalletSettings.ts index 8942460a..599242f6 100644 --- a/packages/kit/src/hooks/useWalletSettings.tsx +++ b/packages/kit/src/hooks/useWalletSettings.ts @@ -1,4 +1,3 @@ -import React from 'react' import { useWalletConfigContext } from '../contexts/WalletSettings' export const useWalletSettings = () => { diff --git a/packages/kit/src/utils/ethAuth.tsx b/packages/kit/src/utils/ethAuth.ts similarity index 98% rename from packages/kit/src/utils/ethAuth.tsx rename to packages/kit/src/utils/ethAuth.ts index 4ab4b77f..83944819 100644 --- a/packages/kit/src/utils/ethAuth.tsx +++ b/packages/kit/src/utils/ethAuth.ts @@ -1,4 +1,3 @@ -import { ethers } from 'ethers' import { ETHAuthProof } from '@0xsequence/auth' import { ETHAuth, Proof } from '@0xsequence/ethauth' import { sequence } from '0xsequence' diff --git a/packages/kit/src/utils/genericContext.tsx b/packages/kit/src/utils/genericContext.ts similarity index 100% rename from packages/kit/src/utils/genericContext.tsx rename to packages/kit/src/utils/genericContext.ts diff --git a/packages/wallet/src/api/data.tsx b/packages/wallet/src/api/data.ts similarity index 100% rename from packages/wallet/src/api/data.tsx rename to packages/wallet/src/api/data.ts diff --git a/packages/wallet/src/api/index.tsx b/packages/wallet/src/api/index.ts similarity index 100% rename from packages/wallet/src/api/index.tsx rename to packages/wallet/src/api/index.ts diff --git a/packages/wallet/src/hooks/useNavigation.tsx b/packages/wallet/src/hooks/useNavigation.ts similarity index 100% rename from packages/wallet/src/hooks/useNavigation.tsx rename to packages/wallet/src/hooks/useNavigation.ts diff --git a/packages/wallet/src/hooks/useOpenWalletModal.tsx b/packages/wallet/src/hooks/useOpenWalletModal.ts similarity index 100% rename from packages/wallet/src/hooks/useOpenWalletModal.tsx rename to packages/wallet/src/hooks/useOpenWalletModal.ts diff --git a/packages/wallet/src/hooks/useScrollbarWidth.tsx b/packages/wallet/src/hooks/useScrollbarWidth.ts similarity index 100% rename from packages/wallet/src/hooks/useScrollbarWidth.tsx rename to packages/wallet/src/hooks/useScrollbarWidth.ts diff --git a/packages/wallet/src/hooks/useSettings.tsx b/packages/wallet/src/hooks/useSettings.ts similarity index 100% rename from packages/wallet/src/hooks/useSettings.tsx rename to packages/wallet/src/hooks/useSettings.ts diff --git a/packages/wallet/src/index.tsx b/packages/wallet/src/index.ts similarity index 100% rename from packages/wallet/src/index.tsx rename to packages/wallet/src/index.ts diff --git a/packages/wallet/src/shared/index.tsx b/packages/wallet/src/shared/index.ts similarity index 100% rename from packages/wallet/src/shared/index.tsx rename to packages/wallet/src/shared/index.ts diff --git a/packages/wallet/src/utils/genericContext.tsx b/packages/wallet/src/utils/genericContext.ts similarity index 100% rename from packages/wallet/src/utils/genericContext.tsx rename to packages/wallet/src/utils/genericContext.ts diff --git a/packages/wallet/src/views/Search/index.tsx b/packages/wallet/src/views/Search/index.ts similarity index 100% rename from packages/wallet/src/views/Search/index.tsx rename to packages/wallet/src/views/Search/index.ts diff --git a/packages/wallet/src/views/Settings/index.tsx b/packages/wallet/src/views/Settings/index.ts similarity index 100% rename from packages/wallet/src/views/Settings/index.tsx rename to packages/wallet/src/views/Settings/index.ts