@0xsquid/react-hooks 8.0.7-hedera-beta.1 → 8.0.7-hedera-beta.2

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.
@@ -23134,7 +23134,7 @@ const filterViewableTokens = (tokens, config, direction) => {
23134
23134
  };
23135
23135
  const getSecretNetworkBalances = async (chainData, cosmosAddress, squidTokens, keplrTypeWallet) => {
23136
23136
  const squidSecretTokens = squidTokens.filter((t) => t.chainId === CHAIN_IDS.SECRET);
23137
- const { fetchAllSecretBalances } = await Promise.resolve().then(function () { return require('./secretService-DIqBnH3p.js'); });
23137
+ const { fetchAllSecretBalances } = await Promise.resolve().then(function () { return require('./secretService-DooEI9M0.js'); });
23138
23138
  return fetchAllSecretBalances(chainData, cosmosAddress, squidSecretTokens, keplrTypeWallet);
23139
23139
  };
23140
23140
  function getTokenAssetsKey(token) {
@@ -26410,7 +26410,7 @@ function useStellarWallets() {
26410
26410
  return;
26411
26411
  try {
26412
26412
  const { allowAllModules: initializeAllModules } = await import('@creit.tech/stellar-wallets-kit');
26413
- const { formatStellarWallet } = await Promise.resolve().then(function () { return require('./stellarService.client-CM5m8Px4.js'); });
26413
+ const { formatStellarWallet } = await Promise.resolve().then(function () { return require('./stellarService.client-DZQ4KBcU.js'); });
26414
26414
  const modules = initializeAllModules();
26415
26415
  const promises = modules.map(async (module) => {
26416
26416
  const isAvailable = await module.isAvailable();
@@ -27736,7 +27736,7 @@ class HederaApiClient {
27736
27736
  apiUrl;
27737
27737
  constructor(apiUrl) {
27738
27738
  // TODO: get API URL from Hedera chain object
27739
- this.apiUrl = "https://mainnet-public.mirrornode.hedera.com/api/v1";
27739
+ this.apiUrl = "https://mainnet-public.mirrornode.hedera.com/api/v1/";
27740
27740
  }
27741
27741
  async isTokenAssociated({ address, token, }) {
27742
27742
  const accountInfo = await this.getAccountInfo(address);
@@ -27758,7 +27758,7 @@ class HederaApiClient {
27758
27758
  return remainingAutoAssociations > 0;
27759
27759
  }
27760
27760
  async getAccountInfo(address) {
27761
- const data = await this.fetch(`/accounts/${address}`);
27761
+ const data = await this.fetch(`accounts/${address}`);
27762
27762
  if (typeof data.max_automatic_token_associations !== "number") {
27763
27763
  throw new Error("Invalid max_automatic_token_associations type, expected number");
27764
27764
  }
@@ -27771,7 +27771,7 @@ class HederaApiClient {
27771
27771
  return data;
27772
27772
  }
27773
27773
  async getAccountTokens(address) {
27774
- const data = await this.fetch(`/accounts/${address}/tokens`);
27774
+ const data = await this.fetch(`accounts/${address}/tokens`);
27775
27775
  if (!Array.isArray(data.tokens)) {
27776
27776
  throw new Error("Invalid tokens type, expected array");
27777
27777
  }
@@ -27904,7 +27904,7 @@ function hederaWalletConnect(parameters) {
27904
27904
  const optionalChains = config.chains.map((x) => x.id);
27905
27905
  if (!optionalChains.length)
27906
27906
  return;
27907
- const { EthereumProvider } = await Promise.resolve().then(function () { return require('./index.es-cLBJjjrp.js'); });
27907
+ const { EthereumProvider } = await Promise.resolve().then(function () { return require('./index.es-CKU_FPK8.js'); });
27908
27908
  const rawProvider = await EthereumProvider.init({
27909
27909
  ...restParameters,
27910
27910
  disableProviderPing: true,
@@ -37213,4 +37213,4 @@ exports.useXrplTrustLine = useXrplTrustLine;
37213
37213
  exports.waitForReceiptWithRetry = waitForReceiptWithRetry;
37214
37214
  exports.walletIconBaseUrl = walletIconBaseUrl;
37215
37215
  exports.walletSupportsChainType = walletSupportsChainType;
37216
- //# sourceMappingURL=index-B1UmFH6o.js.map
37216
+ //# sourceMappingURL=index-Bm49CZnn.js.map