@sodax/wallet-sdk-react 2.0.0-rc.4 → 2.0.0-rc.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.
@@ -143,4 +143,4 @@ declare abstract class XConnector implements IXConnector {
143
143
  get installUrl(): string | undefined;
144
144
  }
145
145
 
146
- export { type IXConnector as I, type XAccount as X, type XConnection as a, XService as b, XConnector as c, type IXService as d };
146
+ export { type IXConnector as I, type XAccount as X, type IXService as a, type XConnection as b, XConnector as c, XService as d };
@@ -1,14 +1,14 @@
1
1
  import { StellarWalletsKitXConnector, StellarXService } from './chunk-X7BHR7WS.mjs';
2
2
  import { SuiXService } from './chunk-JQ4H4GJ5.mjs';
3
- import { EvmXService } from './chunk-Z5GXDHGL.mjs';
4
- import { InjectiveXConnector, InjectiveXService } from './chunk-3QETHO6P.mjs';
5
- import { IconHanaXConnector, IconXService, CHAIN_INFO } from './chunk-WPZOLGVB.mjs';
3
+ import { IconHanaXConnector, CHAIN_INFO, IconXService } from './chunk-WPZOLGVB.mjs';
6
4
  import { assert, isRecord, hasFunctionProperty } from './chunk-TACW7Z4D.mjs';
7
- import { NearXService, NearXConnector } from './chunk-C6M34IVL.mjs';
5
+ import { InjectiveXConnector, InjectiveXService } from './chunk-MWWVB7TD.mjs';
6
+ import { EvmXService } from './chunk-Z5GXDHGL.mjs';
7
+ import { NearXConnector, NearXService } from './chunk-C6M34IVL.mjs';
8
8
  import { BITCOIN_DEFAULT_RPC_URL, WALLET_METADATA } from './chunk-NAKCAL2M.mjs';
9
9
  import { SolanaXService } from './chunk-FSOGMSJH.mjs';
10
10
  import { isNativeToken, getEntryDefaults, getRpcUrl } from './chunk-7V7O3Q7Y.mjs';
11
- import { STACKS_PROVIDERS, StacksXService, StacksXConnector } from './chunk-42LTUHMZ.mjs';
11
+ import { StacksXConnector, STACKS_PROVIDERS, StacksXService } from './chunk-OPYSVPRW.mjs';
12
12
  import { XConnector, XService } from './chunk-IFXZQW4C.mjs';
13
13
  import { ChainTypeArr, baseChainInfo, ChainKeys, detectBitcoinAddressType, CHAIN_KEYS } from '@sodax/types';
14
14
  import { AddressPurpose, MessageSigningProtocols } from 'sats-connect';
@@ -4,7 +4,7 @@ import { IndexerGrpcAccountPortfolioApi, ChainGrpcWasmApi, getInjectiveAddress }
4
4
  import { ChainId } from '@injectivelabs/ts-types';
5
5
  import { MsgBroadcaster } from '@injectivelabs/wallet-core';
6
6
  import { mainnet } from 'wagmi/chains';
7
- import { WalletStrategy } from '@injectivelabs/wallet-strategy';
7
+ import { WalletStrategy } from '@sodax/libs/injective/wallet-strategy';
8
8
  import { isCosmosBrowserWallet, isEvmBrowserWallet } from '@injectivelabs/wallet-base';
9
9
  import { isCosmosWalletInstalled } from '@injectivelabs/wallet-cosmos';
10
10
 
@@ -1,7 +1,6 @@
1
1
  import { XService, XConnector } from './chunk-IFXZQW4C.mjs';
2
- import { fetchCallReadOnlyFunction, Cl } from '@stacks/transactions';
3
- import { networkFrom } from '@stacks/network';
4
- import { request, disconnect } from '@stacks/connect';
2
+ import { networkFrom, fetchCallReadOnlyFunction, Cl } from '@sodax/libs/stacks/core';
3
+ import { request, disconnect } from '@sodax/libs/stacks/connect';
5
4
  import { useMemo } from 'react';
6
5
 
7
6
  var StacksXService = class _StacksXService extends XService {
@@ -19,6 +18,12 @@ var StacksXService = class _StacksXService extends XService {
19
18
  }
20
19
  return _StacksXService.instance;
21
20
  }
21
+ /**
22
+ * @warning Network / fetch / contract-read failures are silently swallowed —
23
+ * `0n` is returned on any error. Callers cannot distinguish "zero balance"
24
+ * from "fetch failed"; UI that needs to surface the failure must wrap this
25
+ * call externally and re-fetch on its own error path.
26
+ */
22
27
  async getBalance(address, xToken) {
23
28
  if (!address) return 0n;
24
29
  if (xToken.symbol === "STX") {
@@ -55,6 +60,7 @@ var StacksXService = class _StacksXService extends XService {
55
60
  }
56
61
  };
57
62
  function getProviderFromId(id) {
63
+ if (typeof window === "undefined") return void 0;
58
64
  return id.split(".").reduce((acc, part) => acc?.[part], window);
59
65
  }
60
66
  var StacksXConnector = class extends XConnector {
@@ -1,8 +1,8 @@
1
1
  import { STELLAR_DEFAULT_HORIZON_RPC_URL, STELLAR_DEFAULT_SOROBAN_RPC_URL } from './chunk-NAKCAL2M.mjs';
2
2
  import { XService, XConnector } from './chunk-IFXZQW4C.mjs';
3
- import { StellarWalletsKit, allowAllModules, WalletNetwork } from '@creit.tech/stellar-wallets-kit';
3
+ import { StellarWalletsKit, WalletNetwork, allowAllModules } from '@creit.tech/stellar-wallets-kit';
4
4
  import * as StellarSdk from '@stellar/stellar-sdk';
5
- import { rpc, Address, Contract, TimeoutInfinite, scValToBigInt } from '@stellar/stellar-sdk';
5
+ import { rpc, Contract, TimeoutInfinite, scValToBigInt, Address } from '@stellar/stellar-sdk';
6
6
 
7
7
  var CustomSorobanServer = class extends rpc.Server {
8
8
  customHeaders;
@@ -1,9 +1,9 @@
1
1
  import { getRpcUrl, getWagmiChainId, isNativeToken } from './chunk-7V7O3Q7Y.mjs';
2
2
  import { XService, XConnector } from './chunk-IFXZQW4C.mjs';
3
3
  import { ChainKeys } from '@sodax/types';
4
- import { defineChain, erc20Abi } from 'viem';
4
+ import { erc20Abi, defineChain } from 'viem';
5
5
  import { getPublicClient } from 'wagmi/actions';
6
- import { createConfig, createStorage, http, cookieStorage } from 'wagmi';
6
+ import { createConfig, createStorage, cookieStorage, http } from 'wagmi';
7
7
  import { mainnet, avalanche, arbitrum, base, bsc, sonic, optimism, polygon, lightlinkPhoenix, kaia, redbellyMainnet } from 'wagmi/chains';
8
8
 
9
9
  var hyper = /* @__PURE__ */ defineChain({
@@ -1,8 +1,8 @@
1
- import { ChainType, EvmChainKey, SolanaChainKey, SuiChainKey, IconChainKey, NearChainKey, StellarChainKey, StellarRpcConfig, BitcoinChainKey, BitcoinRpcConfig, InjectiveChainKey, InjectiveRpcConfig, StacksChainKey, StacksNetworkName, StacksNetworkLike, ChainKey, baseChainInfo } from '@sodax/types';
2
- import { EvmWalletDefaults, SolanaWalletDefaults, SuiWalletDefaults, IconWalletDefaults, NearWalletDefaults, StellarWalletDefaults, BitcoinWalletDefaults, InjectiveWalletDefaults, StacksWalletDefaults } from '@sodax/wallet-sdk-core';
1
+ import { BitcoinRpcConfig, ChainType, EvmChainKey, SolanaChainKey, SuiChainKey, IconChainKey, NearChainKey, StellarChainKey, StellarRpcConfig, BitcoinChainKey, InjectiveChainKey, InjectiveRpcConfig, StacksChainKey, StacksNetworkName, StacksNetworkLike, ChainKey, baseChainInfo } from '@sodax/types';
2
+ import { BitcoinWalletDefaults, EvmWalletDefaults, SolanaWalletDefaults, SuiWalletDefaults, IconWalletDefaults, NearWalletDefaults, StellarWalletDefaults, InjectiveWalletDefaults, StacksWalletDefaults } from '@sodax/wallet-sdk-core';
3
3
  import { State } from 'wagmi';
4
4
  import { WalletConnectParameters } from 'wagmi/connectors';
5
- import { I as IXConnector } from './XConnector-B9YQTVJ4.js';
5
+ import { I as IXConnector } from './XConnector-12q0OVe5.js';
6
6
 
7
7
  type SimpleChainEntry<D> = {
8
8
  rpcUrl?: string;
@@ -148,4 +148,4 @@ type SodaxWalletConfig = {
148
148
  [T in ChainType]?: ChainTypeConfig<T>;
149
149
  };
150
150
 
151
- export type { BitcoinChainEntry as B, ChainEntry as C, EvmChainEntry as E, IconChainEntry as I, NearChainEntry as N, SodaxWalletConfig as S, WalletDefaultsByKey as W, SolanaChainEntry as a, SuiChainEntry as b, StellarChainEntry as c, InjectiveChainEntry as d, StacksChainEntry as e, EvmAdapterFields as f, SolanaAdapterFields as g, SuiAdapterFields as h, ChainMeta as i, ChainTypeOf as j, ChainTypeConfig as k, EvmTypeConfig as l, SolanaTypeConfig as m, SuiTypeConfig as n, BitcoinTypeConfig as o, StellarTypeConfig as p, InjectiveTypeConfig as q, IconTypeConfig as r, NearTypeConfig as s, StacksTypeConfig as t };
151
+ export type { BitcoinChainEntry as B, ChainEntry as C, EvmAdapterFields as E, IconChainEntry as I, NearChainEntry as N, SodaxWalletConfig as S, WalletDefaultsByKey as W, BitcoinTypeConfig as a, ChainMeta as b, ChainTypeConfig as c, ChainTypeOf as d, EvmChainEntry as e, EvmTypeConfig as f, IconTypeConfig as g, InjectiveChainEntry as h, InjectiveTypeConfig as i, NearTypeConfig as j, SolanaAdapterFields as k, SolanaChainEntry as l, SolanaTypeConfig as m, StacksChainEntry as n, StacksTypeConfig as o, StellarChainEntry as p, StellarTypeConfig as q, SuiAdapterFields as r, SuiChainEntry as s, SuiTypeConfig as t };
package/dist/index.d.ts CHANGED
@@ -1,11 +1,11 @@
1
1
  import { SpokeChainKey, GetChainType, ChainType, ChainKey, EvmChainKey, XToken, GetWalletProviderType } from '@sodax/types';
2
2
  export { IWalletProvider } from '@sodax/types';
3
- import { X as XAccount, I as IXConnector, a as XConnection, b as XService, c as XConnector } from './XConnector-B9YQTVJ4.js';
4
- export { d as IXService } from './XConnector-B9YQTVJ4.js';
3
+ import { X as XAccount, I as IXConnector, b as XConnection, d as XService, c as XConnector } from './XConnector-12q0OVe5.js';
4
+ export { a as IXService } from './XConnector-12q0OVe5.js';
5
5
  import * as react from 'react';
6
6
  import { ReactNode } from 'react';
7
- import { S as SodaxWalletConfig, C as ChainEntry, W as WalletDefaultsByKey, E as EvmChainEntry } from './config-GVKK8IfY.js';
8
- export { B as BitcoinChainEntry, o as BitcoinTypeConfig, i as ChainMeta, k as ChainTypeConfig, j as ChainTypeOf, f as EvmAdapterFields, l as EvmTypeConfig, I as IconChainEntry, r as IconTypeConfig, d as InjectiveChainEntry, q as InjectiveTypeConfig, N as NearChainEntry, s as NearTypeConfig, g as SolanaAdapterFields, a as SolanaChainEntry, m as SolanaTypeConfig, e as StacksChainEntry, t as StacksTypeConfig, c as StellarChainEntry, p as StellarTypeConfig, h as SuiAdapterFields, b as SuiChainEntry, n as SuiTypeConfig } from './config-GVKK8IfY.js';
7
+ import { S as SodaxWalletConfig, C as ChainEntry, W as WalletDefaultsByKey, e as EvmChainEntry } from './config-DEsqgrG1.js';
8
+ export { B as BitcoinChainEntry, a as BitcoinTypeConfig, b as ChainMeta, c as ChainTypeConfig, d as ChainTypeOf, E as EvmAdapterFields, f as EvmTypeConfig, I as IconChainEntry, g as IconTypeConfig, h as InjectiveChainEntry, i as InjectiveTypeConfig, N as NearChainEntry, j as NearTypeConfig, k as SolanaAdapterFields, l as SolanaChainEntry, m as SolanaTypeConfig, n as StacksChainEntry, o as StacksTypeConfig, p as StellarChainEntry, q as StellarTypeConfig, r as SuiAdapterFields, s as SuiChainEntry, t as SuiTypeConfig } from './config-DEsqgrG1.js';
9
9
  import { UseMutationResult } from '@tanstack/react-query';
10
10
  import * as react_jsx_runtime from 'react/jsx-runtime';
11
11
  import { EvmWalletDefaults } from '@sodax/wallet-sdk-core';
package/dist/index.mjs CHANGED
@@ -1,18 +1,18 @@
1
- import { WalletConfigProvider, useXWalletStore, whenPersistReady, chainRegistry, useWalletConfig, usePersistHydrated } from './chunk-LUKR7YKV.mjs';
2
- export { WalletConfigProvider, getXChainType, getXService, useBatchConnect, useBatchDisconnect, useChainGroups, useConnectedChains, useConnectionFlow, useEnabledChainTypes, useEnabledChains, useEvmSwitchChain, useIsChainEnabled, useIsWalletInstalled, useWalletConfig, useWalletModal, useWalletProvider, useXAccount, useXAccounts, useXConnect, useXConnection, useXConnections, useXConnectors, useXConnectorsByChain, useXDisconnect, useXService, useXServices, useXSignMessage } from './chunk-LUKR7YKV.mjs';
1
+ import { WalletConfigProvider, useXWalletStore, whenPersistReady, chainRegistry, useWalletConfig, usePersistHydrated } from './chunk-M5EDUKLO.mjs';
2
+ export { WalletConfigProvider, getXChainType, getXService, useBatchConnect, useBatchDisconnect, useChainGroups, useConnectedChains, useConnectionFlow, useEnabledChainTypes, useEnabledChains, useEvmSwitchChain, useIsChainEnabled, useIsWalletInstalled, useWalletConfig, useWalletModal, useWalletProvider, useXAccount, useXAccounts, useXConnect, useXConnection, useXConnections, useXConnectors, useXConnectorsByChain, useXDisconnect, useXService, useXServices, useXSignMessage } from './chunk-M5EDUKLO.mjs';
3
3
  import { StellarXService } from './chunk-X7BHR7WS.mjs';
4
4
  import { SuiXService, SuiXConnector } from './chunk-JQ4H4GJ5.mjs';
5
- import { createWagmiConfig, EvmXService, EvmXConnector } from './chunk-Z5GXDHGL.mjs';
6
- import { InjectiveXService } from './chunk-3QETHO6P.mjs';
7
5
  import { request } from './chunk-WPZOLGVB.mjs';
8
6
  import { assertSuiProviderShape } from './chunk-TACW7Z4D.mjs';
7
+ import { InjectiveXService } from './chunk-MWWVB7TD.mjs';
8
+ import { createWagmiConfig, EvmXService, EvmXConnector } from './chunk-Z5GXDHGL.mjs';
9
9
  import './chunk-C6M34IVL.mjs';
10
10
  import { SOLANA_DEFAULT_AUTO_CONNECT, SOLANA_DEFAULT_RPC_URL, SUI_DEFAULT_AUTO_CONNECT, SUI_DEFAULT_NETWORK, EVM_DEFAULT_RECONNECT_ON_MOUNT, EVM_DEFAULT_SSR, SOLANA_METAMASK_CONNECT_TIMEOUT_MS } from './chunk-NAKCAL2M.mjs';
11
11
  import { SolanaXConnector } from './chunk-LKSSME2J.mjs';
12
12
  import { SolanaXService } from './chunk-FSOGMSJH.mjs';
13
13
  import { getEntryDefaults, resolveEvmDefaults } from './chunk-7V7O3Q7Y.mjs';
14
14
  export { getEntryDefaults, getRpcUrl, getWagmiChainId, isNativeToken, resolveEvmDefaults, sortConnectors } from './chunk-7V7O3Q7Y.mjs';
15
- import './chunk-42LTUHMZ.mjs';
15
+ import './chunk-OPYSVPRW.mjs';
16
16
  import './chunk-QMXBY3UI.mjs';
17
17
  export { XConnector, XService } from './chunk-IFXZQW4C.mjs';
18
18
  import { useRef, useEffect, useMemo } from 'react';
@@ -1,4 +1,4 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
2
  import { XToken, IBitcoinWalletProvider, BtcWalletAddressType } from '@sodax/types';
3
3
  export { BtcWalletAddressType } from '@sodax/types';
4
4
  import { BitcoinWalletDefaults } from '@sodax/wallet-sdk-core';
@@ -1,14 +1,14 @@
1
- export { BitcoinXConnector, BitcoinXService, OKXXConnector, UnisatXConnector, XverseXConnector, useBitcoinXConnectors } from '../../chunk-LUKR7YKV.mjs';
1
+ export { BitcoinXConnector, BitcoinXService, OKXXConnector, UnisatXConnector, XverseXConnector, useBitcoinXConnectors } from '../../chunk-M5EDUKLO.mjs';
2
2
  import '../../chunk-X7BHR7WS.mjs';
3
3
  import '../../chunk-JQ4H4GJ5.mjs';
4
- import '../../chunk-Z5GXDHGL.mjs';
5
- import '../../chunk-3QETHO6P.mjs';
6
4
  import '../../chunk-WPZOLGVB.mjs';
7
5
  import '../../chunk-TACW7Z4D.mjs';
6
+ import '../../chunk-MWWVB7TD.mjs';
7
+ import '../../chunk-Z5GXDHGL.mjs';
8
8
  import '../../chunk-C6M34IVL.mjs';
9
9
  import '../../chunk-NAKCAL2M.mjs';
10
10
  import '../../chunk-FSOGMSJH.mjs';
11
11
  import '../../chunk-7V7O3Q7Y.mjs';
12
- import '../../chunk-42LTUHMZ.mjs';
12
+ import '../../chunk-OPYSVPRW.mjs';
13
13
  import '../../chunk-QMXBY3UI.mjs';
14
14
  import '../../chunk-IFXZQW4C.mjs';
@@ -1,6 +1,6 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
2
  import { XToken } from '@sodax/types';
3
- import { l as EvmTypeConfig } from '../../config-GVKK8IfY.js';
3
+ import { f as EvmTypeConfig } from '../../config-DEsqgrG1.js';
4
4
  import { Config, CreateConnectorFn, Connector } from 'wagmi';
5
5
  import '@sodax/wallet-sdk-core';
6
6
  import 'wagmi/connectors';
@@ -9,7 +9,7 @@ type WagmiOptions = {
9
9
  reconnectOnMount?: boolean;
10
10
  ssr?: boolean;
11
11
  };
12
- declare const createWagmiConfig: (evmChains: EvmTypeConfig["chains"], options?: WagmiOptions & {
12
+ declare const createWagmiConfig: (evmChains?: EvmTypeConfig["chains"], options?: WagmiOptions & {
13
13
  connectors?: CreateConnectorFn[];
14
14
  }) => Config;
15
15
  /**
@@ -1,4 +1,4 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
2
  import { IconService } from 'icon-sdk-js';
3
3
  import { XToken } from '@sodax/types';
4
4
 
@@ -1,8 +1,8 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
2
  import { IndexerGrpcAccountPortfolioApi, ChainGrpcWasmApi } from '@injectivelabs/sdk-ts';
3
3
  import { MsgBroadcaster } from '@injectivelabs/wallet-core';
4
4
  import { InjectiveRpcConfig, XToken } from '@sodax/types';
5
- import { WalletStrategy } from '@injectivelabs/wallet-strategy';
5
+ import { WalletStrategy } from '@sodax/libs/injective/wallet-strategy';
6
6
  import { Wallet } from '@injectivelabs/wallet-base';
7
7
 
8
8
  declare class InjectiveXService extends XService {
@@ -1,3 +1,3 @@
1
- export { InjectiveXConnector, InjectiveXService } from '../../chunk-3QETHO6P.mjs';
1
+ export { InjectiveXConnector, InjectiveXService } from '../../chunk-MWWVB7TD.mjs';
2
2
  import '../../chunk-QMXBY3UI.mjs';
3
3
  import '../../chunk-IFXZQW4C.mjs';
@@ -1,4 +1,4 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
2
  import { XToken } from '@sodax/types';
3
3
  import { NearConnector, NearWalletBase } from '@hot-labs/near-connect';
4
4
 
@@ -1,4 +1,4 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
2
  import { XToken } from '@sodax/types';
3
3
  import { Connection } from '@solana/web3.js';
4
4
  import { WalletContextState, Wallet } from '@solana/wallet-adapter-react';
@@ -1,13 +1,19 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
2
- import { XToken } from '@sodax/types';
3
- import { StacksNetwork, StacksNetworkName } from '@stacks/network';
4
- import { StacksProvider } from '@stacks/connect';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
+ import { StacksNetworkName, XToken } from '@sodax/types';
3
+ import { StacksNetwork } from '@sodax/libs/stacks/core';
4
+ import { StacksProvider } from '@sodax/libs/stacks/connect';
5
5
 
6
6
  declare class StacksXService extends XService {
7
7
  private static instance;
8
8
  network: StacksNetwork;
9
9
  private constructor();
10
10
  static getInstance(network?: StacksNetworkName | StacksNetwork): StacksXService;
11
+ /**
12
+ * @warning Network / fetch / contract-read failures are silently swallowed —
13
+ * `0n` is returned on any error. Callers cannot distinguish "zero balance"
14
+ * from "fetch failed"; UI that needs to surface the failure must wrap this
15
+ * call externally and re-fetch on its own error path.
16
+ */
11
17
  getBalance(address: string | undefined, xToken: XToken): Promise<bigint>;
12
18
  }
13
19
 
@@ -1,3 +1,3 @@
1
- export { STACKS_PROVIDERS, StacksXConnector, StacksXService, useStacksXConnectors } from '../../chunk-42LTUHMZ.mjs';
1
+ export { STACKS_PROVIDERS, StacksXConnector, StacksXService, useStacksXConnectors } from '../../chunk-OPYSVPRW.mjs';
2
2
  import '../../chunk-QMXBY3UI.mjs';
3
3
  import '../../chunk-IFXZQW4C.mjs';
@@ -1,4 +1,4 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
2
  import { StellarWalletsKit } from '@creit.tech/stellar-wallets-kit';
3
3
  import * as StellarSdk from '@stellar/stellar-sdk';
4
4
  import { rpc, Transaction, Memo, MemoType, Operation, FeeBumpTransaction } from '@stellar/stellar-sdk';
@@ -1,4 +1,4 @@
1
- import { b as XService, c as XConnector, X as XAccount } from '../../XConnector-B9YQTVJ4.js';
1
+ import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
2
2
  import { ISuiWalletProvider, XToken } from '@sodax/types';
3
3
 
4
4
  interface SuiClientLike {
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "access": "public"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "2.0.0-rc.4",
8
+ "version": "2.0.0-rc.6",
9
9
  "description": "Wallet SDK of Sodax",
10
10
  "keywords": [
11
11
  "sodax",
@@ -55,9 +55,6 @@
55
55
  "url": "https://github.com/icon-project/sodax-sdks"
56
56
  },
57
57
  "dependencies": {
58
- "@stacks/connect": "8.2.6",
59
- "@stacks/network": "7.3.1",
60
- "@stacks/transactions": "7.3.1",
61
58
  "@creit.tech/stellar-wallets-kit": "^1.7.5",
62
59
  "@hot-labs/near-connect": "0.10.0",
63
60
  "@injectivelabs/networks": "1.18.14",
@@ -66,7 +63,6 @@
66
63
  "@injectivelabs/wallet-base": "1.18.14",
67
64
  "@injectivelabs/wallet-core": "1.18.14",
68
65
  "@injectivelabs/wallet-cosmos": "1.18.14",
69
- "@injectivelabs/wallet-strategy": "1.18.14",
70
66
  "@mysten/dapp-kit": "0.14.18",
71
67
  "@mysten/sui": "1.21.2",
72
68
  "near-api-js": "7.2.0",
@@ -80,8 +76,9 @@
80
76
  "viem": "2.29.2",
81
77
  "wagmi": "2.16.9",
82
78
  "zustand": "4.5.2",
83
- "@sodax/wallet-sdk-core": "2.0.0-rc.4",
84
- "@sodax/types": "2.0.0-rc.4"
79
+ "@sodax/libs": "0.0.1-rc.0",
80
+ "@sodax/types": "2.0.0-rc.6",
81
+ "@sodax/wallet-sdk-core": "2.0.0-rc.6"
85
82
  },
86
83
  "devDependencies": {
87
84
  "@arethetypeswrong/cli": "0.17.4",
@@ -90,6 +87,7 @@
90
87
  "@types/react-dom": "^19.0.3",
91
88
  "happy-dom": "^20.8.9",
92
89
  "knip": "5.30.5",
90
+ "madge": "8.0.0",
93
91
  "react-dom": "19.1.4",
94
92
  "tslib": "2.8.1",
95
93
  "tsup": "8.5.0",
@@ -109,6 +107,7 @@
109
107
  "check-exports": "attw --pack --profile esm-only",
110
108
  "test": "vitest run",
111
109
  "check:knip": "knip",
110
+ "check:circular-deps": "madge --circular $(find ./src -name '*.ts' -o -name '*.tsx')",
112
111
  "lint": "biome lint . --write"
113
112
  }
114
113
  }