@ecency/sdk 1.1.21 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1671 -0
- package/dist/index.cjs.map +1 -0
- package/dist/index.d.cts +1075 -0
- package/dist/index.d.ts +1075 -10
- package/dist/index.mjs +1589 -0
- package/dist/index.mjs.map +1 -0
- package/package.json +29 -16
- package/dist/ecency-sdk.es.js +0 -1435
- package/dist/modules/accounts/index.d.ts +0 -3
- package/dist/modules/accounts/mutations/bookmarks/index.d.ts +0 -2
- package/dist/modules/accounts/mutations/bookmarks/use-account-bookmark-add.d.ts +0 -6
- package/dist/modules/accounts/mutations/bookmarks/use-account-bookmark-delete.d.ts +0 -1
- package/dist/modules/accounts/mutations/favourites/index.d.ts +0 -2
- package/dist/modules/accounts/mutations/favourites/use-account-favourite-add.d.ts +0 -1
- package/dist/modules/accounts/mutations/favourites/use-account-favourite-delete.d.ts +0 -1
- package/dist/modules/accounts/mutations/index.d.ts +0 -9
- package/dist/modules/accounts/mutations/use-account-relations-update.d.ts +0 -9
- package/dist/modules/accounts/mutations/use-account-revoke-key.d.ts +0 -19
- package/dist/modules/accounts/mutations/use-account-revoke-posting.d.ts +0 -10
- package/dist/modules/accounts/mutations/use-account-update-key-auths.d.ts +0 -19
- package/dist/modules/accounts/mutations/use-account-update-password.d.ts +0 -12
- package/dist/modules/accounts/mutations/use-account-update-recovery.d.ts +0 -11
- package/dist/modules/accounts/mutations/use-account-update.d.ts +0 -7
- package/dist/modules/accounts/queries/check-username-wallets-pending-query-options.d.ts +0 -16
- package/dist/modules/accounts/queries/get-account-full-query-options.d.ts +0 -245
- package/dist/modules/accounts/queries/get-account-pending-recovery-query-options.d.ts +0 -8
- package/dist/modules/accounts/queries/get-account-recoveries-query-options.d.ts +0 -9
- package/dist/modules/accounts/queries/get-account-subscriptions-query-options.d.ts +0 -10
- package/dist/modules/accounts/queries/get-active-account-bookmarks-query-options.d.ts +0 -9
- package/dist/modules/accounts/queries/get-active-account-favourites-query-options.d.ts +0 -9
- package/dist/modules/accounts/queries/get-relationship-between-accounts-query-options.d.ts +0 -9
- package/dist/modules/accounts/queries/index.d.ts +0 -9
- package/dist/modules/accounts/queries/search-accounts-by-username-query-options.d.ts +0 -8
- package/dist/modules/accounts/types/account-bookmark.d.ts +0 -7
- package/dist/modules/accounts/types/account-favourite.d.ts +0 -5
- package/dist/modules/accounts/types/account-follow-stats.d.ts +0 -5
- package/dist/modules/accounts/types/account-profile.d.ts +0 -19
- package/dist/modules/accounts/types/account-recovery.d.ts +0 -8
- package/dist/modules/accounts/types/account-relationship.d.ts +0 -6
- package/dist/modules/accounts/types/account-reputation.d.ts +0 -4
- package/dist/modules/accounts/types/full-account.d.ts +0 -52
- package/dist/modules/accounts/types/index.d.ts +0 -8
- package/dist/modules/analytics/index.d.ts +0 -2
- package/dist/modules/analytics/mutations/index.d.ts +0 -1
- package/dist/modules/analytics/mutations/use-record-activity.d.ts +0 -3
- package/dist/modules/communities/index.d.ts +0 -3
- package/dist/modules/communities/queries/get-communities-query-options.d.ts +0 -9
- package/dist/modules/communities/queries/get-community-context-query-options.d.ts +0 -20
- package/dist/modules/communities/queries/index.d.ts +0 -2
- package/dist/modules/communities/types/community.d.ts +0 -33
- package/dist/modules/communities/types/index.d.ts +0 -1
- package/dist/modules/communities/utils/index.d.ts +0 -11
- package/dist/modules/core/config.d.ts +0 -15
- package/dist/modules/core/entities/index.d.ts +0 -1
- package/dist/modules/core/entities/user.d.ts +0 -9
- package/dist/modules/core/index.d.ts +0 -7
- package/dist/modules/core/mock-storage.d.ts +0 -9
- package/dist/modules/core/mutations/broadcast-json.d.ts +0 -1
- package/dist/modules/core/mutations/index.d.ts +0 -2
- package/dist/modules/core/mutations/use-broadcast-mutation.d.ts +0 -3
- package/dist/modules/core/queries/get-dynamic-props-query-options.d.ts +0 -9
- package/dist/modules/core/queries/index.d.ts +0 -1
- package/dist/modules/core/queries-manager.d.ts +0 -21
- package/dist/modules/core/storage.d.ts +0 -6
- package/dist/modules/core/types/dynamic-props.d.ts +0 -15
- package/dist/modules/core/types/index.d.ts +0 -1
- package/dist/modules/core/utils/decoder-encoder.d.ts +0 -2
- package/dist/modules/core/utils/index.d.ts +0 -2
- package/dist/modules/core/utils/parse-asset.d.ts +0 -17
- package/dist/modules/games/index.d.ts +0 -3
- package/dist/modules/games/mutations/game-claim.d.ts +0 -2
- package/dist/modules/games/mutations/index.d.ts +0 -1
- package/dist/modules/games/queries/game-status-check-query-options.d.ts +0 -9
- package/dist/modules/games/queries/index.d.ts +0 -1
- package/dist/modules/games/types/game-claim.d.ts +0 -3
- package/dist/modules/games/types/get-game-status.d.ts +0 -7
- package/dist/modules/games/types/index.d.ts +0 -2
- package/dist/modules/integrations/3speak/index.d.ts +0 -6
- package/dist/modules/integrations/3speak/queries/get-account-token-query-options.d.ts +0 -8
- package/dist/modules/integrations/3speak/queries/get-account-videos-query-options.d.ts +0 -9
- package/dist/modules/integrations/3speak/queries/index.d.ts +0 -2
- package/dist/modules/integrations/3speak/types/index.d.ts +0 -1
- package/dist/modules/integrations/3speak/types/three-speak-video.d.ts +0 -52
- package/dist/modules/integrations/hiveposh/index.d.ts +0 -1
- package/dist/modules/integrations/hiveposh/queries/get-hiveposh-links-query-options.d.ts +0 -44
- package/dist/modules/integrations/hiveposh/queries/index.d.ts +0 -1
- package/dist/modules/integrations/hivesigner/index.d.ts +0 -5
- package/dist/modules/integrations/hivesigner/queries/get-decode-memo-query-options.d.ts +0 -8
- package/dist/modules/integrations/hivesigner/queries/index.d.ts +0 -1
- package/dist/modules/integrations/index.d.ts +0 -3
- package/dist/modules/keychain/index.d.ts +0 -2
- package/dist/modules/keychain/keychain.d.ts +0 -10
- package/dist/modules/operations/index.d.ts +0 -2
- package/dist/modules/operations/mutations/index.d.ts +0 -3
- package/dist/modules/operations/mutations/sign-operation-by-hivesigner.d.ts +0 -4
- package/dist/modules/operations/mutations/sign-operation-by-key.d.ts +0 -5
- package/dist/modules/operations/mutations/sign-operation-by-keychain.d.ts +0 -5
- package/dist/modules/operations/queries/get-chain-properties-query-options.d.ts +0 -8
- package/dist/modules/operations/queries/index.d.ts +0 -1
- package/dist/modules/posts/index.d.ts +0 -3
- package/dist/modules/posts/mutations/add-fragment.d.ts +0 -5
- package/dist/modules/posts/mutations/edit-fragment.d.ts +0 -5
- package/dist/modules/posts/mutations/index.d.ts +0 -3
- package/dist/modules/posts/mutations/remove-fragment.d.ts +0 -1
- package/dist/modules/posts/queries/get-fragments-query-options.d.ts +0 -9
- package/dist/modules/posts/queries/get-promoted-posts-query-options.d.ts +0 -8
- package/dist/modules/posts/queries/get-trending-tags-query-options.d.ts +0 -12
- package/dist/modules/posts/queries/index.d.ts +0 -3
- package/dist/modules/posts/types/fragment.d.ts +0 -7
- package/dist/modules/posts/types/index.d.ts +0 -2
- package/dist/modules/posts/types/trending-tag.d.ts +0 -6
- package/dist/modules/resource-credits/index.d.ts +0 -2
- package/dist/modules/resource-credits/queries/get-account-rc-query-options.d.ts +0 -8
- package/dist/modules/resource-credits/queries/get-rc-stats-query-options.d.ts +0 -8
- package/dist/modules/resource-credits/queries/index.d.ts +0 -2
- package/dist/modules/resource-credits/types/index.d.ts +0 -1
- package/dist/modules/resource-credits/types/stats.d.ts +0 -67
@@ -1,67 +0,0 @@
|
|
1
|
-
export interface RcStats {
|
2
|
-
block: number;
|
3
|
-
budget: number[];
|
4
|
-
comment: number;
|
5
|
-
ops: Ops;
|
6
|
-
payers: Payer[];
|
7
|
-
pool: number[];
|
8
|
-
regen: number;
|
9
|
-
share: number[];
|
10
|
-
stamp: string;
|
11
|
-
transfer: number;
|
12
|
-
vote: number;
|
13
|
-
}
|
14
|
-
interface Ops {
|
15
|
-
account_create_operation: OperationCost;
|
16
|
-
account_update2_operation: OperationCost;
|
17
|
-
account_update_operation: OperationCost;
|
18
|
-
account_witness_proxy_operation: OperationCost;
|
19
|
-
account_witness_vote_operation: OperationCost;
|
20
|
-
cancel_transfer_from_savings_operation: OperationCost;
|
21
|
-
change_recovery_account_operation: OperationCost;
|
22
|
-
claim_account_operation: OperationCost;
|
23
|
-
claim_reward_balance_operation: OperationCost;
|
24
|
-
collateralized_convert_operation: OperationCost;
|
25
|
-
comment_operation: OperationCost;
|
26
|
-
comment_options_operation: OperationCost;
|
27
|
-
convert_operation: OperationCost;
|
28
|
-
create_claimed_account_operation: OperationCost;
|
29
|
-
custom_json_operation: OperationCost;
|
30
|
-
delegate_vesting_shares_operation: OperationCost;
|
31
|
-
delete_comment_operation: OperationCost;
|
32
|
-
feed_publish_operation: OperationCost;
|
33
|
-
limit_order_cancel_operation: OperationCost;
|
34
|
-
limit_order_create_operation: OperationCost;
|
35
|
-
multiop: OperationCost;
|
36
|
-
recover_account_operation: OperationCost;
|
37
|
-
recurrent_transfer_operation: OperationCost;
|
38
|
-
request_account_recovery_operation: OperationCost;
|
39
|
-
set_withdraw_vesting_route_operation: OperationCost;
|
40
|
-
transfer_from_savings_operation: OperationCost;
|
41
|
-
transfer_operation: OperationCost;
|
42
|
-
transfer_to_savings_operation: OperationCost;
|
43
|
-
transfer_to_vesting_operation: OperationCost;
|
44
|
-
update_proposal_votes_operation: OperationCost;
|
45
|
-
vote_operation: OperationCost;
|
46
|
-
withdraw_vesting_operation: OperationCost;
|
47
|
-
witness_set_properties_operation: OperationCost;
|
48
|
-
witness_update_operation: OperationCost;
|
49
|
-
}
|
50
|
-
interface OperationCost {
|
51
|
-
avg_cost: number;
|
52
|
-
count: number;
|
53
|
-
}
|
54
|
-
export interface Payer {
|
55
|
-
cant_afford?: CantAfford;
|
56
|
-
count: number;
|
57
|
-
lt10?: number;
|
58
|
-
lt20?: number;
|
59
|
-
lt5?: number;
|
60
|
-
rank: number;
|
61
|
-
}
|
62
|
-
export interface CantAfford {
|
63
|
-
comment: number;
|
64
|
-
transfer: number;
|
65
|
-
vote: number;
|
66
|
-
}
|
67
|
-
export {};
|