@sparkdreamnft/sparkdreamjs 0.0.9 → 0.0.11

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 (162) hide show
  1. package/cosmos/bundle.d.ts +160 -160
  2. package/cosmos/bundle.js +182 -182
  3. package/esm/cosmos/bundle.js +182 -182
  4. package/esm/ibc/bundle.js +106 -106
  5. package/esm/sparkdream/blog/v1/params.js +25 -1
  6. package/esm/sparkdream/blog/v1/post.js +16 -1
  7. package/esm/sparkdream/blog/v1/query.js +165 -0
  8. package/esm/sparkdream/blog/v1/query.lcd.js +11 -0
  9. package/esm/sparkdream/blog/v1/query.rpc.Query.js +10 -1
  10. package/esm/sparkdream/blog/v1/tx.js +32 -2
  11. package/esm/sparkdream/bundle.js +343 -339
  12. package/esm/sparkdream/collect/v1/curator_activity.js +158 -0
  13. package/esm/sparkdream/collect/v1/genesis.js +12 -11
  14. package/esm/sparkdream/collect/v1/params.js +37 -1
  15. package/esm/sparkdream/collect/v1/query.js +201 -186
  16. package/esm/sparkdream/collect/v1/query.lcd.js +16 -16
  17. package/esm/sparkdream/collect/v1/query.rpc.Query.js +19 -19
  18. package/esm/sparkdream/collect/v1/tx.amino.js +1 -11
  19. package/esm/sparkdream/collect/v1/tx.js +0 -258
  20. package/esm/sparkdream/collect/v1/tx.registry.js +2 -38
  21. package/esm/sparkdream/collect/v1/tx.rpc.msg.js +3 -14
  22. package/esm/sparkdream/collect/v1/types.js +50 -143
  23. package/esm/sparkdream/federation/v1/genesis.js +12 -11
  24. package/esm/sparkdream/federation/v1/query.js +37 -187
  25. package/esm/sparkdream/federation/v1/query.lcd.js +6 -16
  26. package/esm/sparkdream/federation/v1/query.rpc.Query.js +11 -19
  27. package/esm/sparkdream/federation/v1/tx.amino.js +1 -11
  28. package/esm/sparkdream/federation/v1/tx.js +0 -270
  29. package/esm/sparkdream/federation/v1/tx.registry.js +2 -38
  30. package/esm/sparkdream/federation/v1/tx.rpc.msg.js +4 -14
  31. package/esm/sparkdream/federation/v1/types.js +13 -318
  32. package/esm/sparkdream/federation/v1/verifier_activity.js +194 -0
  33. package/esm/sparkdream/forum/v1/params.js +146 -2
  34. package/esm/sparkdream/futarchy/v1/market.js +13 -1
  35. package/esm/sparkdream/name/v1/owner_info.js +13 -1
  36. package/esm/sparkdream/name/v1/query.js +141 -0
  37. package/esm/sparkdream/name/v1/query.lcd.js +7 -0
  38. package/esm/sparkdream/name/v1/query.rpc.Query.js +12 -1
  39. package/esm/sparkdream/name/v1/tx.amino.js +6 -1
  40. package/esm/sparkdream/name/v1/tx.js +147 -0
  41. package/esm/sparkdream/name/v1/tx.registry.js +20 -2
  42. package/esm/sparkdream/name/v1/tx.rpc.msg.js +8 -1
  43. package/esm/sparkdream/rep/v1/bonded_role.js +446 -0
  44. package/esm/sparkdream/rep/v1/genesis.js +32 -17
  45. package/esm/sparkdream/rep/v1/member_report.js +98 -1
  46. package/esm/sparkdream/rep/v1/query.js +297 -306
  47. package/esm/sparkdream/rep/v1/query.lcd.js +23 -16
  48. package/esm/sparkdream/rep/v1/query.rpc.Query.js +36 -35
  49. package/esm/sparkdream/rep/v1/tx.amino.js +9 -9
  50. package/esm/sparkdream/rep/v1/tx.js +86 -58
  51. package/esm/sparkdream/rep/v1/tx.registry.js +18 -18
  52. package/esm/sparkdream/rep/v1/tx.rpc.msg.js +16 -14
  53. package/esm/sparkdream/season/v1/enums.js +10 -0
  54. package/esm/tendermint/bundle.js +18 -18
  55. package/ibc/bundle.d.ts +90 -90
  56. package/ibc/bundle.js +106 -106
  57. package/package.json +1 -1
  58. package/sparkdream/blog/v1/params.d.ts +16 -0
  59. package/sparkdream/blog/v1/params.js +25 -1
  60. package/sparkdream/blog/v1/post.d.ts +8 -0
  61. package/sparkdream/blog/v1/post.js +16 -1
  62. package/sparkdream/blog/v1/query.d.ts +92 -0
  63. package/sparkdream/blog/v1/query.js +166 -1
  64. package/sparkdream/blog/v1/query.lcd.d.ts +2 -1
  65. package/sparkdream/blog/v1/query.lcd.js +11 -0
  66. package/sparkdream/blog/v1/query.rpc.Query.d.ts +5 -1
  67. package/sparkdream/blog/v1/query.rpc.Query.js +9 -0
  68. package/sparkdream/blog/v1/tx.d.ts +16 -0
  69. package/sparkdream/blog/v1/tx.js +32 -2
  70. package/sparkdream/bundle.d.ts +14445 -14514
  71. package/sparkdream/bundle.js +343 -339
  72. package/sparkdream/client.d.ts +11 -26
  73. package/sparkdream/collect/v1/curator_activity.d.ts +123 -0
  74. package/sparkdream/collect/v1/curator_activity.js +161 -0
  75. package/sparkdream/collect/v1/genesis.d.ts +4 -3
  76. package/sparkdream/collect/v1/genesis.js +11 -10
  77. package/sparkdream/collect/v1/params.d.ts +32 -0
  78. package/sparkdream/collect/v1/params.js +37 -1
  79. package/sparkdream/collect/v1/query.d.ts +142 -133
  80. package/sparkdream/collect/v1/query.js +201 -186
  81. package/sparkdream/collect/v1/query.lcd.d.ts +3 -3
  82. package/sparkdream/collect/v1/query.lcd.js +16 -16
  83. package/sparkdream/collect/v1/query.rpc.Query.d.ts +13 -7
  84. package/sparkdream/collect/v1/query.rpc.Query.js +18 -18
  85. package/sparkdream/collect/v1/tx.amino.d.ts +1 -11
  86. package/sparkdream/collect/v1/tx.amino.js +0 -10
  87. package/sparkdream/collect/v1/tx.d.ts +0 -162
  88. package/sparkdream/collect/v1/tx.js +2 -260
  89. package/sparkdream/collect/v1/tx.registry.d.ts +1 -25
  90. package/sparkdream/collect/v1/tx.registry.js +1 -37
  91. package/sparkdream/collect/v1/tx.rpc.msg.d.ts +5 -5
  92. package/sparkdream/collect/v1/tx.rpc.msg.js +2 -13
  93. package/sparkdream/collect/v1/types.d.ts +26 -56
  94. package/sparkdream/collect/v1/types.js +51 -144
  95. package/sparkdream/federation/v1/genesis.d.ts +4 -3
  96. package/sparkdream/federation/v1/genesis.js +11 -10
  97. package/sparkdream/federation/v1/query.d.ts +53 -136
  98. package/sparkdream/federation/v1/query.js +37 -187
  99. package/sparkdream/federation/v1/query.lcd.d.ts +2 -3
  100. package/sparkdream/federation/v1/query.lcd.js +6 -16
  101. package/sparkdream/federation/v1/query.rpc.Query.d.ts +10 -7
  102. package/sparkdream/federation/v1/query.rpc.Query.js +10 -18
  103. package/sparkdream/federation/v1/tx.amino.d.ts +1 -11
  104. package/sparkdream/federation/v1/tx.amino.js +0 -10
  105. package/sparkdream/federation/v1/tx.d.ts +0 -164
  106. package/sparkdream/federation/v1/tx.js +1 -272
  107. package/sparkdream/federation/v1/tx.registry.d.ts +1 -25
  108. package/sparkdream/federation/v1/tx.registry.js +1 -37
  109. package/sparkdream/federation/v1/tx.rpc.msg.d.ts +6 -5
  110. package/sparkdream/federation/v1/tx.rpc.msg.js +3 -13
  111. package/sparkdream/federation/v1/types.d.ts +10 -106
  112. package/sparkdream/federation/v1/types.js +14 -321
  113. package/sparkdream/federation/v1/verifier_activity.d.ts +113 -0
  114. package/sparkdream/federation/v1/verifier_activity.js +197 -0
  115. package/sparkdream/forum/v1/params.d.ts +112 -0
  116. package/sparkdream/forum/v1/params.js +146 -2
  117. package/sparkdream/futarchy/v1/market.d.ts +14 -0
  118. package/sparkdream/futarchy/v1/market.js +13 -1
  119. package/sparkdream/name/v1/owner_info.d.ts +12 -0
  120. package/sparkdream/name/v1/owner_info.js +13 -1
  121. package/sparkdream/name/v1/query.d.ts +95 -0
  122. package/sparkdream/name/v1/query.js +142 -1
  123. package/sparkdream/name/v1/query.lcd.d.ts +2 -1
  124. package/sparkdream/name/v1/query.lcd.js +7 -0
  125. package/sparkdream/name/v1/query.rpc.Query.d.ts +9 -1
  126. package/sparkdream/name/v1/query.rpc.Query.js +11 -0
  127. package/sparkdream/name/v1/tx.amino.d.ts +6 -1
  128. package/sparkdream/name/v1/tx.amino.js +5 -0
  129. package/sparkdream/name/v1/tx.d.ts +105 -0
  130. package/sparkdream/name/v1/tx.js +148 -1
  131. package/sparkdream/name/v1/tx.registry.d.ts +13 -1
  132. package/sparkdream/name/v1/tx.registry.js +19 -1
  133. package/sparkdream/name/v1/tx.rpc.msg.d.ts +7 -1
  134. package/sparkdream/name/v1/tx.rpc.msg.js +7 -0
  135. package/sparkdream/rep/v1/bonded_role.d.ts +330 -0
  136. package/sparkdream/rep/v1/bonded_role.js +453 -0
  137. package/sparkdream/rep/v1/genesis.d.ts +11 -9
  138. package/sparkdream/rep/v1/genesis.js +32 -17
  139. package/sparkdream/rep/v1/member_report.d.ts +61 -0
  140. package/sparkdream/rep/v1/member_report.js +99 -2
  141. package/sparkdream/rep/v1/query.d.ts +259 -261
  142. package/sparkdream/rep/v1/query.js +299 -308
  143. package/sparkdream/rep/v1/query.lcd.d.ts +5 -5
  144. package/sparkdream/rep/v1/query.lcd.js +23 -16
  145. package/sparkdream/rep/v1/query.rpc.Query.d.ts +20 -17
  146. package/sparkdream/rep/v1/query.rpc.Query.js +35 -34
  147. package/sparkdream/rep/v1/tx.amino.d.ts +7 -7
  148. package/sparkdream/rep/v1/tx.amino.js +9 -9
  149. package/sparkdream/rep/v1/tx.d.ts +121 -104
  150. package/sparkdream/rep/v1/tx.js +87 -59
  151. package/sparkdream/rep/v1/tx.registry.d.ts +11 -11
  152. package/sparkdream/rep/v1/tx.registry.js +17 -17
  153. package/sparkdream/rep/v1/tx.rpc.msg.d.ts +11 -9
  154. package/sparkdream/rep/v1/tx.rpc.msg.js +15 -13
  155. package/sparkdream/rpc.query.d.ts +9 -8
  156. package/sparkdream/season/v1/enums.d.ts +5 -0
  157. package/sparkdream/season/v1/enums.js +10 -0
  158. package/tendermint/bundle.d.ts +844 -844
  159. package/tendermint/bundle.js +18 -18
  160. package/esm/sparkdream/rep/v1/sentinel_activity.js +0 -214
  161. package/sparkdream/rep/v1/sentinel_activity.d.ts +0 -79
  162. package/sparkdream/rep/v1/sentinel_activity.js +0 -219
package/ibc/bundle.js CHANGED
@@ -88,59 +88,59 @@ const _171 = __importStar(require("./lightclients/wasm/v1/genesis"));
88
88
  const _172 = __importStar(require("./lightclients/wasm/v1/query"));
89
89
  const _173 = __importStar(require("./lightclients/wasm/v1/tx"));
90
90
  const _174 = __importStar(require("./lightclients/wasm/v1/wasm"));
91
- const _426 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.amino"));
92
- const _427 = __importStar(require("./applications/interchain_accounts/host/v1/tx.amino"));
93
- const _428 = __importStar(require("./applications/rate_limiting/v1/tx.amino"));
94
- const _429 = __importStar(require("./applications/transfer/v1/tx.amino"));
95
- const _430 = __importStar(require("./core/channel/v1/tx.amino"));
96
- const _431 = __importStar(require("./core/channel/v2/tx.amino"));
97
- const _432 = __importStar(require("./core/client/v1/tx.amino"));
98
- const _433 = __importStar(require("./core/client/v2/tx.amino"));
99
- const _434 = __importStar(require("./core/connection/v1/tx.amino"));
100
- const _435 = __importStar(require("./lightclients/wasm/v1/tx.amino"));
101
- const _436 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.registry"));
102
- const _437 = __importStar(require("./applications/interchain_accounts/host/v1/tx.registry"));
103
- const _438 = __importStar(require("./applications/rate_limiting/v1/tx.registry"));
104
- const _439 = __importStar(require("./applications/transfer/v1/tx.registry"));
105
- const _440 = __importStar(require("./core/channel/v1/tx.registry"));
106
- const _441 = __importStar(require("./core/channel/v2/tx.registry"));
107
- const _442 = __importStar(require("./core/client/v1/tx.registry"));
108
- const _443 = __importStar(require("./core/client/v2/tx.registry"));
109
- const _444 = __importStar(require("./core/connection/v1/tx.registry"));
110
- const _445 = __importStar(require("./lightclients/wasm/v1/tx.registry"));
111
- const _446 = __importStar(require("./applications/interchain_accounts/controller/v1/query.lcd"));
112
- const _447 = __importStar(require("./applications/interchain_accounts/host/v1/query.lcd"));
113
- const _448 = __importStar(require("./applications/rate_limiting/v1/query.lcd"));
114
- const _449 = __importStar(require("./applications/transfer/v1/query.lcd"));
115
- const _450 = __importStar(require("./core/channel/v1/query.lcd"));
116
- const _451 = __importStar(require("./core/channel/v2/query.lcd"));
117
- const _452 = __importStar(require("./core/client/v1/query.lcd"));
118
- const _453 = __importStar(require("./core/client/v2/query.lcd"));
119
- const _454 = __importStar(require("./core/connection/v1/query.lcd"));
120
- const _455 = __importStar(require("./lightclients/wasm/v1/query.lcd"));
121
- const _456 = __importStar(require("./applications/interchain_accounts/controller/v1/query.rpc.Query"));
122
- const _457 = __importStar(require("./applications/interchain_accounts/host/v1/query.rpc.Query"));
123
- const _458 = __importStar(require("./applications/rate_limiting/v1/query.rpc.Query"));
124
- const _459 = __importStar(require("./applications/transfer/v1/query.rpc.Query"));
125
- const _460 = __importStar(require("./core/channel/v1/query.rpc.Query"));
126
- const _461 = __importStar(require("./core/channel/v2/query.rpc.Query"));
127
- const _462 = __importStar(require("./core/client/v1/query.rpc.Query"));
128
- const _463 = __importStar(require("./core/client/v2/query.rpc.Query"));
129
- const _464 = __importStar(require("./core/connection/v1/query.rpc.Query"));
130
- const _465 = __importStar(require("./lightclients/wasm/v1/query.rpc.Query"));
131
- const _466 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.rpc.msg"));
132
- const _467 = __importStar(require("./applications/interchain_accounts/host/v1/tx.rpc.msg"));
133
- const _468 = __importStar(require("./applications/rate_limiting/v1/tx.rpc.msg"));
134
- const _469 = __importStar(require("./applications/transfer/v1/tx.rpc.msg"));
135
- const _470 = __importStar(require("./core/channel/v1/tx.rpc.msg"));
136
- const _471 = __importStar(require("./core/channel/v2/tx.rpc.msg"));
137
- const _472 = __importStar(require("./core/client/v1/tx.rpc.msg"));
138
- const _473 = __importStar(require("./core/client/v2/tx.rpc.msg"));
139
- const _474 = __importStar(require("./core/connection/v1/tx.rpc.msg"));
140
- const _475 = __importStar(require("./lightclients/wasm/v1/tx.rpc.msg"));
141
- const _554 = __importStar(require("./lcd"));
142
- const _555 = __importStar(require("./rpc.query"));
143
- const _556 = __importStar(require("./rpc.tx"));
91
+ const _428 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.amino"));
92
+ const _429 = __importStar(require("./applications/interchain_accounts/host/v1/tx.amino"));
93
+ const _430 = __importStar(require("./applications/rate_limiting/v1/tx.amino"));
94
+ const _431 = __importStar(require("./applications/transfer/v1/tx.amino"));
95
+ const _432 = __importStar(require("./core/channel/v1/tx.amino"));
96
+ const _433 = __importStar(require("./core/channel/v2/tx.amino"));
97
+ const _434 = __importStar(require("./core/client/v1/tx.amino"));
98
+ const _435 = __importStar(require("./core/client/v2/tx.amino"));
99
+ const _436 = __importStar(require("./core/connection/v1/tx.amino"));
100
+ const _437 = __importStar(require("./lightclients/wasm/v1/tx.amino"));
101
+ const _438 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.registry"));
102
+ const _439 = __importStar(require("./applications/interchain_accounts/host/v1/tx.registry"));
103
+ const _440 = __importStar(require("./applications/rate_limiting/v1/tx.registry"));
104
+ const _441 = __importStar(require("./applications/transfer/v1/tx.registry"));
105
+ const _442 = __importStar(require("./core/channel/v1/tx.registry"));
106
+ const _443 = __importStar(require("./core/channel/v2/tx.registry"));
107
+ const _444 = __importStar(require("./core/client/v1/tx.registry"));
108
+ const _445 = __importStar(require("./core/client/v2/tx.registry"));
109
+ const _446 = __importStar(require("./core/connection/v1/tx.registry"));
110
+ const _447 = __importStar(require("./lightclients/wasm/v1/tx.registry"));
111
+ const _448 = __importStar(require("./applications/interchain_accounts/controller/v1/query.lcd"));
112
+ const _449 = __importStar(require("./applications/interchain_accounts/host/v1/query.lcd"));
113
+ const _450 = __importStar(require("./applications/rate_limiting/v1/query.lcd"));
114
+ const _451 = __importStar(require("./applications/transfer/v1/query.lcd"));
115
+ const _452 = __importStar(require("./core/channel/v1/query.lcd"));
116
+ const _453 = __importStar(require("./core/channel/v2/query.lcd"));
117
+ const _454 = __importStar(require("./core/client/v1/query.lcd"));
118
+ const _455 = __importStar(require("./core/client/v2/query.lcd"));
119
+ const _456 = __importStar(require("./core/connection/v1/query.lcd"));
120
+ const _457 = __importStar(require("./lightclients/wasm/v1/query.lcd"));
121
+ const _458 = __importStar(require("./applications/interchain_accounts/controller/v1/query.rpc.Query"));
122
+ const _459 = __importStar(require("./applications/interchain_accounts/host/v1/query.rpc.Query"));
123
+ const _460 = __importStar(require("./applications/rate_limiting/v1/query.rpc.Query"));
124
+ const _461 = __importStar(require("./applications/transfer/v1/query.rpc.Query"));
125
+ const _462 = __importStar(require("./core/channel/v1/query.rpc.Query"));
126
+ const _463 = __importStar(require("./core/channel/v2/query.rpc.Query"));
127
+ const _464 = __importStar(require("./core/client/v1/query.rpc.Query"));
128
+ const _465 = __importStar(require("./core/client/v2/query.rpc.Query"));
129
+ const _466 = __importStar(require("./core/connection/v1/query.rpc.Query"));
130
+ const _467 = __importStar(require("./lightclients/wasm/v1/query.rpc.Query"));
131
+ const _468 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.rpc.msg"));
132
+ const _469 = __importStar(require("./applications/interchain_accounts/host/v1/tx.rpc.msg"));
133
+ const _470 = __importStar(require("./applications/rate_limiting/v1/tx.rpc.msg"));
134
+ const _471 = __importStar(require("./applications/transfer/v1/tx.rpc.msg"));
135
+ const _472 = __importStar(require("./core/channel/v1/tx.rpc.msg"));
136
+ const _473 = __importStar(require("./core/channel/v2/tx.rpc.msg"));
137
+ const _474 = __importStar(require("./core/client/v1/tx.rpc.msg"));
138
+ const _475 = __importStar(require("./core/client/v2/tx.rpc.msg"));
139
+ const _476 = __importStar(require("./core/connection/v1/tx.rpc.msg"));
140
+ const _477 = __importStar(require("./lightclients/wasm/v1/tx.rpc.msg"));
141
+ const _556 = __importStar(require("./lcd"));
142
+ const _557 = __importStar(require("./rpc.query"));
143
+ const _558 = __importStar(require("./rpc.tx"));
144
144
  var ibc;
145
145
  (function (ibc) {
146
146
  let applications;
@@ -153,11 +153,11 @@ var ibc;
153
153
  ..._122,
154
154
  ..._123,
155
155
  ..._124,
156
- ..._426,
157
- ..._436,
158
- ..._446,
159
- ..._456,
160
- ..._466
156
+ ..._428,
157
+ ..._438,
158
+ ..._448,
159
+ ..._458,
160
+ ..._468
161
161
  };
162
162
  })(controller = interchain_accounts.controller || (interchain_accounts.controller = {}));
163
163
  let genesis;
@@ -172,11 +172,11 @@ var ibc;
172
172
  ..._126,
173
173
  ..._127,
174
174
  ..._128,
175
- ..._427,
176
- ..._437,
177
- ..._447,
178
- ..._457,
179
- ..._467
175
+ ..._429,
176
+ ..._439,
177
+ ..._449,
178
+ ..._459,
179
+ ..._469
180
180
  };
181
181
  })(host = interchain_accounts.host || (interchain_accounts.host = {}));
182
182
  interchain_accounts.v1 = {
@@ -198,11 +198,11 @@ var ibc;
198
198
  ..._134,
199
199
  ..._135,
200
200
  ..._136,
201
- ..._428,
202
- ..._438,
203
- ..._448,
204
- ..._458,
205
- ..._468
201
+ ..._430,
202
+ ..._440,
203
+ ..._450,
204
+ ..._460,
205
+ ..._470
206
206
  };
207
207
  })(rate_limiting = applications.rate_limiting || (applications.rate_limiting = {}));
208
208
  let transfer;
@@ -216,11 +216,11 @@ var ibc;
216
216
  ..._142,
217
217
  ..._143,
218
218
  ..._144,
219
- ..._429,
220
- ..._439,
221
- ..._449,
222
- ..._459,
223
- ..._469
219
+ ..._431,
220
+ ..._441,
221
+ ..._451,
222
+ ..._461,
223
+ ..._471
224
224
  };
225
225
  })(transfer = applications.transfer || (applications.transfer = {}));
226
226
  })(applications = ibc.applications || (ibc.applications = {}));
@@ -233,22 +233,22 @@ var ibc;
233
233
  ..._146,
234
234
  ..._147,
235
235
  ..._148,
236
- ..._430,
237
- ..._440,
238
- ..._450,
239
- ..._460,
240
- ..._470
236
+ ..._432,
237
+ ..._442,
238
+ ..._452,
239
+ ..._462,
240
+ ..._472
241
241
  };
242
242
  channel.v2 = {
243
243
  ..._149,
244
244
  ..._150,
245
245
  ..._151,
246
246
  ..._152,
247
- ..._431,
248
- ..._441,
249
- ..._451,
250
- ..._461,
251
- ..._471
247
+ ..._433,
248
+ ..._443,
249
+ ..._453,
250
+ ..._463,
251
+ ..._473
252
252
  };
253
253
  })(channel = core.channel || (core.channel = {}));
254
254
  let client;
@@ -258,11 +258,11 @@ var ibc;
258
258
  ..._154,
259
259
  ..._155,
260
260
  ..._156,
261
- ..._432,
262
- ..._442,
263
- ..._452,
264
- ..._462,
265
- ..._472
261
+ ..._434,
262
+ ..._444,
263
+ ..._454,
264
+ ..._464,
265
+ ..._474
266
266
  };
267
267
  client.v2 = {
268
268
  ..._157,
@@ -270,11 +270,11 @@ var ibc;
270
270
  ..._159,
271
271
  ..._160,
272
272
  ..._161,
273
- ..._433,
274
- ..._443,
275
- ..._453,
276
- ..._463,
277
- ..._473
273
+ ..._435,
274
+ ..._445,
275
+ ..._455,
276
+ ..._465,
277
+ ..._475
278
278
  };
279
279
  })(client = core.client || (core.client = {}));
280
280
  let commitment;
@@ -293,11 +293,11 @@ var ibc;
293
293
  ..._165,
294
294
  ..._166,
295
295
  ..._167,
296
- ..._434,
297
- ..._444,
298
- ..._454,
299
- ..._464,
300
- ..._474
296
+ ..._436,
297
+ ..._446,
298
+ ..._456,
299
+ ..._466,
300
+ ..._476
301
301
  };
302
302
  })(connection = core.connection || (core.connection = {}));
303
303
  })(core = ibc.core || (ibc.core = {}));
@@ -325,17 +325,17 @@ var ibc;
325
325
  ..._172,
326
326
  ..._173,
327
327
  ..._174,
328
- ..._435,
329
- ..._445,
330
- ..._455,
331
- ..._465,
332
- ..._475
328
+ ..._437,
329
+ ..._447,
330
+ ..._457,
331
+ ..._467,
332
+ ..._477
333
333
  };
334
334
  })(wasm = lightclients.wasm || (lightclients.wasm = {}));
335
335
  })(lightclients = ibc.lightclients || (ibc.lightclients = {}));
336
336
  ibc.ClientFactory = {
337
- ..._554,
338
- ..._555,
339
- ..._556
337
+ ..._556,
338
+ ..._557,
339
+ ..._558
340
340
  };
341
341
  })(ibc || (exports.ibc = ibc = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkdreamnft/sparkdreamjs",
3
- "version": "0.0.9",
3
+ "version": "0.0.11",
4
4
  "author": "kob <kob@sparkdream.io>",
5
5
  "description": "Spark Dream blockchain TypeScript library",
6
6
  "main": "index.js",
@@ -84,6 +84,14 @@ export interface Params {
84
84
  * Duration in seconds to extend TTL by when conviction-renewed (default: 604800 = 7 days)
85
85
  */
86
86
  convictionRenewalPeriod: bigint;
87
+ /**
88
+ * Maximum number of tags that may be attached to a post (default: 5)
89
+ */
90
+ maxTagsPerPost: number;
91
+ /**
92
+ * Maximum length in bytes of any single tag name (default: 32)
93
+ */
94
+ maxTagLength: number;
87
95
  }
88
96
  export interface ParamsProtoMsg {
89
97
  typeUrl: "/sparkdream.blog.v1.Params";
@@ -172,6 +180,14 @@ export interface ParamsAmino {
172
180
  * Duration in seconds to extend TTL by when conviction-renewed (default: 604800 = 7 days)
173
181
  */
174
182
  conviction_renewal_period?: string;
183
+ /**
184
+ * Maximum number of tags that may be attached to a post (default: 5)
185
+ */
186
+ max_tags_per_post?: number;
187
+ /**
188
+ * Maximum length in bytes of any single tag name (default: 32)
189
+ */
190
+ max_tag_length?: number;
175
191
  }
176
192
  export interface ParamsAminoMsg {
177
193
  type: "sparkdream/x/blog/Params";
@@ -25,7 +25,9 @@ function createBaseParams() {
25
25
  maxCostPerByte: coin_1.Coin.fromPartial({}),
26
26
  maxReactionFee: coin_1.Coin.fromPartial({}),
27
27
  convictionRenewalThreshold: "",
28
- convictionRenewalPeriod: BigInt(0)
28
+ convictionRenewalPeriod: BigInt(0),
29
+ maxTagsPerPost: 0,
30
+ maxTagLength: 0
29
31
  };
30
32
  }
31
33
  /**
@@ -95,6 +97,12 @@ exports.Params = {
95
97
  if (message.convictionRenewalPeriod !== BigInt(0)) {
96
98
  writer.uint32(192).int64(message.convictionRenewalPeriod);
97
99
  }
100
+ if (message.maxTagsPerPost !== 0) {
101
+ writer.uint32(200).uint32(message.maxTagsPerPost);
102
+ }
103
+ if (message.maxTagLength !== 0) {
104
+ writer.uint32(208).uint32(message.maxTagLength);
105
+ }
98
106
  return writer;
99
107
  },
100
108
  decode(input, length) {
@@ -161,6 +169,12 @@ exports.Params = {
161
169
  case 24:
162
170
  message.convictionRenewalPeriod = reader.int64();
163
171
  break;
172
+ case 25:
173
+ message.maxTagsPerPost = reader.uint32();
174
+ break;
175
+ case 26:
176
+ message.maxTagLength = reader.uint32();
177
+ break;
164
178
  default:
165
179
  reader.skipType(tag & 7);
166
180
  break;
@@ -189,6 +203,8 @@ exports.Params = {
189
203
  message.maxReactionFee = object.maxReactionFee !== undefined && object.maxReactionFee !== null ? coin_1.Coin.fromPartial(object.maxReactionFee) : undefined;
190
204
  message.convictionRenewalThreshold = object.convictionRenewalThreshold ?? "";
191
205
  message.convictionRenewalPeriod = object.convictionRenewalPeriod !== undefined && object.convictionRenewalPeriod !== null ? BigInt(object.convictionRenewalPeriod.toString()) : BigInt(0);
206
+ message.maxTagsPerPost = object.maxTagsPerPost ?? 0;
207
+ message.maxTagLength = object.maxTagLength ?? 0;
192
208
  return message;
193
209
  },
194
210
  fromAmino(object) {
@@ -250,6 +266,12 @@ exports.Params = {
250
266
  if (object.conviction_renewal_period !== undefined && object.conviction_renewal_period !== null) {
251
267
  message.convictionRenewalPeriod = BigInt(object.conviction_renewal_period);
252
268
  }
269
+ if (object.max_tags_per_post !== undefined && object.max_tags_per_post !== null) {
270
+ message.maxTagsPerPost = object.max_tags_per_post;
271
+ }
272
+ if (object.max_tag_length !== undefined && object.max_tag_length !== null) {
273
+ message.maxTagLength = object.max_tag_length;
274
+ }
253
275
  return message;
254
276
  },
255
277
  toAmino(message) {
@@ -273,6 +295,8 @@ exports.Params = {
273
295
  obj.max_reaction_fee = message.maxReactionFee ? coin_1.Coin.toAmino(message.maxReactionFee) : undefined;
274
296
  obj.conviction_renewal_threshold = message.convictionRenewalThreshold === "" ? undefined : message.convictionRenewalThreshold;
275
297
  obj.conviction_renewal_period = message.convictionRenewalPeriod !== BigInt(0) ? message.convictionRenewalPeriod?.toString() : undefined;
298
+ obj.max_tags_per_post = message.maxTagsPerPost === 0 ? undefined : message.maxTagsPerPost;
299
+ obj.max_tag_length = message.maxTagLength === 0 ? undefined : message.maxTagLength;
276
300
  return obj;
277
301
  },
278
302
  fromAminoMsg(object) {
@@ -93,6 +93,10 @@ export interface Post {
93
93
  * True if anonymous content has entered conviction-sustained state (TTL extended by community conviction)
94
94
  */
95
95
  convictionSustained: boolean;
96
+ /**
97
+ * Tags referenced against the shared x/rep tag registry
98
+ */
99
+ tags: string[];
96
100
  }
97
101
  export interface PostProtoMsg {
98
102
  typeUrl: "/sparkdream.blog.v1.Post";
@@ -189,6 +193,10 @@ export interface PostAmino {
189
193
  * True if anonymous content has entered conviction-sustained state (TTL extended by community conviction)
190
194
  */
191
195
  conviction_sustained?: boolean;
196
+ /**
197
+ * Tags referenced against the shared x/rep tag registry
198
+ */
199
+ tags?: string[];
192
200
  }
193
201
  export interface PostAminoMsg {
194
202
  type: "/sparkdream.blog.v1.Post";
@@ -24,7 +24,8 @@ function createBasePost() {
24
24
  edited: false,
25
25
  editedAt: BigInt(0),
26
26
  initiativeId: BigInt(0),
27
- convictionSustained: false
27
+ convictionSustained: false,
28
+ tags: []
28
29
  };
29
30
  }
30
31
  /**
@@ -99,6 +100,9 @@ exports.Post = {
99
100
  if (message.convictionSustained === true) {
100
101
  writer.uint32(168).bool(message.convictionSustained);
101
102
  }
103
+ for (const v of message.tags) {
104
+ writer.uint32(178).string(v);
105
+ }
102
106
  return writer;
103
107
  },
104
108
  decode(input, length) {
@@ -171,6 +175,9 @@ exports.Post = {
171
175
  case 21:
172
176
  message.convictionSustained = reader.bool();
173
177
  break;
178
+ case 22:
179
+ message.tags.push(reader.string());
180
+ break;
174
181
  default:
175
182
  reader.skipType(tag & 7);
176
183
  break;
@@ -201,6 +208,7 @@ exports.Post = {
201
208
  message.editedAt = object.editedAt !== undefined && object.editedAt !== null ? BigInt(object.editedAt.toString()) : BigInt(0);
202
209
  message.initiativeId = object.initiativeId !== undefined && object.initiativeId !== null ? BigInt(object.initiativeId.toString()) : BigInt(0);
203
210
  message.convictionSustained = object.convictionSustained ?? false;
211
+ message.tags = object.tags?.map(e => e) || [];
204
212
  return message;
205
213
  },
206
214
  fromAmino(object) {
@@ -268,6 +276,7 @@ exports.Post = {
268
276
  if (object.conviction_sustained !== undefined && object.conviction_sustained !== null) {
269
277
  message.convictionSustained = object.conviction_sustained;
270
278
  }
279
+ message.tags = object.tags?.map(e => e) || [];
271
280
  return message;
272
281
  },
273
282
  toAmino(message) {
@@ -293,6 +302,12 @@ exports.Post = {
293
302
  obj.edited_at = message.editedAt !== BigInt(0) ? message.editedAt?.toString() : undefined;
294
303
  obj.initiative_id = message.initiativeId !== BigInt(0) ? message.initiativeId?.toString() : undefined;
295
304
  obj.conviction_sustained = message.convictionSustained === false ? undefined : message.convictionSustained;
305
+ if (message.tags) {
306
+ obj.tags = message.tags.map(e => e);
307
+ }
308
+ else {
309
+ obj.tags = message.tags;
310
+ }
296
311
  return obj;
297
312
  },
298
313
  fromAminoMsg(object) {
@@ -628,6 +628,62 @@ export interface QueryListExpiringContentResponseAminoMsg {
628
628
  type: "/sparkdream.blog.v1.QueryListExpiringContentResponse";
629
629
  value: QueryListExpiringContentResponseAmino;
630
630
  }
631
+ /**
632
+ * QueryListPostsByTagRequest defines the QueryListPostsByTagRequest message.
633
+ * @name QueryListPostsByTagRequest
634
+ * @package sparkdream.blog.v1
635
+ * @see proto type: sparkdream.blog.v1.QueryListPostsByTagRequest
636
+ */
637
+ export interface QueryListPostsByTagRequest {
638
+ tag: string;
639
+ pagination?: PageRequest;
640
+ }
641
+ export interface QueryListPostsByTagRequestProtoMsg {
642
+ typeUrl: "/sparkdream.blog.v1.QueryListPostsByTagRequest";
643
+ value: Uint8Array;
644
+ }
645
+ /**
646
+ * QueryListPostsByTagRequest defines the QueryListPostsByTagRequest message.
647
+ * @name QueryListPostsByTagRequestAmino
648
+ * @package sparkdream.blog.v1
649
+ * @see proto type: sparkdream.blog.v1.QueryListPostsByTagRequest
650
+ */
651
+ export interface QueryListPostsByTagRequestAmino {
652
+ tag?: string;
653
+ pagination?: PageRequestAmino;
654
+ }
655
+ export interface QueryListPostsByTagRequestAminoMsg {
656
+ type: "/sparkdream.blog.v1.QueryListPostsByTagRequest";
657
+ value: QueryListPostsByTagRequestAmino;
658
+ }
659
+ /**
660
+ * QueryListPostsByTagResponse defines the QueryListPostsByTagResponse message.
661
+ * @name QueryListPostsByTagResponse
662
+ * @package sparkdream.blog.v1
663
+ * @see proto type: sparkdream.blog.v1.QueryListPostsByTagResponse
664
+ */
665
+ export interface QueryListPostsByTagResponse {
666
+ posts: Post[];
667
+ pagination?: PageResponse;
668
+ }
669
+ export interface QueryListPostsByTagResponseProtoMsg {
670
+ typeUrl: "/sparkdream.blog.v1.QueryListPostsByTagResponse";
671
+ value: Uint8Array;
672
+ }
673
+ /**
674
+ * QueryListPostsByTagResponse defines the QueryListPostsByTagResponse message.
675
+ * @name QueryListPostsByTagResponseAmino
676
+ * @package sparkdream.blog.v1
677
+ * @see proto type: sparkdream.blog.v1.QueryListPostsByTagResponse
678
+ */
679
+ export interface QueryListPostsByTagResponseAmino {
680
+ posts?: PostAmino[];
681
+ pagination?: PageResponseAmino;
682
+ }
683
+ export interface QueryListPostsByTagResponseAminoMsg {
684
+ type: "/sparkdream.blog.v1.QueryListPostsByTagResponse";
685
+ value: QueryListPostsByTagResponseAmino;
686
+ }
631
687
  /**
632
688
  * QueryParamsRequest is request type for the Query/Params RPC method.
633
689
  * @name QueryParamsRequest
@@ -1024,3 +1080,39 @@ export declare const QueryListExpiringContentResponse: {
1024
1080
  toProto(message: QueryListExpiringContentResponse): Uint8Array;
1025
1081
  toProtoMsg(message: QueryListExpiringContentResponse): QueryListExpiringContentResponseProtoMsg;
1026
1082
  };
1083
+ /**
1084
+ * QueryListPostsByTagRequest defines the QueryListPostsByTagRequest message.
1085
+ * @name QueryListPostsByTagRequest
1086
+ * @package sparkdream.blog.v1
1087
+ * @see proto type: sparkdream.blog.v1.QueryListPostsByTagRequest
1088
+ */
1089
+ export declare const QueryListPostsByTagRequest: {
1090
+ typeUrl: string;
1091
+ encode(message: QueryListPostsByTagRequest, writer?: BinaryWriter): BinaryWriter;
1092
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryListPostsByTagRequest;
1093
+ fromPartial(object: DeepPartial<QueryListPostsByTagRequest>): QueryListPostsByTagRequest;
1094
+ fromAmino(object: QueryListPostsByTagRequestAmino): QueryListPostsByTagRequest;
1095
+ toAmino(message: QueryListPostsByTagRequest): QueryListPostsByTagRequestAmino;
1096
+ fromAminoMsg(object: QueryListPostsByTagRequestAminoMsg): QueryListPostsByTagRequest;
1097
+ fromProtoMsg(message: QueryListPostsByTagRequestProtoMsg): QueryListPostsByTagRequest;
1098
+ toProto(message: QueryListPostsByTagRequest): Uint8Array;
1099
+ toProtoMsg(message: QueryListPostsByTagRequest): QueryListPostsByTagRequestProtoMsg;
1100
+ };
1101
+ /**
1102
+ * QueryListPostsByTagResponse defines the QueryListPostsByTagResponse message.
1103
+ * @name QueryListPostsByTagResponse
1104
+ * @package sparkdream.blog.v1
1105
+ * @see proto type: sparkdream.blog.v1.QueryListPostsByTagResponse
1106
+ */
1107
+ export declare const QueryListPostsByTagResponse: {
1108
+ typeUrl: string;
1109
+ encode(message: QueryListPostsByTagResponse, writer?: BinaryWriter): BinaryWriter;
1110
+ decode(input: BinaryReader | Uint8Array, length?: number): QueryListPostsByTagResponse;
1111
+ fromPartial(object: DeepPartial<QueryListPostsByTagResponse>): QueryListPostsByTagResponse;
1112
+ fromAmino(object: QueryListPostsByTagResponseAmino): QueryListPostsByTagResponse;
1113
+ toAmino(message: QueryListPostsByTagResponse): QueryListPostsByTagResponseAmino;
1114
+ fromAminoMsg(object: QueryListPostsByTagResponseAminoMsg): QueryListPostsByTagResponse;
1115
+ fromProtoMsg(message: QueryListPostsByTagResponseProtoMsg): QueryListPostsByTagResponse;
1116
+ toProto(message: QueryListPostsByTagResponse): Uint8Array;
1117
+ toProtoMsg(message: QueryListPostsByTagResponse): QueryListPostsByTagResponseProtoMsg;
1118
+ };