@ecency/wallets 1.4.1 → 1.4.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.
- package/dist/index.cjs +3396 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1627 -0
- package/dist/index.d.ts +1627 -2
- package/dist/index.mjs +3283 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +28 -15
- package/dist/ecency-sdk.es.js +0 -23225
- package/dist/internal/scrypt-guard.d.ts +0 -1
- package/dist/modules/assets/external/apt/get-apt-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/apt/get-apt-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/apt/index.d.ts +0 -2
- package/dist/modules/assets/external/bnb/get-bnb-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/bnb/get-bnb-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/bnb/index.d.ts +0 -2
- package/dist/modules/assets/external/btc/get-btc-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/btc/get-btc-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/btc/index.d.ts +0 -2
- package/dist/modules/assets/external/common/index.d.ts +0 -1
- package/dist/modules/assets/external/common/parse-private-api-balance.d.ts +0 -23
- package/dist/modules/assets/external/eth/get-eth-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/eth/get-eth-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/eth/index.d.ts +0 -2
- package/dist/modules/assets/external/index.d.ts +0 -7
- package/dist/modules/assets/external/sol/get-sol-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/sol/get-sol-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/sol/index.d.ts +0 -2
- package/dist/modules/assets/external/ton/get-ton-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/ton/get-ton-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/ton/index.d.ts +0 -2
- package/dist/modules/assets/external/tron/get-tron-asset-balance-query-options.d.ts +0 -8
- package/dist/modules/assets/external/tron/get-tron-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/external/tron/index.d.ts +0 -2
- package/dist/modules/assets/hive/consts/hive-account-operation-groups.d.ts +0 -2
- package/dist/modules/assets/hive/consts/index.d.ts +0 -1
- package/dist/modules/assets/hive/index.d.ts +0 -2
- package/dist/modules/assets/hive/mutations/claim-rewards.d.ts +0 -1
- package/dist/modules/assets/hive/mutations/delegate.d.ts +0 -13
- package/dist/modules/assets/hive/mutations/index.d.ts +0 -7
- package/dist/modules/assets/hive/mutations/power-down.d.ts +0 -11
- package/dist/modules/assets/hive/mutations/power-up.d.ts +0 -13
- package/dist/modules/assets/hive/mutations/transfer-to-savings.d.ts +0 -13
- package/dist/modules/assets/hive/mutations/transfer.d.ts +0 -12
- package/dist/modules/assets/hive/mutations/withdraw-route.d.ts +0 -13
- package/dist/modules/assets/hive/queries/get-hbd-asset-general-info-query-options.d.ts +0 -76
- package/dist/modules/assets/hive/queries/get-hbd-asset-transactions-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/hive/queries/get-hive-asset-metric-query-options.d.ts +0 -43
- package/dist/modules/assets/hive/queries/get-hive-asset-transactions-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-asset-withdrawal-routes-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-power-asset-general-info-query-options.d.ts +0 -76
- package/dist/modules/assets/hive/queries/get-hive-power-asset-transactions-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-power-delegates-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/get-hive-power-delegatings-query-options.d.ts +0 -9
- package/dist/modules/assets/hive/queries/index.d.ts +0 -10
- package/dist/modules/assets/hive/types/delegated-vesting-share.d.ts +0 -7
- package/dist/modules/assets/hive/types/hive-market-metric.d.ts +0 -19
- package/dist/modules/assets/hive/types/hive-operation-group.d.ts +0 -1
- package/dist/modules/assets/hive/types/hive-transaction.d.ts +0 -198
- package/dist/modules/assets/hive/types/hive-withdraw-route.d.ts +0 -7
- package/dist/modules/assets/hive/types/index.d.ts +0 -6
- package/dist/modules/assets/hive/types/received-vesting-share.d.ts +0 -6
- package/dist/modules/assets/hive-engine/index.d.ts +0 -3
- package/dist/modules/assets/hive-engine/mutations/delegate.d.ts +0 -12
- package/dist/modules/assets/hive-engine/mutations/index.d.ts +0 -5
- package/dist/modules/assets/hive-engine/mutations/stake.d.ts +0 -12
- package/dist/modules/assets/hive-engine/mutations/transfer.d.ts +0 -13
- package/dist/modules/assets/hive-engine/mutations/undelegate.d.ts +0 -12
- package/dist/modules/assets/hive-engine/mutations/unstake.d.ts +0 -12
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-token-general-info-query-options.d.ts +0 -32
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-token-metrics-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-token-transactions-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-tokens-balances-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-tokens-market-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/get-hive-engine-tokens-metadata-query-options.d.ts +0 -9
- package/dist/modules/assets/hive-engine/queries/index.d.ts +0 -6
- package/dist/modules/assets/hive-engine/types/hive-engine-list-response.d.ts +0 -13
- package/dist/modules/assets/hive-engine/types/hive-engine-metric.d.ts +0 -9
- package/dist/modules/assets/hive-engine/types/hive-engine-token-balance.d.ts +0 -10
- package/dist/modules/assets/hive-engine/types/hive-engine-token-metadata-response.d.ts +0 -16
- package/dist/modules/assets/hive-engine/types/hive-engine-transaction.d.ts +0 -14
- package/dist/modules/assets/hive-engine/types/index.d.ts +0 -6
- package/dist/modules/assets/index.d.ts +0 -6
- package/dist/modules/assets/points/index.d.ts +0 -3
- package/dist/modules/assets/points/mutations/claim-points.d.ts +0 -2
- package/dist/modules/assets/points/mutations/gift.d.ts +0 -14
- package/dist/modules/assets/points/mutations/index.d.ts +0 -2
- package/dist/modules/assets/points/queries/get-points-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/points/queries/get-points-asset-transactions-query-options.d.ts +0 -41
- package/dist/modules/assets/points/queries/get-points-query-options.d.ts +0 -20
- package/dist/modules/assets/points/queries/index.d.ts +0 -3
- package/dist/modules/assets/points/types/index.d.ts +0 -4
- package/dist/modules/assets/points/types/point-transaction-type.d.ts +0 -15
- package/dist/modules/assets/points/types/point-transaction.d.ts +0 -10
- package/dist/modules/assets/points/types/points-response.d.ts +0 -4
- package/dist/modules/assets/points/types/points.d.ts +0 -4
- package/dist/modules/assets/spk/index.d.ts +0 -2
- package/dist/modules/assets/spk/mutations/index.d.ts +0 -4
- package/dist/modules/assets/spk/mutations/lock.d.ts +0 -12
- package/dist/modules/assets/spk/mutations/power-up.d.ts +0 -12
- package/dist/modules/assets/spk/mutations/transfer.d.ts +0 -14
- package/dist/modules/assets/spk/queries/get-larynx-asset-general-info-query-options.d.ts +0 -56
- package/dist/modules/assets/spk/queries/get-larynx-power-asset-general-info-query-options.d.ts +0 -76
- package/dist/modules/assets/spk/queries/get-spk-asset-general-info-query-options.d.ts +0 -28
- package/dist/modules/assets/spk/queries/get-spk-markets-query-options.d.ts +0 -33
- package/dist/modules/assets/spk/queries/get-spk-wallet-query-options.d.ts +0 -9
- package/dist/modules/assets/spk/queries/index.d.ts +0 -4
- package/dist/modules/assets/types/asset-operation.d.ts +0 -17
- package/dist/modules/assets/types/general-asset-info.d.ts +0 -12
- package/dist/modules/assets/types/general-asset-transaction.d.ts +0 -13
- package/dist/modules/assets/types/hive-based-asset-sign-type.d.ts +0 -1
- package/dist/modules/assets/types/index.d.ts +0 -5
- package/dist/modules/assets/types/spk-wallet.d.ts +0 -60
- package/dist/modules/assets/utils/index.d.ts +0 -4
- package/dist/modules/assets/utils/is-empty-date.d.ts +0 -1
- package/dist/modules/assets/utils/parse-asset.d.ts +0 -17
- package/dist/modules/assets/utils/reward-spk.d.ts +0 -2
- package/dist/modules/assets/utils/vests-to-hp.d.ts +0 -1
- package/dist/modules/wallets/consts/hive-engine-tokens.d.ts +0 -1
- package/dist/modules/wallets/consts/index.d.ts +0 -1
- package/dist/modules/wallets/enums/ecency-wallet-basic-tokens.d.ts +0 -7
- package/dist/modules/wallets/enums/ecency-wallet-currency.d.ts +0 -9
- package/dist/modules/wallets/enums/index.d.ts +0 -2
- package/dist/modules/wallets/functions/get-keys-from-seed.d.ts +0 -3
- package/dist/modules/wallets/functions/index.d.ts +0 -1
- package/dist/modules/wallets/index.d.ts +0 -5
- package/dist/modules/wallets/mutations/index.d.ts +0 -5
- package/dist/modules/wallets/mutations/private-api/check-wallet-existence.d.ts +0 -7
- package/dist/modules/wallets/mutations/private-api/create-account-with-wallets.d.ts +0 -6
- package/dist/modules/wallets/mutations/private-api/index.d.ts +0 -2
- package/dist/modules/wallets/mutations/private-api-namespace.d.ts +0 -2
- package/dist/modules/wallets/mutations/save-wallet-information-to-metadata.d.ts +0 -9
- package/dist/modules/wallets/mutations/use-import-wallet.d.ts +0 -15
- package/dist/modules/wallets/mutations/use-wallet-create.d.ts +0 -11
- package/dist/modules/wallets/mutations/wallet-operation.d.ts +0 -2
- package/dist/modules/wallets/queries/get-account-wallet-asset-info-query-options.d.ts +0 -13
- package/dist/modules/wallets/queries/get-all-tokens-list-query-options.d.ts +0 -30
- package/dist/modules/wallets/queries/get-coingecko-price-query-options.d.ts +0 -8
- package/dist/modules/wallets/queries/get-tokens-operations-query-options.d.ts +0 -9
- package/dist/modules/wallets/queries/index.d.ts +0 -8
- package/dist/modules/wallets/queries/use-get-account-wallet-list-query.d.ts +0 -8
- package/dist/modules/wallets/queries/use-get-external-wallet-query.d.ts +0 -17
- package/dist/modules/wallets/queries/use-hive-keys-query.d.ts +0 -2
- package/dist/modules/wallets/queries/use-seed-phrase.d.ts +0 -1
- package/dist/modules/wallets/types/account-points-response.d.ts +0 -4
- package/dist/modules/wallets/types/ecency-create-wallet-information.d.ts +0 -13
- package/dist/modules/wallets/types/ecency-hive-keys.d.ts +0 -12
- package/dist/modules/wallets/types/index.d.ts +0 -3
- package/dist/modules/wallets/utils/build-external-transaction.d.ts +0 -48
- package/dist/modules/wallets/utils/decrypt-memo.d.ts +0 -12
- package/dist/modules/wallets/utils/delay.d.ts +0 -1
- package/dist/modules/wallets/utils/derive-hive-bip44-keys.d.ts +0 -15
- package/dist/modules/wallets/utils/derive-hive-master-password-keys.d.ts +0 -15
- package/dist/modules/wallets/utils/detect-hive-key-derivation.d.ts +0 -2
- package/dist/modules/wallets/utils/encrypt-memo.d.ts +0 -16
- package/dist/modules/wallets/utils/get-wallet.d.ts +0 -3
- package/dist/modules/wallets/utils/index.d.ts +0 -12
- package/dist/modules/wallets/utils/mnemonic-to-seed-bip-39.d.ts +0 -1
- package/dist/modules/wallets/utils/sign-digest.d.ts +0 -7
- package/dist/modules/wallets/utils/sign-external-transaction.d.ts +0 -18
- package/dist/modules/wallets/utils/sign-transaction.d.ts +0 -23
- package/dist/vite.config.d.ts +0 -2
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function rememberScryptBsvVersion(): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function getAptAssetBalanceQueryOptions(address: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<number, Error, number, string[]>, "queryFn"> & {
|
|
2
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<number, string[], never> | undefined;
|
|
3
|
-
} & {
|
|
4
|
-
queryKey: string[] & {
|
|
5
|
-
[dataTagSymbol]: number;
|
|
6
|
-
[dataTagErrorSymbol]: Error;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function getAptAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
}, Error, {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
price: number;
|
|
10
|
-
accountBalance: number;
|
|
11
|
-
}, string[]>, "queryFn"> & {
|
|
12
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
13
|
-
name: string;
|
|
14
|
-
title: string;
|
|
15
|
-
price: number;
|
|
16
|
-
accountBalance: number;
|
|
17
|
-
}, string[], never> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
queryKey: string[] & {
|
|
20
|
-
[dataTagSymbol]: {
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
price: number;
|
|
24
|
-
accountBalance: number;
|
|
25
|
-
};
|
|
26
|
-
[dataTagErrorSymbol]: Error;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function getBnbAssetBalanceQueryOptions(address: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<number, Error, number, string[]>, "queryFn"> & {
|
|
2
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<number, string[], never> | undefined;
|
|
3
|
-
} & {
|
|
4
|
-
queryKey: string[] & {
|
|
5
|
-
[dataTagSymbol]: number;
|
|
6
|
-
[dataTagErrorSymbol]: Error;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function getBnbAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
}, Error, {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
price: number;
|
|
10
|
-
accountBalance: number;
|
|
11
|
-
}, string[]>, "queryFn"> & {
|
|
12
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
13
|
-
name: string;
|
|
14
|
-
title: string;
|
|
15
|
-
price: number;
|
|
16
|
-
accountBalance: number;
|
|
17
|
-
}, string[], never> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
queryKey: string[] & {
|
|
20
|
-
[dataTagSymbol]: {
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
price: number;
|
|
24
|
-
accountBalance: number;
|
|
25
|
-
};
|
|
26
|
-
[dataTagErrorSymbol]: Error;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function getBtcAssetBalanceQueryOptions(address: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<number, Error, number, string[]>, "queryFn"> & {
|
|
2
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<number, string[], never> | undefined;
|
|
3
|
-
} & {
|
|
4
|
-
queryKey: string[] & {
|
|
5
|
-
[dataTagSymbol]: number;
|
|
6
|
-
[dataTagErrorSymbol]: Error;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function getBtcAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
}, Error, {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
price: number;
|
|
10
|
-
accountBalance: number;
|
|
11
|
-
}, string[]>, "queryFn"> & {
|
|
12
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
13
|
-
name: string;
|
|
14
|
-
title: string;
|
|
15
|
-
price: number;
|
|
16
|
-
accountBalance: number;
|
|
17
|
-
}, string[], never> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
queryKey: string[] & {
|
|
20
|
-
[dataTagSymbol]: {
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
price: number;
|
|
24
|
-
accountBalance: number;
|
|
25
|
-
};
|
|
26
|
-
[dataTagErrorSymbol]: Error;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getAddressFromAccount(username: string, tokenName: string): Promise<any>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
export interface ExternalWalletBalance {
|
|
2
|
-
chain: string;
|
|
3
|
-
unit: string;
|
|
4
|
-
raw?: unknown;
|
|
5
|
-
nodeId?: string;
|
|
6
|
-
/**
|
|
7
|
-
* Balance represented as a BigInt for convenience.
|
|
8
|
-
*/
|
|
9
|
-
balanceBigInt: bigint;
|
|
10
|
-
/**
|
|
11
|
-
* Balance returned as a string to preserve precision for UIs that cannot
|
|
12
|
-
* handle bigint values directly.
|
|
13
|
-
*/
|
|
14
|
-
balanceString: string;
|
|
15
|
-
}
|
|
16
|
-
export interface PrivateApiBalanceResponse {
|
|
17
|
-
chain: string;
|
|
18
|
-
balance: number | string;
|
|
19
|
-
unit: string;
|
|
20
|
-
raw?: unknown;
|
|
21
|
-
nodeId?: string;
|
|
22
|
-
}
|
|
23
|
-
export declare function parsePrivateApiBalance(result: PrivateApiBalanceResponse, expectedChain: string): ExternalWalletBalance;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function getEthAssetBalanceQueryOptions(address: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<number, Error, number, string[]>, "queryFn"> & {
|
|
2
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<number, string[], never> | undefined;
|
|
3
|
-
} & {
|
|
4
|
-
queryKey: string[] & {
|
|
5
|
-
[dataTagSymbol]: number;
|
|
6
|
-
[dataTagErrorSymbol]: Error;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function getEthAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
}, Error, {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
price: number;
|
|
10
|
-
accountBalance: number;
|
|
11
|
-
}, string[]>, "queryFn"> & {
|
|
12
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
13
|
-
name: string;
|
|
14
|
-
title: string;
|
|
15
|
-
price: number;
|
|
16
|
-
accountBalance: number;
|
|
17
|
-
}, string[], never> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
queryKey: string[] & {
|
|
20
|
-
[dataTagSymbol]: {
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
price: number;
|
|
24
|
-
accountBalance: number;
|
|
25
|
-
};
|
|
26
|
-
[dataTagErrorSymbol]: Error;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function getSolAssetBalanceQueryOptions(address: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<number, Error, number, string[]>, "queryFn"> & {
|
|
2
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<number, string[], never> | undefined;
|
|
3
|
-
} & {
|
|
4
|
-
queryKey: string[] & {
|
|
5
|
-
[dataTagSymbol]: number;
|
|
6
|
-
[dataTagErrorSymbol]: Error;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function getSolAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
}, Error, {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
price: number;
|
|
10
|
-
accountBalance: number;
|
|
11
|
-
}, string[]>, "queryFn"> & {
|
|
12
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
13
|
-
name: string;
|
|
14
|
-
title: string;
|
|
15
|
-
price: number;
|
|
16
|
-
accountBalance: number;
|
|
17
|
-
}, string[], never> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
queryKey: string[] & {
|
|
20
|
-
[dataTagSymbol]: {
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
price: number;
|
|
24
|
-
accountBalance: number;
|
|
25
|
-
};
|
|
26
|
-
[dataTagErrorSymbol]: Error;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function getTonAssetBalanceQueryOptions(address: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<number, Error, number, string[]>, "queryFn"> & {
|
|
2
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<number, string[], never> | undefined;
|
|
3
|
-
} & {
|
|
4
|
-
queryKey: string[] & {
|
|
5
|
-
[dataTagSymbol]: number;
|
|
6
|
-
[dataTagErrorSymbol]: Error;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function getTonAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
}, Error, {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
price: number;
|
|
10
|
-
accountBalance: number;
|
|
11
|
-
}, string[]>, "queryFn"> & {
|
|
12
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
13
|
-
name: string;
|
|
14
|
-
title: string;
|
|
15
|
-
price: number;
|
|
16
|
-
accountBalance: number;
|
|
17
|
-
}, string[], never> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
queryKey: string[] & {
|
|
20
|
-
[dataTagSymbol]: {
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
price: number;
|
|
24
|
-
accountBalance: number;
|
|
25
|
-
};
|
|
26
|
-
[dataTagErrorSymbol]: Error;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare function getTronAssetBalanceQueryOptions(address: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<number, Error, number, string[]>, "queryFn"> & {
|
|
2
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<number, string[], never> | undefined;
|
|
3
|
-
} & {
|
|
4
|
-
queryKey: string[] & {
|
|
5
|
-
[dataTagSymbol]: number;
|
|
6
|
-
[dataTagErrorSymbol]: Error;
|
|
7
|
-
};
|
|
8
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function getTronAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
}, Error, {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
price: number;
|
|
10
|
-
accountBalance: number;
|
|
11
|
-
}, string[]>, "queryFn"> & {
|
|
12
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
13
|
-
name: string;
|
|
14
|
-
title: string;
|
|
15
|
-
price: number;
|
|
16
|
-
accountBalance: number;
|
|
17
|
-
}, string[], never> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
queryKey: string[] & {
|
|
20
|
-
[dataTagSymbol]: {
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
price: number;
|
|
24
|
-
accountBalance: number;
|
|
25
|
-
};
|
|
26
|
-
[dataTagErrorSymbol]: Error;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './hive-account-operation-groups';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function useClaimRewards(username: string, onSuccess: () => void): import('@tanstack/react-query').UseMutationResult<unknown, Error, unknown, unknown>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PrivateKey } from '@hiveio/dhive';
|
|
2
|
-
import { HiveBasedAssetSignType } from '../../types';
|
|
3
|
-
interface Payload<T extends HiveBasedAssetSignType> {
|
|
4
|
-
from: string;
|
|
5
|
-
to: string;
|
|
6
|
-
amount: string;
|
|
7
|
-
memo: string;
|
|
8
|
-
type: T;
|
|
9
|
-
}
|
|
10
|
-
export declare function delegateHive<T extends HiveBasedAssetSignType>(payload: T extends "key" ? Payload<T> & {
|
|
11
|
-
key: PrivateKey;
|
|
12
|
-
} : Payload<T>): Promise<unknown>;
|
|
13
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PrivateKey } from '@hiveio/dhive';
|
|
2
|
-
import { HiveBasedAssetSignType } from '../../types';
|
|
3
|
-
interface Payload<T extends HiveBasedAssetSignType> {
|
|
4
|
-
from: string;
|
|
5
|
-
amount: string;
|
|
6
|
-
type: T;
|
|
7
|
-
}
|
|
8
|
-
export declare function powerDownHive<T extends HiveBasedAssetSignType>(payload: T extends "key" ? Payload<T> & {
|
|
9
|
-
key: PrivateKey;
|
|
10
|
-
} : Payload<T>): Promise<unknown>;
|
|
11
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PrivateKey } from '@hiveio/dhive';
|
|
2
|
-
import { HiveBasedAssetSignType } from '../../types';
|
|
3
|
-
interface Payload<T extends HiveBasedAssetSignType> {
|
|
4
|
-
from: string;
|
|
5
|
-
to: string;
|
|
6
|
-
amount: string;
|
|
7
|
-
memo: string;
|
|
8
|
-
type: T;
|
|
9
|
-
}
|
|
10
|
-
export declare function powerUpHive<T extends HiveBasedAssetSignType>(payload: T extends "key" ? Payload<T> & {
|
|
11
|
-
key: PrivateKey;
|
|
12
|
-
} : Payload<T>): Promise<unknown>;
|
|
13
|
-
export {};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PrivateKey } from '@hiveio/dhive';
|
|
2
|
-
import { HiveBasedAssetSignType } from '../../types';
|
|
3
|
-
interface Payload<T extends HiveBasedAssetSignType> {
|
|
4
|
-
from: string;
|
|
5
|
-
to: string;
|
|
6
|
-
amount: string;
|
|
7
|
-
memo: string;
|
|
8
|
-
type: T;
|
|
9
|
-
}
|
|
10
|
-
export declare function transferToSavingsHive<T extends HiveBasedAssetSignType>(payload: T extends "key" ? Payload<T> & {
|
|
11
|
-
key: PrivateKey;
|
|
12
|
-
} : Payload<T>): Promise<unknown>;
|
|
13
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { PrivateKey } from '@hiveio/dhive';
|
|
2
|
-
import { HiveBasedAssetSignType } from '../../types';
|
|
3
|
-
export interface TransferPayload<T extends HiveBasedAssetSignType> {
|
|
4
|
-
from: string;
|
|
5
|
-
to: string;
|
|
6
|
-
amount: string;
|
|
7
|
-
memo: string;
|
|
8
|
-
type: T;
|
|
9
|
-
}
|
|
10
|
-
export declare function transferHive<T extends HiveBasedAssetSignType>(payload: T extends "key" ? TransferPayload<T> & {
|
|
11
|
-
key: PrivateKey;
|
|
12
|
-
} : TransferPayload<T>): Promise<unknown>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { PrivateKey } from '@hiveio/dhive';
|
|
2
|
-
import { HiveBasedAssetSignType } from '../../types';
|
|
3
|
-
interface Payload<T extends HiveBasedAssetSignType> {
|
|
4
|
-
from_account: string;
|
|
5
|
-
to_account: string;
|
|
6
|
-
percent: number;
|
|
7
|
-
auto_vest: boolean;
|
|
8
|
-
type: T;
|
|
9
|
-
}
|
|
10
|
-
export declare function withdrawVestingRouteHive<T extends HiveBasedAssetSignType>(payload: T extends "key" ? Payload<T> & {
|
|
11
|
-
key: PrivateKey;
|
|
12
|
-
} : Payload<T>): Promise<unknown>;
|
|
13
|
-
export {};
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
export declare function getHbdAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
apr?: undefined;
|
|
7
|
-
parts?: undefined;
|
|
8
|
-
} | {
|
|
9
|
-
name: string;
|
|
10
|
-
title: string;
|
|
11
|
-
price: number;
|
|
12
|
-
accountBalance: number;
|
|
13
|
-
apr: string;
|
|
14
|
-
parts: {
|
|
15
|
-
name: string;
|
|
16
|
-
balance: number;
|
|
17
|
-
}[];
|
|
18
|
-
}, Error, {
|
|
19
|
-
name: string;
|
|
20
|
-
title: string;
|
|
21
|
-
price: number;
|
|
22
|
-
accountBalance: number;
|
|
23
|
-
apr?: undefined;
|
|
24
|
-
parts?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
name: string;
|
|
27
|
-
title: string;
|
|
28
|
-
price: number;
|
|
29
|
-
accountBalance: number;
|
|
30
|
-
apr: string;
|
|
31
|
-
parts: {
|
|
32
|
-
name: string;
|
|
33
|
-
balance: number;
|
|
34
|
-
}[];
|
|
35
|
-
}, string[]>, "queryFn"> & {
|
|
36
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
37
|
-
name: string;
|
|
38
|
-
title: string;
|
|
39
|
-
price: number;
|
|
40
|
-
accountBalance: number;
|
|
41
|
-
apr?: undefined;
|
|
42
|
-
parts?: undefined;
|
|
43
|
-
} | {
|
|
44
|
-
name: string;
|
|
45
|
-
title: string;
|
|
46
|
-
price: number;
|
|
47
|
-
accountBalance: number;
|
|
48
|
-
apr: string;
|
|
49
|
-
parts: {
|
|
50
|
-
name: string;
|
|
51
|
-
balance: number;
|
|
52
|
-
}[];
|
|
53
|
-
}, string[], never> | undefined;
|
|
54
|
-
} & {
|
|
55
|
-
queryKey: string[] & {
|
|
56
|
-
[dataTagSymbol]: {
|
|
57
|
-
name: string;
|
|
58
|
-
title: string;
|
|
59
|
-
price: number;
|
|
60
|
-
accountBalance: number;
|
|
61
|
-
apr?: undefined;
|
|
62
|
-
parts?: undefined;
|
|
63
|
-
} | {
|
|
64
|
-
name: string;
|
|
65
|
-
title: string;
|
|
66
|
-
price: number;
|
|
67
|
-
accountBalance: number;
|
|
68
|
-
apr: string;
|
|
69
|
-
parts: {
|
|
70
|
-
name: string;
|
|
71
|
-
balance: number;
|
|
72
|
-
}[];
|
|
73
|
-
};
|
|
74
|
-
[dataTagErrorSymbol]: Error;
|
|
75
|
-
};
|
|
76
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HiveOperationGroup, HiveTransaction } from '../types';
|
|
2
|
-
export declare function getHbdAssetTransactionsQueryOptions(username: string | undefined, limit: number | undefined, group: HiveOperationGroup): import('@tanstack/react-query').UseInfiniteQueryOptions<HiveTransaction[], Error, import('@tanstack/query-core').InfiniteData<HiveTransaction[], unknown>, HiveTransaction[], readonly unknown[], unknown> & {
|
|
3
|
-
initialData: import('@tanstack/query-core').InfiniteData<HiveTransaction[], unknown> | (() => import('@tanstack/query-core').InfiniteData<HiveTransaction[], unknown>) | undefined;
|
|
4
|
-
} & {
|
|
5
|
-
queryKey: readonly unknown[] & {
|
|
6
|
-
[dataTagSymbol]: import('@tanstack/query-core').InfiniteData<HiveTransaction[], unknown>;
|
|
7
|
-
[dataTagErrorSymbol]: Error;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare function getHiveAssetGeneralInfoQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<{
|
|
2
|
-
name: string;
|
|
3
|
-
title: string;
|
|
4
|
-
price: number;
|
|
5
|
-
accountBalance: number;
|
|
6
|
-
}, Error, {
|
|
7
|
-
name: string;
|
|
8
|
-
title: string;
|
|
9
|
-
price: number;
|
|
10
|
-
accountBalance: number;
|
|
11
|
-
}, string[]>, "queryFn"> & {
|
|
12
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
13
|
-
name: string;
|
|
14
|
-
title: string;
|
|
15
|
-
price: number;
|
|
16
|
-
accountBalance: number;
|
|
17
|
-
}, string[], never> | undefined;
|
|
18
|
-
} & {
|
|
19
|
-
queryKey: string[] & {
|
|
20
|
-
[dataTagSymbol]: {
|
|
21
|
-
name: string;
|
|
22
|
-
title: string;
|
|
23
|
-
price: number;
|
|
24
|
-
accountBalance: number;
|
|
25
|
-
};
|
|
26
|
-
[dataTagErrorSymbol]: Error;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export declare function getHiveAssetMetricQueryOptions(bucketSeconds?: number): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseInfiniteQueryOptions<{
|
|
2
|
-
close: number;
|
|
3
|
-
open: number;
|
|
4
|
-
low: number;
|
|
5
|
-
high: number;
|
|
6
|
-
volume: number;
|
|
7
|
-
time: Date;
|
|
8
|
-
}[], Error, import('@tanstack/query-core').InfiniteData<{
|
|
9
|
-
close: number;
|
|
10
|
-
open: number;
|
|
11
|
-
low: number;
|
|
12
|
-
high: number;
|
|
13
|
-
volume: number;
|
|
14
|
-
time: Date;
|
|
15
|
-
}[], unknown>, {
|
|
16
|
-
close: number;
|
|
17
|
-
open: number;
|
|
18
|
-
low: number;
|
|
19
|
-
high: number;
|
|
20
|
-
volume: number;
|
|
21
|
-
time: Date;
|
|
22
|
-
}[], (string | number)[], Date[]>, "queryFn"> & {
|
|
23
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<{
|
|
24
|
-
close: number;
|
|
25
|
-
open: number;
|
|
26
|
-
low: number;
|
|
27
|
-
high: number;
|
|
28
|
-
volume: number;
|
|
29
|
-
time: Date;
|
|
30
|
-
}[], (string | number)[], Date[]> | undefined;
|
|
31
|
-
} & {
|
|
32
|
-
queryKey: (string | number)[] & {
|
|
33
|
-
[dataTagSymbol]: import('@tanstack/query-core').InfiniteData<{
|
|
34
|
-
close: number;
|
|
35
|
-
open: number;
|
|
36
|
-
low: number;
|
|
37
|
-
high: number;
|
|
38
|
-
volume: number;
|
|
39
|
-
time: Date;
|
|
40
|
-
}[], unknown>;
|
|
41
|
-
[dataTagErrorSymbol]: Error;
|
|
42
|
-
};
|
|
43
|
-
};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HiveOperationGroup, HiveTransaction } from '../types';
|
|
2
|
-
export declare function getHiveAssetTransactionsQueryOptions(username: string | undefined, limit: number | undefined, group: HiveOperationGroup): import('@tanstack/react-query').UseInfiniteQueryOptions<HiveTransaction[], Error, import('@tanstack/query-core').InfiniteData<HiveTransaction[], unknown>, HiveTransaction[], readonly unknown[], unknown> & {
|
|
3
|
-
initialData: import('@tanstack/query-core').InfiniteData<HiveTransaction[], unknown> | (() => import('@tanstack/query-core').InfiniteData<HiveTransaction[], unknown>) | undefined;
|
|
4
|
-
} & {
|
|
5
|
-
queryKey: readonly unknown[] & {
|
|
6
|
-
[dataTagSymbol]: import('@tanstack/query-core').InfiniteData<HiveTransaction[], unknown>;
|
|
7
|
-
[dataTagErrorSymbol]: Error;
|
|
8
|
-
};
|
|
9
|
-
};
|
package/dist/modules/assets/hive/queries/get-hive-asset-withdrawal-routes-query-options.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HiveWithdrawRoute } from '../types';
|
|
2
|
-
export declare function getHiveAssetWithdrawalRoutesQueryOptions(username: string | undefined): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<HiveWithdrawRoute[], Error, HiveWithdrawRoute[], (string | undefined)[]>, "queryFn"> & {
|
|
3
|
-
queryFn?: import('@tanstack/query-core').QueryFunction<HiveWithdrawRoute[], (string | undefined)[], never> | undefined;
|
|
4
|
-
} & {
|
|
5
|
-
queryKey: (string | undefined)[] & {
|
|
6
|
-
[dataTagSymbol]: HiveWithdrawRoute[];
|
|
7
|
-
[dataTagErrorSymbol]: Error;
|
|
8
|
-
};
|
|
9
|
-
};
|