@ecency/sdk 1.5.28 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -91,6 +91,34 @@ interface PlatformAdapter {
91
91
  * - Required for transfer, power down, and other active authority operations
92
92
  */
93
93
  getActiveKey?: (username: string) => Promise<string | null | undefined>;
94
+ /**
95
+ * Retrieve owner key from secure storage (for account recovery and password changes).
96
+ *
97
+ * @param username - The username to get key for
98
+ * @returns Owner key (WIF format), null if Keychain/HiveAuth, undefined if not found
99
+ *
100
+ * @remarks
101
+ * - Returns null for Keychain/HiveAuth users (use broadcastWithKeychain instead)
102
+ * - Mobile: Decrypts key using PIN (only available for master password logins)
103
+ * - Web: Retrieves from localStorage (only available for master password logins)
104
+ * - Required for account recovery, password changes, and key rotation
105
+ * - Most users won't have owner key stored - only master password logins
106
+ */
107
+ getOwnerKey?: (username: string) => Promise<string | null | undefined>;
108
+ /**
109
+ * Retrieve memo key from secure storage (for memo encryption/decryption).
110
+ *
111
+ * @param username - The username to get key for
112
+ * @returns Memo key (WIF format), null if Keychain/HiveAuth, undefined if not found
113
+ *
114
+ * @remarks
115
+ * - Returns null for Keychain/HiveAuth users
116
+ * - Mobile: Decrypts key using PIN
117
+ * - Web: Retrieves from localStorage
118
+ * - Used for encrypting/decrypting transfer memos
119
+ * - Rarely used for signing operations (mostly for encryption)
120
+ */
121
+ getMemoKey?: (username: string) => Promise<string | null | undefined>;
94
122
  /**
95
123
  * Retrieve HiveSigner access token from storage.
96
124
  *
@@ -105,6 +133,34 @@ interface PlatformAdapter {
105
133
  * @returns Login type ('key', 'hivesigner', 'keychain', 'hiveauth') or null
106
134
  */
107
135
  getLoginType: (username: string) => Promise<string | null | undefined>;
136
+ /**
137
+ * Check if user has granted ecency.app posting authority.
138
+ *
139
+ * @param username - The username to check
140
+ * @returns true if ecency.app is in posting.account_auths, false otherwise
141
+ *
142
+ * @remarks
143
+ * Used to determine if posting operations can use HiveSigner access token
144
+ * instead of requiring direct key signing or HiveAuth/Keychain.
145
+ *
146
+ * When posting authority is granted:
147
+ * - Master password users: Can use token for faster posting ops
148
+ * - Active key users: Can use token for posting ops (key for active ops)
149
+ * - HiveAuth users: Can use token for faster posting ops (optional optimization)
150
+ *
151
+ * @example
152
+ * ```typescript
153
+ * const hasAuth = await adapter.hasPostingAuthorization('alice');
154
+ * if (hasAuth) {
155
+ * // Use HiveSigner API with access token (faster)
156
+ * await broadcastWithToken(ops);
157
+ * } else {
158
+ * // Use direct key signing or show grant prompt
159
+ * await broadcastWithKey(ops);
160
+ * }
161
+ * ```
162
+ */
163
+ hasPostingAuthorization?: (username: string) => Promise<boolean>;
108
164
  /**
109
165
  * Display error message to user.
110
166
  *
@@ -136,6 +192,53 @@ interface PlatformAdapter {
136
192
  * Hide loading indicator (optional).
137
193
  */
138
194
  hideLoading?: () => void;
195
+ /**
196
+ * Show UI to prompt user to upgrade their auth method for an operation.
197
+ *
198
+ * @param requiredAuthority - The authority level needed ('posting' or 'active')
199
+ * @param operation - Description of the operation requiring upgrade
200
+ * @returns Promise that resolves to:
201
+ * - 'hiveauth' if user selected HiveAuth
202
+ * - 'hivesigner' if user selected HiveSigner
203
+ * - 'key' if user wants to enter key manually (temporary use)
204
+ * - false if user cancelled/declined
205
+ *
206
+ * @remarks
207
+ * Called when user's login method doesn't support the required operation:
208
+ * - Posting key user trying active operation → needs active key
209
+ * - No-key user trying any operation → needs auth method
210
+ *
211
+ * Platform should show modal/sheet offering:
212
+ * 1. Sign with HiveAuth (if available)
213
+ * 2. Sign with HiveSigner (if available)
214
+ * 3. Enter active/posting key manually (temporary use)
215
+ * 4. Cancel button
216
+ *
217
+ * Return the method user explicitly selected, allowing SDK to skip
218
+ * unavailable methods and provide better error messages.
219
+ *
220
+ * When 'key' is returned, platform should show a key entry modal,
221
+ * then call broadcastWithMethod('key', ...) with the entered key
222
+ * stored temporarily in the adapter.
223
+ *
224
+ * @example
225
+ * ```typescript
226
+ * // User logged in with posting key tries to transfer
227
+ * const method = await adapter.showAuthUpgradeUI('active', 'Transfer');
228
+ * if (method === 'hiveauth') {
229
+ * await broadcastWithHiveAuth(ops);
230
+ * } else if (method === 'hivesigner') {
231
+ * await broadcastWithHiveSigner(ops);
232
+ * } else if (method === 'key') {
233
+ * // Platform will show key entry modal and temporarily store the key
234
+ * await broadcastWithKey(ops);
235
+ * } else {
236
+ * // User cancelled
237
+ * throw new Error('Operation requires active authority');
238
+ * }
239
+ * ```
240
+ */
241
+ showAuthUpgradeUI?: (requiredAuthority: 'posting' | 'active', operation: string) => Promise<'hiveauth' | 'hivesigner' | 'key' | false>;
139
242
  /**
140
243
  * Broadcast operations using Keychain browser extension.
141
244
  *
@@ -195,6 +298,41 @@ interface PlatformAdapter {
195
298
  * - Example: [['posts', author, permlink], ['accountFull', username]]
196
299
  */
197
300
  invalidateQueries?: (keys: any[][]) => Promise<void>;
301
+ /**
302
+ * Grant ecency.app posting authority for the user (optional).
303
+ *
304
+ * @param username - The username to grant authority for
305
+ * @returns Promise that resolves when authority is granted
306
+ * @throws Error if grant fails or user doesn't have active key
307
+ *
308
+ * @remarks
309
+ * Adds 'ecency.app' to the user's posting.account_auths with appropriate weight.
310
+ * Requires active authority to broadcast the account_update operation.
311
+ *
312
+ * Called automatically during login for:
313
+ * - Master password logins (has active key)
314
+ * - Active key logins (has active key)
315
+ * - BIP44 seed logins (has active key)
316
+ *
317
+ * Can be called manually for HiveAuth users as an optimization.
318
+ *
319
+ * After granting, posting operations can use HiveSigner API with access token
320
+ * instead of requiring HiveAuth/Keychain each time (faster UX).
321
+ *
322
+ * @example
323
+ * ```typescript
324
+ * // Auto-grant on master password login
325
+ * if (authType === 'master' && !hasPostingAuth) {
326
+ * await adapter.grantPostingAuthority(username);
327
+ * }
328
+ *
329
+ * // Manual grant for HiveAuth optimization
330
+ * if (authType === 'hiveauth' && userWantsOptimization) {
331
+ * await adapter.grantPostingAuthority(username);
332
+ * }
333
+ * ```
334
+ */
335
+ grantPostingAuthority?: (username: string) => Promise<void>;
198
336
  }
199
337
  /**
200
338
  * Authentication method types supported by the SDK.
@@ -786,6 +924,84 @@ declare function useAccountRelationsUpdate(reference: string | undefined, target
786
924
  follows_blacklists?: boolean | undefined;
787
925
  }, Error, Kind, unknown>;
788
926
 
927
+ /**
928
+ * Payload for following an account.
929
+ */
930
+ interface FollowPayload {
931
+ /** Account to follow */
932
+ following: string;
933
+ }
934
+ /**
935
+ * React Query mutation hook for following an account.
936
+ *
937
+ * This mutation broadcasts a follow operation to the Hive blockchain,
938
+ * adding the target account to the follower's "blog" follow list.
939
+ *
940
+ * @param username - The username of the follower (required for broadcast)
941
+ * @param auth - Authentication context with platform adapter and fallback configuration
942
+ *
943
+ * @returns React Query mutation result
944
+ *
945
+ * @remarks
946
+ * **Post-Broadcast Actions:**
947
+ * - Invalidates relationship cache to show updated follow status
948
+ * - Invalidates account cache to refetch updated follower/following counts
949
+ *
950
+ * @example
951
+ * ```typescript
952
+ * const followMutation = useFollow(username, {
953
+ * adapter: myAdapter,
954
+ * enableFallback: true,
955
+ * fallbackChain: ['keychain', 'key', 'hivesigner']
956
+ * });
957
+ *
958
+ * // Follow an account
959
+ * followMutation.mutate({
960
+ * following: 'alice'
961
+ * });
962
+ * ```
963
+ */
964
+ declare function useFollow(username: string | undefined, auth?: AuthContextV2): _tanstack_react_query.UseMutationResult<unknown, Error, FollowPayload, unknown>;
965
+
966
+ /**
967
+ * Payload for unfollowing an account.
968
+ */
969
+ interface UnfollowPayload {
970
+ /** Account to unfollow */
971
+ following: string;
972
+ }
973
+ /**
974
+ * React Query mutation hook for unfollowing an account.
975
+ *
976
+ * This mutation broadcasts an unfollow operation to the Hive blockchain,
977
+ * removing the target account from the follower's follow list.
978
+ *
979
+ * @param username - The username of the follower (required for broadcast)
980
+ * @param auth - Authentication context with platform adapter and fallback configuration
981
+ *
982
+ * @returns React Query mutation result
983
+ *
984
+ * @remarks
985
+ * **Post-Broadcast Actions:**
986
+ * - Invalidates relationship cache to show updated follow status
987
+ * - Invalidates account cache to refetch updated follower/following counts
988
+ *
989
+ * @example
990
+ * ```typescript
991
+ * const unfollowMutation = useUnfollow(username, {
992
+ * adapter: myAdapter,
993
+ * enableFallback: true,
994
+ * fallbackChain: ['keychain', 'key', 'hivesigner']
995
+ * });
996
+ *
997
+ * // Unfollow an account
998
+ * unfollowMutation.mutate({
999
+ * following: 'alice'
1000
+ * });
1001
+ * ```
1002
+ */
1003
+ declare function useUnfollow(username: string | undefined, auth?: AuthContextV2): _tanstack_react_query.UseMutationResult<unknown, Error, UnfollowPayload, unknown>;
1004
+
789
1005
  interface Payload$3 {
790
1006
  author: string;
791
1007
  permlink: string;
@@ -1173,6 +1389,144 @@ declare function getAccountSubscriptionsQueryOptions(username: string | undefine
1173
1389
  };
1174
1390
  };
1175
1391
 
1392
+ /**
1393
+ * Authority levels for Hive blockchain operations.
1394
+ * - posting: Social operations (voting, commenting, reblogging)
1395
+ * - active: Financial and account management operations
1396
+ * - owner: Critical security operations (key changes, account recovery)
1397
+ * - memo: Memo encryption/decryption (rarely used for signing)
1398
+ */
1399
+ type AuthorityLevel = 'posting' | 'active' | 'owner' | 'memo';
1400
+ /**
1401
+ * Maps operation types to their required authority level.
1402
+ *
1403
+ * This mapping is used to determine which key is needed to sign a transaction,
1404
+ * enabling smart auth fallback and auth upgrade UI.
1405
+ *
1406
+ * @remarks
1407
+ * - Most social operations (vote, comment, reblog) require posting authority
1408
+ * - Financial operations (transfer, withdraw) require active authority
1409
+ * - Account management operations require active authority
1410
+ * - Security operations (password change, account recovery) require owner authority
1411
+ * - custom_json requires dynamic detection based on required_auths vs required_posting_auths
1412
+ */
1413
+ declare const OPERATION_AUTHORITY_MAP: Record<string, AuthorityLevel>;
1414
+ /**
1415
+ * Determines authority required for a custom_json operation.
1416
+ *
1417
+ * Custom JSON operations can require either posting or active authority
1418
+ * depending on which field is populated:
1419
+ * - required_auths (active authority)
1420
+ * - required_posting_auths (posting authority)
1421
+ *
1422
+ * @param customJsonOp - The custom_json operation to inspect
1423
+ * @returns 'active' if requires active authority, 'posting' if requires posting authority
1424
+ *
1425
+ * @example
1426
+ * ```typescript
1427
+ * // Reblog operation (posting authority)
1428
+ * const reblogOp: Operation = ['custom_json', {
1429
+ * required_auths: [],
1430
+ * required_posting_auths: ['alice'],
1431
+ * id: 'reblog',
1432
+ * json: '...'
1433
+ * }];
1434
+ * getCustomJsonAuthority(reblogOp); // Returns 'posting'
1435
+ *
1436
+ * // Some active authority custom_json
1437
+ * const activeOp: Operation = ['custom_json', {
1438
+ * required_auths: ['alice'],
1439
+ * required_posting_auths: [],
1440
+ * id: 'some_active_op',
1441
+ * json: '...'
1442
+ * }];
1443
+ * getCustomJsonAuthority(activeOp); // Returns 'active'
1444
+ * ```
1445
+ */
1446
+ declare function getCustomJsonAuthority(customJsonOp: Operation): AuthorityLevel;
1447
+ /**
1448
+ * Determines authority required for a proposal operation.
1449
+ *
1450
+ * Proposal operations (create_proposal, update_proposal) typically require
1451
+ * active authority as they involve financial commitments and funding allocations.
1452
+ *
1453
+ * @param proposalOp - The proposal operation to inspect
1454
+ * @returns 'active' authority requirement
1455
+ *
1456
+ * @remarks
1457
+ * Unlike custom_json, proposal operations don't have explicit required_auths fields.
1458
+ * They always use the creator's authority, which defaults to active for financial
1459
+ * operations involving the DAO treasury.
1460
+ *
1461
+ * @example
1462
+ * ```typescript
1463
+ * const proposalOp: Operation = ['create_proposal', {
1464
+ * creator: 'alice',
1465
+ * receiver: 'bob',
1466
+ * subject: 'My Proposal',
1467
+ * permlink: 'my-proposal',
1468
+ * start: '2026-03-01T00:00:00',
1469
+ * end: '2026-04-01T00:00:00',
1470
+ * daily_pay: '100.000 HBD',
1471
+ * extensions: []
1472
+ * }];
1473
+ * getProposalAuthority(proposalOp); // Returns 'active'
1474
+ * ```
1475
+ */
1476
+ declare function getProposalAuthority(proposalOp: Operation): AuthorityLevel;
1477
+ /**
1478
+ * Determines the required authority level for any operation.
1479
+ *
1480
+ * Uses the OPERATION_AUTHORITY_MAP for standard operations, and dynamic
1481
+ * detection for custom_json operations.
1482
+ *
1483
+ * @param op - The operation to check
1484
+ * @returns 'posting' or 'active' authority requirement
1485
+ *
1486
+ * @example
1487
+ * ```typescript
1488
+ * const voteOp: Operation = ['vote', { voter: 'alice', author: 'bob', permlink: 'post', weight: 10000 }];
1489
+ * getOperationAuthority(voteOp); // Returns 'posting'
1490
+ *
1491
+ * const transferOp: Operation = ['transfer', { from: 'alice', to: 'bob', amount: '1.000 HIVE', memo: '' }];
1492
+ * getOperationAuthority(transferOp); // Returns 'active'
1493
+ * ```
1494
+ */
1495
+ declare function getOperationAuthority(op: Operation): AuthorityLevel;
1496
+ /**
1497
+ * Determines the highest authority level required for a list of operations.
1498
+ *
1499
+ * Useful when broadcasting multiple operations together - the highest authority
1500
+ * level required by any operation determines what key is needed for the batch.
1501
+ *
1502
+ * Authority hierarchy: owner > active > posting > memo
1503
+ *
1504
+ * @param ops - Array of operations
1505
+ * @returns Highest authority level required ('owner', 'active', or 'posting')
1506
+ *
1507
+ * @example
1508
+ * ```typescript
1509
+ * const ops: Operation[] = [
1510
+ * ['vote', { ... }], // posting
1511
+ * ['comment', { ... }], // posting
1512
+ * ];
1513
+ * getRequiredAuthority(ops); // Returns 'posting'
1514
+ *
1515
+ * const mixedOps: Operation[] = [
1516
+ * ['comment', { ... }], // posting
1517
+ * ['transfer', { ... }], // active
1518
+ * ];
1519
+ * getRequiredAuthority(mixedOps); // Returns 'active'
1520
+ *
1521
+ * const securityOps: Operation[] = [
1522
+ * ['transfer', { ... }], // active
1523
+ * ['change_recovery_account', { ... }], // owner
1524
+ * ];
1525
+ * getRequiredAuthority(securityOps); // Returns 'owner'
1526
+ * ```
1527
+ */
1528
+ declare function getRequiredAuthority(ops: Operation[]): AuthorityLevel;
1529
+
1176
1530
  /**
1177
1531
  * React Query mutation hook for broadcasting Hive operations.
1178
1532
  * Supports multiple authentication methods with automatic fallback.
@@ -1232,7 +1586,7 @@ declare function getAccountSubscriptionsQueryOptions(username: string | undefine
1232
1586
  * );
1233
1587
  * ```
1234
1588
  */
1235
- declare function useBroadcastMutation<T>(mutationKey: MutationKey | undefined, username: string | undefined, operations: (payload: T) => Operation[], onSuccess?: UseMutationOptions<unknown, Error, T>["onSuccess"], auth?: AuthContextV2, authority?: 'posting' | 'active' | 'owner' | 'memo'): _tanstack_react_query.UseMutationResult<unknown, Error, T, unknown>;
1589
+ declare function useBroadcastMutation<T>(mutationKey: MutationKey | undefined, username: string | undefined, operations: (payload: T) => Operation[], onSuccess?: UseMutationOptions<unknown, Error, T>["onSuccess"], auth?: AuthContextV2, authority?: AuthorityLevel): _tanstack_react_query.UseMutationResult<unknown, Error, T, unknown>;
1236
1590
 
1237
1591
  declare function broadcastJson<T>(username: string | undefined, id: string, payload: T, auth?: AuthContext): Promise<any>;
1238
1592
 
@@ -3210,6 +3564,10 @@ interface CommentPayload {
3210
3564
  body: string;
3211
3565
  /** JSON metadata object */
3212
3566
  jsonMetadata: Record<string, any>;
3567
+ /** Optional: Root post author (for nested replies, used for discussions cache invalidation) */
3568
+ rootAuthor?: string;
3569
+ /** Optional: Root post permlink (for nested replies, used for discussions cache invalidation) */
3570
+ rootPermlink?: string;
3213
3571
  /** Optional: Comment options (beneficiaries, rewards) */
3214
3572
  options?: {
3215
3573
  /** Maximum accepted payout (e.g., "1000000.000 HBD") */
@@ -5134,4 +5492,4 @@ declare function getHiveEngineUnclaimedRewards<T = Record<string, unknown>>(user
5134
5492
  declare function getSpkWallet<T = Record<string, unknown>>(username: string): Promise<T>;
5135
5493
  declare function getSpkMarkets<T = Record<string, unknown>>(): Promise<T>;
5136
5494
 
5137
- export { ACCOUNT_OPERATION_GROUPS, ALL_ACCOUNT_OPERATIONS, ALL_NOTIFY_TYPES, type AccountBookmark, type AccountFavorite, type AccountFollowStats, type AccountKeys, 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 AuthContextV2, type AuthMethod, type AuthorReward, type Authority, type Beneficiary, type BlogEntry, type BoostPlusAccountPrice, type BuildProfileMetadataArgs, BuySellTransactionType, CONFIG, type CancelTransferFromSavings, type CantAfford, type CheckUsernameWalletsPendingResponse, type ClaimRewardBalance, type CollateralizedConversionRequest, type CollateralizedConvert, type CommentBenefactor, type CommentPayload, type CommentPayoutUpdate, type CommentReward, type Communities, type Community, type CommunityProps, 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, ErrorType, 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, OrderIdPrefix, type OrdersData, type OrdersDataItem, type PageStatsResponse, type PaginationMeta, type ParsedChainError, type Payer, type PlatformAdapter, type PointTransaction, type Points, type PortfolioResponse, type PortfolioWalletItem, type PostTip, type PostTipsResponse, type ProducerReward, type Profile, type ProfileTokens, type PromotePrice, type Proposal, type ProposalCreatePayload, type ProposalPay, type ProposalVote, type ProposalVotePayload, type ProposalVoteRow, ROLES, type RcDirectDelegation, type RcDirectDelegationsResponse, type RcStats, type Reblog, type ReblogPayload, 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 TransferPayload, type TransferToSavings, type TransferToVesting, type TrendingTag, type UpdateProposalVotes, type User, type UserImage, type ValidatePostCreatingOptions, type Vote, type VoteHistoryPage, type VoteHistoryPageParam, type VotePayload, 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, buildAccountCreateOp, buildAccountUpdate2Op, buildAccountUpdateOp, buildActiveCustomJsonOp, buildBoostOp, buildBoostOpWithPoints, buildBoostPlusOp, buildCancelTransferFromSavingsOp, buildChangeRecoveryAccountOp, buildClaimAccountOp, buildClaimInterestOps, buildClaimRewardBalanceOp, buildCollateralizedConvertOp, buildCommentOp, buildCommentOptionsOp, buildCommunityRegistrationOp, buildConvertOp, buildCreateClaimedAccountOp, buildDelegateRcOp, buildDelegateVestingSharesOp, buildDeleteCommentOp, buildFlagPostOp, buildFollowOp, buildGrantPostingPermissionOp, buildIgnoreOp, buildLimitOrderCancelOp, buildLimitOrderCreateOp, buildLimitOrderCreateOpWithType, buildMultiPointTransferOps, buildMultiTransferOps, buildMutePostOp, buildMuteUserOp, buildPinPostOp, buildPointTransferOp, buildPostingCustomJsonOp, buildProfileMetadata, buildPromoteOp, buildProposalCreateOp, buildProposalVoteOp, buildReblogOp, buildRecoverAccountOp, buildRecurrentTransferOp, buildRemoveProposalOp, buildRequestAccountRecoveryOp, buildRevokePostingPermissionOp, buildSetLastReadOps, buildSetRoleOp, buildSetWithdrawVestingRouteOp, buildSubscribeOp, buildTransferFromSavingsOp, buildTransferOp, buildTransferToSavingsOp, buildTransferToVestingOp, buildUnfollowOp, buildUnignoreOp, buildUnsubscribeOp, buildUpdateCommunityOp, buildUpdateProposalOp, buildVoteOp, buildWithdrawVestingOp, buildWitnessProxyOp, buildWitnessVoteOp, checkFavouriteQueryOptions, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, deleteDraft, deleteImage, deleteSchedule, downVotingPower, encodeObj, extractAccountProfile, formatError, 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, isInfoError, isNetworkError, isResourceCreditsError, isWrappedResponse, lookupAccountsQueryOptions, makeQueryClient, mapThreadItemsToWaveEntries, markNotifications, moveSchedule, normalizePost, normalizeToWrappedResponse, normalizeWaveEntryFromApi, onboardEmail, parseAccounts, parseAsset, parseChainError, parseProfileMetadata, powerRechargeTime, rcPower, resolvePost, roleMap, saveNotificationSetting, search, searchAccount, searchPath, searchQueryOptions, searchTag, shouldTriggerAuthFallback, signUp, sortDiscussions, subscribeEmail, toEntryArray, updateDraft, uploadImage, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddDraft, useAddFragment, useAddImage, useAddSchedule, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useComment, useDeleteDraft, useDeleteImage, useDeleteSchedule, useEditFragment, useGameClaim, useMarkNotificationsRead, useMoveSchedule, useProposalVote, useReblog, useRecordActivity, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain, useTransfer, useUpdateDraft, useUploadImage, useVote, usrActivity, validatePostCreating, votingPower, votingValue };
5495
+ export { ACCOUNT_OPERATION_GROUPS, ALL_ACCOUNT_OPERATIONS, ALL_NOTIFY_TYPES, type AccountBookmark, type AccountFavorite, type AccountFollowStats, type AccountKeys, 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 AuthContextV2, type AuthMethod, type AuthorReward, type Authority, type AuthorityLevel, type Beneficiary, type BlogEntry, type BoostPlusAccountPrice, type BuildProfileMetadataArgs, BuySellTransactionType, CONFIG, type CancelTransferFromSavings, type CantAfford, type CheckUsernameWalletsPendingResponse, type ClaimRewardBalance, type CollateralizedConversionRequest, type CollateralizedConvert, type CommentBenefactor, type CommentPayload, type CommentPayoutUpdate, type CommentReward, type Communities, type Community, type CommunityProps, 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, ErrorType, type FeedHistoryItem, type FillCollateralizedConvertRequest, type FillConvertRequest, type FillOrder, type FillRecurrentTransfers, type FillVestingWithdraw, type Follow, type FollowPayload, 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, OPERATION_AUTHORITY_MAP, type OpenOrdersData, type OperationGroup, OrderIdPrefix, type OrdersData, type OrdersDataItem, type PageStatsResponse, type PaginationMeta, type ParsedChainError, type Payer, type PlatformAdapter, type PointTransaction, type Points, type PortfolioResponse, type PortfolioWalletItem, type PostTip, type PostTipsResponse, type ProducerReward, type Profile, type ProfileTokens, type PromotePrice, type Proposal, type ProposalCreatePayload, type ProposalPay, type ProposalVote, type ProposalVotePayload, type ProposalVoteRow, ROLES, type RcDirectDelegation, type RcDirectDelegationsResponse, type RcStats, type Reblog, type ReblogPayload, 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 TransferPayload, type TransferToSavings, type TransferToVesting, type TrendingTag, type UnfollowPayload, type UpdateProposalVotes, type User, type UserImage, type ValidatePostCreatingOptions, type Vote, type VoteHistoryPage, type VoteHistoryPageParam, type VotePayload, 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, buildAccountCreateOp, buildAccountUpdate2Op, buildAccountUpdateOp, buildActiveCustomJsonOp, buildBoostOp, buildBoostOpWithPoints, buildBoostPlusOp, buildCancelTransferFromSavingsOp, buildChangeRecoveryAccountOp, buildClaimAccountOp, buildClaimInterestOps, buildClaimRewardBalanceOp, buildCollateralizedConvertOp, buildCommentOp, buildCommentOptionsOp, buildCommunityRegistrationOp, buildConvertOp, buildCreateClaimedAccountOp, buildDelegateRcOp, buildDelegateVestingSharesOp, buildDeleteCommentOp, buildFlagPostOp, buildFollowOp, buildGrantPostingPermissionOp, buildIgnoreOp, buildLimitOrderCancelOp, buildLimitOrderCreateOp, buildLimitOrderCreateOpWithType, buildMultiPointTransferOps, buildMultiTransferOps, buildMutePostOp, buildMuteUserOp, buildPinPostOp, buildPointTransferOp, buildPostingCustomJsonOp, buildProfileMetadata, buildPromoteOp, buildProposalCreateOp, buildProposalVoteOp, buildReblogOp, buildRecoverAccountOp, buildRecurrentTransferOp, buildRemoveProposalOp, buildRequestAccountRecoveryOp, buildRevokePostingPermissionOp, buildSetLastReadOps, buildSetRoleOp, buildSetWithdrawVestingRouteOp, buildSubscribeOp, buildTransferFromSavingsOp, buildTransferOp, buildTransferToSavingsOp, buildTransferToVestingOp, buildUnfollowOp, buildUnignoreOp, buildUnsubscribeOp, buildUpdateCommunityOp, buildUpdateProposalOp, buildVoteOp, buildWithdrawVestingOp, buildWitnessProxyOp, buildWitnessVoteOp, checkFavouriteQueryOptions, checkUsernameWalletsPendingQueryOptions, decodeObj, dedupeAndSortKeyAuths, deleteDraft, deleteImage, deleteSchedule, downVotingPower, encodeObj, extractAccountProfile, formatError, 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, getCustomJsonAuthority, 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, getOperationAuthority, getOrderBookQueryOptions, getOutgoingRcDelegationsInfiniteQueryOptions, getPageStatsQueryOptions, getPointsQueryOptions, getPortfolioQueryOptions, getPost, getPostHeader, getPostHeaderQueryOptions, getPostQueryOptions, getPostTipsQueryOptions, getPostsRanked, getPostsRankedInfiniteQueryOptions, getPostsRankedQueryOptions, getProfiles, getProfilesQueryOptions, getPromotePriceQueryOptions, getPromotedPost, getPromotedPostsQuery, getProposalAuthority, getProposalQueryOptions, getProposalVotesInfiniteQueryOptions, getProposalsQueryOptions, getQueryClient, getRcStatsQueryOptions, getRebloggedByQueryOptions, getReblogsQueryOptions, getReceivedVestingSharesQueryOptions, getRecurrentTransfersQueryOptions, getReferralsInfiniteQueryOptions, getReferralsStatsQueryOptions, getRelationshipBetweenAccounts, getRelationshipBetweenAccountsQueryOptions, getRequiredAuthority, 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, isInfoError, isNetworkError, isResourceCreditsError, isWrappedResponse, lookupAccountsQueryOptions, makeQueryClient, mapThreadItemsToWaveEntries, markNotifications, moveSchedule, normalizePost, normalizeToWrappedResponse, normalizeWaveEntryFromApi, onboardEmail, parseAccounts, parseAsset, parseChainError, parseProfileMetadata, powerRechargeTime, rcPower, resolvePost, roleMap, saveNotificationSetting, search, searchAccount, searchPath, searchQueryOptions, searchTag, shouldTriggerAuthFallback, signUp, sortDiscussions, subscribeEmail, toEntryArray, updateDraft, uploadImage, useAccountFavouriteAdd, useAccountFavouriteDelete, useAccountRelationsUpdate, useAccountRevokeKey, useAccountRevokePosting, useAccountUpdate, useAccountUpdateKeyAuths, useAccountUpdatePassword, useAccountUpdateRecovery, useAddDraft, useAddFragment, useAddImage, useAddSchedule, useBookmarkAdd, useBookmarkDelete, useBroadcastMutation, useComment, useDeleteDraft, useDeleteImage, useDeleteSchedule, useEditFragment, useFollow, useGameClaim, useMarkNotificationsRead, useMoveSchedule, useProposalVote, useReblog, useRecordActivity, useRemoveFragment, useSignOperationByHivesigner, useSignOperationByKey, useSignOperationByKeychain, useTransfer, useUnfollow, useUpdateDraft, useUploadImage, useVote, usrActivity, validatePostCreating, votingPower, votingValue };