@sodax/wallet-sdk-react 2.0.0-rc.4 → 2.0.0-rc.5
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/{XConnector-B9YQTVJ4.d.ts → XConnector-12q0OVe5.d.ts} +1 -1
- package/dist/{chunk-3QETHO6P.mjs → chunk-MWWVB7TD.mjs} +1 -1
- package/dist/{chunk-42LTUHMZ.mjs → chunk-OPYSVPRW.mjs} +9 -3
- package/dist/{chunk-LUKR7YKV.mjs → chunk-VCESC6QT.mjs} +4 -4
- package/dist/chunk-X7BHR7WS.mjs +2 -2
- package/dist/chunk-Z5GXDHGL.mjs +2 -2
- package/dist/{config-GVKK8IfY.d.ts → config-DEsqgrG1.d.ts} +4 -4
- package/dist/index.d.ts +4 -4
- package/dist/index.mjs +5 -5
- package/dist/xchains/bitcoin/index.d.ts +1 -1
- package/dist/xchains/bitcoin/index.mjs +4 -4
- package/dist/xchains/evm/index.d.ts +3 -3
- package/dist/xchains/icon/index.d.ts +1 -1
- package/dist/xchains/injective/index.d.ts +2 -2
- package/dist/xchains/injective/index.mjs +1 -1
- package/dist/xchains/near/index.d.ts +1 -1
- package/dist/xchains/solana/index.d.ts +1 -1
- package/dist/xchains/stacks/index.d.ts +10 -4
- package/dist/xchains/stacks/index.mjs +1 -1
- package/dist/xchains/stellar/index.d.ts +1 -1
- package/dist/xchains/sui/index.d.ts +1 -1
- package/package.json +6 -7
|
@@ -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
|
|
146
|
+
export { type IXConnector as I, type XAccount as X, type IXService as a, type XConnection as b, XConnector as c, XService as d };
|
|
@@ -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 '@
|
|
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/
|
|
3
|
-
import {
|
|
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,14 +1,14 @@
|
|
|
1
1
|
import { StellarWalletsKitXConnector, StellarXService } from './chunk-X7BHR7WS.mjs';
|
|
2
2
|
import { SuiXService } from './chunk-JQ4H4GJ5.mjs';
|
|
3
3
|
import { EvmXService } from './chunk-Z5GXDHGL.mjs';
|
|
4
|
-
import { InjectiveXConnector, InjectiveXService } from './chunk-
|
|
5
|
-
import {
|
|
4
|
+
import { InjectiveXConnector, InjectiveXService } from './chunk-MWWVB7TD.mjs';
|
|
5
|
+
import { NearXConnector, NearXService } from './chunk-C6M34IVL.mjs';
|
|
6
|
+
import { IconHanaXConnector, CHAIN_INFO, IconXService } from './chunk-WPZOLGVB.mjs';
|
|
6
7
|
import { assert, isRecord, hasFunctionProperty } from './chunk-TACW7Z4D.mjs';
|
|
7
|
-
import { NearXService, NearXConnector } 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
|
|
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';
|
package/dist/chunk-X7BHR7WS.mjs
CHANGED
|
@@ -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,
|
|
3
|
+
import { StellarWalletsKit, WalletNetwork, allowAllModules } from '@creit.tech/stellar-wallets-kit';
|
|
4
4
|
import * as StellarSdk from '@stellar/stellar-sdk';
|
|
5
|
-
import { rpc,
|
|
5
|
+
import { rpc, Contract, TimeoutInfinite, scValToBigInt, Address } from '@stellar/stellar-sdk';
|
|
6
6
|
|
|
7
7
|
var CustomSorobanServer = class extends rpc.Server {
|
|
8
8
|
customHeaders;
|
package/dist/chunk-Z5GXDHGL.mjs
CHANGED
|
@@ -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 {
|
|
4
|
+
import { erc20Abi, defineChain } from 'viem';
|
|
5
5
|
import { getPublicClient } from 'wagmi/actions';
|
|
6
|
-
import { createConfig, createStorage,
|
|
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,
|
|
2
|
-
import { EvmWalletDefaults, SolanaWalletDefaults, SuiWalletDefaults, IconWalletDefaults, NearWalletDefaults, StellarWalletDefaults,
|
|
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-
|
|
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,
|
|
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,
|
|
4
|
-
export {
|
|
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,
|
|
8
|
-
export { B as BitcoinChainEntry,
|
|
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-
|
|
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-
|
|
1
|
+
import { WalletConfigProvider, useXWalletStore, whenPersistReady, chainRegistry, useWalletConfig, usePersistHydrated } from './chunk-VCESC6QT.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-VCESC6QT.mjs';
|
|
3
3
|
import { StellarXService } from './chunk-X7BHR7WS.mjs';
|
|
4
4
|
import { SuiXService, SuiXConnector } from './chunk-JQ4H4GJ5.mjs';
|
|
5
5
|
import { createWagmiConfig, EvmXService, EvmXConnector } from './chunk-Z5GXDHGL.mjs';
|
|
6
|
-
import { InjectiveXService } from './chunk-
|
|
6
|
+
import { InjectiveXService } from './chunk-MWWVB7TD.mjs';
|
|
7
|
+
import './chunk-C6M34IVL.mjs';
|
|
7
8
|
import { request } from './chunk-WPZOLGVB.mjs';
|
|
8
9
|
import { assertSuiProviderShape } from './chunk-TACW7Z4D.mjs';
|
|
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-
|
|
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 {
|
|
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-
|
|
1
|
+
export { BitcoinXConnector, BitcoinXService, OKXXConnector, UnisatXConnector, XverseXConnector, useBitcoinXConnectors } from '../../chunk-VCESC6QT.mjs';
|
|
2
2
|
import '../../chunk-X7BHR7WS.mjs';
|
|
3
3
|
import '../../chunk-JQ4H4GJ5.mjs';
|
|
4
4
|
import '../../chunk-Z5GXDHGL.mjs';
|
|
5
|
-
import '../../chunk-
|
|
5
|
+
import '../../chunk-MWWVB7TD.mjs';
|
|
6
|
+
import '../../chunk-C6M34IVL.mjs';
|
|
6
7
|
import '../../chunk-WPZOLGVB.mjs';
|
|
7
8
|
import '../../chunk-TACW7Z4D.mjs';
|
|
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-
|
|
12
|
+
import '../../chunk-OPYSVPRW.mjs';
|
|
13
13
|
import '../../chunk-QMXBY3UI.mjs';
|
|
14
14
|
import '../../chunk-IFXZQW4C.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as XService, c as XConnector, X as XAccount } from '../../XConnector-12q0OVe5.js';
|
|
2
2
|
import { XToken } from '@sodax/types';
|
|
3
|
-
import {
|
|
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
|
|
12
|
+
declare const createWagmiConfig: (evmChains?: EvmTypeConfig["chains"], options?: WagmiOptions & {
|
|
13
13
|
connectors?: CreateConnectorFn[];
|
|
14
14
|
}) => Config;
|
|
15
15
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
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 '@
|
|
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,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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 {
|
|
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 {
|
|
2
|
-
import { XToken } from '@sodax/types';
|
|
3
|
-
import { StacksNetwork
|
|
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-
|
|
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 {
|
|
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 {
|
|
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.
|
|
8
|
+
"version": "2.0.0-rc.5",
|
|
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/
|
|
84
|
-
"@sodax/types": "2.0.0-rc.
|
|
79
|
+
"@sodax/libs": "0.0.1-rc.0",
|
|
80
|
+
"@sodax/types": "2.0.0-rc.5",
|
|
81
|
+
"@sodax/wallet-sdk-core": "2.0.0-rc.5"
|
|
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
|
}
|