@sparkdreamnft/sparkdreamjs 0.0.5 → 0.0.6

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 (88) hide show
  1. package/cosmos/bundle.d.ts +162 -162
  2. package/cosmos/bundle.js +184 -184
  3. package/esm/cosmos/bundle.js +184 -184
  4. package/esm/ibc/bundle.js +96 -96
  5. package/esm/sparkdream/blog/module/{module.js → v1/module.js} +3 -3
  6. package/esm/sparkdream/blog/{genesis.js → v1/genesis.js} +3 -3
  7. package/esm/sparkdream/blog/{params.js → v1/params.js} +3 -3
  8. package/esm/sparkdream/blog/{post.js → v1/post.js} +3 -3
  9. package/esm/sparkdream/blog/{query.js → v1/query.js} +14 -14
  10. package/esm/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
  11. package/esm/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
  12. package/esm/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
  13. package/esm/sparkdream/blog/{tx.js → v1/tx.js} +17 -17
  14. package/esm/sparkdream/blog/{tx.registry.js → v1/tx.registry.js} +13 -13
  15. package/esm/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
  16. package/esm/sparkdream/bundle.js +68 -48
  17. package/esm/sparkdream/client.js +7 -7
  18. package/esm/sparkdream/lcd.js +10 -6
  19. package/esm/sparkdream/rpc.query.js +6 -2
  20. package/esm/sparkdream/rpc.tx.js +6 -2
  21. package/esm/sparkdream/sparkdream/module/{module.js → v1/module.js} +3 -3
  22. package/esm/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +3 -3
  23. package/esm/sparkdream/sparkdream/{params.js → v1/params.js} +3 -3
  24. package/esm/sparkdream/sparkdream/{query.js → v1/query.js} +5 -5
  25. package/esm/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
  26. package/esm/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
  27. package/esm/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
  28. package/esm/sparkdream/sparkdream/{tx.js → v1/tx.js} +5 -5
  29. package/esm/sparkdream/sparkdream/{tx.registry.js → v1/tx.registry.js} +4 -4
  30. package/esm/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
  31. package/esm/tendermint/bundle.js +18 -18
  32. package/ibc/bundle.d.ts +81 -81
  33. package/ibc/bundle.js +96 -96
  34. package/package.json +1 -1
  35. package/sparkdream/{sparkdream/module → blog/module/v1}/module.d.ts +12 -6
  36. package/sparkdream/blog/module/{module.js → v1/module.js} +3 -3
  37. package/sparkdream/blog/{genesis.d.ts → v1/genesis.d.ts} +4 -4
  38. package/sparkdream/blog/{genesis.js → v1/genesis.js} +3 -3
  39. package/sparkdream/blog/{params.d.ts → v1/params.d.ts} +3 -3
  40. package/sparkdream/blog/{params.js → v1/params.js} +3 -3
  41. package/sparkdream/blog/{post.d.ts → v1/post.d.ts} +6 -4
  42. package/sparkdream/blog/{post.js → v1/post.js} +3 -3
  43. package/sparkdream/blog/{query.d.ts → v1/query.d.ts} +23 -15
  44. package/sparkdream/blog/{query.js → v1/query.js} +14 -14
  45. package/sparkdream/blog/{query.lcd.js → v1/query.lcd.js} +6 -6
  46. package/sparkdream/blog/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +3 -3
  47. package/sparkdream/blog/{query.rpc.Query.js → v1/query.rpc.Query.js} +6 -6
  48. package/sparkdream/blog/{tx.amino.d.ts → v1/tx.amino.d.ts} +4 -4
  49. package/sparkdream/blog/{tx.amino.js → v1/tx.amino.js} +7 -7
  50. package/sparkdream/blog/{tx.d.ts → v1/tx.d.ts} +29 -17
  51. package/sparkdream/blog/{tx.js → v1/tx.js} +17 -17
  52. package/sparkdream/blog/{tx.registry.d.ts → v1/tx.registry.d.ts} +1 -1
  53. package/sparkdream/blog/{tx.registry.js → v1/tx.registry.js} +13 -13
  54. package/sparkdream/blog/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +4 -1
  55. package/sparkdream/blog/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +8 -8
  56. package/sparkdream/bundle.d.ts +460 -410
  57. package/sparkdream/bundle.js +68 -48
  58. package/sparkdream/client.d.ts +15 -15
  59. package/sparkdream/client.js +7 -7
  60. package/sparkdream/lcd.d.ts +6 -2
  61. package/sparkdream/lcd.js +10 -6
  62. package/sparkdream/rpc.query.d.ts +8 -4
  63. package/sparkdream/rpc.query.js +6 -2
  64. package/sparkdream/rpc.tx.d.ts +6 -2
  65. package/sparkdream/rpc.tx.js +6 -2
  66. package/sparkdream/{blog/module → sparkdream/module/v1}/module.d.ts +12 -6
  67. package/sparkdream/sparkdream/module/{module.js → v1/module.js} +3 -3
  68. package/sparkdream/sparkdream/{genesis.d.ts → v1/genesis.d.ts} +4 -4
  69. package/sparkdream/sparkdream/{genesis.js → v1/genesis.js} +3 -3
  70. package/sparkdream/sparkdream/{params.d.ts → v1/params.d.ts} +3 -3
  71. package/sparkdream/sparkdream/{params.js → v1/params.js} +3 -3
  72. package/sparkdream/sparkdream/{query.d.ts → v1/query.d.ts} +6 -6
  73. package/sparkdream/sparkdream/{query.js → v1/query.js} +5 -5
  74. package/sparkdream/sparkdream/{query.lcd.js → v1/query.lcd.js} +1 -1
  75. package/sparkdream/sparkdream/{query.rpc.Query.d.ts → v1/query.rpc.Query.d.ts} +1 -1
  76. package/sparkdream/sparkdream/{query.rpc.Query.js → v1/query.rpc.Query.js} +2 -2
  77. package/sparkdream/sparkdream/{tx.amino.d.ts → v1/tx.amino.d.ts} +1 -1
  78. package/sparkdream/sparkdream/{tx.amino.js → v1/tx.amino.js} +1 -1
  79. package/sparkdream/sparkdream/{tx.d.ts → v1/tx.d.ts} +5 -5
  80. package/sparkdream/sparkdream/{tx.js → v1/tx.js} +5 -5
  81. package/sparkdream/sparkdream/{tx.registry.d.ts → v1/tx.registry.d.ts} +1 -1
  82. package/sparkdream/sparkdream/{tx.registry.js → v1/tx.registry.js} +4 -4
  83. package/sparkdream/sparkdream/{tx.rpc.msg.d.ts → v1/tx.rpc.msg.d.ts} +1 -1
  84. package/sparkdream/sparkdream/{tx.rpc.msg.js → v1/tx.rpc.msg.js} +2 -2
  85. package/tendermint/bundle.d.ts +844 -844
  86. package/tendermint/bundle.js +18 -18
  87. /package/sparkdream/blog/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
  88. /package/sparkdream/sparkdream/{query.lcd.d.ts → v1/query.lcd.d.ts} +0 -0
package/ibc/bundle.js CHANGED
@@ -84,54 +84,54 @@ const _169 = __importStar(require("./lightclients/wasm/v1/genesis"));
84
84
  const _170 = __importStar(require("./lightclients/wasm/v1/query"));
85
85
  const _171 = __importStar(require("./lightclients/wasm/v1/tx"));
86
86
  const _172 = __importStar(require("./lightclients/wasm/v1/wasm"));
87
- const _281 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.amino"));
88
- const _282 = __importStar(require("./applications/interchain_accounts/host/v1/tx.amino"));
89
- const _283 = __importStar(require("./applications/transfer/v1/tx.amino"));
90
- const _284 = __importStar(require("./core/channel/v1/tx.amino"));
91
- const _285 = __importStar(require("./core/channel/v2/tx.amino"));
92
- const _286 = __importStar(require("./core/client/v1/tx.amino"));
93
- const _287 = __importStar(require("./core/client/v2/tx.amino"));
94
- const _288 = __importStar(require("./core/connection/v1/tx.amino"));
95
- const _289 = __importStar(require("./lightclients/wasm/v1/tx.amino"));
96
- const _290 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.registry"));
97
- const _291 = __importStar(require("./applications/interchain_accounts/host/v1/tx.registry"));
98
- const _292 = __importStar(require("./applications/transfer/v1/tx.registry"));
99
- const _293 = __importStar(require("./core/channel/v1/tx.registry"));
100
- const _294 = __importStar(require("./core/channel/v2/tx.registry"));
101
- const _295 = __importStar(require("./core/client/v1/tx.registry"));
102
- const _296 = __importStar(require("./core/client/v2/tx.registry"));
103
- const _297 = __importStar(require("./core/connection/v1/tx.registry"));
104
- const _298 = __importStar(require("./lightclients/wasm/v1/tx.registry"));
105
- const _299 = __importStar(require("./applications/interchain_accounts/controller/v1/query.lcd"));
106
- const _300 = __importStar(require("./applications/interchain_accounts/host/v1/query.lcd"));
107
- const _301 = __importStar(require("./applications/transfer/v1/query.lcd"));
108
- const _302 = __importStar(require("./core/channel/v1/query.lcd"));
109
- const _303 = __importStar(require("./core/channel/v2/query.lcd"));
110
- const _304 = __importStar(require("./core/client/v1/query.lcd"));
111
- const _305 = __importStar(require("./core/client/v2/query.lcd"));
112
- const _306 = __importStar(require("./core/connection/v1/query.lcd"));
113
- const _307 = __importStar(require("./lightclients/wasm/v1/query.lcd"));
114
- const _308 = __importStar(require("./applications/interchain_accounts/controller/v1/query.rpc.Query"));
115
- const _309 = __importStar(require("./applications/interchain_accounts/host/v1/query.rpc.Query"));
116
- const _310 = __importStar(require("./applications/transfer/v1/query.rpc.Query"));
117
- const _311 = __importStar(require("./core/channel/v1/query.rpc.Query"));
118
- const _312 = __importStar(require("./core/channel/v2/query.rpc.Query"));
119
- const _313 = __importStar(require("./core/client/v1/query.rpc.Query"));
120
- const _314 = __importStar(require("./core/client/v2/query.rpc.Query"));
121
- const _315 = __importStar(require("./core/connection/v1/query.rpc.Query"));
122
- const _316 = __importStar(require("./lightclients/wasm/v1/query.rpc.Query"));
123
- const _317 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.rpc.msg"));
124
- const _318 = __importStar(require("./applications/interchain_accounts/host/v1/tx.rpc.msg"));
125
- const _319 = __importStar(require("./applications/transfer/v1/tx.rpc.msg"));
126
- const _320 = __importStar(require("./core/channel/v1/tx.rpc.msg"));
127
- const _321 = __importStar(require("./core/channel/v2/tx.rpc.msg"));
128
- const _322 = __importStar(require("./core/client/v1/tx.rpc.msg"));
129
- const _323 = __importStar(require("./core/client/v2/tx.rpc.msg"));
130
- const _324 = __importStar(require("./core/connection/v1/tx.rpc.msg"));
131
- const _325 = __importStar(require("./lightclients/wasm/v1/tx.rpc.msg"));
132
- const _339 = __importStar(require("./lcd"));
133
- const _340 = __importStar(require("./rpc.query"));
134
- const _341 = __importStar(require("./rpc.tx"));
87
+ const _283 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.amino"));
88
+ const _284 = __importStar(require("./applications/interchain_accounts/host/v1/tx.amino"));
89
+ const _285 = __importStar(require("./applications/transfer/v1/tx.amino"));
90
+ const _286 = __importStar(require("./core/channel/v1/tx.amino"));
91
+ const _287 = __importStar(require("./core/channel/v2/tx.amino"));
92
+ const _288 = __importStar(require("./core/client/v1/tx.amino"));
93
+ const _289 = __importStar(require("./core/client/v2/tx.amino"));
94
+ const _290 = __importStar(require("./core/connection/v1/tx.amino"));
95
+ const _291 = __importStar(require("./lightclients/wasm/v1/tx.amino"));
96
+ const _292 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.registry"));
97
+ const _293 = __importStar(require("./applications/interchain_accounts/host/v1/tx.registry"));
98
+ const _294 = __importStar(require("./applications/transfer/v1/tx.registry"));
99
+ const _295 = __importStar(require("./core/channel/v1/tx.registry"));
100
+ const _296 = __importStar(require("./core/channel/v2/tx.registry"));
101
+ const _297 = __importStar(require("./core/client/v1/tx.registry"));
102
+ const _298 = __importStar(require("./core/client/v2/tx.registry"));
103
+ const _299 = __importStar(require("./core/connection/v1/tx.registry"));
104
+ const _300 = __importStar(require("./lightclients/wasm/v1/tx.registry"));
105
+ const _301 = __importStar(require("./applications/interchain_accounts/controller/v1/query.lcd"));
106
+ const _302 = __importStar(require("./applications/interchain_accounts/host/v1/query.lcd"));
107
+ const _303 = __importStar(require("./applications/transfer/v1/query.lcd"));
108
+ const _304 = __importStar(require("./core/channel/v1/query.lcd"));
109
+ const _305 = __importStar(require("./core/channel/v2/query.lcd"));
110
+ const _306 = __importStar(require("./core/client/v1/query.lcd"));
111
+ const _307 = __importStar(require("./core/client/v2/query.lcd"));
112
+ const _308 = __importStar(require("./core/connection/v1/query.lcd"));
113
+ const _309 = __importStar(require("./lightclients/wasm/v1/query.lcd"));
114
+ const _310 = __importStar(require("./applications/interchain_accounts/controller/v1/query.rpc.Query"));
115
+ const _311 = __importStar(require("./applications/interchain_accounts/host/v1/query.rpc.Query"));
116
+ const _312 = __importStar(require("./applications/transfer/v1/query.rpc.Query"));
117
+ const _313 = __importStar(require("./core/channel/v1/query.rpc.Query"));
118
+ const _314 = __importStar(require("./core/channel/v2/query.rpc.Query"));
119
+ const _315 = __importStar(require("./core/client/v1/query.rpc.Query"));
120
+ const _316 = __importStar(require("./core/client/v2/query.rpc.Query"));
121
+ const _317 = __importStar(require("./core/connection/v1/query.rpc.Query"));
122
+ const _318 = __importStar(require("./lightclients/wasm/v1/query.rpc.Query"));
123
+ const _319 = __importStar(require("./applications/interchain_accounts/controller/v1/tx.rpc.msg"));
124
+ const _320 = __importStar(require("./applications/interchain_accounts/host/v1/tx.rpc.msg"));
125
+ const _321 = __importStar(require("./applications/transfer/v1/tx.rpc.msg"));
126
+ const _322 = __importStar(require("./core/channel/v1/tx.rpc.msg"));
127
+ const _323 = __importStar(require("./core/channel/v2/tx.rpc.msg"));
128
+ const _324 = __importStar(require("./core/client/v1/tx.rpc.msg"));
129
+ const _325 = __importStar(require("./core/client/v2/tx.rpc.msg"));
130
+ const _326 = __importStar(require("./core/connection/v1/tx.rpc.msg"));
131
+ const _327 = __importStar(require("./lightclients/wasm/v1/tx.rpc.msg"));
132
+ const _341 = __importStar(require("./lcd"));
133
+ const _342 = __importStar(require("./rpc.query"));
134
+ const _343 = __importStar(require("./rpc.tx"));
135
135
  var ibc;
136
136
  (function (ibc) {
137
137
  let applications;
@@ -144,11 +144,11 @@ var ibc;
144
144
  ..._124,
145
145
  ..._125,
146
146
  ..._126,
147
- ..._281,
148
- ..._290,
149
- ..._299,
150
- ..._308,
151
- ..._317
147
+ ..._283,
148
+ ..._292,
149
+ ..._301,
150
+ ..._310,
151
+ ..._319
152
152
  };
153
153
  })(controller = interchain_accounts.controller || (interchain_accounts.controller = {}));
154
154
  let genesis;
@@ -163,11 +163,11 @@ var ibc;
163
163
  ..._128,
164
164
  ..._129,
165
165
  ..._130,
166
- ..._282,
167
- ..._291,
168
- ..._300,
169
- ..._309,
170
- ..._318
166
+ ..._284,
167
+ ..._293,
168
+ ..._302,
169
+ ..._311,
170
+ ..._320
171
171
  };
172
172
  })(host = interchain_accounts.host || (interchain_accounts.host = {}));
173
173
  interchain_accounts.v1 = {
@@ -193,11 +193,11 @@ var ibc;
193
193
  ..._140,
194
194
  ..._141,
195
195
  ..._142,
196
- ..._283,
197
- ..._292,
198
- ..._301,
199
- ..._310,
200
- ..._319
196
+ ..._285,
197
+ ..._294,
198
+ ..._303,
199
+ ..._312,
200
+ ..._321
201
201
  };
202
202
  })(transfer = applications.transfer || (applications.transfer = {}));
203
203
  })(applications = ibc.applications || (ibc.applications = {}));
@@ -210,22 +210,22 @@ var ibc;
210
210
  ..._144,
211
211
  ..._145,
212
212
  ..._146,
213
- ..._284,
214
- ..._293,
215
- ..._302,
216
- ..._311,
217
- ..._320
213
+ ..._286,
214
+ ..._295,
215
+ ..._304,
216
+ ..._313,
217
+ ..._322
218
218
  };
219
219
  channel.v2 = {
220
220
  ..._147,
221
221
  ..._148,
222
222
  ..._149,
223
223
  ..._150,
224
- ..._285,
225
- ..._294,
226
- ..._303,
227
- ..._312,
228
- ..._321
224
+ ..._287,
225
+ ..._296,
226
+ ..._305,
227
+ ..._314,
228
+ ..._323
229
229
  };
230
230
  })(channel = core.channel || (core.channel = {}));
231
231
  let client;
@@ -235,11 +235,11 @@ var ibc;
235
235
  ..._152,
236
236
  ..._153,
237
237
  ..._154,
238
- ..._286,
239
- ..._295,
240
- ..._304,
241
- ..._313,
242
- ..._322
238
+ ..._288,
239
+ ..._297,
240
+ ..._306,
241
+ ..._315,
242
+ ..._324
243
243
  };
244
244
  client.v2 = {
245
245
  ..._155,
@@ -247,11 +247,11 @@ var ibc;
247
247
  ..._157,
248
248
  ..._158,
249
249
  ..._159,
250
- ..._287,
251
- ..._296,
252
- ..._305,
253
- ..._314,
254
- ..._323
250
+ ..._289,
251
+ ..._298,
252
+ ..._307,
253
+ ..._316,
254
+ ..._325
255
255
  };
256
256
  })(client = core.client || (core.client = {}));
257
257
  let commitment;
@@ -270,11 +270,11 @@ var ibc;
270
270
  ..._163,
271
271
  ..._164,
272
272
  ..._165,
273
- ..._288,
274
- ..._297,
275
- ..._306,
276
- ..._315,
277
- ..._324
273
+ ..._290,
274
+ ..._299,
275
+ ..._308,
276
+ ..._317,
277
+ ..._326
278
278
  };
279
279
  })(connection = core.connection || (core.connection = {}));
280
280
  })(core = ibc.core || (ibc.core = {}));
@@ -302,17 +302,17 @@ var ibc;
302
302
  ..._170,
303
303
  ..._171,
304
304
  ..._172,
305
- ..._289,
306
- ..._298,
307
- ..._307,
308
- ..._316,
309
- ..._325
305
+ ..._291,
306
+ ..._300,
307
+ ..._309,
308
+ ..._318,
309
+ ..._327
310
310
  };
311
311
  })(wasm = lightclients.wasm || (lightclients.wasm = {}));
312
312
  })(lightclients = ibc.lightclients || (ibc.lightclients = {}));
313
313
  ibc.ClientFactory = {
314
- ..._339,
315
- ..._340,
316
- ..._341
314
+ ..._341,
315
+ ..._342,
316
+ ..._343
317
317
  };
318
318
  })(ibc || (exports.ibc = ibc = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sparkdreamnft/sparkdreamjs",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "author": "kob <kob@sparkdream.io>",
5
5
  "description": "Spark Dream blockchain TypeScript library",
6
6
  "main": "index.js",
@@ -1,21 +1,27 @@
1
- import { BinaryReader, BinaryWriter } from "../../../binary";
2
- import { DeepPartial } from "../../../helpers";
1
+ import { BinaryReader, BinaryWriter } from "../../../../binary";
2
+ import { DeepPartial } from "../../../../helpers";
3
3
  /** Module is the config object for the module. */
4
4
  export interface Module {
5
- /** authority defines the custom module authority. If not set, defaults to the governance module. */
5
+ /**
6
+ * authority defines the custom module authority.
7
+ * If not set, defaults to the governance module.
8
+ */
6
9
  authority: string;
7
10
  }
8
11
  export interface ModuleProtoMsg {
9
- typeUrl: "/sparkdream.sparkdream.module.Module";
12
+ typeUrl: "/sparkdream.blog.module.v1.Module";
10
13
  value: Uint8Array;
11
14
  }
12
15
  /** Module is the config object for the module. */
13
16
  export interface ModuleAmino {
14
- /** authority defines the custom module authority. If not set, defaults to the governance module. */
17
+ /**
18
+ * authority defines the custom module authority.
19
+ * If not set, defaults to the governance module.
20
+ */
15
21
  authority?: string;
16
22
  }
17
23
  export interface ModuleAminoMsg {
18
- type: "/sparkdream.sparkdream.module.Module";
24
+ type: "/sparkdream.blog.module.v1.Module";
19
25
  value: ModuleAmino;
20
26
  }
21
27
  export declare const Module: {
@@ -2,14 +2,14 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Module = void 0;
4
4
  //@ts-nocheck
5
- const binary_1 = require("../../../binary");
5
+ const binary_1 = require("../../../../binary");
6
6
  function createBaseModule() {
7
7
  return {
8
8
  authority: ""
9
9
  };
10
10
  }
11
11
  exports.Module = {
12
- typeUrl: "/sparkdream.blog.module.Module",
12
+ typeUrl: "/sparkdream.blog.module.v1.Module",
13
13
  encode(message, writer = binary_1.BinaryWriter.create()) {
14
14
  if (message.authority !== "") {
15
15
  writer.uint32(10).string(message.authority);
@@ -61,7 +61,7 @@ exports.Module = {
61
61
  },
62
62
  toProtoMsg(message) {
63
63
  return {
64
- typeUrl: "/sparkdream.blog.module.Module",
64
+ typeUrl: "/sparkdream.blog.module.v1.Module",
65
65
  value: exports.Module.encode(message).finish()
66
66
  };
67
67
  }
@@ -1,13 +1,13 @@
1
1
  import { Params, ParamsAmino } from "./params";
2
- import { BinaryReader, BinaryWriter } from "../../binary";
3
- import { DeepPartial } from "../../helpers";
2
+ import { BinaryReader, BinaryWriter } from "../../../binary";
3
+ import { DeepPartial } from "../../../helpers";
4
4
  /** GenesisState defines the blog module's genesis state. */
5
5
  export interface GenesisState {
6
6
  /** params defines all the parameters of the module. */
7
7
  params: Params;
8
8
  }
9
9
  export interface GenesisStateProtoMsg {
10
- typeUrl: "/sparkdream.blog.GenesisState";
10
+ typeUrl: "/sparkdream.blog.v1.GenesisState";
11
11
  value: Uint8Array;
12
12
  }
13
13
  /** GenesisState defines the blog module's genesis state. */
@@ -16,7 +16,7 @@ export interface GenesisStateAmino {
16
16
  params: ParamsAmino;
17
17
  }
18
18
  export interface GenesisStateAminoMsg {
19
- type: "/sparkdream.blog.GenesisState";
19
+ type: "/sparkdream.blog.v1.GenesisState";
20
20
  value: GenesisStateAmino;
21
21
  }
22
22
  export declare const GenesisState: {
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GenesisState = void 0;
4
4
  //@ts-nocheck
5
5
  const params_1 = require("./params");
6
- const binary_1 = require("../../binary");
6
+ const binary_1 = require("../../../binary");
7
7
  function createBaseGenesisState() {
8
8
  return {
9
9
  params: params_1.Params.fromPartial({})
10
10
  };
11
11
  }
12
12
  exports.GenesisState = {
13
- typeUrl: "/sparkdream.blog.GenesisState",
13
+ typeUrl: "/sparkdream.blog.v1.GenesisState",
14
14
  encode(message, writer = binary_1.BinaryWriter.create()) {
15
15
  if (message.params !== undefined) {
16
16
  params_1.Params.encode(message.params, writer.uint32(10).fork()).ldelim();
@@ -62,7 +62,7 @@ exports.GenesisState = {
62
62
  },
63
63
  toProtoMsg(message) {
64
64
  return {
65
- typeUrl: "/sparkdream.blog.GenesisState",
65
+ typeUrl: "/sparkdream.blog.v1.GenesisState",
66
66
  value: exports.GenesisState.encode(message).finish()
67
67
  };
68
68
  }
@@ -1,10 +1,10 @@
1
- import { BinaryReader, BinaryWriter } from "../../binary";
2
- import { DeepPartial } from "../../helpers";
1
+ import { BinaryReader, BinaryWriter } from "../../../binary";
2
+ import { DeepPartial } from "../../../helpers";
3
3
  /** Params defines the parameters for the module. */
4
4
  export interface Params {
5
5
  }
6
6
  export interface ParamsProtoMsg {
7
- typeUrl: "/sparkdream.blog.Params";
7
+ typeUrl: "/sparkdream.blog.v1.Params";
8
8
  value: Uint8Array;
9
9
  }
10
10
  /** Params defines the parameters for the module. */
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Params = void 0;
4
4
  //@ts-nocheck
5
- const binary_1 = require("../../binary");
5
+ const binary_1 = require("../../../binary");
6
6
  function createBaseParams() {
7
7
  return {};
8
8
  }
9
9
  exports.Params = {
10
- typeUrl: "/sparkdream.blog.Params",
10
+ typeUrl: "/sparkdream.blog.v1.Params",
11
11
  aminoType: "sparkdream/x/blog/Params",
12
12
  encode(_, writer = binary_1.BinaryWriter.create()) {
13
13
  return writer;
@@ -55,7 +55,7 @@ exports.Params = {
55
55
  },
56
56
  toProtoMsg(message) {
57
57
  return {
58
- typeUrl: "/sparkdream.blog.Params",
58
+ typeUrl: "/sparkdream.blog.v1.Params",
59
59
  value: exports.Params.encode(message).finish()
60
60
  };
61
61
  }
@@ -1,5 +1,6 @@
1
- import { BinaryReader, BinaryWriter } from "../../binary";
2
- import { DeepPartial } from "../../helpers";
1
+ import { BinaryReader, BinaryWriter } from "../../../binary";
2
+ import { DeepPartial } from "../../../helpers";
3
+ /** Post defines the Post message. */
3
4
  export interface Post {
4
5
  title: string;
5
6
  body: string;
@@ -7,9 +8,10 @@ export interface Post {
7
8
  id: bigint;
8
9
  }
9
10
  export interface PostProtoMsg {
10
- typeUrl: "/sparkdream.blog.Post";
11
+ typeUrl: "/sparkdream.blog.v1.Post";
11
12
  value: Uint8Array;
12
13
  }
14
+ /** Post defines the Post message. */
13
15
  export interface PostAmino {
14
16
  title?: string;
15
17
  body?: string;
@@ -17,7 +19,7 @@ export interface PostAmino {
17
19
  id?: string;
18
20
  }
19
21
  export interface PostAminoMsg {
20
- type: "/sparkdream.blog.Post";
22
+ type: "/sparkdream.blog.v1.Post";
21
23
  value: PostAmino;
22
24
  }
23
25
  export declare const Post: {
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Post = void 0;
4
4
  //@ts-nocheck
5
- const binary_1 = require("../../binary");
5
+ const binary_1 = require("../../../binary");
6
6
  function createBasePost() {
7
7
  return {
8
8
  title: "",
@@ -12,7 +12,7 @@ function createBasePost() {
12
12
  };
13
13
  }
14
14
  exports.Post = {
15
- typeUrl: "/sparkdream.blog.Post",
15
+ typeUrl: "/sparkdream.blog.v1.Post",
16
16
  encode(message, writer = binary_1.BinaryWriter.create()) {
17
17
  if (message.title !== "") {
18
18
  writer.uint32(10).string(message.title);
@@ -97,7 +97,7 @@ exports.Post = {
97
97
  },
98
98
  toProtoMsg(message) {
99
99
  return {
100
- typeUrl: "/sparkdream.blog.Post",
100
+ typeUrl: "/sparkdream.blog.v1.Post",
101
101
  value: exports.Post.encode(message).finish()
102
102
  };
103
103
  }
@@ -1,20 +1,20 @@
1
- import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../cosmos/base/query/v1beta1/pagination";
1
+ import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../../cosmos/base/query/v1beta1/pagination";
2
2
  import { Params, ParamsAmino } from "./params";
3
3
  import { Post, PostAmino } from "./post";
4
- import { BinaryReader, BinaryWriter } from "../../binary";
5
- import { DeepPartial } from "../../helpers";
4
+ import { BinaryReader, BinaryWriter } from "../../../binary";
5
+ import { DeepPartial } from "../../../helpers";
6
6
  /** QueryParamsRequest is request type for the Query/Params RPC method. */
7
7
  export interface QueryParamsRequest {
8
8
  }
9
9
  export interface QueryParamsRequestProtoMsg {
10
- typeUrl: "/sparkdream.blog.QueryParamsRequest";
10
+ typeUrl: "/sparkdream.blog.v1.QueryParamsRequest";
11
11
  value: Uint8Array;
12
12
  }
13
13
  /** QueryParamsRequest is request type for the Query/Params RPC method. */
14
14
  export interface QueryParamsRequestAmino {
15
15
  }
16
16
  export interface QueryParamsRequestAminoMsg {
17
- type: "/sparkdream.blog.QueryParamsRequest";
17
+ type: "/sparkdream.blog.v1.QueryParamsRequest";
18
18
  value: QueryParamsRequestAmino;
19
19
  }
20
20
  /** QueryParamsResponse is response type for the Query/Params RPC method. */
@@ -23,7 +23,7 @@ export interface QueryParamsResponse {
23
23
  params: Params;
24
24
  }
25
25
  export interface QueryParamsResponseProtoMsg {
26
- typeUrl: "/sparkdream.blog.QueryParamsResponse";
26
+ typeUrl: "/sparkdream.blog.v1.QueryParamsResponse";
27
27
  value: Uint8Array;
28
28
  }
29
29
  /** QueryParamsResponse is response type for the Query/Params RPC method. */
@@ -32,65 +32,73 @@ export interface QueryParamsResponseAmino {
32
32
  params: ParamsAmino;
33
33
  }
34
34
  export interface QueryParamsResponseAminoMsg {
35
- type: "/sparkdream.blog.QueryParamsResponse";
35
+ type: "/sparkdream.blog.v1.QueryParamsResponse";
36
36
  value: QueryParamsResponseAmino;
37
37
  }
38
+ /** QueryShowPostRequest defines the QueryShowPostRequest message. */
38
39
  export interface QueryShowPostRequest {
39
40
  id: bigint;
40
41
  }
41
42
  export interface QueryShowPostRequestProtoMsg {
42
- typeUrl: "/sparkdream.blog.QueryShowPostRequest";
43
+ typeUrl: "/sparkdream.blog.v1.QueryShowPostRequest";
43
44
  value: Uint8Array;
44
45
  }
46
+ /** QueryShowPostRequest defines the QueryShowPostRequest message. */
45
47
  export interface QueryShowPostRequestAmino {
46
48
  id?: string;
47
49
  }
48
50
  export interface QueryShowPostRequestAminoMsg {
49
- type: "/sparkdream.blog.QueryShowPostRequest";
51
+ type: "/sparkdream.blog.v1.QueryShowPostRequest";
50
52
  value: QueryShowPostRequestAmino;
51
53
  }
54
+ /** QueryShowPostResponse defines the QueryShowPostResponse message. */
52
55
  export interface QueryShowPostResponse {
53
56
  post: Post;
54
57
  }
55
58
  export interface QueryShowPostResponseProtoMsg {
56
- typeUrl: "/sparkdream.blog.QueryShowPostResponse";
59
+ typeUrl: "/sparkdream.blog.v1.QueryShowPostResponse";
57
60
  value: Uint8Array;
58
61
  }
62
+ /** QueryShowPostResponse defines the QueryShowPostResponse message. */
59
63
  export interface QueryShowPostResponseAmino {
60
64
  post?: PostAmino;
61
65
  }
62
66
  export interface QueryShowPostResponseAminoMsg {
63
- type: "/sparkdream.blog.QueryShowPostResponse";
67
+ type: "/sparkdream.blog.v1.QueryShowPostResponse";
64
68
  value: QueryShowPostResponseAmino;
65
69
  }
70
+ /** QueryListPostRequest defines the QueryListPostRequest message. */
66
71
  export interface QueryListPostRequest {
67
72
  pagination?: PageRequest;
68
73
  }
69
74
  export interface QueryListPostRequestProtoMsg {
70
- typeUrl: "/sparkdream.blog.QueryListPostRequest";
75
+ typeUrl: "/sparkdream.blog.v1.QueryListPostRequest";
71
76
  value: Uint8Array;
72
77
  }
78
+ /** QueryListPostRequest defines the QueryListPostRequest message. */
73
79
  export interface QueryListPostRequestAmino {
74
80
  pagination?: PageRequestAmino;
75
81
  }
76
82
  export interface QueryListPostRequestAminoMsg {
77
- type: "/sparkdream.blog.QueryListPostRequest";
83
+ type: "/sparkdream.blog.v1.QueryListPostRequest";
78
84
  value: QueryListPostRequestAmino;
79
85
  }
86
+ /** QueryListPostResponse defines the QueryListPostResponse message. */
80
87
  export interface QueryListPostResponse {
81
88
  post: Post[];
82
89
  pagination?: PageResponse;
83
90
  }
84
91
  export interface QueryListPostResponseProtoMsg {
85
- typeUrl: "/sparkdream.blog.QueryListPostResponse";
92
+ typeUrl: "/sparkdream.blog.v1.QueryListPostResponse";
86
93
  value: Uint8Array;
87
94
  }
95
+ /** QueryListPostResponse defines the QueryListPostResponse message. */
88
96
  export interface QueryListPostResponseAmino {
89
97
  post?: PostAmino[];
90
98
  pagination?: PageResponseAmino;
91
99
  }
92
100
  export interface QueryListPostResponseAminoMsg {
93
- type: "/sparkdream.blog.QueryListPostResponse";
101
+ type: "/sparkdream.blog.v1.QueryListPostResponse";
94
102
  value: QueryListPostResponseAmino;
95
103
  }
96
104
  export declare const QueryParamsRequest: {