@0xsquid/react-hooks 8.6.0 → 8.6.1

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.
@@ -23313,7 +23313,7 @@ const filterViewableTokens = (tokens, config, direction) => {
23313
23313
  };
23314
23314
  const getSecretNetworkBalances = async (chainData, cosmosAddress, squidTokens, keplrTypeWallet) => {
23315
23315
  const squidSecretTokens = squidTokens.filter((t) => t.chainId === CHAIN_IDS.SECRET);
23316
- const { fetchAllSecretBalances } = await Promise.resolve().then(function () { return require('./secretService-Cj_HK_on.js'); });
23316
+ const { fetchAllSecretBalances } = await Promise.resolve().then(function () { return require('./secretService-C3pLXo0u.js'); });
23317
23317
  return fetchAllSecretBalances(chainData, cosmosAddress, squidSecretTokens, keplrTypeWallet);
23318
23318
  };
23319
23319
  function getTokenAssetsKey(token) {
@@ -26711,7 +26711,7 @@ function useStellarWallets() {
26711
26711
  try {
26712
26712
  const { allowAllModules: initializeAllModules } = await import('@creit.tech/stellar-wallets-kit');
26713
26713
  const { LedgerModule } = await import('@creit.tech/stellar-wallets-kit/modules/ledger.module');
26714
- const { formatStellarWallet } = await Promise.resolve().then(function () { return require('./stellarService.client-CBzr6pLs.js'); });
26714
+ const { formatStellarWallet } = await Promise.resolve().then(function () { return require('./stellarService.client-8vhPwFQb.js'); });
26715
26715
  const modules = [...initializeAllModules(), new LedgerModule()];
26716
26716
  const promises = modules.map(async (module) => {
26717
26717
  const isAvailable = await module.isAvailable();
@@ -30029,7 +30029,7 @@ function hederaWalletConnect(parameters) {
30029
30029
  const optionalChains = config.chains.map((x) => x.id);
30030
30030
  if (!optionalChains.length)
30031
30031
  return;
30032
- const { EthereumProvider } = await Promise.resolve().then(function () { return require('./index.es-C_BgGjLx.js'); });
30032
+ const { EthereumProvider } = await Promise.resolve().then(function () { return require('./index.es-DXYyLkwM.js'); });
30033
30033
  const rawProvider = await EthereumProvider.init({
30034
30034
  ...restParameters,
30035
30035
  disableProviderPing: true,
@@ -30605,8 +30605,9 @@ function useStellarTrustLine({ address, chain, token, amount }) {
30605
30605
  if (token?.type !== squidTypes.ChainType.STELLAR) {
30606
30606
  return true;
30607
30607
  }
30608
- // The native Stellar token doesn't need a trust line
30609
- if (token.address.toLowerCase() === nativeStellarTokenAddress.toLowerCase()) {
30608
+ // Only stellar issued tokens need a trust line
30609
+ // (e.g. not needed for native or contract tokens)
30610
+ if (!isStellarIssuedToken(token)) {
30610
30611
  return true;
30611
30612
  }
30612
30613
  if (!amount) {
@@ -37611,4 +37612,4 @@ exports.useXrplTrustLine = useXrplTrustLine;
37611
37612
  exports.waitForReceiptWithRetry = waitForReceiptWithRetry;
37612
37613
  exports.walletIconBaseUrl = walletIconBaseUrl;
37613
37614
  exports.walletSupportsChainType = walletSupportsChainType;
37614
- //# sourceMappingURL=index-BvAot66c.js.map
37615
+ //# sourceMappingURL=index-uxBoqobR.js.map