@ecency/sdk 1.5.23 → 1.5.25
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 +113 -1
- package/dist/browser/index.js +128 -38
- package/dist/browser/index.js.map +1 -1
- package/dist/node/index.cjs +132 -37
- package/dist/node/index.cjs.map +1 -1
- package/dist/node/index.mjs +128 -38
- package/dist/node/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/browser/index.d.ts
CHANGED
|
@@ -19,6 +19,12 @@ interface DynamicProps {
|
|
|
19
19
|
virtualSupply: number;
|
|
20
20
|
vestingRewardPercent: number;
|
|
21
21
|
accountCreationFee: string;
|
|
22
|
+
raw?: {
|
|
23
|
+
globalDynamic: Record<string, any>;
|
|
24
|
+
feedHistory: Record<string, any>;
|
|
25
|
+
chainProps: Record<string, any>;
|
|
26
|
+
rewardFund: Record<string, any>;
|
|
27
|
+
};
|
|
22
28
|
}
|
|
23
29
|
|
|
24
30
|
interface AuthContext {
|
|
@@ -914,6 +920,31 @@ declare function getDynamicPropsQueryOptions(): _tanstack_react_query.OmitKeyof<
|
|
|
914
920
|
};
|
|
915
921
|
};
|
|
916
922
|
|
|
923
|
+
interface RewardFund {
|
|
924
|
+
id: number;
|
|
925
|
+
name: string;
|
|
926
|
+
reward_balance: string;
|
|
927
|
+
recent_claims: string;
|
|
928
|
+
last_update: string;
|
|
929
|
+
content_constant: string;
|
|
930
|
+
percent_curation_rewards: number;
|
|
931
|
+
percent_content_rewards: number;
|
|
932
|
+
author_reward_curve: string;
|
|
933
|
+
curation_reward_curve: string;
|
|
934
|
+
}
|
|
935
|
+
/**
|
|
936
|
+
* Get reward fund information from the blockchain
|
|
937
|
+
* @param fundName - Name of the reward fund (default: 'post')
|
|
938
|
+
*/
|
|
939
|
+
declare function getRewardFundQueryOptions(fundName?: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<RewardFund, Error, RewardFund, string[]>, "queryFn"> & {
|
|
940
|
+
queryFn?: _tanstack_react_query.QueryFunction<RewardFund, string[], never> | undefined;
|
|
941
|
+
} & {
|
|
942
|
+
queryKey: string[] & {
|
|
943
|
+
[dataTagSymbol]: RewardFund;
|
|
944
|
+
[dataTagErrorSymbol]: Error;
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
|
|
917
948
|
declare function encodeObj(o: any): string;
|
|
918
949
|
declare function decodeObj(o: any): any;
|
|
919
950
|
|
|
@@ -982,6 +1013,22 @@ declare function getFavouritesInfiniteQueryOptions(activeUsername: string | unde
|
|
|
982
1013
|
};
|
|
983
1014
|
};
|
|
984
1015
|
|
|
1016
|
+
/**
|
|
1017
|
+
* Query options to check if a specific account is in the active user's favourites
|
|
1018
|
+
* @param activeUsername - The logged-in user's username
|
|
1019
|
+
* @param code - Access token for authentication
|
|
1020
|
+
* @param targetUsername - The username to check if favorited
|
|
1021
|
+
* @returns Query options for checking if target is favorited
|
|
1022
|
+
*/
|
|
1023
|
+
declare function checkFavouriteQueryOptions(activeUsername: string | undefined, code: string | undefined, targetUsername: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<boolean, Error, boolean, (string | undefined)[]>, "queryFn"> & {
|
|
1024
|
+
queryFn?: _tanstack_react_query.QueryFunction<boolean, (string | undefined)[], never> | undefined;
|
|
1025
|
+
} & {
|
|
1026
|
+
queryKey: (string | undefined)[] & {
|
|
1027
|
+
[dataTagSymbol]: boolean;
|
|
1028
|
+
[dataTagErrorSymbol]: Error;
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
|
|
985
1032
|
declare function getAccountRecoveriesQueryOptions(username: string | undefined, code: string | undefined): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<GetRecoveriesEmailResponse[], Error, GetRecoveriesEmailResponse[], (string | undefined)[]>, "queryFn"> & {
|
|
986
1033
|
queryFn?: _tanstack_react_query.QueryFunction<GetRecoveriesEmailResponse[], (string | undefined)[], never> | undefined;
|
|
987
1034
|
} & {
|
|
@@ -1587,6 +1634,18 @@ declare function getReblogsQueryOptions(username?: string, activeUsername?: stri
|
|
|
1587
1634
|
};
|
|
1588
1635
|
};
|
|
1589
1636
|
|
|
1637
|
+
/**
|
|
1638
|
+
* Get list of usernames who reblogged a specific post
|
|
1639
|
+
*/
|
|
1640
|
+
declare function getRebloggedByQueryOptions(author?: string, permlink?: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<string[], Error, string[], string[]>, "queryFn"> & {
|
|
1641
|
+
queryFn?: _tanstack_react_query.QueryFunction<string[], string[], never> | undefined;
|
|
1642
|
+
} & {
|
|
1643
|
+
queryKey: string[] & {
|
|
1644
|
+
[dataTagSymbol]: string[];
|
|
1645
|
+
[dataTagErrorSymbol]: Error;
|
|
1646
|
+
};
|
|
1647
|
+
};
|
|
1648
|
+
|
|
1590
1649
|
declare function getSchedulesQueryOptions(activeUsername: string | undefined, code?: string): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<Schedule[], Error, Schedule[], (string | undefined)[]>, "queryFn"> & {
|
|
1591
1650
|
queryFn?: _tanstack_react_query.QueryFunction<Schedule[], (string | undefined)[], never> | undefined;
|
|
1592
1651
|
} & {
|
|
@@ -3212,6 +3271,59 @@ declare function getTradeHistoryQueryOptions(limit?: number, startDate?: Date, e
|
|
|
3212
3271
|
};
|
|
3213
3272
|
};
|
|
3214
3273
|
|
|
3274
|
+
interface FeedHistoryItem {
|
|
3275
|
+
id: number;
|
|
3276
|
+
current_median_history: {
|
|
3277
|
+
base: string;
|
|
3278
|
+
quote: string;
|
|
3279
|
+
};
|
|
3280
|
+
market_median_history: {
|
|
3281
|
+
base: string;
|
|
3282
|
+
quote: string;
|
|
3283
|
+
};
|
|
3284
|
+
current_min_history: {
|
|
3285
|
+
base: string;
|
|
3286
|
+
quote: string;
|
|
3287
|
+
};
|
|
3288
|
+
current_max_history: {
|
|
3289
|
+
base: string;
|
|
3290
|
+
quote: string;
|
|
3291
|
+
};
|
|
3292
|
+
price_history: Array<{
|
|
3293
|
+
base: string;
|
|
3294
|
+
quote: string;
|
|
3295
|
+
}>;
|
|
3296
|
+
}
|
|
3297
|
+
/**
|
|
3298
|
+
* Get feed history from the blockchain
|
|
3299
|
+
* Returns price feed history including median prices
|
|
3300
|
+
*/
|
|
3301
|
+
declare function getFeedHistoryQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<FeedHistoryItem, Error, FeedHistoryItem, string[]>, "queryFn"> & {
|
|
3302
|
+
queryFn?: _tanstack_react_query.QueryFunction<FeedHistoryItem, string[], never> | undefined;
|
|
3303
|
+
} & {
|
|
3304
|
+
queryKey: string[] & {
|
|
3305
|
+
[dataTagSymbol]: FeedHistoryItem;
|
|
3306
|
+
[dataTagErrorSymbol]: Error;
|
|
3307
|
+
};
|
|
3308
|
+
};
|
|
3309
|
+
|
|
3310
|
+
interface MedianHistoryPrice {
|
|
3311
|
+
base: string;
|
|
3312
|
+
quote: string;
|
|
3313
|
+
}
|
|
3314
|
+
/**
|
|
3315
|
+
* Get current median history price from the blockchain
|
|
3316
|
+
* Returns the current median price for HIVE/HBD conversion
|
|
3317
|
+
*/
|
|
3318
|
+
declare function getCurrentMedianHistoryPriceQueryOptions(): _tanstack_react_query.OmitKeyof<_tanstack_react_query.UseQueryOptions<MedianHistoryPrice, Error, MedianHistoryPrice, string[]>, "queryFn"> & {
|
|
3319
|
+
queryFn?: _tanstack_react_query.QueryFunction<MedianHistoryPrice, string[], never> | undefined;
|
|
3320
|
+
} & {
|
|
3321
|
+
queryKey: string[] & {
|
|
3322
|
+
[dataTagSymbol]: MedianHistoryPrice;
|
|
3323
|
+
[dataTagErrorSymbol]: Error;
|
|
3324
|
+
};
|
|
3325
|
+
};
|
|
3326
|
+
|
|
3215
3327
|
interface ApiResponse<T> {
|
|
3216
3328
|
status: number;
|
|
3217
3329
|
data: T;
|
|
@@ -3516,4 +3628,4 @@ declare function getHiveEngineUnclaimedRewards<T = Record<string, unknown>>(user
|
|
|
3516
3628
|
declare function getSpkWallet<T = Record<string, unknown>>(username: string): Promise<T>;
|
|
3517
3629
|
declare function getSpkMarkets<T = Record<string, unknown>>(): Promise<T>;
|
|
3518
3630
|
|
|
3519
|
-
export { ACCOUNT_OPERATION_GROUPS, ALL_ACCOUNT_OPERATIONS, ALL_NOTIFY_TYPES, type AccountBookmark, type AccountFavorite, type AccountFollowStats, type AccountNotification, type AccountProfile, type AccountRelationship, type AccountReputation, type AccountSearchResult, type Announcement, type ApiBookmarkNotification, type ApiDelegationsNotification, type ApiFavoriteNotification, type ApiFollowNotification, type ApiInactiveNotification, type ApiMentionNotification, type ApiNotification, type ApiNotificationSetting, type ApiReblogNotification, type ApiReferralNotification, type ApiReplyNotification, type ApiResponse, type ApiSpinNotification, type ApiTransferNotification, type ApiVoteNotification, type Asset, type AuthContext, type AuthorReward, type BlogEntry, type BoostPlusAccountPrice, type BuildProfileMetadataArgs, CONFIG, type CancelTransferFromSavings, type CantAfford, type CheckUsernameWalletsPendingResponse, type ClaimRewardBalance, type CollateralizedConversionRequest, type CollateralizedConvert, type CommentBenefactor, type CommentPayoutUpdate, type CommentReward, type Communities, type Community, type CommunityRole, type CommunityTeam, type CommunityType, ConfigManager, type ConversionRequest, type CurationDuration, type CurationItem, type CurationReward, type CurrencyRates, type DelegateVestingShares, type DelegatedVestingShare, type DeletedEntry, type Draft, type DraftMetadata, type DraftsWrappedResponse, type DynamicProps, index as EcencyAnalytics, EcencyQueriesManager, type EffectiveCommentVote, type Entry$1 as Entry, type EntryBeneficiaryRoute, type EntryHeader, type EntryStat, type EntryVote, type FillCollateralizedConvertRequest, type FillConvertRequest, type FillOrder, type FillRecurrentTransfers, type FillVestingWithdraw, type Follow, type Fragment, type FriendSearchResult, type FriendsPageParam, type FriendsRow, type FullAccount, type GameClaim, type GetGameStatus, type GetRecoveriesEmailResponse, type HiveEngineOpenOrder, type HiveHbdStats, HiveSignerIntegration, type HsTokenRenewResponse, type IncomingRcDelegation, type IncomingRcResponse, type Interest, type JsonMetadata, type JsonPollMetadata, type Keys, type LeaderBoardDuration, type LeaderBoardItem, type LimitOrderCancel, type LimitOrderCreate, type MarketCandlestickDataItem, type MarketData, type MarketStatistics, NaiMap, NotificationFilter, NotificationViewType, type Notifications, NotifyTypes, type OpenOrdersData, type OperationGroup, type OrdersData, type OrdersDataItem, type PageStatsResponse, type PaginationMeta, type Payer, type PointTransaction, type Points, type PortfolioResponse, type PortfolioWalletItem, type PostTip, type PostTipsResponse, type ProducerReward, type Profile, type ProfileTokens, type PromotePrice, type Proposal, type ProposalPay, type ProposalVote, type ProposalVoteRow, ROLES, type RcDirectDelegation, type RcDirectDelegationsResponse, type RcStats, type Reblog, type ReceivedVestingShare, type RecordActivityOptions, type Recoveries, type RecurrentTransfer, type RecurrentTransfers, type ReferralItem, type ReferralItems, type ReferralStat, type ReturnVestingDelegation, type RewardedCommunity, type SavingsWithdrawRequest, type Schedule, type SearchResponse, type SearchResult, type SetWithdrawRoute, SortOrder, type StatsResponse, type Subscription, Symbol, type TagSearchResult, type ThreadItemEntry, ThreeSpeakIntegration, type ThreeSpeakVideo, type Transaction, type Transfer, type TransferToSavings, type TransferToVesting, type TrendingTag, type UpdateProposalVotes, type UserImage, type ValidatePostCreatingOptions, type Vote, type VoteHistoryPage, type VoteHistoryPageParam, type VoteProxy, type WalletMetadataCandidate, type WaveEntry, type WaveTrendingTag, type WithdrawRoute, type WithdrawVesting, type Witness, type WrappedResponse, type WsBookmarkNotification, type WsDelegationsNotification, type WsFavoriteNotification, type WsFollowNotification, type WsInactiveNotification, type WsMentionNotification, type WsNotification, type WsReblogNotification, type WsReferralNotification, type WsReplyNotification, type WsSpinNotification, type WsTransferNotification, type WsVoteNotification, addDraft, addImage, addSchedule, bridgeApiCall, broadcastJson, buildProfileMetadata, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, deleteDraft, deleteImage, deleteSchedule, downVotingPower, encodeObj, extractAccountProfile, getAccountFullQueryOptions, getAccountNotificationsInfiniteQueryOptions, getAccountPendingRecoveryQueryOptions, getAccountPosts, getAccountPostsInfiniteQueryOptions, getAccountPostsQueryOptions, getAccountRcQueryOptions, getAccountRecoveriesQueryOptions, getAccountReputationsQueryOptions, getAccountSubscriptionsQueryOptions, getAccountVoteHistoryInfiniteQueryOptions, getAccountsQueryOptions, getAnnouncementsQueryOptions, getBookmarksInfiniteQueryOptions, getBookmarksQueryOptions, getBoostPlusAccountPricesQueryOptions, getBoostPlusPricesQueryOptions, getBotsQueryOptions, getBoundFetch, getChainPropertiesQueryOptions, getCollateralizedConversionRequestsQueryOptions, getCommentHistoryQueryOptions, getCommunities, getCommunitiesQueryOptions, getCommunity, getCommunityContextQueryOptions, getCommunityPermissions, getCommunityQueryOptions, getCommunitySubscribersQueryOptions, getCommunityType, getContentQueryOptions, getContentRepliesQueryOptions, getControversialRisingInfiniteQueryOptions, getConversionRequestsQueryOptions, getCurrencyRate, getCurrencyRates, getCurrencyTokenRate, getDeletedEntryQueryOptions, getDiscoverCurationQueryOptions, getDiscoverLeaderboardQueryOptions, getDiscussion, getDiscussionQueryOptions, getDiscussionsQueryOptions, getDraftsInfiniteQueryOptions, getDraftsQueryOptions, getDynamicPropsQueryOptions, getEntryActiveVotesQueryOptions, getFavouritesInfiniteQueryOptions, getFavouritesQueryOptions, getFollowCountQueryOptions, getFollowersQueryOptions, getFollowingQueryOptions, getFragmentsInfiniteQueryOptions, getFragmentsQueryOptions, getFriendsInfiniteQueryOptions, getGalleryImagesQueryOptions, getGameStatusCheckQueryOptions, getHiveEngineMetrics, getHiveEngineOpenOrders, getHiveEngineOrderBook, getHiveEngineTokenMetrics, getHiveEngineTokenTransactions, getHiveEngineTokensBalances, getHiveEngineTokensMarket, getHiveEngineTokensMetadata, getHiveEngineTradeHistory, getHiveEngineUnclaimedRewards, getHiveHbdStatsQueryOptions, getHivePoshLinksQueryOptions, getHivePrice, getImagesInfiniteQueryOptions, getImagesQueryOptions, getIncomingRcQueryOptions, getMarketData, getMarketDataQueryOptions, getMarketHistoryQueryOptions, getMarketStatisticsQueryOptions, getMutedUsersQueryOptions, getNormalizePostQueryOptions, getNotificationSetting, getNotifications, getNotificationsInfiniteQueryOptions, getNotificationsSettingsQueryOptions, getNotificationsUnreadCountQueryOptions, getOpenOrdersQueryOptions, getOrderBookQueryOptions, getOutgoingRcDelegationsInfiniteQueryOptions, getPageStatsQueryOptions, getPointsQueryOptions, getPortfolioQueryOptions, getPost, getPostHeader, getPostHeaderQueryOptions, getPostQueryOptions, getPostTipsQueryOptions, getPostsRanked, getPostsRankedInfiniteQueryOptions, getPostsRankedQueryOptions, getProfiles, getProfilesQueryOptions, getPromotePriceQueryOptions, getPromotedPost, getPromotedPostsQuery, getProposalQueryOptions, getProposalVotesInfiniteQueryOptions, getProposalsQueryOptions, getQueryClient, getRcStatsQueryOptions, getReblogsQueryOptions, getReceivedVestingSharesQueryOptions, getRecurrentTransfersQueryOptions, getReferralsInfiniteQueryOptions, getReferralsStatsQueryOptions, getRelationshipBetweenAccounts, getRelationshipBetweenAccountsQueryOptions, getRewardedCommunitiesQueryOptions, getSavingsWithdrawFromQueryOptions, getSchedulesInfiniteQueryOptions, getSchedulesQueryOptions, getSearchAccountQueryOptions, getSearchAccountsByUsernameQueryOptions, getSearchApiInfiniteQueryOptions, getSearchFriendsQueryOptions, getSearchPathQueryOptions, getSearchTopicsQueryOptions, getSimilarEntriesQueryOptions, getSpkMarkets, getSpkWallet, getStatsQueryOptions, getSubscribers, getSubscriptions, getTradeHistoryQueryOptions, getTransactionsInfiniteQueryOptions, getTrendingTagsQueryOptions, getTrendingTagsWithStatsQueryOptions, getUserPostVoteQueryOptions, getUserProposalVotesQueryOptions, getVestingDelegationsQueryOptions, getVisibleFirstLevelThreadItems, getWavesByHostQueryOptions, getWavesByTagQueryOptions, getWavesFollowingQueryOptions, getWavesTrendingTagsQueryOptions, getWithdrawRoutesQueryOptions, getWitnessesInfiniteQueryOptions, hsTokenRenew, isCommunity, isWrappedResponse, lookupAccountsQueryOptions, makeQueryClient, mapThreadItemsToWaveEntries, markNotifications, moveSchedule, normalizePost, normalizeToWrappedResponse, normalizeWaveEntryFromApi, onboardEmail, parseAccounts, parseAsset, parseProfileMetadata, powerRechargeTime, rcPower, resolvePost, roleMap, saveNotificationSetting, search, searchAccount, searchPath, searchQueryOptions, searchTag, signUp, sortDiscussions, subscribeEmail, toEntryArray, updateDraft, uploadImage, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddDraft, useAddFragment, useAddImage, useAddSchedule, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useDeleteDraft, useDeleteImage, useDeleteSchedule, useEditFragment, useGameClaim, useMarkNotificationsRead, useMoveSchedule, useRecordActivity, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain, useUpdateDraft, useUploadImage, usrActivity, validatePostCreating, votingPower, votingValue };
|
|
3631
|
+
export { ACCOUNT_OPERATION_GROUPS, ALL_ACCOUNT_OPERATIONS, ALL_NOTIFY_TYPES, type AccountBookmark, type AccountFavorite, type AccountFollowStats, type AccountNotification, type AccountProfile, type AccountRelationship, type AccountReputation, type AccountSearchResult, type Announcement, type ApiBookmarkNotification, type ApiDelegationsNotification, type ApiFavoriteNotification, type ApiFollowNotification, type ApiInactiveNotification, type ApiMentionNotification, type ApiNotification, type ApiNotificationSetting, type ApiReblogNotification, type ApiReferralNotification, type ApiReplyNotification, type ApiResponse, type ApiSpinNotification, type ApiTransferNotification, type ApiVoteNotification, type Asset, type AuthContext, type AuthorReward, type BlogEntry, type BoostPlusAccountPrice, type BuildProfileMetadataArgs, CONFIG, type CancelTransferFromSavings, type CantAfford, type CheckUsernameWalletsPendingResponse, type ClaimRewardBalance, type CollateralizedConversionRequest, type CollateralizedConvert, type CommentBenefactor, type CommentPayoutUpdate, type CommentReward, type Communities, type Community, type CommunityRole, type CommunityTeam, type CommunityType, ConfigManager, type ConversionRequest, type CurationDuration, type CurationItem, type CurationReward, type CurrencyRates, type DelegateVestingShares, type DelegatedVestingShare, type DeletedEntry, type Draft, type DraftMetadata, type DraftsWrappedResponse, type DynamicProps, index as EcencyAnalytics, EcencyQueriesManager, type EffectiveCommentVote, type Entry$1 as Entry, type EntryBeneficiaryRoute, type EntryHeader, type EntryStat, type EntryVote, type FeedHistoryItem, type FillCollateralizedConvertRequest, type FillConvertRequest, type FillOrder, type FillRecurrentTransfers, type FillVestingWithdraw, type Follow, type Fragment, type FriendSearchResult, type FriendsPageParam, type FriendsRow, type FullAccount, type GameClaim, type GetGameStatus, type GetRecoveriesEmailResponse, type HiveEngineOpenOrder, type HiveHbdStats, HiveSignerIntegration, type HsTokenRenewResponse, type IncomingRcDelegation, type IncomingRcResponse, type Interest, type JsonMetadata, type JsonPollMetadata, type Keys, type LeaderBoardDuration, type LeaderBoardItem, type LimitOrderCancel, type LimitOrderCreate, type MarketCandlestickDataItem, type MarketData, type MarketStatistics, type MedianHistoryPrice, NaiMap, NotificationFilter, NotificationViewType, type Notifications, NotifyTypes, type OpenOrdersData, type OperationGroup, type OrdersData, type OrdersDataItem, type PageStatsResponse, type PaginationMeta, type Payer, type PointTransaction, type Points, type PortfolioResponse, type PortfolioWalletItem, type PostTip, type PostTipsResponse, type ProducerReward, type Profile, type ProfileTokens, type PromotePrice, type Proposal, type ProposalPay, type ProposalVote, type ProposalVoteRow, ROLES, type RcDirectDelegation, type RcDirectDelegationsResponse, type RcStats, type Reblog, type ReceivedVestingShare, type RecordActivityOptions, type Recoveries, type RecurrentTransfer, type RecurrentTransfers, type ReferralItem, type ReferralItems, type ReferralStat, type ReturnVestingDelegation, type RewardFund, type RewardedCommunity, type SavingsWithdrawRequest, type Schedule, type SearchResponse, type SearchResult, type SetWithdrawRoute, SortOrder, type StatsResponse, type Subscription, Symbol, type TagSearchResult, type ThreadItemEntry, ThreeSpeakIntegration, type ThreeSpeakVideo, type Transaction, type Transfer, type TransferToSavings, type TransferToVesting, type TrendingTag, type UpdateProposalVotes, type UserImage, type ValidatePostCreatingOptions, type Vote, type VoteHistoryPage, type VoteHistoryPageParam, type VoteProxy, type WalletMetadataCandidate, type WaveEntry, type WaveTrendingTag, type WithdrawRoute, type WithdrawVesting, type Witness, type WrappedResponse, type WsBookmarkNotification, type WsDelegationsNotification, type WsFavoriteNotification, type WsFollowNotification, type WsInactiveNotification, type WsMentionNotification, type WsNotification, type WsReblogNotification, type WsReferralNotification, type WsReplyNotification, type WsSpinNotification, type WsTransferNotification, type WsVoteNotification, addDraft, addImage, addSchedule, bridgeApiCall, broadcastJson, buildProfileMetadata, checkFavouriteQueryOptions, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, deleteDraft, deleteImage, deleteSchedule, downVotingPower, encodeObj, extractAccountProfile, getAccountFullQueryOptions, getAccountNotificationsInfiniteQueryOptions, getAccountPendingRecoveryQueryOptions, getAccountPosts, getAccountPostsInfiniteQueryOptions, getAccountPostsQueryOptions, getAccountRcQueryOptions, getAccountRecoveriesQueryOptions, getAccountReputationsQueryOptions, getAccountSubscriptionsQueryOptions, getAccountVoteHistoryInfiniteQueryOptions, getAccountsQueryOptions, getAnnouncementsQueryOptions, getBookmarksInfiniteQueryOptions, getBookmarksQueryOptions, getBoostPlusAccountPricesQueryOptions, getBoostPlusPricesQueryOptions, getBotsQueryOptions, getBoundFetch, getChainPropertiesQueryOptions, getCollateralizedConversionRequestsQueryOptions, getCommentHistoryQueryOptions, getCommunities, getCommunitiesQueryOptions, getCommunity, getCommunityContextQueryOptions, getCommunityPermissions, getCommunityQueryOptions, getCommunitySubscribersQueryOptions, getCommunityType, getContentQueryOptions, getContentRepliesQueryOptions, getControversialRisingInfiniteQueryOptions, getConversionRequestsQueryOptions, getCurrencyRate, getCurrencyRates, getCurrencyTokenRate, getCurrentMedianHistoryPriceQueryOptions, getDeletedEntryQueryOptions, getDiscoverCurationQueryOptions, getDiscoverLeaderboardQueryOptions, getDiscussion, getDiscussionQueryOptions, getDiscussionsQueryOptions, getDraftsInfiniteQueryOptions, getDraftsQueryOptions, getDynamicPropsQueryOptions, getEntryActiveVotesQueryOptions, getFavouritesInfiniteQueryOptions, getFavouritesQueryOptions, getFeedHistoryQueryOptions, getFollowCountQueryOptions, getFollowersQueryOptions, getFollowingQueryOptions, getFragmentsInfiniteQueryOptions, getFragmentsQueryOptions, getFriendsInfiniteQueryOptions, getGalleryImagesQueryOptions, getGameStatusCheckQueryOptions, getHiveEngineMetrics, getHiveEngineOpenOrders, getHiveEngineOrderBook, getHiveEngineTokenMetrics, getHiveEngineTokenTransactions, getHiveEngineTokensBalances, getHiveEngineTokensMarket, getHiveEngineTokensMetadata, getHiveEngineTradeHistory, getHiveEngineUnclaimedRewards, getHiveHbdStatsQueryOptions, getHivePoshLinksQueryOptions, getHivePrice, getImagesInfiniteQueryOptions, getImagesQueryOptions, getIncomingRcQueryOptions, getMarketData, getMarketDataQueryOptions, getMarketHistoryQueryOptions, getMarketStatisticsQueryOptions, getMutedUsersQueryOptions, getNormalizePostQueryOptions, getNotificationSetting, getNotifications, getNotificationsInfiniteQueryOptions, getNotificationsSettingsQueryOptions, getNotificationsUnreadCountQueryOptions, getOpenOrdersQueryOptions, getOrderBookQueryOptions, getOutgoingRcDelegationsInfiniteQueryOptions, getPageStatsQueryOptions, getPointsQueryOptions, getPortfolioQueryOptions, getPost, getPostHeader, getPostHeaderQueryOptions, getPostQueryOptions, getPostTipsQueryOptions, getPostsRanked, getPostsRankedInfiniteQueryOptions, getPostsRankedQueryOptions, getProfiles, getProfilesQueryOptions, getPromotePriceQueryOptions, getPromotedPost, getPromotedPostsQuery, getProposalQueryOptions, getProposalVotesInfiniteQueryOptions, getProposalsQueryOptions, getQueryClient, getRcStatsQueryOptions, getRebloggedByQueryOptions, getReblogsQueryOptions, getReceivedVestingSharesQueryOptions, getRecurrentTransfersQueryOptions, getReferralsInfiniteQueryOptions, getReferralsStatsQueryOptions, getRelationshipBetweenAccounts, getRelationshipBetweenAccountsQueryOptions, getRewardFundQueryOptions, getRewardedCommunitiesQueryOptions, getSavingsWithdrawFromQueryOptions, getSchedulesInfiniteQueryOptions, getSchedulesQueryOptions, getSearchAccountQueryOptions, getSearchAccountsByUsernameQueryOptions, getSearchApiInfiniteQueryOptions, getSearchFriendsQueryOptions, getSearchPathQueryOptions, getSearchTopicsQueryOptions, getSimilarEntriesQueryOptions, getSpkMarkets, getSpkWallet, getStatsQueryOptions, getSubscribers, getSubscriptions, getTradeHistoryQueryOptions, getTransactionsInfiniteQueryOptions, getTrendingTagsQueryOptions, getTrendingTagsWithStatsQueryOptions, getUserPostVoteQueryOptions, getUserProposalVotesQueryOptions, getVestingDelegationsQueryOptions, getVisibleFirstLevelThreadItems, getWavesByHostQueryOptions, getWavesByTagQueryOptions, getWavesFollowingQueryOptions, getWavesTrendingTagsQueryOptions, getWithdrawRoutesQueryOptions, getWitnessesInfiniteQueryOptions, hsTokenRenew, isCommunity, isWrappedResponse, lookupAccountsQueryOptions, makeQueryClient, mapThreadItemsToWaveEntries, markNotifications, moveSchedule, normalizePost, normalizeToWrappedResponse, normalizeWaveEntryFromApi, onboardEmail, parseAccounts, parseAsset, parseProfileMetadata, powerRechargeTime, rcPower, resolvePost, roleMap, saveNotificationSetting, search, searchAccount, searchPath, searchQueryOptions, searchTag, signUp, sortDiscussions, subscribeEmail, toEntryArray, updateDraft, uploadImage, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddDraft, useAddFragment, useAddImage, useAddSchedule, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useDeleteDraft, useDeleteImage, useDeleteSchedule, useEditFragment, useGameClaim, useMarkNotificationsRead, useMoveSchedule, useRecordActivity, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain, useUpdateDraft, useUploadImage, usrActivity, validatePostCreating, votingPower, votingValue };
|
package/dist/browser/index.js
CHANGED
|
@@ -422,41 +422,30 @@ function getDynamicPropsQueryOptions() {
|
|
|
422
422
|
staleTime: 6e4,
|
|
423
423
|
refetchOnMount: true,
|
|
424
424
|
queryFn: async () => {
|
|
425
|
-
const
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
const
|
|
436
|
-
|
|
437
|
-
);
|
|
438
|
-
const
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
const
|
|
443
|
-
const
|
|
444
|
-
const
|
|
445
|
-
const
|
|
446
|
-
const
|
|
447
|
-
const hbdPrintRate = globalDynamic.hbd_print_rate;
|
|
448
|
-
const hbdInterestRate = globalDynamic.hbd_interest_rate;
|
|
449
|
-
const headBlock = globalDynamic.head_block_number;
|
|
450
|
-
const totalVestingFund = parseAsset(
|
|
451
|
-
globalDynamic.total_vesting_fund_hive
|
|
452
|
-
).amount;
|
|
453
|
-
const totalVestingShares = parseAsset(
|
|
454
|
-
globalDynamic.total_vesting_shares
|
|
455
|
-
).amount;
|
|
456
|
-
const virtualSupply = parseAsset(globalDynamic.virtual_supply).amount;
|
|
457
|
-
const vestingRewardPercent = globalDynamic.vesting_reward_percent;
|
|
458
|
-
const accountCreationFee = chainProps.account_creation_fee;
|
|
425
|
+
const rawGlobalDynamic = await CONFIG.hiveClient.database.getDynamicGlobalProperties();
|
|
426
|
+
const rawFeedHistory = await CONFIG.hiveClient.database.call("get_feed_history");
|
|
427
|
+
const rawChainProps = await CONFIG.hiveClient.database.call("get_chain_properties");
|
|
428
|
+
const rawRewardFund = await CONFIG.hiveClient.database.call("get_reward_fund", ["post"]);
|
|
429
|
+
const totalVestingSharesAmount = parseAsset(rawGlobalDynamic.total_vesting_shares).amount;
|
|
430
|
+
const totalVestingFundAmount = parseAsset(rawGlobalDynamic.total_vesting_fund_hive).amount;
|
|
431
|
+
let hivePerMVests = 0;
|
|
432
|
+
if (Number.isFinite(totalVestingSharesAmount) && totalVestingSharesAmount !== 0 && Number.isFinite(totalVestingFundAmount)) {
|
|
433
|
+
hivePerMVests = totalVestingFundAmount / totalVestingSharesAmount * 1e6;
|
|
434
|
+
}
|
|
435
|
+
const base = parseAsset(rawFeedHistory.current_median_history.base).amount;
|
|
436
|
+
const quote = parseAsset(rawFeedHistory.current_median_history.quote).amount;
|
|
437
|
+
const fundRecentClaims = parseFloat(rawRewardFund.recent_claims);
|
|
438
|
+
const fundRewardBalance = parseAsset(rawRewardFund.reward_balance).amount;
|
|
439
|
+
const hbdPrintRate = rawGlobalDynamic.hbd_print_rate;
|
|
440
|
+
const hbdInterestRate = rawGlobalDynamic.hbd_interest_rate;
|
|
441
|
+
const headBlock = rawGlobalDynamic.head_block_number;
|
|
442
|
+
const totalVestingFund = totalVestingFundAmount;
|
|
443
|
+
const totalVestingShares = totalVestingSharesAmount;
|
|
444
|
+
const virtualSupply = parseAsset(rawGlobalDynamic.virtual_supply).amount;
|
|
445
|
+
const vestingRewardPercent = rawGlobalDynamic.vesting_reward_percent || 0;
|
|
446
|
+
const accountCreationFee = rawChainProps.account_creation_fee;
|
|
459
447
|
return {
|
|
448
|
+
// Backward compatible transformed fields (camelCase, parsed)
|
|
460
449
|
hivePerMVests,
|
|
461
450
|
base,
|
|
462
451
|
quote,
|
|
@@ -469,11 +458,27 @@ function getDynamicPropsQueryOptions() {
|
|
|
469
458
|
totalVestingShares,
|
|
470
459
|
virtualSupply,
|
|
471
460
|
vestingRewardPercent,
|
|
472
|
-
accountCreationFee
|
|
461
|
+
accountCreationFee,
|
|
462
|
+
// Raw blockchain data (snake_case, unparsed) for direct use
|
|
463
|
+
// Includes ALL fields from the blockchain responses
|
|
464
|
+
raw: {
|
|
465
|
+
globalDynamic: rawGlobalDynamic,
|
|
466
|
+
feedHistory: rawFeedHistory,
|
|
467
|
+
chainProps: rawChainProps,
|
|
468
|
+
rewardFund: rawRewardFund
|
|
469
|
+
}
|
|
473
470
|
};
|
|
474
471
|
}
|
|
475
472
|
});
|
|
476
473
|
}
|
|
474
|
+
function getRewardFundQueryOptions(fundName = "post") {
|
|
475
|
+
return queryOptions({
|
|
476
|
+
queryKey: ["core", "reward-fund", fundName],
|
|
477
|
+
queryFn: () => CONFIG.hiveClient.database.call("get_reward_fund", [
|
|
478
|
+
fundName
|
|
479
|
+
])
|
|
480
|
+
});
|
|
481
|
+
}
|
|
477
482
|
function getAccountFullQueryOptions(username) {
|
|
478
483
|
return queryOptions({
|
|
479
484
|
queryKey: ["get-account-full", username],
|
|
@@ -1009,6 +1014,46 @@ function getFavouritesInfiniteQueryOptions(activeUsername, code, limit = 10) {
|
|
|
1009
1014
|
enabled: !!activeUsername && !!code
|
|
1010
1015
|
});
|
|
1011
1016
|
}
|
|
1017
|
+
function checkFavouriteQueryOptions(activeUsername, code, targetUsername) {
|
|
1018
|
+
return queryOptions({
|
|
1019
|
+
queryKey: ["accounts", "favourites", "check", activeUsername, targetUsername],
|
|
1020
|
+
enabled: !!activeUsername && !!code && !!targetUsername,
|
|
1021
|
+
queryFn: async () => {
|
|
1022
|
+
if (!activeUsername || !code) {
|
|
1023
|
+
throw new Error("[SDK][Accounts][Favourites] \u2013 missing auth");
|
|
1024
|
+
}
|
|
1025
|
+
if (!targetUsername) {
|
|
1026
|
+
throw new Error("[SDK][Accounts][Favourites] \u2013 no target username");
|
|
1027
|
+
}
|
|
1028
|
+
const fetchApi = getBoundFetch();
|
|
1029
|
+
const response = await fetchApi(
|
|
1030
|
+
CONFIG.privateApiHost + "/private-api/favorites-check",
|
|
1031
|
+
{
|
|
1032
|
+
method: "POST",
|
|
1033
|
+
headers: {
|
|
1034
|
+
"Content-Type": "application/json"
|
|
1035
|
+
},
|
|
1036
|
+
body: JSON.stringify({
|
|
1037
|
+
code,
|
|
1038
|
+
account: targetUsername
|
|
1039
|
+
})
|
|
1040
|
+
}
|
|
1041
|
+
);
|
|
1042
|
+
if (!response.ok) {
|
|
1043
|
+
throw new Error(
|
|
1044
|
+
`[SDK][Accounts][Favourites] \u2013 favorites-check failed with status ${response.status}: ${response.statusText}`
|
|
1045
|
+
);
|
|
1046
|
+
}
|
|
1047
|
+
const result = await response.json();
|
|
1048
|
+
if (typeof result !== "boolean") {
|
|
1049
|
+
throw new Error(
|
|
1050
|
+
`[SDK][Accounts][Favourites] \u2013 favorites-check returned invalid type: expected boolean, got ${typeof result}`
|
|
1051
|
+
);
|
|
1052
|
+
}
|
|
1053
|
+
return result;
|
|
1054
|
+
}
|
|
1055
|
+
});
|
|
1056
|
+
}
|
|
1012
1057
|
function getAccountRecoveriesQueryOptions(username, code) {
|
|
1013
1058
|
return queryOptions({
|
|
1014
1059
|
enabled: !!username && !!code,
|
|
@@ -2000,6 +2045,23 @@ function getReblogsQueryOptions(username, activeUsername, limit = 200) {
|
|
|
2000
2045
|
enabled: !!username
|
|
2001
2046
|
});
|
|
2002
2047
|
}
|
|
2048
|
+
function getRebloggedByQueryOptions(author, permlink) {
|
|
2049
|
+
return queryOptions({
|
|
2050
|
+
queryKey: ["posts", "reblogged-by", author ?? "", permlink ?? ""],
|
|
2051
|
+
queryFn: async () => {
|
|
2052
|
+
if (!author || !permlink) {
|
|
2053
|
+
return [];
|
|
2054
|
+
}
|
|
2055
|
+
const response = await CONFIG.hiveClient.call(
|
|
2056
|
+
"condenser_api",
|
|
2057
|
+
"get_reblogged_by",
|
|
2058
|
+
[author, permlink]
|
|
2059
|
+
);
|
|
2060
|
+
return Array.isArray(response) ? response : [];
|
|
2061
|
+
},
|
|
2062
|
+
enabled: !!author && !!permlink
|
|
2063
|
+
});
|
|
2064
|
+
}
|
|
2003
2065
|
function getSchedulesQueryOptions(activeUsername, code) {
|
|
2004
2066
|
return queryOptions({
|
|
2005
2067
|
queryKey: ["posts", "schedules", activeUsername],
|
|
@@ -2353,8 +2415,8 @@ function toEntryArray(x) {
|
|
|
2353
2415
|
return Array.isArray(x) ? x : [];
|
|
2354
2416
|
}
|
|
2355
2417
|
async function getVisibleFirstLevelThreadItems(container) {
|
|
2356
|
-
const
|
|
2357
|
-
const discussionItemsRaw = await CONFIG.queryClient.fetchQuery(
|
|
2418
|
+
const queryOptions94 = getDiscussionsQueryOptions(container, "created" /* created */, true);
|
|
2419
|
+
const discussionItemsRaw = await CONFIG.queryClient.fetchQuery(queryOptions94);
|
|
2358
2420
|
const discussionItems = toEntryArray(discussionItemsRaw);
|
|
2359
2421
|
if (discussionItems.length <= 1) {
|
|
2360
2422
|
return [];
|
|
@@ -5185,6 +5247,34 @@ function getTradeHistoryQueryOptions(limit = 1e3, startDate, endDate) {
|
|
|
5185
5247
|
])
|
|
5186
5248
|
});
|
|
5187
5249
|
}
|
|
5250
|
+
function getFeedHistoryQueryOptions() {
|
|
5251
|
+
return queryOptions({
|
|
5252
|
+
queryKey: ["market", "feed-history"],
|
|
5253
|
+
queryFn: async () => {
|
|
5254
|
+
try {
|
|
5255
|
+
const feedHistory = await CONFIG.hiveClient.database.call("get_feed_history");
|
|
5256
|
+
return feedHistory;
|
|
5257
|
+
} catch (error) {
|
|
5258
|
+
throw error;
|
|
5259
|
+
}
|
|
5260
|
+
}
|
|
5261
|
+
});
|
|
5262
|
+
}
|
|
5263
|
+
function getCurrentMedianHistoryPriceQueryOptions() {
|
|
5264
|
+
return queryOptions({
|
|
5265
|
+
queryKey: ["market", "current-median-history-price"],
|
|
5266
|
+
queryFn: async () => {
|
|
5267
|
+
try {
|
|
5268
|
+
const price = await CONFIG.hiveClient.database.call(
|
|
5269
|
+
"get_current_median_history_price"
|
|
5270
|
+
);
|
|
5271
|
+
return price;
|
|
5272
|
+
} catch (error) {
|
|
5273
|
+
throw error;
|
|
5274
|
+
}
|
|
5275
|
+
}
|
|
5276
|
+
});
|
|
5277
|
+
}
|
|
5188
5278
|
|
|
5189
5279
|
// src/modules/market/requests.ts
|
|
5190
5280
|
async function parseJsonResponse2(response) {
|
|
@@ -5956,6 +6046,6 @@ async function getSpkMarkets() {
|
|
|
5956
6046
|
return await response.json();
|
|
5957
6047
|
}
|
|
5958
6048
|
|
|
5959
|
-
export { ACCOUNT_OPERATION_GROUPS, ALL_ACCOUNT_OPERATIONS, ALL_NOTIFY_TYPES, CONFIG, ConfigManager, mutations_exports as EcencyAnalytics, EcencyQueriesManager, HiveSignerIntegration, NaiMap, NotificationFilter, NotificationViewType, NotifyTypes, ROLES, SortOrder, Symbol2 as Symbol, ThreeSpeakIntegration, addDraft, addImage, addSchedule, bridgeApiCall, broadcastJson, buildProfileMetadata, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, deleteDraft, deleteImage, deleteSchedule, downVotingPower, encodeObj, extractAccountProfile, getAccountFullQueryOptions, getAccountNotificationsInfiniteQueryOptions, getAccountPendingRecoveryQueryOptions, getAccountPosts, getAccountPostsInfiniteQueryOptions, getAccountPostsQueryOptions, getAccountRcQueryOptions, getAccountRecoveriesQueryOptions, getAccountReputationsQueryOptions, getAccountSubscriptionsQueryOptions, getAccountVoteHistoryInfiniteQueryOptions, getAccountsQueryOptions, getAnnouncementsQueryOptions, getBookmarksInfiniteQueryOptions, getBookmarksQueryOptions, getBoostPlusAccountPricesQueryOptions, getBoostPlusPricesQueryOptions, getBotsQueryOptions, getBoundFetch, getChainPropertiesQueryOptions, getCollateralizedConversionRequestsQueryOptions, getCommentHistoryQueryOptions, getCommunities, getCommunitiesQueryOptions, getCommunity, getCommunityContextQueryOptions, getCommunityPermissions, getCommunityQueryOptions, getCommunitySubscribersQueryOptions, getCommunityType, getContentQueryOptions, getContentRepliesQueryOptions, getControversialRisingInfiniteQueryOptions, getConversionRequestsQueryOptions, getCurrencyRate, getCurrencyRates, getCurrencyTokenRate, getDeletedEntryQueryOptions, getDiscoverCurationQueryOptions, getDiscoverLeaderboardQueryOptions, getDiscussion, getDiscussionQueryOptions, getDiscussionsQueryOptions, getDraftsInfiniteQueryOptions, getDraftsQueryOptions, getDynamicPropsQueryOptions, getEntryActiveVotesQueryOptions, getFavouritesInfiniteQueryOptions, getFavouritesQueryOptions, getFollowCountQueryOptions, getFollowersQueryOptions, getFollowingQueryOptions, getFragmentsInfiniteQueryOptions, getFragmentsQueryOptions, getFriendsInfiniteQueryOptions, getGalleryImagesQueryOptions, getGameStatusCheckQueryOptions, getHiveEngineMetrics, getHiveEngineOpenOrders, getHiveEngineOrderBook, getHiveEngineTokenMetrics, getHiveEngineTokenTransactions, getHiveEngineTokensBalances, getHiveEngineTokensMarket, getHiveEngineTokensMetadata, getHiveEngineTradeHistory, getHiveEngineUnclaimedRewards, getHiveHbdStatsQueryOptions, getHivePoshLinksQueryOptions, getHivePrice, getImagesInfiniteQueryOptions, getImagesQueryOptions, getIncomingRcQueryOptions, getMarketData, getMarketDataQueryOptions, getMarketHistoryQueryOptions, getMarketStatisticsQueryOptions, getMutedUsersQueryOptions, getNormalizePostQueryOptions, getNotificationSetting, getNotifications, getNotificationsInfiniteQueryOptions, getNotificationsSettingsQueryOptions, getNotificationsUnreadCountQueryOptions, getOpenOrdersQueryOptions, getOrderBookQueryOptions, getOutgoingRcDelegationsInfiniteQueryOptions, getPageStatsQueryOptions, getPointsQueryOptions, getPortfolioQueryOptions, getPost, getPostHeader, getPostHeaderQueryOptions, getPostQueryOptions, getPostTipsQueryOptions, getPostsRanked, getPostsRankedInfiniteQueryOptions, getPostsRankedQueryOptions, getProfiles, getProfilesQueryOptions, getPromotePriceQueryOptions, getPromotedPost, getPromotedPostsQuery, getProposalQueryOptions, getProposalVotesInfiniteQueryOptions, getProposalsQueryOptions, getQueryClient, getRcStatsQueryOptions, getReblogsQueryOptions, getReceivedVestingSharesQueryOptions, getRecurrentTransfersQueryOptions, getReferralsInfiniteQueryOptions, getReferralsStatsQueryOptions, getRelationshipBetweenAccounts, getRelationshipBetweenAccountsQueryOptions, getRewardedCommunitiesQueryOptions, getSavingsWithdrawFromQueryOptions, getSchedulesInfiniteQueryOptions, getSchedulesQueryOptions, getSearchAccountQueryOptions, getSearchAccountsByUsernameQueryOptions, getSearchApiInfiniteQueryOptions, getSearchFriendsQueryOptions, getSearchPathQueryOptions, getSearchTopicsQueryOptions, getSimilarEntriesQueryOptions, getSpkMarkets, getSpkWallet, getStatsQueryOptions, getSubscribers, getSubscriptions, getTradeHistoryQueryOptions, getTransactionsInfiniteQueryOptions, getTrendingTagsQueryOptions, getTrendingTagsWithStatsQueryOptions, getUserPostVoteQueryOptions, getUserProposalVotesQueryOptions, getVestingDelegationsQueryOptions, getVisibleFirstLevelThreadItems, getWavesByHostQueryOptions, getWavesByTagQueryOptions, getWavesFollowingQueryOptions, getWavesTrendingTagsQueryOptions, getWithdrawRoutesQueryOptions, getWitnessesInfiniteQueryOptions, hsTokenRenew, isCommunity, isWrappedResponse, lookupAccountsQueryOptions, makeQueryClient, mapThreadItemsToWaveEntries, markNotifications, moveSchedule, normalizePost, normalizeToWrappedResponse, normalizeWaveEntryFromApi, onboardEmail, parseAccounts, parseAsset, parseProfileMetadata, powerRechargeTime, rcPower, resolvePost, roleMap, saveNotificationSetting, search, searchAccount, searchPath, searchQueryOptions, searchTag, signUp, sortDiscussions, subscribeEmail, toEntryArray, updateDraft, uploadImage, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddDraft, useAddFragment, useAddImage, useAddSchedule, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useDeleteDraft, useDeleteImage, useDeleteSchedule, useEditFragment, useGameClaim, useMarkNotificationsRead, useMoveSchedule, useRecordActivity, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain, useUpdateDraft, useUploadImage, usrActivity, validatePostCreating, votingPower, votingValue };
|
|
6049
|
+
export { ACCOUNT_OPERATION_GROUPS, ALL_ACCOUNT_OPERATIONS, ALL_NOTIFY_TYPES, CONFIG, ConfigManager, mutations_exports as EcencyAnalytics, EcencyQueriesManager, HiveSignerIntegration, NaiMap, NotificationFilter, NotificationViewType, NotifyTypes, ROLES, SortOrder, Symbol2 as Symbol, ThreeSpeakIntegration, addDraft, addImage, addSchedule, bridgeApiCall, broadcastJson, buildProfileMetadata, checkFavouriteQueryOptions, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, deleteDraft, deleteImage, deleteSchedule, downVotingPower, encodeObj, extractAccountProfile, getAccountFullQueryOptions, getAccountNotificationsInfiniteQueryOptions, getAccountPendingRecoveryQueryOptions, getAccountPosts, getAccountPostsInfiniteQueryOptions, getAccountPostsQueryOptions, getAccountRcQueryOptions, getAccountRecoveriesQueryOptions, getAccountReputationsQueryOptions, getAccountSubscriptionsQueryOptions, getAccountVoteHistoryInfiniteQueryOptions, getAccountsQueryOptions, getAnnouncementsQueryOptions, getBookmarksInfiniteQueryOptions, getBookmarksQueryOptions, getBoostPlusAccountPricesQueryOptions, getBoostPlusPricesQueryOptions, getBotsQueryOptions, getBoundFetch, getChainPropertiesQueryOptions, getCollateralizedConversionRequestsQueryOptions, getCommentHistoryQueryOptions, getCommunities, getCommunitiesQueryOptions, getCommunity, getCommunityContextQueryOptions, getCommunityPermissions, getCommunityQueryOptions, getCommunitySubscribersQueryOptions, getCommunityType, getContentQueryOptions, getContentRepliesQueryOptions, getControversialRisingInfiniteQueryOptions, getConversionRequestsQueryOptions, getCurrencyRate, getCurrencyRates, getCurrencyTokenRate, getCurrentMedianHistoryPriceQueryOptions, getDeletedEntryQueryOptions, getDiscoverCurationQueryOptions, getDiscoverLeaderboardQueryOptions, getDiscussion, getDiscussionQueryOptions, getDiscussionsQueryOptions, getDraftsInfiniteQueryOptions, getDraftsQueryOptions, getDynamicPropsQueryOptions, getEntryActiveVotesQueryOptions, getFavouritesInfiniteQueryOptions, getFavouritesQueryOptions, getFeedHistoryQueryOptions, getFollowCountQueryOptions, getFollowersQueryOptions, getFollowingQueryOptions, getFragmentsInfiniteQueryOptions, getFragmentsQueryOptions, getFriendsInfiniteQueryOptions, getGalleryImagesQueryOptions, getGameStatusCheckQueryOptions, getHiveEngineMetrics, getHiveEngineOpenOrders, getHiveEngineOrderBook, getHiveEngineTokenMetrics, getHiveEngineTokenTransactions, getHiveEngineTokensBalances, getHiveEngineTokensMarket, getHiveEngineTokensMetadata, getHiveEngineTradeHistory, getHiveEngineUnclaimedRewards, getHiveHbdStatsQueryOptions, getHivePoshLinksQueryOptions, getHivePrice, getImagesInfiniteQueryOptions, getImagesQueryOptions, getIncomingRcQueryOptions, getMarketData, getMarketDataQueryOptions, getMarketHistoryQueryOptions, getMarketStatisticsQueryOptions, getMutedUsersQueryOptions, getNormalizePostQueryOptions, getNotificationSetting, getNotifications, getNotificationsInfiniteQueryOptions, getNotificationsSettingsQueryOptions, getNotificationsUnreadCountQueryOptions, getOpenOrdersQueryOptions, getOrderBookQueryOptions, getOutgoingRcDelegationsInfiniteQueryOptions, getPageStatsQueryOptions, getPointsQueryOptions, getPortfolioQueryOptions, getPost, getPostHeader, getPostHeaderQueryOptions, getPostQueryOptions, getPostTipsQueryOptions, getPostsRanked, getPostsRankedInfiniteQueryOptions, getPostsRankedQueryOptions, getProfiles, getProfilesQueryOptions, getPromotePriceQueryOptions, getPromotedPost, getPromotedPostsQuery, getProposalQueryOptions, getProposalVotesInfiniteQueryOptions, getProposalsQueryOptions, getQueryClient, getRcStatsQueryOptions, getRebloggedByQueryOptions, getReblogsQueryOptions, getReceivedVestingSharesQueryOptions, getRecurrentTransfersQueryOptions, getReferralsInfiniteQueryOptions, getReferralsStatsQueryOptions, getRelationshipBetweenAccounts, getRelationshipBetweenAccountsQueryOptions, getRewardFundQueryOptions, getRewardedCommunitiesQueryOptions, getSavingsWithdrawFromQueryOptions, getSchedulesInfiniteQueryOptions, getSchedulesQueryOptions, getSearchAccountQueryOptions, getSearchAccountsByUsernameQueryOptions, getSearchApiInfiniteQueryOptions, getSearchFriendsQueryOptions, getSearchPathQueryOptions, getSearchTopicsQueryOptions, getSimilarEntriesQueryOptions, getSpkMarkets, getSpkWallet, getStatsQueryOptions, getSubscribers, getSubscriptions, getTradeHistoryQueryOptions, getTransactionsInfiniteQueryOptions, getTrendingTagsQueryOptions, getTrendingTagsWithStatsQueryOptions, getUserPostVoteQueryOptions, getUserProposalVotesQueryOptions, getVestingDelegationsQueryOptions, getVisibleFirstLevelThreadItems, getWavesByHostQueryOptions, getWavesByTagQueryOptions, getWavesFollowingQueryOptions, getWavesTrendingTagsQueryOptions, getWithdrawRoutesQueryOptions, getWitnessesInfiniteQueryOptions, hsTokenRenew, isCommunity, isWrappedResponse, lookupAccountsQueryOptions, makeQueryClient, mapThreadItemsToWaveEntries, markNotifications, moveSchedule, normalizePost, normalizeToWrappedResponse, normalizeWaveEntryFromApi, onboardEmail, parseAccounts, parseAsset, parseProfileMetadata, powerRechargeTime, rcPower, resolvePost, roleMap, saveNotificationSetting, search, searchAccount, searchPath, searchQueryOptions, searchTag, signUp, sortDiscussions, subscribeEmail, toEntryArray, updateDraft, uploadImage, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddDraft, useAddFragment, useAddImage, useAddSchedule, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useDeleteDraft, useDeleteImage, useDeleteSchedule, useEditFragment, useGameClaim, useMarkNotificationsRead, useMoveSchedule, useRecordActivity, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain, useUpdateDraft, useUploadImage, usrActivity, validatePostCreating, votingPower, votingValue };
|
|
5960
6050
|
//# sourceMappingURL=index.js.map
|
|
5961
6051
|
//# sourceMappingURL=index.js.map
|