juno-network 0.2.5 → 0.2.8

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 (31) hide show
  1. package/README.md +1 -1
  2. package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +10 -26
  3. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +33 -89
  4. package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +5 -13
  5. package/main/codegen/cosmos/gov/v1/query.lcd.js +31 -79
  6. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +31 -79
  7. package/main/codegen/cosmos/group/v1/query.lcd.js +29 -73
  8. package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +25 -65
  9. package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +5 -13
  10. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +38 -106
  11. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +5 -13
  12. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +18 -46
  13. package/main/codegen/ibc/core/channel/v1/query.lcd.js +51 -191
  14. package/main/codegen/ibc/core/client/v1/query.lcd.js +16 -48
  15. package/main/codegen/ibc/core/connection/v1/query.lcd.js +20 -60
  16. package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +2 -18
  17. package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +6 -62
  18. package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +1 -9
  19. package/module/codegen/cosmos/gov/v1/query.lcd.js +5 -53
  20. package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +5 -53
  21. package/module/codegen/cosmos/group/v1/query.lcd.js +4 -48
  22. package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +5 -45
  23. package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +1 -9
  24. package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +4 -72
  25. package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +1 -9
  26. package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +3 -31
  27. package/module/codegen/ibc/core/channel/v1/query.lcd.js +9 -149
  28. package/module/codegen/ibc/core/client/v1/query.lcd.js +2 -34
  29. package/module/codegen/ibc/core/connection/v1/query.lcd.js +4 -44
  30. package/module/codegen/index.js +1 -1
  31. package/package.json +5 -5
@@ -48,27 +48,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
48
48
  key: "proposal",
49
49
  value: function () {
50
50
  var _proposal = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(params) {
51
- var options, endpoint;
51
+ var endpoint;
52
52
  return _regenerator["default"].wrap(function _callee$(_context) {
53
53
  while (1) {
54
54
  switch (_context.prev = _context.next) {
55
55
  case 0:
56
- options = {
57
- params: {}
58
- };
59
-
60
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
61
- options.params.proposal_id = params.proposalId;
62
- }
63
-
64
56
  endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId);
65
- _context.next = 5;
66
- return this.request(endpoint, options);
57
+ _context.next = 3;
58
+ return this.request(endpoint);
67
59
 
68
- case 5:
60
+ case 3:
69
61
  return _context.abrupt("return", _context.sent);
70
62
 
71
- case 6:
63
+ case 4:
72
64
  case "end":
73
65
  return _context.stop();
74
66
  }
@@ -140,27 +132,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
140
132
  key: "vote",
141
133
  value: function () {
142
134
  var _vote = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(params) {
143
- var options, endpoint;
135
+ var endpoint;
144
136
  return _regenerator["default"].wrap(function _callee3$(_context3) {
145
137
  while (1) {
146
138
  switch (_context3.prev = _context3.next) {
147
139
  case 0:
148
- options = {
149
- params: {}
150
- };
151
-
152
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
153
- options.params.proposal_id = params.proposalId;
154
- }
155
-
156
140
  endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "votes/").concat(params.voter);
157
- _context3.next = 5;
158
- return this.request(endpoint, options);
141
+ _context3.next = 3;
142
+ return this.request(endpoint);
159
143
 
160
- case 5:
144
+ case 3:
161
145
  return _context3.abrupt("return", _context3.sent);
162
146
 
163
- case 6:
147
+ case 4:
164
148
  case "end":
165
149
  return _context3.stop();
166
150
  }
@@ -189,22 +173,18 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
189
173
  params: {}
190
174
  };
191
175
 
192
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
193
- options.params.proposal_id = params.proposalId;
194
- }
195
-
196
176
  if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
197
177
  (0, _helpers.setPaginationParams)(options, params.pagination);
198
178
  }
199
179
 
200
180
  endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "/votes");
201
- _context4.next = 6;
181
+ _context4.next = 5;
202
182
  return this.request(endpoint, options);
203
183
 
204
- case 6:
184
+ case 5:
205
185
  return _context4.abrupt("return", _context4.sent);
206
186
 
207
- case 7:
187
+ case 6:
208
188
  case "end":
209
189
  return _context4.stop();
210
190
  }
@@ -224,27 +204,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
224
204
  key: "params",
225
205
  value: function () {
226
206
  var _params2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(_params) {
227
- var options, endpoint;
207
+ var endpoint;
228
208
  return _regenerator["default"].wrap(function _callee5$(_context5) {
229
209
  while (1) {
230
210
  switch (_context5.prev = _context5.next) {
231
211
  case 0:
232
- options = {
233
- params: {}
234
- };
235
-
236
- if (typeof (_params === null || _params === void 0 ? void 0 : _params.paramsType) !== "undefined") {
237
- options.params.params_type = _params.paramsType;
238
- }
239
-
240
212
  endpoint = "cosmos/gov/v1beta1/params/".concat(_params.paramsType);
241
- _context5.next = 5;
242
- return this.request(endpoint, options);
213
+ _context5.next = 3;
214
+ return this.request(endpoint);
243
215
 
244
- case 5:
216
+ case 3:
245
217
  return _context5.abrupt("return", _context5.sent);
246
218
 
247
- case 6:
219
+ case 4:
248
220
  case "end":
249
221
  return _context5.stop();
250
222
  }
@@ -264,27 +236,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
264
236
  key: "deposit",
265
237
  value: function () {
266
238
  var _deposit = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(params) {
267
- var options, endpoint;
239
+ var endpoint;
268
240
  return _regenerator["default"].wrap(function _callee6$(_context6) {
269
241
  while (1) {
270
242
  switch (_context6.prev = _context6.next) {
271
243
  case 0:
272
- options = {
273
- params: {}
274
- };
275
-
276
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
277
- options.params.proposal_id = params.proposalId;
278
- }
279
-
280
244
  endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "deposits/").concat(params.depositor);
281
- _context6.next = 5;
282
- return this.request(endpoint, options);
245
+ _context6.next = 3;
246
+ return this.request(endpoint);
283
247
 
284
- case 5:
248
+ case 3:
285
249
  return _context6.abrupt("return", _context6.sent);
286
250
 
287
- case 6:
251
+ case 4:
288
252
  case "end":
289
253
  return _context6.stop();
290
254
  }
@@ -313,22 +277,18 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
313
277
  params: {}
314
278
  };
315
279
 
316
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
317
- options.params.proposal_id = params.proposalId;
318
- }
319
-
320
280
  if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
321
281
  (0, _helpers.setPaginationParams)(options, params.pagination);
322
282
  }
323
283
 
324
284
  endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "/deposits");
325
- _context7.next = 6;
285
+ _context7.next = 5;
326
286
  return this.request(endpoint, options);
327
287
 
328
- case 6:
288
+ case 5:
329
289
  return _context7.abrupt("return", _context7.sent);
330
290
 
331
- case 7:
291
+ case 6:
332
292
  case "end":
333
293
  return _context7.stop();
334
294
  }
@@ -348,27 +308,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
348
308
  key: "tallyResult",
349
309
  value: function () {
350
310
  var _tallyResult = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee8(params) {
351
- var options, endpoint;
311
+ var endpoint;
352
312
  return _regenerator["default"].wrap(function _callee8$(_context8) {
353
313
  while (1) {
354
314
  switch (_context8.prev = _context8.next) {
355
315
  case 0:
356
- options = {
357
- params: {}
358
- };
359
-
360
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
361
- options.params.proposal_id = params.proposalId;
362
- }
363
-
364
316
  endpoint = "cosmos/gov/v1beta1/proposals/".concat(params.proposalId, "/tally");
365
- _context8.next = 5;
366
- return this.request(endpoint, options);
317
+ _context8.next = 3;
318
+ return this.request(endpoint);
367
319
 
368
- case 5:
320
+ case 3:
369
321
  return _context8.abrupt("return", _context8.sent);
370
322
 
371
- case 6:
323
+ case 4:
372
324
  case "end":
373
325
  return _context8.stop();
374
326
  }
@@ -48,27 +48,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
48
48
  key: "groupInfo",
49
49
  value: function () {
50
50
  var _groupInfo = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(params) {
51
- var options, endpoint;
51
+ var endpoint;
52
52
  return _regenerator["default"].wrap(function _callee$(_context) {
53
53
  while (1) {
54
54
  switch (_context.prev = _context.next) {
55
55
  case 0:
56
- options = {
57
- params: {}
58
- };
59
-
60
- if (typeof (params === null || params === void 0 ? void 0 : params.groupId) !== "undefined") {
61
- options.params.group_id = params.groupId;
62
- }
63
-
64
56
  endpoint = "cosmos/group/v1/group_info/".concat(params.groupId);
65
- _context.next = 5;
66
- return this.request(endpoint, options);
57
+ _context.next = 3;
58
+ return this.request(endpoint);
67
59
 
68
- case 5:
60
+ case 3:
69
61
  return _context.abrupt("return", _context.sent);
70
62
 
71
- case 6:
63
+ case 4:
72
64
  case "end":
73
65
  return _context.stop();
74
66
  }
@@ -129,22 +121,18 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
129
121
  params: {}
130
122
  };
131
123
 
132
- if (typeof (params === null || params === void 0 ? void 0 : params.groupId) !== "undefined") {
133
- options.params.group_id = params.groupId;
134
- }
135
-
136
124
  if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
137
125
  (0, _helpers.setPaginationParams)(options, params.pagination);
138
126
  }
139
127
 
140
128
  endpoint = "cosmos/group/v1/group_members/".concat(params.groupId);
141
- _context3.next = 6;
129
+ _context3.next = 5;
142
130
  return this.request(endpoint, options);
143
131
 
144
- case 6:
132
+ case 5:
145
133
  return _context3.abrupt("return", _context3.sent);
146
134
 
147
- case 7:
135
+ case 6:
148
136
  case "end":
149
137
  return _context3.stop();
150
138
  }
@@ -213,22 +201,18 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
213
201
  params: {}
214
202
  };
215
203
 
216
- if (typeof (params === null || params === void 0 ? void 0 : params.groupId) !== "undefined") {
217
- options.params.group_id = params.groupId;
218
- }
219
-
220
204
  if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
221
205
  (0, _helpers.setPaginationParams)(options, params.pagination);
222
206
  }
223
207
 
224
208
  endpoint = "cosmos/group/v1/group_policies_by_group/".concat(params.groupId);
225
- _context5.next = 6;
209
+ _context5.next = 5;
226
210
  return this.request(endpoint, options);
227
211
 
228
- case 6:
212
+ case 5:
229
213
  return _context5.abrupt("return", _context5.sent);
230
214
 
231
- case 7:
215
+ case 6:
232
216
  case "end":
233
217
  return _context5.stop();
234
218
  }
@@ -288,27 +272,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
288
272
  key: "proposal",
289
273
  value: function () {
290
274
  var _proposal = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7(params) {
291
- var options, endpoint;
275
+ var endpoint;
292
276
  return _regenerator["default"].wrap(function _callee7$(_context7) {
293
277
  while (1) {
294
278
  switch (_context7.prev = _context7.next) {
295
279
  case 0:
296
- options = {
297
- params: {}
298
- };
299
-
300
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
301
- options.params.proposal_id = params.proposalId;
302
- }
303
-
304
280
  endpoint = "cosmos/group/v1/proposal/".concat(params.proposalId);
305
- _context7.next = 5;
306
- return this.request(endpoint, options);
281
+ _context7.next = 3;
282
+ return this.request(endpoint);
307
283
 
308
- case 5:
284
+ case 3:
309
285
  return _context7.abrupt("return", _context7.sent);
310
286
 
311
- case 6:
287
+ case 4:
312
288
  case "end":
313
289
  return _context7.stop();
314
290
  }
@@ -368,27 +344,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
368
344
  key: "voteByProposalVoter",
369
345
  value: function () {
370
346
  var _voteByProposalVoter = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee9(params) {
371
- var options, endpoint;
347
+ var endpoint;
372
348
  return _regenerator["default"].wrap(function _callee9$(_context9) {
373
349
  while (1) {
374
350
  switch (_context9.prev = _context9.next) {
375
351
  case 0:
376
- options = {
377
- params: {}
378
- };
379
-
380
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
381
- options.params.proposal_id = params.proposalId;
382
- }
383
-
384
352
  endpoint = "cosmos/group/v1/vote_by_proposal_voter/".concat(params.proposalId, "/").concat(params.voter);
385
- _context9.next = 5;
386
- return this.request(endpoint, options);
353
+ _context9.next = 3;
354
+ return this.request(endpoint);
387
355
 
388
- case 5:
356
+ case 3:
389
357
  return _context9.abrupt("return", _context9.sent);
390
358
 
391
- case 6:
359
+ case 4:
392
360
  case "end":
393
361
  return _context9.stop();
394
362
  }
@@ -417,22 +385,18 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
417
385
  params: {}
418
386
  };
419
387
 
420
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
421
- options.params.proposal_id = params.proposalId;
422
- }
423
-
424
388
  if (typeof (params === null || params === void 0 ? void 0 : params.pagination) !== "undefined") {
425
389
  (0, _helpers.setPaginationParams)(options, params.pagination);
426
390
  }
427
391
 
428
392
  endpoint = "cosmos/group/v1/votes_by_proposal/".concat(params.proposalId);
429
- _context10.next = 6;
393
+ _context10.next = 5;
430
394
  return this.request(endpoint, options);
431
395
 
432
- case 6:
396
+ case 5:
433
397
  return _context10.abrupt("return", _context10.sent);
434
398
 
435
- case 7:
399
+ case 6:
436
400
  case "end":
437
401
  return _context10.stop();
438
402
  }
@@ -532,27 +496,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
532
496
  key: "tallyResult",
533
497
  value: function () {
534
498
  var _tallyResult = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee13(params) {
535
- var options, endpoint;
499
+ var endpoint;
536
500
  return _regenerator["default"].wrap(function _callee13$(_context13) {
537
501
  while (1) {
538
502
  switch (_context13.prev = _context13.next) {
539
503
  case 0:
540
- options = {
541
- params: {}
542
- };
543
-
544
- if (typeof (params === null || params === void 0 ? void 0 : params.proposalId) !== "undefined") {
545
- options.params.proposal_id = params.proposalId;
546
- }
547
-
548
504
  endpoint = "cosmos/group/v1/proposals/".concat(params.proposalId, "/tally");
549
- _context13.next = 5;
550
- return this.request(endpoint, options);
505
+ _context13.next = 3;
506
+ return this.request(endpoint);
551
507
 
552
- case 5:
508
+ case 3:
553
509
  return _context13.abrupt("return", _context13.sent);
554
510
 
555
- case 6:
511
+ case 4:
556
512
  case "end":
557
513
  return _context13.stop();
558
514
  }
@@ -48,27 +48,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
48
48
  key: "balance",
49
49
  value: function () {
50
50
  var _balance = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee(params) {
51
- var options, endpoint;
51
+ var endpoint;
52
52
  return _regenerator["default"].wrap(function _callee$(_context) {
53
53
  while (1) {
54
54
  switch (_context.prev = _context.next) {
55
55
  case 0:
56
- options = {
57
- params: {}
58
- };
59
-
60
- if (typeof (params === null || params === void 0 ? void 0 : params.classId) !== "undefined") {
61
- options.params.class_id = params.classId;
62
- }
63
-
64
56
  endpoint = "cosmos/nft/v1beta1/balance/".concat(params.owner, "/").concat(params.classId);
65
- _context.next = 5;
66
- return this.request(endpoint, options);
57
+ _context.next = 3;
58
+ return this.request(endpoint);
67
59
 
68
- case 5:
60
+ case 3:
69
61
  return _context.abrupt("return", _context.sent);
70
62
 
71
- case 6:
63
+ case 4:
72
64
  case "end":
73
65
  return _context.stop();
74
66
  }
@@ -88,27 +80,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
88
80
  key: "owner",
89
81
  value: function () {
90
82
  var _owner = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(params) {
91
- var options, endpoint;
83
+ var endpoint;
92
84
  return _regenerator["default"].wrap(function _callee2$(_context2) {
93
85
  while (1) {
94
86
  switch (_context2.prev = _context2.next) {
95
87
  case 0:
96
- options = {
97
- params: {}
98
- };
99
-
100
- if (typeof (params === null || params === void 0 ? void 0 : params.classId) !== "undefined") {
101
- options.params.class_id = params.classId;
102
- }
103
-
104
88
  endpoint = "cosmos/nft/v1beta1/owner/".concat(params.classId, "/").concat(params.id);
105
- _context2.next = 5;
106
- return this.request(endpoint, options);
89
+ _context2.next = 3;
90
+ return this.request(endpoint);
107
91
 
108
- case 5:
92
+ case 3:
109
93
  return _context2.abrupt("return", _context2.sent);
110
94
 
111
- case 6:
95
+ case 4:
112
96
  case "end":
113
97
  return _context2.stop();
114
98
  }
@@ -128,27 +112,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
128
112
  key: "supply",
129
113
  value: function () {
130
114
  var _supply = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(params) {
131
- var options, endpoint;
115
+ var endpoint;
132
116
  return _regenerator["default"].wrap(function _callee3$(_context3) {
133
117
  while (1) {
134
118
  switch (_context3.prev = _context3.next) {
135
119
  case 0:
136
- options = {
137
- params: {}
138
- };
139
-
140
- if (typeof (params === null || params === void 0 ? void 0 : params.classId) !== "undefined") {
141
- options.params.class_id = params.classId;
142
- }
143
-
144
120
  endpoint = "cosmos/nft/v1beta1/supply/".concat(params.classId);
145
- _context3.next = 5;
146
- return this.request(endpoint, options);
121
+ _context3.next = 3;
122
+ return this.request(endpoint);
147
123
 
148
- case 5:
124
+ case 3:
149
125
  return _context3.abrupt("return", _context3.sent);
150
126
 
151
- case 6:
127
+ case 4:
152
128
  case "end":
153
129
  return _context3.stop();
154
130
  }
@@ -217,27 +193,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
217
193
  key: "nFT",
218
194
  value: function () {
219
195
  var _nFT = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(params) {
220
- var options, endpoint;
196
+ var endpoint;
221
197
  return _regenerator["default"].wrap(function _callee5$(_context5) {
222
198
  while (1) {
223
199
  switch (_context5.prev = _context5.next) {
224
200
  case 0:
225
- options = {
226
- params: {}
227
- };
228
-
229
- if (typeof (params === null || params === void 0 ? void 0 : params.classId) !== "undefined") {
230
- options.params.class_id = params.classId;
231
- }
232
-
233
201
  endpoint = "cosmos/nft/v1beta1/nfts/".concat(params.classId, "/").concat(params.id);
234
- _context5.next = 5;
235
- return this.request(endpoint, options);
202
+ _context5.next = 3;
203
+ return this.request(endpoint);
236
204
 
237
- case 5:
205
+ case 3:
238
206
  return _context5.abrupt("return", _context5.sent);
239
207
 
240
- case 6:
208
+ case 4:
241
209
  case "end":
242
210
  return _context5.stop();
243
211
  }
@@ -257,27 +225,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
257
225
  key: "class",
258
226
  value: function () {
259
227
  var _class2 = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(params) {
260
- var options, endpoint;
228
+ var endpoint;
261
229
  return _regenerator["default"].wrap(function _callee6$(_context6) {
262
230
  while (1) {
263
231
  switch (_context6.prev = _context6.next) {
264
232
  case 0:
265
- options = {
266
- params: {}
267
- };
268
-
269
- if (typeof (params === null || params === void 0 ? void 0 : params.classId) !== "undefined") {
270
- options.params.class_id = params.classId;
271
- }
272
-
273
233
  endpoint = "cosmos/nft/v1beta1/classes/".concat(params.classId);
274
- _context6.next = 5;
275
- return this.request(endpoint, options);
234
+ _context6.next = 3;
235
+ return this.request(endpoint);
276
236
 
277
- case 5:
237
+ case 3:
278
238
  return _context6.abrupt("return", _context6.sent);
279
239
 
280
- case 6:
240
+ case 4:
281
241
  case "end":
282
242
  return _context6.stop();
283
243
  }
@@ -84,27 +84,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
84
84
  key: "signingInfo",
85
85
  value: function () {
86
86
  var _signingInfo = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee2(params) {
87
- var options, endpoint;
87
+ var endpoint;
88
88
  return _regenerator["default"].wrap(function _callee2$(_context2) {
89
89
  while (1) {
90
90
  switch (_context2.prev = _context2.next) {
91
91
  case 0:
92
- options = {
93
- params: {}
94
- };
95
-
96
- if (typeof (params === null || params === void 0 ? void 0 : params.consAddress) !== "undefined") {
97
- options.params.cons_address = params.consAddress;
98
- }
99
-
100
92
  endpoint = "cosmos/slashing/v1beta1/signing_infos/".concat(params.consAddress);
101
- _context2.next = 5;
102
- return this.request(endpoint, options);
93
+ _context2.next = 3;
94
+ return this.request(endpoint);
103
95
 
104
- case 5:
96
+ case 3:
105
97
  return _context2.abrupt("return", _context2.sent);
106
98
 
107
- case 6:
99
+ case 4:
108
100
  case "end":
109
101
  return _context2.stop();
110
102
  }