diff --git a/packages/agw-react/src/privy/injectWagmiConnector.tsx b/packages/agw-react/src/privy/injectWagmiConnector.tsx index 731aa3f..159561d 100644 --- a/packages/agw-react/src/privy/injectWagmiConnector.tsx +++ b/packages/agw-react/src/privy/injectWagmiConnector.tsx @@ -4,7 +4,7 @@ import type { EIP1193Provider, Transport } from 'viem'; import { useConfig, useReconnect } from 'wagmi'; import { injected } from 'wagmi/connectors'; -import { usePrivyCrossAppProvider } from './usePrivyCrossAppProvider'; +import { usePrivyCrossAppProvider } from './usePrivyCrossAppProvider.js'; interface InjectWagmiConnectorProps extends React.PropsWithChildren { testnet: boolean; diff --git a/packages/agw-react/src/privy/usePrivyCrossAppProvider.ts b/packages/agw-react/src/privy/usePrivyCrossAppProvider.ts index 71e9f4c..39f426b 100644 --- a/packages/agw-react/src/privy/usePrivyCrossAppProvider.ts +++ b/packages/agw-react/src/privy/usePrivyCrossAppProvider.ts @@ -21,7 +21,7 @@ import { } from 'viem'; import { abstractTestnet } from 'viem/chains'; -const AGW_APP_ID = 'cm04asygd041fmry9zmcyn5o5'; +import { AGW_APP_ID } from '../constants.js'; type RpcMethodNames = rpcSchema[keyof rpcSchema] extends { Method: string }