juno-network 0.2.5 → 0.2.8

Sign up to get free protection for your applications and to get access to all the features.
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
package/README.md CHANGED
@@ -132,7 +132,7 @@ const {
132
132
  ```
133
133
  ## Credits
134
134
 
135
- Built by Cosmology — if you like our tools, please consider delegating to [our validator](https://cosmology.tech/validator)
135
+ 🛠 Built by Cosmology — if you like our tools, please consider delegating to [our validator ⚛️](https://cosmology.tech/validator)
136
136
 
137
137
  Code built with the help of these related projects:
138
138
 
@@ -236,27 +236,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
236
236
  key: "addressBytesToString",
237
237
  value: function () {
238
238
  var _addressBytesToString = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(params) {
239
- var options, endpoint;
239
+ var endpoint;
240
240
  return _regenerator["default"].wrap(function _callee6$(_context6) {
241
241
  while (1) {
242
242
  switch (_context6.prev = _context6.next) {
243
243
  case 0:
244
- options = {
245
- params: {}
246
- };
247
-
248
- if (typeof (params === null || params === void 0 ? void 0 : params.addressBytes) !== "undefined") {
249
- options.params.address_bytes = params.addressBytes;
250
- }
251
-
252
244
  endpoint = "cosmos/auth/v1beta1/bech32/".concat(params.addressBytes);
253
- _context6.next = 5;
254
- return this.request(endpoint, options);
245
+ _context6.next = 3;
246
+ return this.request(endpoint);
255
247
 
256
- case 5:
248
+ case 3:
257
249
  return _context6.abrupt("return", _context6.sent);
258
250
 
259
- case 6:
251
+ case 4:
260
252
  case "end":
261
253
  return _context6.stop();
262
254
  }
@@ -276,27 +268,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
276
268
  key: "addressStringToBytes",
277
269
  value: function () {
278
270
  var _addressStringToBytes = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7(params) {
279
- var options, endpoint;
271
+ var endpoint;
280
272
  return _regenerator["default"].wrap(function _callee7$(_context7) {
281
273
  while (1) {
282
274
  switch (_context7.prev = _context7.next) {
283
275
  case 0:
284
- options = {
285
- params: {}
286
- };
287
-
288
- if (typeof (params === null || params === void 0 ? void 0 : params.addressString) !== "undefined") {
289
- options.params.address_string = params.addressString;
290
- }
291
-
292
276
  endpoint = "cosmos/auth/v1beta1/bech32/".concat(params.addressString);
293
- _context7.next = 5;
294
- return this.request(endpoint, options);
277
+ _context7.next = 3;
278
+ return this.request(endpoint);
295
279
 
296
- case 5:
280
+ case 3:
297
281
  return _context7.abrupt("return", _context7.sent);
298
282
 
299
- case 6:
283
+ case 4:
300
284
  case "end":
301
285
  return _context7.stop();
302
286
  }
@@ -84,27 +84,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
84
84
  key: "validatorOutstandingRewards",
85
85
  value: function () {
86
86
  var _validatorOutstandingRewards = (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.validatorAddress) !== "undefined") {
97
- options.params.validator_address = params.validatorAddress;
98
- }
99
-
100
92
  endpoint = "cosmos/distribution/v1beta1/validators/".concat(params.validatorAddress, "/outstanding_rewards");
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
  }
@@ -124,27 +116,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
124
116
  key: "validatorCommission",
125
117
  value: function () {
126
118
  var _validatorCommission = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee3(params) {
127
- var options, endpoint;
119
+ var endpoint;
128
120
  return _regenerator["default"].wrap(function _callee3$(_context3) {
129
121
  while (1) {
130
122
  switch (_context3.prev = _context3.next) {
131
123
  case 0:
132
- options = {
133
- params: {}
134
- };
135
-
136
- if (typeof (params === null || params === void 0 ? void 0 : params.validatorAddress) !== "undefined") {
137
- options.params.validator_address = params.validatorAddress;
138
- }
139
-
140
124
  endpoint = "cosmos/distribution/v1beta1/validators/".concat(params.validatorAddress, "/commission");
141
- _context3.next = 5;
142
- return this.request(endpoint, options);
125
+ _context3.next = 3;
126
+ return this.request(endpoint);
143
127
 
144
- case 5:
128
+ case 3:
145
129
  return _context3.abrupt("return", _context3.sent);
146
130
 
147
- case 6:
131
+ case 4:
148
132
  case "end":
149
133
  return _context3.stop();
150
134
  }
@@ -173,10 +157,6 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
173
157
  params: {}
174
158
  };
175
159
 
176
- if (typeof (params === null || params === void 0 ? void 0 : params.validatorAddress) !== "undefined") {
177
- options.params.validator_address = params.validatorAddress;
178
- }
179
-
180
160
  if (typeof (params === null || params === void 0 ? void 0 : params.startingHeight) !== "undefined") {
181
161
  options.params.starting_height = params.startingHeight;
182
162
  }
@@ -190,13 +170,13 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
190
170
  }
191
171
 
192
172
  endpoint = "cosmos/distribution/v1beta1/validators/".concat(params.validatorAddress, "/slashes");
193
- _context4.next = 8;
173
+ _context4.next = 7;
194
174
  return this.request(endpoint, options);
195
175
 
196
- case 8:
176
+ case 7:
197
177
  return _context4.abrupt("return", _context4.sent);
198
178
 
199
- case 9:
179
+ case 8:
200
180
  case "end":
201
181
  return _context4.stop();
202
182
  }
@@ -216,31 +196,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
216
196
  key: "delegationRewards",
217
197
  value: function () {
218
198
  var _delegationRewards = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee5(params) {
219
- var options, endpoint;
199
+ var endpoint;
220
200
  return _regenerator["default"].wrap(function _callee5$(_context5) {
221
201
  while (1) {
222
202
  switch (_context5.prev = _context5.next) {
223
203
  case 0:
224
- options = {
225
- params: {}
226
- };
227
-
228
- if (typeof (params === null || params === void 0 ? void 0 : params.delegatorAddress) !== "undefined") {
229
- options.params.delegator_address = params.delegatorAddress;
230
- }
231
-
232
- if (typeof (params === null || params === void 0 ? void 0 : params.validatorAddress) !== "undefined") {
233
- options.params.validator_address = params.validatorAddress;
234
- }
235
-
236
204
  endpoint = "cosmos/distribution/v1beta1/delegators/".concat(params.delegatorAddress, "rewards/").concat(params.validatorAddress);
237
- _context5.next = 6;
238
- return this.request(endpoint, options);
205
+ _context5.next = 3;
206
+ return this.request(endpoint);
239
207
 
240
- case 6:
208
+ case 3:
241
209
  return _context5.abrupt("return", _context5.sent);
242
210
 
243
- case 7:
211
+ case 4:
244
212
  case "end":
245
213
  return _context5.stop();
246
214
  }
@@ -261,27 +229,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
261
229
  key: "delegationTotalRewards",
262
230
  value: function () {
263
231
  var _delegationTotalRewards = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee6(params) {
264
- var options, endpoint;
232
+ var endpoint;
265
233
  return _regenerator["default"].wrap(function _callee6$(_context6) {
266
234
  while (1) {
267
235
  switch (_context6.prev = _context6.next) {
268
236
  case 0:
269
- options = {
270
- params: {}
271
- };
272
-
273
- if (typeof (params === null || params === void 0 ? void 0 : params.delegatorAddress) !== "undefined") {
274
- options.params.delegator_address = params.delegatorAddress;
275
- }
276
-
277
237
  endpoint = "cosmos/distribution/v1beta1/delegators/".concat(params.delegatorAddress, "/rewards");
278
- _context6.next = 5;
279
- return this.request(endpoint, options);
238
+ _context6.next = 3;
239
+ return this.request(endpoint);
280
240
 
281
- case 5:
241
+ case 3:
282
242
  return _context6.abrupt("return", _context6.sent);
283
243
 
284
- case 6:
244
+ case 4:
285
245
  case "end":
286
246
  return _context6.stop();
287
247
  }
@@ -301,27 +261,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
301
261
  key: "delegatorValidators",
302
262
  value: function () {
303
263
  var _delegatorValidators = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee7(params) {
304
- var options, endpoint;
264
+ var endpoint;
305
265
  return _regenerator["default"].wrap(function _callee7$(_context7) {
306
266
  while (1) {
307
267
  switch (_context7.prev = _context7.next) {
308
268
  case 0:
309
- options = {
310
- params: {}
311
- };
312
-
313
- if (typeof (params === null || params === void 0 ? void 0 : params.delegatorAddress) !== "undefined") {
314
- options.params.delegator_address = params.delegatorAddress;
315
- }
316
-
317
269
  endpoint = "cosmos/distribution/v1beta1/delegators/".concat(params.delegatorAddress, "/validators");
318
- _context7.next = 5;
319
- return this.request(endpoint, options);
270
+ _context7.next = 3;
271
+ return this.request(endpoint);
320
272
 
321
- case 5:
273
+ case 3:
322
274
  return _context7.abrupt("return", _context7.sent);
323
275
 
324
- case 6:
276
+ case 4:
325
277
  case "end":
326
278
  return _context7.stop();
327
279
  }
@@ -341,27 +293,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
341
293
  key: "delegatorWithdrawAddress",
342
294
  value: function () {
343
295
  var _delegatorWithdrawAddress = (0, _asyncToGenerator2["default"])( /*#__PURE__*/_regenerator["default"].mark(function _callee8(params) {
344
- var options, endpoint;
296
+ var endpoint;
345
297
  return _regenerator["default"].wrap(function _callee8$(_context8) {
346
298
  while (1) {
347
299
  switch (_context8.prev = _context8.next) {
348
300
  case 0:
349
- options = {
350
- params: {}
351
- };
352
-
353
- if (typeof (params === null || params === void 0 ? void 0 : params.delegatorAddress) !== "undefined") {
354
- options.params.delegator_address = params.delegatorAddress;
355
- }
356
-
357
301
  endpoint = "cosmos/distribution/v1beta1/delegators/".concat(params.delegatorAddress, "/withdraw_address");
358
- _context8.next = 5;
359
- return this.request(endpoint, options);
302
+ _context8.next = 3;
303
+ return this.request(endpoint);
360
304
 
361
- case 5:
305
+ case 3:
362
306
  return _context8.abrupt("return", _context8.sent);
363
307
 
364
- case 6:
308
+ case 4:
365
309
  case "end":
366
310
  return _context8.stop();
367
311
  }
@@ -48,27 +48,19 @@ var LCDQueryClient = /*#__PURE__*/function (_LCDClient) {
48
48
  key: "evidence",
49
49
  value: function () {
50
50
  var _evidence = (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.evidenceHash) !== "undefined") {
61
- options.params.evidence_hash = params.evidenceHash;
62
- }
63
-
64
56
  endpoint = "cosmos/evidence/v1beta1/evidence/".concat(params.evidenceHash);
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
  }
@@ -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/v1/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/v1/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/v1/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/v1/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/v1/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/v1/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/v1/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
  }