@0xsquid/react-hooks 8.0.0-beta.4 → 8.0.0-beta.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.
- package/dist/index.esm.js +2 -9
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +10 -17
- package/dist/index.js.map +1 -1
- package/dist/{secretService-Cpow6OzM.js → secretService-CRjW1u6W.js} +2 -9
- package/dist/{secretService-Cpow6OzM.js.map → secretService-CRjW1u6W.js.map} +1 -1
- package/dist/{secretService-DEnA8PcE.js → secretService-Dzk7YBr5.js} +2 -9
- package/dist/{secretService-DEnA8PcE.js.map → secretService-Dzk7YBr5.js.map} +1 -1
- package/package.json +1 -1
package/dist/index.esm.js
CHANGED
|
@@ -13,13 +13,7 @@ import { isValidXAddress, isValidClassicAddress } from 'ripple-address-codec';
|
|
|
13
13
|
import { getAssociatedTokenAddress, createAssociatedTokenAccountInstruction, createTransferInstruction } from '@solana/spl-token';
|
|
14
14
|
import { StandardWalletAdapter } from '@solana/wallet-standard-wallet-adapter-base';
|
|
15
15
|
import { PublicKey, VersionedTransaction, Transaction, SystemProgram, Connection } from '@solana/web3.js';
|
|
16
|
-
import { ALBEDO_ID } from '@creit.tech/stellar-wallets-kit
|
|
17
|
-
import { FREIGHTER_ID } from '@creit.tech/stellar-wallets-kit/modules/freighter.module';
|
|
18
|
-
import { HANA_ID } from '@creit.tech/stellar-wallets-kit/modules/hana.module';
|
|
19
|
-
import { HOTWALLET_ID } from '@creit.tech/stellar-wallets-kit/modules/hotwallet.module';
|
|
20
|
-
import { LOBSTR_ID } from '@creit.tech/stellar-wallets-kit/modules/lobstr.module';
|
|
21
|
-
import { RABET_ID } from '@creit.tech/stellar-wallets-kit/modules/rabet.module';
|
|
22
|
-
import { XBULL_ID } from '@creit.tech/stellar-wallets-kit/modules/xbull.module';
|
|
16
|
+
import { XBULL_ID, HOTWALLET_ID, HANA_ID, LOBSTR_ID, FREIGHTER_ID, RABET_ID, ALBEDO_ID, allowAllModules } from '@creit.tech/stellar-wallets-kit';
|
|
23
17
|
import { Networks, StrKey, nativeToScVal, Address, rpc, TransactionBuilder, BASE_FEE, Contract, TimeoutInfinite, scValToNative, Operation, Transaction as Transaction$1, xdr } from '@stellar/stellar-sdk';
|
|
24
18
|
import { SUI_TESTNET_CHAIN, SUI_MAINNET_CHAIN } from '@mysten/wallet-standard';
|
|
25
19
|
import { CloudflareProvider, JsonRpcProvider, ethers, Interface, Contract as Contract$1, BrowserProvider, JsonRpcSigner, isError } from 'ethers';
|
|
@@ -32,7 +26,6 @@ import { persist } from 'zustand/middleware';
|
|
|
32
26
|
import { useAccount, useConnectors, useConnect, useDisconnect, useSwitchChain, useBalance, useReadContract, createConfig, http, useWalletClient, usePublicClient, WagmiProvider } from 'wagmi';
|
|
33
27
|
import SafeAppsSDK, { TransactionStatus as TransactionStatus$1 } from '@safe-global/safe-apps-sdk';
|
|
34
28
|
import { getWallets } from '@wallet-standard/core';
|
|
35
|
-
import { allowAllModules } from '@creit.tech/stellar-wallets-kit/utils';
|
|
36
29
|
import { SlushWallet } from '@mysten/slush-wallet';
|
|
37
30
|
import { StargateClient, SigningStargateClient } from '@cosmjs/stargate';
|
|
38
31
|
import { SuiClient } from '@mysten/sui/client';
|
|
@@ -27515,7 +27508,7 @@ const filterViewableTokens = (tokens, config, direction) => {
|
|
|
27515
27508
|
};
|
|
27516
27509
|
const getSecretNetworkBalances = async (chainData, cosmosAddress, squidTokens, keplrTypeWallet) => {
|
|
27517
27510
|
const squidSecretTokens = squidTokens.filter((t) => t.chainId === CHAIN_IDS.SECRET);
|
|
27518
|
-
const { fetchAllSecretBalances } = await import('./secretService-
|
|
27511
|
+
const { fetchAllSecretBalances } = await import('./secretService-CRjW1u6W.js');
|
|
27519
27512
|
return fetchAllSecretBalances(chainData, cosmosAddress, squidSecretTokens, keplrTypeWallet);
|
|
27520
27513
|
};
|
|
27521
27514
|
function getTokenAssetsKey(token) {
|