@ecency/wallets 1.4.20 → 1.4.22
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/browser/index.d.ts +41 -5
- package/dist/browser/index.js +67 -41
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +71 -40
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.mjs +67 -41
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { UseMutationOptions, useMutation } from '@tanstack/react-query';
|
|
3
3
|
import { BaseWallet, SignTxParams } from '@okxweb3/coin-base';
|
|
4
|
-
import {
|
|
4
|
+
import { OperationName, VirtualOperationName, SMTAsset, PrivateKey, Client } from '@hiveio/dhive';
|
|
5
5
|
import { Transaction, SignedTransaction, TransactionConfirmation } from '@hiveio/dhive/lib/chain/transaction';
|
|
6
6
|
import { utxoTx } from '@okxweb3/coin-bitcoin/dist/type';
|
|
7
7
|
import { Network } from '@okxweb3/coin-bitcoin/dist/bitcoinjs-lib';
|
|
@@ -349,6 +349,11 @@ declare function getHbdAssetGeneralInfoQueryOptions(username: string): _tanstack
|
|
|
349
349
|
|
|
350
350
|
type HiveOperationGroup = "" | "transfers" | "market-orders" | "interests" | "stake-operations" | "rewards";
|
|
351
351
|
|
|
352
|
+
type HiveOperationName = OperationName | VirtualOperationName;
|
|
353
|
+
type HiveOperationFilterValue = HiveOperationGroup | HiveOperationName;
|
|
354
|
+
type HiveOperationFilter = HiveOperationFilterValue | HiveOperationFilterValue[];
|
|
355
|
+
type HiveOperationFilterKey = string;
|
|
356
|
+
|
|
352
357
|
interface BaseTransaction {
|
|
353
358
|
num: number;
|
|
354
359
|
type: string;
|
|
@@ -546,6 +551,26 @@ interface VoteProxy extends BaseTransaction {
|
|
|
546
551
|
}
|
|
547
552
|
type HiveTransaction = CurationReward | AuthorReward | CommentBenefactor | ClaimRewardBalance | Transfer | TransferToVesting | TransferToSavings | CancelTransferFromSavings | WithdrawVesting | SetWithdrawRoute | FillOrder | ProducerReward | Interest | FillConvertRequest | FillCollateralizedConvertRequest | ReturnVestingDelegation | ProposalPay | UpdateProposalVotes | CommentPayoutUpdate | CommentReward | CollateralizedConvert | RecurrentTransfers | FillRecurrentTransfers | LimitOrderCreate | LimitOrderCancel | FillVestingWithdraw | EffectiveCommentVote | VoteProxy | DelegateVestingShares;
|
|
548
553
|
|
|
554
|
+
interface HiveMarketMetric {
|
|
555
|
+
hive: {
|
|
556
|
+
high: number;
|
|
557
|
+
low: number;
|
|
558
|
+
open: number;
|
|
559
|
+
close: number;
|
|
560
|
+
volume: number;
|
|
561
|
+
};
|
|
562
|
+
id: number;
|
|
563
|
+
non_hive: {
|
|
564
|
+
high: number;
|
|
565
|
+
low: number;
|
|
566
|
+
open: number;
|
|
567
|
+
close: number;
|
|
568
|
+
volume: number;
|
|
569
|
+
};
|
|
570
|
+
open: string;
|
|
571
|
+
seconds: number;
|
|
572
|
+
}
|
|
573
|
+
|
|
549
574
|
interface HiveWithdrawRoute {
|
|
550
575
|
auto_vest: boolean;
|
|
551
576
|
from_account: string;
|
|
@@ -569,7 +594,11 @@ interface ReceivedVestingShare {
|
|
|
569
594
|
vesting_shares: string;
|
|
570
595
|
}
|
|
571
596
|
|
|
572
|
-
declare function
|
|
597
|
+
declare function resolveHiveOperationFilters(filters: HiveOperationFilter): {
|
|
598
|
+
filterKey: HiveOperationFilterKey;
|
|
599
|
+
filterArgs: any[];
|
|
600
|
+
};
|
|
601
|
+
declare function getHiveAssetTransactionsQueryOptions(username: string | undefined, limit?: number, filters?: HiveOperationFilter): _tanstack_react_query.UseInfiniteQueryOptions<HiveTransaction[], Error, _tanstack_react_query.InfiniteData<HiveTransaction[], unknown>, readonly unknown[], unknown> & {
|
|
573
602
|
initialData: _tanstack_react_query.InfiniteData<HiveTransaction[], unknown> | (() => _tanstack_react_query.InfiniteData<HiveTransaction[], unknown>) | undefined;
|
|
574
603
|
} & {
|
|
575
604
|
queryKey: readonly unknown[] & {
|
|
@@ -578,7 +607,7 @@ declare function getHiveAssetTransactionsQueryOptions(username: string | undefin
|
|
|
578
607
|
};
|
|
579
608
|
};
|
|
580
609
|
|
|
581
|
-
declare function getHivePowerAssetTransactionsQueryOptions(username: string | undefined, limit
|
|
610
|
+
declare function getHivePowerAssetTransactionsQueryOptions(username: string | undefined, limit?: number, filters?: HiveOperationFilter): _tanstack_react_query.UseInfiniteQueryOptions<HiveTransaction[], Error, _tanstack_react_query.InfiniteData<HiveTransaction[], unknown>, readonly unknown[], unknown> & {
|
|
582
611
|
initialData: _tanstack_react_query.InfiniteData<HiveTransaction[], unknown> | (() => _tanstack_react_query.InfiniteData<HiveTransaction[], unknown>) | undefined;
|
|
583
612
|
} & {
|
|
584
613
|
queryKey: readonly unknown[] & {
|
|
@@ -587,7 +616,7 @@ declare function getHivePowerAssetTransactionsQueryOptions(username: string | un
|
|
|
587
616
|
};
|
|
588
617
|
};
|
|
589
618
|
|
|
590
|
-
declare function getHbdAssetTransactionsQueryOptions(username: string | undefined, limit
|
|
619
|
+
declare function getHbdAssetTransactionsQueryOptions(username: string | undefined, limit?: number, filters?: HiveOperationFilter): _tanstack_react_query.UseInfiniteQueryOptions<HiveTransaction[], Error, _tanstack_react_query.InfiniteData<HiveTransaction[], unknown>, readonly unknown[], unknown> & {
|
|
591
620
|
initialData: _tanstack_react_query.InfiniteData<HiveTransaction[], unknown> | (() => _tanstack_react_query.InfiniteData<HiveTransaction[], unknown>) | undefined;
|
|
592
621
|
} & {
|
|
593
622
|
queryKey: readonly unknown[] & {
|
|
@@ -863,6 +892,13 @@ declare function claimInterestHive<T extends HiveBasedAssetSignType>(payload: T
|
|
|
863
892
|
key: PrivateKey;
|
|
864
893
|
} : PayloadWithKey<T>): Promise<unknown>;
|
|
865
894
|
|
|
895
|
+
declare const HIVE_ACCOUNT_OPERATION_GROUPS: Record<HiveOperationGroup, number[]>;
|
|
896
|
+
|
|
897
|
+
declare const HIVE_OPERATION_LIST: HiveOperationName[];
|
|
898
|
+
|
|
899
|
+
declare const HIVE_OPERATION_ORDERS: Record<HiveOperationName, number>;
|
|
900
|
+
declare const HIVE_OPERATION_NAME_BY_ID: Record<number, HiveOperationName>;
|
|
901
|
+
|
|
866
902
|
declare enum Symbol {
|
|
867
903
|
HIVE = "HIVE",
|
|
868
904
|
HBD = "HBD",
|
|
@@ -1751,4 +1787,4 @@ declare function buildExternalTx(currency: EcencyWalletCurrency, tx: ExternalTxP
|
|
|
1751
1787
|
|
|
1752
1788
|
declare function getBoundFetch(): typeof fetch;
|
|
1753
1789
|
|
|
1754
|
-
export { type AccountPointsResponse, type Asset, AssetOperation, type DelegateEnginePayload, type EcencyHiveKeys, type EcencyTokenMetadata, EcencyWalletBasicTokens, EcencyWalletCurrency, index as EcencyWalletsPrivateApi, type ExternalTxParams, type ExternalWalletBalance, type GeneralAssetInfo, type GeneralAssetTransaction, type HiveBasedAssetSignType, type HiveEngineMarketResponse, type HiveEngineMetric, type HiveEngineTokenBalance, type HiveEngineTokenMetadataResponse, type HiveEngineTransaction, type HiveKeyDerivation, type HiveRole, NaiMap, type PointTransaction, PointTransactionType, type Points, type PointsResponse, type SpkApiWallet, type SpkMarkets, type StakeEnginePayload, Symbol, type TransferEnginePayload, type TransferPayload, type TransformedSpkMarkets, type UndelegateEnginePayload, type UnstakeEnginePayload, buildAptTx, buildEthTx, buildExternalTx, buildPsbt, buildSolTx, buildTonTx, buildTronTx, claimInterestHive, decryptMemoWithAccounts, decryptMemoWithKeys, delay, delegateEngineToken, delegateHive, deriveHiveKey, deriveHiveKeys, deriveHiveMasterPasswordKey, deriveHiveMasterPasswordKeys, detectHiveKeyDerivation, encryptMemoWithAccounts, encryptMemoWithKeys, getAccountWalletAssetInfoQueryOptions, getAccountWalletListQueryOptions, getAllTokensListQueryOptions, getBoundFetch, getHbdAssetGeneralInfoQueryOptions, getHbdAssetTransactionsQueryOptions, getHiveAssetGeneralInfoQueryOptions, getHiveAssetMetricQueryOptions, getHiveAssetTransactionsQueryOptions, getHiveAssetWithdrawalRoutesQueryOptions, getHiveEngineTokenGeneralInfoQueryOptions, getHiveEngineTokenTransactionsQueryOptions, getHiveEngineTokensBalancesQueryOptions, getHiveEngineTokensMarketQueryOptions, getHiveEngineTokensMetadataQueryOptions, getHiveEngineTokensMetricsQueryOptions, getHivePowerAssetGeneralInfoQueryOptions, getHivePowerAssetTransactionsQueryOptions, getHivePowerDelegatesInfiniteQueryOptions, getHivePowerDelegatingsQueryOptions, getLarynxAssetGeneralInfoQueryOptions, getLarynxPowerAssetGeneralInfoQueryOptions, getPointsAssetGeneralInfoQueryOptions, getPointsAssetTransactionsQueryOptions, getPointsQueryOptions, getSpkAssetGeneralInfoQueryOptions, getSpkMarketsQueryOptions, getTokenOperationsQueryOptions, getTokenPriceQueryOptions, getWallet, isEmptyDate, lockLarynx, mnemonicToSeedBip39, parseAsset, powerDownHive, powerUpHive, powerUpLarynx, rewardSpk, signDigest, signExternalTx, signExternalTxAndBroadcast, signTx, signTxAndBroadcast, stakeEngineToken, transferEngineToken, transferFromSavingsHive, transferHive, transferLarynx, transferPoint, transferSpk, transferToSavingsHive, undelegateEngineToken, unstakeEngineToken, useClaimPoints, useClaimRewards, useGetExternalWalletBalanceQuery, useHiveKeysQuery, useImportWallet, useSaveWalletInformationToMetadata, useSeedPhrase, useWalletCreate, useWalletOperation, useWalletsCacheQuery, vestsToHp, withdrawVestingRouteHive };
|
|
1790
|
+
export { type AccountPointsResponse, type Asset, AssetOperation, type AuthorReward, type CancelTransferFromSavings, type ClaimRewardBalance, type CollateralizedConvert, type CommentBenefactor, type CommentPayoutUpdate, type CommentReward, type CurationReward, type DelegateEnginePayload, type DelegateVestingShares, type DelegatedVestingShare, type EcencyHiveKeys, type EcencyTokenMetadata, EcencyWalletBasicTokens, EcencyWalletCurrency, index as EcencyWalletsPrivateApi, type EffectiveCommentVote, type ExternalTxParams, type ExternalWalletBalance, type FillCollateralizedConvertRequest, type FillConvertRequest, type FillOrder, type FillRecurrentTransfers, type FillVestingWithdraw, type GeneralAssetInfo, type GeneralAssetTransaction, HIVE_ACCOUNT_OPERATION_GROUPS, HIVE_OPERATION_LIST, HIVE_OPERATION_NAME_BY_ID, HIVE_OPERATION_ORDERS, type HiveBasedAssetSignType, type HiveEngineMarketResponse, type HiveEngineMetric, type HiveEngineTokenBalance, type HiveEngineTokenMetadataResponse, type HiveEngineTransaction, type HiveKeyDerivation, type HiveMarketMetric, type HiveOperationFilter, type HiveOperationFilterKey, type HiveOperationFilterValue, type HiveOperationGroup, type HiveOperationName, type HiveRole, type HiveTransaction, type HiveWithdrawRoute, type Interest, type LimitOrderCancel, type LimitOrderCreate, NaiMap, type PointTransaction, PointTransactionType, type Points, type PointsResponse, type ProducerReward, type ProposalPay, type ReceivedVestingShare, type RecurrentTransfers, type ReturnVestingDelegation, type SetWithdrawRoute, type SpkApiWallet, type SpkMarkets, type StakeEnginePayload, Symbol, type Transfer, type TransferEnginePayload, type TransferPayload, type TransferToSavings, type TransferToVesting, type TransformedSpkMarkets, type UndelegateEnginePayload, type UnstakeEnginePayload, type UpdateProposalVotes, type VoteProxy, type WithdrawVesting, buildAptTx, buildEthTx, buildExternalTx, buildPsbt, buildSolTx, buildTonTx, buildTronTx, claimInterestHive, decryptMemoWithAccounts, decryptMemoWithKeys, delay, delegateEngineToken, delegateHive, deriveHiveKey, deriveHiveKeys, deriveHiveMasterPasswordKey, deriveHiveMasterPasswordKeys, detectHiveKeyDerivation, encryptMemoWithAccounts, encryptMemoWithKeys, getAccountWalletAssetInfoQueryOptions, getAccountWalletListQueryOptions, getAllTokensListQueryOptions, getBoundFetch, getHbdAssetGeneralInfoQueryOptions, getHbdAssetTransactionsQueryOptions, getHiveAssetGeneralInfoQueryOptions, getHiveAssetMetricQueryOptions, getHiveAssetTransactionsQueryOptions, getHiveAssetWithdrawalRoutesQueryOptions, getHiveEngineTokenGeneralInfoQueryOptions, getHiveEngineTokenTransactionsQueryOptions, getHiveEngineTokensBalancesQueryOptions, getHiveEngineTokensMarketQueryOptions, getHiveEngineTokensMetadataQueryOptions, getHiveEngineTokensMetricsQueryOptions, getHivePowerAssetGeneralInfoQueryOptions, getHivePowerAssetTransactionsQueryOptions, getHivePowerDelegatesInfiniteQueryOptions, getHivePowerDelegatingsQueryOptions, getLarynxAssetGeneralInfoQueryOptions, getLarynxPowerAssetGeneralInfoQueryOptions, getPointsAssetGeneralInfoQueryOptions, getPointsAssetTransactionsQueryOptions, getPointsQueryOptions, getSpkAssetGeneralInfoQueryOptions, getSpkMarketsQueryOptions, getTokenOperationsQueryOptions, getTokenPriceQueryOptions, getWallet, isEmptyDate, lockLarynx, mnemonicToSeedBip39, parseAsset, powerDownHive, powerUpHive, powerUpLarynx, resolveHiveOperationFilters, rewardSpk, signDigest, signExternalTx, signExternalTxAndBroadcast, signTx, signTxAndBroadcast, stakeEngineToken, transferEngineToken, transferFromSavingsHive, transferHive, transferLarynx, transferPoint, transferSpk, transferToSavingsHive, undelegateEngineToken, unstakeEngineToken, useClaimPoints, useClaimRewards, useGetExternalWalletBalanceQuery, useHiveKeysQuery, useImportWallet, useSaveWalletInformationToMetadata, useSeedPhrase, useWalletCreate, useWalletOperation, useWalletsCacheQuery, vestsToHp, withdrawVestingRouteHive };
|
package/dist/browser/index.js
CHANGED
|
@@ -898,50 +898,67 @@ var HIVE_ACCOUNT_OPERATION_GROUPS = {
|
|
|
898
898
|
ops.comment_benefactor_reward,
|
|
899
899
|
ops.liquidity_reward,
|
|
900
900
|
ops.proposal_pay
|
|
901
|
-
]
|
|
901
|
+
],
|
|
902
|
+
"": []
|
|
903
|
+
};
|
|
904
|
+
var HIVE_OPERATION_LIST = Object.keys(
|
|
905
|
+
utils.operationOrders
|
|
906
|
+
);
|
|
907
|
+
var operationOrders = utils.operationOrders;
|
|
908
|
+
var HIVE_OPERATION_ORDERS = operationOrders;
|
|
909
|
+
var HIVE_OPERATION_NAME_BY_ID = Object.entries(operationOrders).reduce((acc, [name, id]) => {
|
|
910
|
+
acc[id] = name;
|
|
911
|
+
return acc;
|
|
912
|
+
}, {});
|
|
902
913
|
|
|
903
914
|
// src/modules/assets/hive/queries/get-hive-asset-transactions-query-options.ts
|
|
904
|
-
|
|
915
|
+
var operationOrders2 = utils.operationOrders;
|
|
916
|
+
function isHiveOperationName(value) {
|
|
917
|
+
return Object.prototype.hasOwnProperty.call(operationOrders2, value);
|
|
918
|
+
}
|
|
919
|
+
function resolveHiveOperationFilters(filters) {
|
|
920
|
+
const rawValues = Array.isArray(filters) ? filters : [filters];
|
|
921
|
+
const hasAll = rawValues.includes("");
|
|
922
|
+
const uniqueValues = Array.from(
|
|
923
|
+
new Set(
|
|
924
|
+
rawValues.filter(
|
|
925
|
+
(value) => value !== void 0 && value !== null && value !== ""
|
|
926
|
+
)
|
|
927
|
+
)
|
|
928
|
+
);
|
|
929
|
+
const filterKey = hasAll || uniqueValues.length === 0 ? "all" : uniqueValues.map((value) => value.toString()).sort().join("|");
|
|
930
|
+
const operationIds = /* @__PURE__ */ new Set();
|
|
931
|
+
if (!hasAll) {
|
|
932
|
+
uniqueValues.forEach((value) => {
|
|
933
|
+
if (value in HIVE_ACCOUNT_OPERATION_GROUPS) {
|
|
934
|
+
HIVE_ACCOUNT_OPERATION_GROUPS[value].forEach(
|
|
935
|
+
(id) => operationIds.add(id)
|
|
936
|
+
);
|
|
937
|
+
return;
|
|
938
|
+
}
|
|
939
|
+
if (isHiveOperationName(value)) {
|
|
940
|
+
operationIds.add(operationOrders2[value]);
|
|
941
|
+
}
|
|
942
|
+
});
|
|
943
|
+
}
|
|
944
|
+
const filterArgs = utils.makeBitMaskFilter(Array.from(operationIds));
|
|
945
|
+
return {
|
|
946
|
+
filterKey,
|
|
947
|
+
filterArgs
|
|
948
|
+
};
|
|
949
|
+
}
|
|
950
|
+
function getHiveAssetTransactionsQueryOptions(username, limit = 20, filters = []) {
|
|
951
|
+
const { filterArgs, filterKey } = resolveHiveOperationFilters(filters);
|
|
905
952
|
return infiniteQueryOptions({
|
|
906
|
-
queryKey: ["assets", "hive", "transactions", username, limit,
|
|
953
|
+
queryKey: ["assets", "hive", "transactions", username, limit, filterKey],
|
|
907
954
|
initialData: { pages: [], pageParams: [] },
|
|
908
955
|
initialPageParam: -1,
|
|
909
956
|
getNextPageParam: (lastPage, __) => lastPage ? +(lastPage[lastPage.length - 1]?.num ?? 0) - 1 : -1,
|
|
910
957
|
queryFn: async ({ pageParam }) => {
|
|
911
|
-
let filters = [];
|
|
912
|
-
switch (group) {
|
|
913
|
-
case "transfers":
|
|
914
|
-
filters = utils.makeBitMaskFilter(
|
|
915
|
-
HIVE_ACCOUNT_OPERATION_GROUPS["transfers"]
|
|
916
|
-
);
|
|
917
|
-
break;
|
|
918
|
-
case "market-orders":
|
|
919
|
-
filters = utils.makeBitMaskFilter(
|
|
920
|
-
HIVE_ACCOUNT_OPERATION_GROUPS["market-orders"]
|
|
921
|
-
);
|
|
922
|
-
break;
|
|
923
|
-
case "interests":
|
|
924
|
-
filters = utils.makeBitMaskFilter(
|
|
925
|
-
HIVE_ACCOUNT_OPERATION_GROUPS["interests"]
|
|
926
|
-
);
|
|
927
|
-
break;
|
|
928
|
-
case "stake-operations":
|
|
929
|
-
filters = utils.makeBitMaskFilter(
|
|
930
|
-
HIVE_ACCOUNT_OPERATION_GROUPS["stake-operations"]
|
|
931
|
-
);
|
|
932
|
-
break;
|
|
933
|
-
case "rewards":
|
|
934
|
-
filters = utils.makeBitMaskFilter(
|
|
935
|
-
HIVE_ACCOUNT_OPERATION_GROUPS["rewards"]
|
|
936
|
-
);
|
|
937
|
-
break;
|
|
938
|
-
default:
|
|
939
|
-
filters = utils.makeBitMaskFilter([]);
|
|
940
|
-
}
|
|
941
958
|
const response = await CONFIG.hiveClient.call(
|
|
942
959
|
"condenser_api",
|
|
943
960
|
"get_account_history",
|
|
944
|
-
[username, pageParam, limit, ...
|
|
961
|
+
[username, pageParam, limit, ...filterArgs]
|
|
945
962
|
);
|
|
946
963
|
return response.map(
|
|
947
964
|
(x) => ({
|
|
@@ -996,10 +1013,18 @@ function getHiveAssetTransactionsQueryOptions(username, limit = 20, group) {
|
|
|
996
1013
|
})
|
|
997
1014
|
});
|
|
998
1015
|
}
|
|
999
|
-
function getHivePowerAssetTransactionsQueryOptions(username, limit = 20,
|
|
1016
|
+
function getHivePowerAssetTransactionsQueryOptions(username, limit = 20, filters = []) {
|
|
1017
|
+
const { filterKey } = resolveHiveOperationFilters(filters);
|
|
1000
1018
|
return infiniteQueryOptions({
|
|
1001
|
-
...getHiveAssetTransactionsQueryOptions(username, limit,
|
|
1002
|
-
queryKey: [
|
|
1019
|
+
...getHiveAssetTransactionsQueryOptions(username, limit, filters),
|
|
1020
|
+
queryKey: [
|
|
1021
|
+
"assets",
|
|
1022
|
+
"hive-power",
|
|
1023
|
+
"transactions",
|
|
1024
|
+
username,
|
|
1025
|
+
limit,
|
|
1026
|
+
filterKey
|
|
1027
|
+
],
|
|
1003
1028
|
select: ({ pages, pageParams }) => ({
|
|
1004
1029
|
pageParams,
|
|
1005
1030
|
pages: pages.map(
|
|
@@ -1043,10 +1068,11 @@ function getHivePowerAssetTransactionsQueryOptions(username, limit = 20, group)
|
|
|
1043
1068
|
})
|
|
1044
1069
|
});
|
|
1045
1070
|
}
|
|
1046
|
-
function getHbdAssetTransactionsQueryOptions(username, limit = 20,
|
|
1071
|
+
function getHbdAssetTransactionsQueryOptions(username, limit = 20, filters = []) {
|
|
1072
|
+
const { filterKey } = resolveHiveOperationFilters(filters);
|
|
1047
1073
|
return infiniteQueryOptions({
|
|
1048
|
-
...getHiveAssetTransactionsQueryOptions(username, limit,
|
|
1049
|
-
queryKey: ["assets", "hbd", "transactions", username, limit,
|
|
1074
|
+
...getHiveAssetTransactionsQueryOptions(username, limit, filters),
|
|
1075
|
+
queryKey: ["assets", "hbd", "transactions", username, limit, filterKey],
|
|
1050
1076
|
select: ({ pages, pageParams }) => ({
|
|
1051
1077
|
pageParams,
|
|
1052
1078
|
pages: pages.map(
|
|
@@ -3655,6 +3681,6 @@ function useWalletOperation(username, asset, operation) {
|
|
|
3655
3681
|
// src/index.ts
|
|
3656
3682
|
rememberScryptBsvVersion();
|
|
3657
3683
|
|
|
3658
|
-
export { AssetOperation, EcencyWalletBasicTokens, EcencyWalletCurrency, private_api_exports as EcencyWalletsPrivateApi, NaiMap, PointTransactionType, Symbol2 as Symbol, buildAptTx, buildEthTx, buildExternalTx, buildPsbt, buildSolTx, buildTonTx, buildTronTx, claimInterestHive, decryptMemoWithAccounts, decryptMemoWithKeys, delay, delegateEngineToken, delegateHive, deriveHiveKey, deriveHiveKeys, deriveHiveMasterPasswordKey, deriveHiveMasterPasswordKeys, detectHiveKeyDerivation, encryptMemoWithAccounts, encryptMemoWithKeys, getAccountWalletAssetInfoQueryOptions, getAccountWalletListQueryOptions, getAllTokensListQueryOptions, getBoundFetch, getHbdAssetGeneralInfoQueryOptions, getHbdAssetTransactionsQueryOptions, getHiveAssetGeneralInfoQueryOptions, getHiveAssetMetricQueryOptions, getHiveAssetTransactionsQueryOptions, getHiveAssetWithdrawalRoutesQueryOptions, getHiveEngineTokenGeneralInfoQueryOptions, getHiveEngineTokenTransactionsQueryOptions, getHiveEngineTokensBalancesQueryOptions, getHiveEngineTokensMarketQueryOptions, getHiveEngineTokensMetadataQueryOptions, getHiveEngineTokensMetricsQueryOptions, getHivePowerAssetGeneralInfoQueryOptions, getHivePowerAssetTransactionsQueryOptions, getHivePowerDelegatesInfiniteQueryOptions, getHivePowerDelegatingsQueryOptions, getLarynxAssetGeneralInfoQueryOptions, getLarynxPowerAssetGeneralInfoQueryOptions, getPointsAssetGeneralInfoQueryOptions, getPointsAssetTransactionsQueryOptions, getPointsQueryOptions, getSpkAssetGeneralInfoQueryOptions, getSpkMarketsQueryOptions, getTokenOperationsQueryOptions, getTokenPriceQueryOptions, getWallet, isEmptyDate, lockLarynx, mnemonicToSeedBip39, parseAsset, powerDownHive, powerUpHive, powerUpLarynx, rewardSpk, signDigest, signExternalTx, signExternalTxAndBroadcast, signTx, signTxAndBroadcast, stakeEngineToken, transferEngineToken, transferFromSavingsHive, transferHive, transferLarynx, transferPoint, transferSpk, transferToSavingsHive, undelegateEngineToken, unstakeEngineToken, useClaimPoints, useClaimRewards, useGetExternalWalletBalanceQuery, useHiveKeysQuery, useImportWallet, useSaveWalletInformationToMetadata, useSeedPhrase, useWalletCreate, useWalletOperation, useWalletsCacheQuery, vestsToHp, withdrawVestingRouteHive };
|
|
3684
|
+
export { AssetOperation, EcencyWalletBasicTokens, EcencyWalletCurrency, private_api_exports as EcencyWalletsPrivateApi, HIVE_ACCOUNT_OPERATION_GROUPS, HIVE_OPERATION_LIST, HIVE_OPERATION_NAME_BY_ID, HIVE_OPERATION_ORDERS, NaiMap, PointTransactionType, Symbol2 as Symbol, buildAptTx, buildEthTx, buildExternalTx, buildPsbt, buildSolTx, buildTonTx, buildTronTx, claimInterestHive, decryptMemoWithAccounts, decryptMemoWithKeys, delay, delegateEngineToken, delegateHive, deriveHiveKey, deriveHiveKeys, deriveHiveMasterPasswordKey, deriveHiveMasterPasswordKeys, detectHiveKeyDerivation, encryptMemoWithAccounts, encryptMemoWithKeys, getAccountWalletAssetInfoQueryOptions, getAccountWalletListQueryOptions, getAllTokensListQueryOptions, getBoundFetch, getHbdAssetGeneralInfoQueryOptions, getHbdAssetTransactionsQueryOptions, getHiveAssetGeneralInfoQueryOptions, getHiveAssetMetricQueryOptions, getHiveAssetTransactionsQueryOptions, getHiveAssetWithdrawalRoutesQueryOptions, getHiveEngineTokenGeneralInfoQueryOptions, getHiveEngineTokenTransactionsQueryOptions, getHiveEngineTokensBalancesQueryOptions, getHiveEngineTokensMarketQueryOptions, getHiveEngineTokensMetadataQueryOptions, getHiveEngineTokensMetricsQueryOptions, getHivePowerAssetGeneralInfoQueryOptions, getHivePowerAssetTransactionsQueryOptions, getHivePowerDelegatesInfiniteQueryOptions, getHivePowerDelegatingsQueryOptions, getLarynxAssetGeneralInfoQueryOptions, getLarynxPowerAssetGeneralInfoQueryOptions, getPointsAssetGeneralInfoQueryOptions, getPointsAssetTransactionsQueryOptions, getPointsQueryOptions, getSpkAssetGeneralInfoQueryOptions, getSpkMarketsQueryOptions, getTokenOperationsQueryOptions, getTokenPriceQueryOptions, getWallet, isEmptyDate, lockLarynx, mnemonicToSeedBip39, parseAsset, powerDownHive, powerUpHive, powerUpLarynx, resolveHiveOperationFilters, rewardSpk, signDigest, signExternalTx, signExternalTxAndBroadcast, signTx, signTxAndBroadcast, stakeEngineToken, transferEngineToken, transferFromSavingsHive, transferHive, transferLarynx, transferPoint, transferSpk, transferToSavingsHive, undelegateEngineToken, unstakeEngineToken, useClaimPoints, useClaimRewards, useGetExternalWalletBalanceQuery, useHiveKeysQuery, useImportWallet, useSaveWalletInformationToMetadata, useSeedPhrase, useWalletCreate, useWalletOperation, useWalletsCacheQuery, vestsToHp, withdrawVestingRouteHive };
|
|
3659
3685
|
//# sourceMappingURL=index.js.map
|
|
3660
3686
|
//# sourceMappingURL=index.js.map
|