@ecency/sdk 1.1.22 → 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.
Files changed (120) hide show
  1. package/dist/index.cjs +1671 -0
  2. package/dist/index.cjs.map +1 -0
  3. package/dist/index.d.cts +1075 -0
  4. package/dist/index.d.ts +1075 -10
  5. package/dist/index.mjs +1589 -0
  6. package/dist/index.mjs.map +1 -0
  7. package/package.json +29 -16
  8. package/dist/ecency-sdk.es.js +0 -1458
  9. package/dist/modules/accounts/index.d.ts +0 -3
  10. package/dist/modules/accounts/mutations/bookmarks/index.d.ts +0 -2
  11. package/dist/modules/accounts/mutations/bookmarks/use-account-bookmark-add.d.ts +0 -6
  12. package/dist/modules/accounts/mutations/bookmarks/use-account-bookmark-delete.d.ts +0 -1
  13. package/dist/modules/accounts/mutations/favourites/index.d.ts +0 -2
  14. package/dist/modules/accounts/mutations/favourites/use-account-favourite-add.d.ts +0 -1
  15. package/dist/modules/accounts/mutations/favourites/use-account-favourite-delete.d.ts +0 -1
  16. package/dist/modules/accounts/mutations/index.d.ts +0 -9
  17. package/dist/modules/accounts/mutations/use-account-relations-update.d.ts +0 -9
  18. package/dist/modules/accounts/mutations/use-account-revoke-key.d.ts +0 -19
  19. package/dist/modules/accounts/mutations/use-account-revoke-posting.d.ts +0 -10
  20. package/dist/modules/accounts/mutations/use-account-update-key-auths.d.ts +0 -19
  21. package/dist/modules/accounts/mutations/use-account-update-password.d.ts +0 -12
  22. package/dist/modules/accounts/mutations/use-account-update-recovery.d.ts +0 -11
  23. package/dist/modules/accounts/mutations/use-account-update.d.ts +0 -7
  24. package/dist/modules/accounts/queries/check-username-wallets-pending-query-options.d.ts +0 -16
  25. package/dist/modules/accounts/queries/get-account-full-query-options.d.ts +0 -245
  26. package/dist/modules/accounts/queries/get-account-pending-recovery-query-options.d.ts +0 -8
  27. package/dist/modules/accounts/queries/get-account-recoveries-query-options.d.ts +0 -9
  28. package/dist/modules/accounts/queries/get-account-subscriptions-query-options.d.ts +0 -10
  29. package/dist/modules/accounts/queries/get-active-account-bookmarks-query-options.d.ts +0 -9
  30. package/dist/modules/accounts/queries/get-active-account-favourites-query-options.d.ts +0 -9
  31. package/dist/modules/accounts/queries/get-relationship-between-accounts-query-options.d.ts +0 -9
  32. package/dist/modules/accounts/queries/index.d.ts +0 -9
  33. package/dist/modules/accounts/queries/search-accounts-by-username-query-options.d.ts +0 -8
  34. package/dist/modules/accounts/types/account-bookmark.d.ts +0 -7
  35. package/dist/modules/accounts/types/account-favourite.d.ts +0 -5
  36. package/dist/modules/accounts/types/account-follow-stats.d.ts +0 -5
  37. package/dist/modules/accounts/types/account-profile.d.ts +0 -19
  38. package/dist/modules/accounts/types/account-recovery.d.ts +0 -8
  39. package/dist/modules/accounts/types/account-relationship.d.ts +0 -6
  40. package/dist/modules/accounts/types/account-reputation.d.ts +0 -4
  41. package/dist/modules/accounts/types/full-account.d.ts +0 -52
  42. package/dist/modules/accounts/types/index.d.ts +0 -8
  43. package/dist/modules/analytics/index.d.ts +0 -2
  44. package/dist/modules/analytics/mutations/index.d.ts +0 -1
  45. package/dist/modules/analytics/mutations/use-record-activity.d.ts +0 -3
  46. package/dist/modules/communities/index.d.ts +0 -3
  47. package/dist/modules/communities/queries/get-communities-query-options.d.ts +0 -9
  48. package/dist/modules/communities/queries/get-community-context-query-options.d.ts +0 -20
  49. package/dist/modules/communities/queries/index.d.ts +0 -2
  50. package/dist/modules/communities/types/community.d.ts +0 -33
  51. package/dist/modules/communities/types/index.d.ts +0 -1
  52. package/dist/modules/communities/utils/index.d.ts +0 -11
  53. package/dist/modules/core/config.d.ts +0 -15
  54. package/dist/modules/core/entities/index.d.ts +0 -1
  55. package/dist/modules/core/entities/user.d.ts +0 -9
  56. package/dist/modules/core/index.d.ts +0 -7
  57. package/dist/modules/core/mock-storage.d.ts +0 -9
  58. package/dist/modules/core/mutations/broadcast-json.d.ts +0 -1
  59. package/dist/modules/core/mutations/index.d.ts +0 -2
  60. package/dist/modules/core/mutations/use-broadcast-mutation.d.ts +0 -3
  61. package/dist/modules/core/queries/get-dynamic-props-query-options.d.ts +0 -9
  62. package/dist/modules/core/queries/index.d.ts +0 -1
  63. package/dist/modules/core/queries-manager.d.ts +0 -21
  64. package/dist/modules/core/storage.d.ts +0 -6
  65. package/dist/modules/core/types/dynamic-props.d.ts +0 -15
  66. package/dist/modules/core/types/index.d.ts +0 -1
  67. package/dist/modules/core/utils/decoder-encoder.d.ts +0 -2
  68. package/dist/modules/core/utils/index.d.ts +0 -2
  69. package/dist/modules/core/utils/parse-asset.d.ts +0 -17
  70. package/dist/modules/games/index.d.ts +0 -3
  71. package/dist/modules/games/mutations/game-claim.d.ts +0 -2
  72. package/dist/modules/games/mutations/index.d.ts +0 -1
  73. package/dist/modules/games/queries/game-status-check-query-options.d.ts +0 -9
  74. package/dist/modules/games/queries/index.d.ts +0 -1
  75. package/dist/modules/games/types/game-claim.d.ts +0 -3
  76. package/dist/modules/games/types/get-game-status.d.ts +0 -7
  77. package/dist/modules/games/types/index.d.ts +0 -2
  78. package/dist/modules/integrations/3speak/index.d.ts +0 -6
  79. package/dist/modules/integrations/3speak/queries/get-account-token-query-options.d.ts +0 -8
  80. package/dist/modules/integrations/3speak/queries/get-account-videos-query-options.d.ts +0 -9
  81. package/dist/modules/integrations/3speak/queries/index.d.ts +0 -2
  82. package/dist/modules/integrations/3speak/types/index.d.ts +0 -1
  83. package/dist/modules/integrations/3speak/types/three-speak-video.d.ts +0 -52
  84. package/dist/modules/integrations/hiveposh/index.d.ts +0 -1
  85. package/dist/modules/integrations/hiveposh/queries/get-hiveposh-links-query-options.d.ts +0 -44
  86. package/dist/modules/integrations/hiveposh/queries/index.d.ts +0 -1
  87. package/dist/modules/integrations/hivesigner/index.d.ts +0 -5
  88. package/dist/modules/integrations/hivesigner/queries/get-decode-memo-query-options.d.ts +0 -8
  89. package/dist/modules/integrations/hivesigner/queries/index.d.ts +0 -1
  90. package/dist/modules/integrations/index.d.ts +0 -4
  91. package/dist/modules/integrations/plausible/index.d.ts +0 -1
  92. package/dist/modules/integrations/plausible/queries/get-stats-query-options.d.ts +0 -29
  93. package/dist/modules/integrations/plausible/queries/index.d.ts +0 -1
  94. package/dist/modules/keychain/index.d.ts +0 -2
  95. package/dist/modules/keychain/keychain.d.ts +0 -10
  96. package/dist/modules/operations/index.d.ts +0 -2
  97. package/dist/modules/operations/mutations/index.d.ts +0 -3
  98. package/dist/modules/operations/mutations/sign-operation-by-hivesigner.d.ts +0 -4
  99. package/dist/modules/operations/mutations/sign-operation-by-key.d.ts +0 -5
  100. package/dist/modules/operations/mutations/sign-operation-by-keychain.d.ts +0 -5
  101. package/dist/modules/operations/queries/get-chain-properties-query-options.d.ts +0 -8
  102. package/dist/modules/operations/queries/index.d.ts +0 -1
  103. package/dist/modules/posts/index.d.ts +0 -3
  104. package/dist/modules/posts/mutations/add-fragment.d.ts +0 -5
  105. package/dist/modules/posts/mutations/edit-fragment.d.ts +0 -5
  106. package/dist/modules/posts/mutations/index.d.ts +0 -3
  107. package/dist/modules/posts/mutations/remove-fragment.d.ts +0 -1
  108. package/dist/modules/posts/queries/get-fragments-query-options.d.ts +0 -9
  109. package/dist/modules/posts/queries/get-promoted-posts-query-options.d.ts +0 -8
  110. package/dist/modules/posts/queries/get-trending-tags-query-options.d.ts +0 -12
  111. package/dist/modules/posts/queries/index.d.ts +0 -3
  112. package/dist/modules/posts/types/fragment.d.ts +0 -7
  113. package/dist/modules/posts/types/index.d.ts +0 -2
  114. package/dist/modules/posts/types/trending-tag.d.ts +0 -6
  115. package/dist/modules/resource-credits/index.d.ts +0 -2
  116. package/dist/modules/resource-credits/queries/get-account-rc-query-options.d.ts +0 -8
  117. package/dist/modules/resource-credits/queries/get-rc-stats-query-options.d.ts +0 -8
  118. package/dist/modules/resource-credits/queries/index.d.ts +0 -2
  119. package/dist/modules/resource-credits/types/index.d.ts +0 -1
  120. package/dist/modules/resource-credits/types/stats.d.ts +0 -67
@@ -1,2 +0,0 @@
1
- export * from './queries';
2
- export * from './types';
@@ -1,8 +0,0 @@
1
- export declare function getAccountRcQueryOptions(username: string): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<import('@hiveio/dhive/lib/chain/rc').RCAccount[], Error, import('@hiveio/dhive/lib/chain/rc').RCAccount[], string[]>, "queryFn"> & {
2
- queryFn?: import('@tanstack/query-core').QueryFunction<import('@hiveio/dhive/lib/chain/rc').RCAccount[], string[], never> | undefined;
3
- } & {
4
- queryKey: string[] & {
5
- [dataTagSymbol]: import('@hiveio/dhive/lib/chain/rc').RCAccount[];
6
- [dataTagErrorSymbol]: Error;
7
- };
8
- };
@@ -1,8 +0,0 @@
1
- export declare function getRcStatsQueryOptions(): import('@tanstack/query-core').OmitKeyof<import('@tanstack/react-query').UseQueryOptions<any, Error, any, string[]>, "queryFn"> & {
2
- queryFn?: import('@tanstack/query-core').QueryFunction<any, string[], never> | undefined;
3
- } & {
4
- queryKey: string[] & {
5
- [dataTagSymbol]: any;
6
- [dataTagErrorSymbol]: Error;
7
- };
8
- };
@@ -1,2 +0,0 @@
1
- export * from './get-rc-stats-query-options';
2
- export * from './get-account-rc-query-options';
@@ -1 +0,0 @@
1
- export * from './stats';
@@ -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 {};