@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.
- package/dist/{index-Ck3Byj7H.js → index--gt66OVO.js} +7 -6
- package/dist/{index-Ck3Byj7H.js.map → index--gt66OVO.js.map} +1 -1
- package/dist/{index-BvAot66c.js → index-uxBoqobR.js} +7 -6
- package/dist/{index-BvAot66c.js.map → index-uxBoqobR.js.map} +1 -1
- package/dist/{index.es-C_BgGjLx.js → index.es-DXYyLkwM.js} +2 -2
- package/dist/{index.es-C_BgGjLx.js.map → index.es-DXYyLkwM.js.map} +1 -1
- package/dist/{index.es-83oSJcJe.js → index.es-zgttb4RJ.js} +2 -2
- package/dist/{index.es-83oSJcJe.js.map → index.es-zgttb4RJ.js.map} +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/index.js +1 -1
- package/dist/{secretService-zFFQM-jC.js → secretService-BoIRJAyQ.js} +2 -2
- package/dist/{secretService-zFFQM-jC.js.map → secretService-BoIRJAyQ.js.map} +1 -1
- package/dist/{secretService-Cj_HK_on.js → secretService-C3pLXo0u.js} +2 -2
- package/dist/{secretService-Cj_HK_on.js.map → secretService-C3pLXo0u.js.map} +1 -1
- package/dist/{stellarService.client-CBzr6pLs.js → stellarService.client-8vhPwFQb.js} +2 -2
- package/dist/{stellarService.client-CBzr6pLs.js.map → stellarService.client-8vhPwFQb.js.map} +1 -1
- package/dist/{stellarService.client-CI86BfjV.js → stellarService.client-DYLHIsR1.js} +2 -2
- package/dist/{stellarService.client-CI86BfjV.js.map → stellarService.client-DYLHIsR1.js.map} +1 -1
- package/package.json +1 -1
|
@@ -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-
|
|
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-
|
|
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-
|
|
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
|
-
//
|
|
30609
|
-
|
|
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-
|
|
37615
|
+
//# sourceMappingURL=index-uxBoqobR.js.map
|