@spicenet-io/spiceflow-ui 1.9.25 → 1.9.26

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 CHANGED
@@ -11,7 +11,6 @@ const reactDom = require('react-dom');
11
11
  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
- const SpiceFlowProvider$1 = require('@/providers/SpiceFlowProvider');
15
14
  const wagmi = require('wagmi');
16
15
  const authDynamic = require('./auth-dynamic.cjs.js');
17
16
  const authPrivy = require('./auth-privy.cjs.js');
@@ -5155,7 +5154,7 @@ const DepositWidget = ({
5155
5154
  provider,
5156
5155
  actions
5157
5156
  } = wallet;
5158
- const spiceFlowContext = React.useContext(SpiceFlowProvider$1.SpiceFlowProviderContext);
5157
+ const spiceFlowContext = React.useContext(SpiceFlowProviderContext);
5159
5158
  const mode = spiceFlowContext?.mode || "7702";
5160
5159
  const [selectedDepositAsset, setSelectedDepositAsset] = React.useState(null);
5161
5160
  const {
package/dist/index.js CHANGED
@@ -9,7 +9,6 @@ import { createPortal } from 'react-dom';
9
9
  import { useWallets, usePrivy, useSign7702Authorization, useSignMessage } from '@privy-io/react-auth';
10
10
  import { useDynamicContext } from '@dynamic-labs/sdk-react-core';
11
11
  import { getAccountNonce, hashChainBatches, getAuthorizationHash } from 'spiceflow-core-test';
12
- import { SpiceFlowProviderContext as SpiceFlowProviderContext$1 } from '@/providers/SpiceFlowProvider';
13
12
  import { useAccount, useWalletClient, useSwitchChain, useReadContracts, useConnect, useDisconnect, http as http$1, createConfig, WagmiProvider } from 'wagmi';
14
13
  import { DynamicLogin } from './auth-dynamic.js';
15
14
  import { PrivyLogin } from './auth-privy.js';
@@ -5153,7 +5152,7 @@ const DepositWidget = ({
5153
5152
  provider,
5154
5153
  actions
5155
5154
  } = wallet;
5156
- const spiceFlowContext = useContext(SpiceFlowProviderContext$1);
5155
+ const spiceFlowContext = useContext(SpiceFlowProviderContext);
5157
5156
  const mode = spiceFlowContext?.mode || "7702";
5158
5157
  const [selectedDepositAsset, setSelectedDepositAsset] = useState(null);
5159
5158
  const {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spicenet-io/spiceflow-ui",
3
- "version": "1.9.25",
3
+ "version": "1.9.26",
4
4
  "description": "Spiceflow UI SDK",
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs.js",