@spicenet-io/spiceflow-ui 1.9.10 → 1.9.11
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/index.cjs.js +3 -4
- package/dist/index.js +1 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -12,11 +12,10 @@ const reactAuth = require('@privy-io/react-auth');
|
|
|
12
12
|
const sdkReactCore = require('@dynamic-labs/sdk-react-core');
|
|
13
13
|
const spiceflowCoreTest = require('spiceflow-core-test');
|
|
14
14
|
const wagmi = require('wagmi');
|
|
15
|
-
const chains$1 = require('@/utils/chains');
|
|
16
15
|
const authDynamic = require('./auth-dynamic.cjs.js');
|
|
17
16
|
const authPrivy = require('./auth-privy.cjs.js');
|
|
18
17
|
const reactQuery = require('@tanstack/react-query');
|
|
19
|
-
const chains$
|
|
18
|
+
const chains$1 = require('wagmi/chains');
|
|
20
19
|
const connectors = require('wagmi/connectors');
|
|
21
20
|
|
|
22
21
|
const CHAIN_CONFIGS = {
|
|
@@ -5839,7 +5838,7 @@ const CrossChainDepositModal = ({
|
|
|
5839
5838
|
data
|
|
5840
5839
|
});
|
|
5841
5840
|
}
|
|
5842
|
-
const client =
|
|
5841
|
+
const client = getClientForChain(chainId);
|
|
5843
5842
|
const receipt = await client.waitForTransactionReceipt({
|
|
5844
5843
|
hash,
|
|
5845
5844
|
timeout: 12e4,
|
|
@@ -11829,7 +11828,7 @@ const SpiceWithdraw = (props) => {
|
|
|
11829
11828
|
}
|
|
11830
11829
|
});
|
|
11831
11830
|
if (chains.length === 0) {
|
|
11832
|
-
chains.push(chains$
|
|
11831
|
+
chains.push(chains$1.sepolia, chains$1.arbitrumSepolia);
|
|
11833
11832
|
}
|
|
11834
11833
|
const transports = {};
|
|
11835
11834
|
chains.forEach((chain) => {
|
package/dist/index.js
CHANGED
|
@@ -10,7 +10,6 @@ import { useWallets, usePrivy, useSign7702Authorization, useSignMessage } from '
|
|
|
10
10
|
import { useDynamicContext } from '@dynamic-labs/sdk-react-core';
|
|
11
11
|
import { getAccountNonce, hashChainBatches, getAuthorizationHash } from 'spiceflow-core-test';
|
|
12
12
|
import { useAccount, useWalletClient, useSwitchChain, useReadContracts, useConnect, useDisconnect, http as http$1, createConfig, WagmiProvider } from 'wagmi';
|
|
13
|
-
import { getClientForChain as getClientForChain$1 } from '@/utils/chains';
|
|
14
13
|
import { DynamicLogin } from './auth-dynamic.js';
|
|
15
14
|
import { PrivyLogin } from './auth-privy.js';
|
|
16
15
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
@@ -5837,7 +5836,7 @@ const CrossChainDepositModal = ({
|
|
|
5837
5836
|
data
|
|
5838
5837
|
});
|
|
5839
5838
|
}
|
|
5840
|
-
const client = getClientForChain
|
|
5839
|
+
const client = getClientForChain(chainId);
|
|
5841
5840
|
const receipt = await client.waitForTransactionReceipt({
|
|
5842
5841
|
hash,
|
|
5843
5842
|
timeout: 12e4,
|