@0xsquid/react-hooks 8.0.7-hedera-beta.2 → 8.0.7
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/core/constants.d.ts +0 -2
- package/dist/core/index.d.ts +1 -0
- package/dist/core/queries/queries-keys.d.ts +1 -5
- package/dist/core/wagmiConfig.d.ts +1 -2
- package/dist/hooks/index.d.ts +0 -1
- package/dist/{index-Bm49CZnn.js → index-DuicRCzG.js} +204 -765
- package/dist/index-DuicRCzG.js.map +1 -0
- package/dist/{index-CBeB9JtS.js → index-xi-TkXJQ.js} +157 -711
- package/dist/index-xi-TkXJQ.js.map +1 -0
- package/dist/index.esm.js +2 -2
- package/dist/index.js +6 -6
- package/dist/{secretService-DooEI9M0.js → secretService-C_RrU7VT.js} +3 -3
- package/dist/{secretService-DooEI9M0.js.map → secretService-C_RrU7VT.js.map} +1 -1
- package/dist/{secretService-C1wTMGmo.js → secretService-DhkEjHMB.js} +3 -3
- package/dist/{secretService-C1wTMGmo.js.map → secretService-DhkEjHMB.js.map} +1 -1
- package/dist/services/index.d.ts +0 -1
- package/dist/{stellarService.client-vbMEMD1d.js → stellarService.client-BiE1Jy9a.js} +3 -3
- package/dist/{stellarService.client-vbMEMD1d.js.map → stellarService.client-BiE1Jy9a.js.map} +1 -1
- package/dist/{stellarService.client-DZQ4KBcU.js → stellarService.client-CuyF4Qwx.js} +3 -3
- package/dist/{stellarService.client-DZQ4KBcU.js.map → stellarService.client-CuyF4Qwx.js.map} +1 -1
- package/package.json +1 -2
- package/dist/core/connectors/evm/hederaWalletConnect.d.ts +0 -30
- package/dist/core/types/hedera.d.ts +0 -26
- package/dist/hooks/hedera/useHederaTokenAssociations.d.ts +0 -11
- package/dist/index-Bm49CZnn.js.map +0 -1
- package/dist/index-CBeB9JtS.js.map +0 -1
- package/dist/index.es-B_bnY1il.js +0 -43
- package/dist/index.es-B_bnY1il.js.map +0 -1
- package/dist/index.es-CKU_FPK8.js +0 -50
- package/dist/index.es-CKU_FPK8.js.map +0 -1
- package/dist/services/external/hederaApiClient.d.ts +0 -18
- package/dist/services/internal/hederaService.d.ts +0 -46
package/dist/core/constants.d.ts
CHANGED
|
@@ -64,10 +64,8 @@ export declare const CHAIN_IDS: {
|
|
|
64
64
|
readonly GNOSIS: "100";
|
|
65
65
|
readonly SONIC: "146";
|
|
66
66
|
readonly HYPER_EVM: "999";
|
|
67
|
-
readonly DCHAIN: "2716446429837000";
|
|
68
67
|
readonly SONEIUM: "1868";
|
|
69
68
|
readonly PEAQ: "3338";
|
|
70
|
-
readonly HEDERA: "295";
|
|
71
69
|
readonly BITCOIN: "bitcoin";
|
|
72
70
|
readonly SOLANA: "solana-mainnet-beta";
|
|
73
71
|
readonly SUI: "sui-mainnet";
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export { CHAIN_IDS, chainTypeToNativeTokenAddressMap, chainTypeToZeroAddressMap, DEFAULT_LOCALE, destinationAddressResetValue, fallbackAddressResetValue, nativeBitcoinTokenAddress, nativeCosmosTokenAddress, nativeEvmTokenAddress, nativeSolanaTokenAddress, nativeStellarTokenAddress, nativeSuiTokenAddress, nativeXrplTokenAddress, } from "./constants";
|
|
2
2
|
export { CosmosProvider, useCosmosContext } from "./providers/CosmosProvider";
|
|
3
|
+
export { QueryKeys } from "./queries/queries-keys";
|
|
3
4
|
export * from "./types";
|
|
@@ -34,9 +34,7 @@ export declare enum QueryKeys {
|
|
|
34
34
|
XrplAccountActivatedInfo = "xrplAccountActivatedInfo",
|
|
35
35
|
FiatToCryptoPaymentMethods = "fiatToCryptoPaymentMethods",
|
|
36
36
|
Stellar = "stellar",
|
|
37
|
-
StellarAccountActivatedInfo = "stellarAccountActivatedInfo"
|
|
38
|
-
Hedera = "hedera",
|
|
39
|
-
IsHederaTokenAssociated = "isHederaTokenAssociated"
|
|
37
|
+
StellarAccountActivatedInfo = "stellarAccountActivatedInfo"
|
|
40
38
|
}
|
|
41
39
|
export declare const keys: () => {
|
|
42
40
|
all: QueryKeys;
|
|
@@ -47,7 +45,6 @@ export declare const keys: () => {
|
|
|
47
45
|
transactions: () => QueryKeys[];
|
|
48
46
|
xrpl: () => QueryKeys[];
|
|
49
47
|
stellar: () => QueryKeys[];
|
|
50
|
-
hedera: () => QueryKeys[];
|
|
51
48
|
coinGeckoPrices: (coingeckoIds?: string[]) => (string | undefined)[];
|
|
52
49
|
historicalData: (coingeckoId?: string, timeFrame?: Timeframe) => (string | undefined)[];
|
|
53
50
|
tokensData: (tokens?: TokenWithBalance[]) => (string | undefined)[];
|
|
@@ -72,6 +69,5 @@ export declare const keys: () => {
|
|
|
72
69
|
isXrplTrustLineApproved: (address: string | undefined, chainId: string | undefined, chainType: ChainType | undefined, tokenAddress: string | undefined, trustLineLimit: string | undefined, amountToApprove: bigint | undefined) => (string | undefined)[];
|
|
73
70
|
xrplAccountActivatedInfo: (destinationAddress: string | undefined, toChainId: string | undefined, toChainType: ChainType | undefined) => (string | undefined)[];
|
|
74
71
|
stellarAccountActivatedInfo: (address: string | undefined, chainId: string | undefined, chainType: ChainType | undefined) => (string | undefined)[];
|
|
75
|
-
isHederaTokenAssociated: (address: string | undefined, chainId: string | undefined, chainType: ChainType | undefined, tokenAddress: string | undefined) => (string | undefined)[];
|
|
76
72
|
};
|
|
77
73
|
export declare const getPrefixKey: (key: QueryKeys) => QueryKeys[];
|
|
@@ -2,6 +2,5 @@ import { ChainData } from "@0xsquid/squid-types";
|
|
|
2
2
|
import { JsonRpcSigner } from "ethers";
|
|
3
3
|
import { type Account, type Chain, type Client, type Transport } from "viem";
|
|
4
4
|
import { Config } from "wagmi";
|
|
5
|
-
|
|
6
|
-
export declare const createWagmiConfig: (squidChains: ChainData[], hederaExtensions: HederaExtensionData[]) => Config;
|
|
5
|
+
export declare const createWagmiConfig: (squidChains: ChainData[]) => Config;
|
|
7
6
|
export declare function clientToSigner(client: Client<Transport, Chain, Account>): JsonRpcSigner | undefined;
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,6 @@ export { useTrackSearchEmpty } from "./analytics/useTrackSearchEmpty";
|
|
|
2
2
|
export { useSquidChains } from "./chains/useSquidChains";
|
|
3
3
|
export { useClient } from "./client/useClient";
|
|
4
4
|
export { useCosmosForChain } from "./cosmos/useCosmosForChain";
|
|
5
|
-
export { useHederaTokenAssociations } from "./hedera/useHederaTokenAssociations";
|
|
6
5
|
export { useKeyboardNavigation } from "./navigation/useKeyboardNavigation";
|
|
7
6
|
export * from "./onramp/useFiatToCrypto";
|
|
8
7
|
export { useSquidQueryClient } from "./query/useSquidQueryClient";
|