@xpla/xpla-react 1.8.0-rc.1 → 1.8.1

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 (126) hide show
  1. package/binary.d.ts +1 -1
  2. package/binary.js +2 -2
  3. package/cosmos/auth/v1beta1/tx.registry.d.ts +1 -1
  4. package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +1 -1
  5. package/cosmos/authz/v1beta1/tx.registry.d.ts +3 -3
  6. package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
  7. package/cosmos/bank/v1beta1/tx.registry.d.ts +4 -4
  8. package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
  9. package/cosmos/bundle.d.ts +50 -50
  10. package/cosmos/bundle.js +179 -179
  11. package/cosmos/consensus/v1/tx.registry.d.ts +1 -1
  12. package/cosmos/consensus/v1/tx.rpc.func.d.ts +1 -1
  13. package/cosmos/distribution/v1beta1/tx.registry.d.ts +7 -7
  14. package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
  15. package/cosmos/evidence/v1beta1/tx.registry.d.ts +1 -1
  16. package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +1 -1
  17. package/cosmos/evm/feemarket/v1/tx.registry.d.ts +1 -1
  18. package/cosmos/evm/feemarket/v1/tx.rpc.func.d.ts +1 -1
  19. package/cosmos/evm/vm/v1/evm.js +4 -4
  20. package/cosmos/evm/vm/v1/tx.registry.d.ts +2 -2
  21. package/cosmos/evm/vm/v1/tx.rpc.func.d.ts +2 -2
  22. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +3 -3
  23. package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
  24. package/cosmos/gov/v1/gov.js +7 -7
  25. package/cosmos/gov/v1/tx.registry.d.ts +7 -7
  26. package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
  27. package/cosmos/gov/v1beta1/gov.js +7 -7
  28. package/cosmos/gov/v1beta1/tx.registry.d.ts +4 -4
  29. package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
  30. package/cosmos/ics23/v1/proofs.js +7 -7
  31. package/cosmos/mint/v1beta1/tx.registry.d.ts +1 -1
  32. package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +1 -1
  33. package/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -2
  34. package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +2 -2
  35. package/cosmos/staking/v1beta1/authz.js +4 -4
  36. package/cosmos/staking/v1beta1/staking.js +7 -7
  37. package/cosmos/staking/v1beta1/tx.registry.d.ts +7 -7
  38. package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
  39. package/cosmos/tx/signing/v1beta1/signing.js +4 -4
  40. package/cosmos/tx/v1beta1/service.js +7 -7
  41. package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -2
  42. package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +2 -2
  43. package/cosmos_proto/bundle.d.ts +1 -1
  44. package/cosmos_proto/bundle.js +2 -2
  45. package/cosmos_proto/cosmos.js +4 -4
  46. package/cosmwasm/bundle.d.ts +4 -4
  47. package/cosmwasm/bundle.js +11 -11
  48. package/cosmwasm/wasm/v1/tx.registry.d.ts +17 -17
  49. package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
  50. package/cosmwasm/wasm/v1/types.js +7 -7
  51. package/esm/binary.js +1 -1
  52. package/esm/cosmos/bundle.js +50 -50
  53. package/esm/cosmos_proto/bundle.js +1 -1
  54. package/esm/cosmwasm/bundle.js +4 -4
  55. package/esm/extern.js +1 -1
  56. package/esm/helper-func-types.js +2 -2
  57. package/esm/helpers.js +3 -32
  58. package/esm/ibc/bundle.js +9 -9
  59. package/esm/index.js +1 -1
  60. package/esm/react-query.js +2 -2
  61. package/esm/registry.js +1 -1
  62. package/esm/types.js +1 -1
  63. package/esm/utf8.js +1 -1
  64. package/esm/varint.js +1 -1
  65. package/ethermint/evm/v1/tx.registry.d.ts +2 -2
  66. package/ethermint/evm/v1/tx.rpc.func.d.ts +2 -2
  67. package/ethermint/feemarket/v1/tx.registry.d.ts +1 -1
  68. package/ethermint/feemarket/v1/tx.rpc.func.d.ts +1 -1
  69. package/extern.d.ts +1 -1
  70. package/extern.js +1 -1
  71. package/google/protobuf/descriptor.js +62 -63
  72. package/google/protobuf/duration.d.ts +1 -1
  73. package/google/protobuf/timestamp.d.ts +1 -1
  74. package/helper-func-types.d.ts +3 -3
  75. package/helper-func-types.js +6 -7
  76. package/helpers.d.ts +2 -4
  77. package/helpers.js +15 -44
  78. package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +3 -3
  79. package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +3 -3
  80. package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -2
  81. package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +2 -2
  82. package/ibc/applications/interchain_accounts/v1/packet.js +4 -4
  83. package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -2
  84. package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
  85. package/ibc/bundle.d.ts +9 -9
  86. package/ibc/bundle.js +65 -65
  87. package/ibc/core/channel/v1/channel.js +7 -7
  88. package/ibc/core/channel/v1/tx.js +4 -4
  89. package/ibc/core/channel/v1/tx.registry.d.ts +10 -10
  90. package/ibc/core/channel/v1/tx.rpc.func.d.ts +10 -10
  91. package/ibc/core/channel/v2/packet.js +4 -4
  92. package/ibc/core/channel/v2/tx.js +4 -4
  93. package/ibc/core/channel/v2/tx.registry.d.ts +4 -4
  94. package/ibc/core/channel/v2/tx.rpc.func.d.ts +4 -4
  95. package/ibc/core/client/v1/tx.registry.d.ts +8 -8
  96. package/ibc/core/client/v1/tx.rpc.func.d.ts +8 -8
  97. package/ibc/core/client/v2/tx.registry.d.ts +2 -2
  98. package/ibc/core/client/v2/tx.rpc.func.d.ts +2 -2
  99. package/ibc/core/connection/v1/connection.js +4 -4
  100. package/ibc/core/connection/v1/tx.registry.d.ts +5 -5
  101. package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
  102. package/ibc/lightclients/solomachine/v2/solomachine.js +4 -4
  103. package/ibc/lightclients/wasm/v1/tx.registry.d.ts +3 -3
  104. package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +3 -3
  105. package/index.d.ts +1 -1
  106. package/index.js +1 -1
  107. package/package.json +25 -7
  108. package/react-query.d.ts +3 -4
  109. package/react-query.js +7 -7
  110. package/registry.d.ts +1 -1
  111. package/registry.js +1 -1
  112. package/tendermint/abci/types.js +20 -20
  113. package/tendermint/types/types.js +4 -4
  114. package/tendermint/types/validator.js +4 -4
  115. package/types.d.ts +1 -1
  116. package/types.js +1 -1
  117. package/utf8.d.ts +1 -1
  118. package/utf8.js +4 -5
  119. package/varint.d.ts +1 -1
  120. package/varint.js +17 -18
  121. package/xpla/burn/v1beta1/tx.registry.d.ts +1 -1
  122. package/xpla/burn/v1beta1/tx.rpc.func.d.ts +1 -1
  123. package/xpla/reward/v1beta1/tx.registry.d.ts +2 -2
  124. package/xpla/reward/v1beta1/tx.rpc.func.d.ts +2 -2
  125. package/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -2
  126. package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +2 -2
@@ -1,7 +1,19 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponseCommit = exports.ResponseCheckTx = exports.ResponseQuery = exports.ResponseInitChain = exports.ResponseInfo = exports.ResponseFlush = exports.ResponseEcho = exports.ResponseException = exports.Response = exports.RequestFinalizeBlock = exports.RequestVerifyVoteExtension = exports.RequestExtendVote = exports.RequestProcessProposal = exports.RequestPrepareProposal = exports.RequestApplySnapshotChunk = exports.RequestLoadSnapshotChunk = exports.RequestOfferSnapshot = exports.RequestListSnapshots = exports.RequestCommit = exports.RequestCheckTx = exports.RequestQuery = exports.RequestInitChain = exports.RequestInfo = exports.RequestFlush = exports.RequestEcho = exports.Request = exports.misbehaviorTypeToJSON = exports.misbehaviorTypeFromJSON = exports.MisbehaviorTypeAmino = exports.MisbehaviorType = exports.responseVerifyVoteExtension_VerifyStatusToJSON = exports.responseVerifyVoteExtension_VerifyStatusFromJSON = exports.ResponseVerifyVoteExtension_VerifyStatusAmino = exports.ResponseVerifyVoteExtension_VerifyStatus = exports.responseProcessProposal_ProposalStatusToJSON = exports.responseProcessProposal_ProposalStatusFromJSON = exports.ResponseProcessProposal_ProposalStatusAmino = exports.ResponseProcessProposal_ProposalStatus = exports.responseApplySnapshotChunk_ResultToJSON = exports.responseApplySnapshotChunk_ResultFromJSON = exports.ResponseApplySnapshotChunk_ResultAmino = exports.ResponseApplySnapshotChunk_Result = exports.responseOfferSnapshot_ResultToJSON = exports.responseOfferSnapshot_ResultFromJSON = exports.ResponseOfferSnapshot_ResultAmino = exports.ResponseOfferSnapshot_Result = exports.checkTxTypeToJSON = exports.checkTxTypeFromJSON = exports.CheckTxTypeAmino = exports.CheckTxType = void 0;
4
- exports.Snapshot = exports.Misbehavior = exports.ExtendedVoteInfo = exports.VoteInfo = exports.ValidatorUpdate = exports.Validator = exports.TxResult = exports.ExecTxResult = exports.EventAttribute = exports.Event = exports.ExtendedCommitInfo = exports.CommitInfo = exports.ResponseFinalizeBlock = exports.ResponseVerifyVoteExtension = exports.ResponseExtendVote = exports.ResponseProcessProposal = exports.ResponsePrepareProposal = exports.ResponseApplySnapshotChunk = exports.ResponseLoadSnapshotChunk = exports.ResponseOfferSnapshot = exports.ResponseListSnapshots = void 0;
3
+ exports.Event = exports.ExtendedCommitInfo = exports.CommitInfo = exports.ResponseFinalizeBlock = exports.ResponseVerifyVoteExtension = exports.ResponseExtendVote = exports.ResponseProcessProposal = exports.ResponsePrepareProposal = exports.ResponseApplySnapshotChunk = exports.ResponseLoadSnapshotChunk = exports.ResponseOfferSnapshot = exports.ResponseListSnapshots = exports.ResponseCommit = exports.ResponseCheckTx = exports.ResponseQuery = exports.ResponseInitChain = exports.ResponseInfo = exports.ResponseFlush = exports.ResponseEcho = exports.ResponseException = exports.Response = exports.RequestFinalizeBlock = exports.RequestVerifyVoteExtension = exports.RequestExtendVote = exports.RequestProcessProposal = exports.RequestPrepareProposal = exports.RequestApplySnapshotChunk = exports.RequestLoadSnapshotChunk = exports.RequestOfferSnapshot = exports.RequestListSnapshots = exports.RequestCommit = exports.RequestCheckTx = exports.RequestQuery = exports.RequestInitChain = exports.RequestInfo = exports.RequestFlush = exports.RequestEcho = exports.Request = exports.MisbehaviorTypeAmino = exports.MisbehaviorType = exports.ResponseVerifyVoteExtension_VerifyStatusAmino = exports.ResponseVerifyVoteExtension_VerifyStatus = exports.ResponseProcessProposal_ProposalStatusAmino = exports.ResponseProcessProposal_ProposalStatus = exports.ResponseApplySnapshotChunk_ResultAmino = exports.ResponseApplySnapshotChunk_Result = exports.ResponseOfferSnapshot_ResultAmino = exports.ResponseOfferSnapshot_Result = exports.CheckTxTypeAmino = exports.CheckTxType = void 0;
4
+ exports.Snapshot = exports.Misbehavior = exports.ExtendedVoteInfo = exports.VoteInfo = exports.ValidatorUpdate = exports.Validator = exports.TxResult = exports.ExecTxResult = exports.EventAttribute = void 0;
5
+ exports.checkTxTypeFromJSON = checkTxTypeFromJSON;
6
+ exports.checkTxTypeToJSON = checkTxTypeToJSON;
7
+ exports.responseOfferSnapshot_ResultFromJSON = responseOfferSnapshot_ResultFromJSON;
8
+ exports.responseOfferSnapshot_ResultToJSON = responseOfferSnapshot_ResultToJSON;
9
+ exports.responseApplySnapshotChunk_ResultFromJSON = responseApplySnapshotChunk_ResultFromJSON;
10
+ exports.responseApplySnapshotChunk_ResultToJSON = responseApplySnapshotChunk_ResultToJSON;
11
+ exports.responseProcessProposal_ProposalStatusFromJSON = responseProcessProposal_ProposalStatusFromJSON;
12
+ exports.responseProcessProposal_ProposalStatusToJSON = responseProcessProposal_ProposalStatusToJSON;
13
+ exports.responseVerifyVoteExtension_VerifyStatusFromJSON = responseVerifyVoteExtension_VerifyStatusFromJSON;
14
+ exports.responseVerifyVoteExtension_VerifyStatusToJSON = responseVerifyVoteExtension_VerifyStatusToJSON;
15
+ exports.misbehaviorTypeFromJSON = misbehaviorTypeFromJSON;
16
+ exports.misbehaviorTypeToJSON = misbehaviorTypeToJSON;
5
17
  const timestamp_1 = require("../../google/protobuf/timestamp");
6
18
  const params_1 = require("../types/params");
7
19
  const proof_1 = require("../crypto/proof");
@@ -14,7 +26,7 @@ var CheckTxType;
14
26
  CheckTxType[CheckTxType["NEW"] = 0] = "NEW";
15
27
  CheckTxType[CheckTxType["RECHECK"] = 1] = "RECHECK";
16
28
  CheckTxType[CheckTxType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
17
- })(CheckTxType = exports.CheckTxType || (exports.CheckTxType = {}));
29
+ })(CheckTxType || (exports.CheckTxType = CheckTxType = {}));
18
30
  exports.CheckTxTypeAmino = CheckTxType;
19
31
  function checkTxTypeFromJSON(object) {
20
32
  switch (object) {
@@ -30,7 +42,6 @@ function checkTxTypeFromJSON(object) {
30
42
  return CheckTxType.UNRECOGNIZED;
31
43
  }
32
44
  }
33
- exports.checkTxTypeFromJSON = checkTxTypeFromJSON;
34
45
  function checkTxTypeToJSON(object) {
35
46
  switch (object) {
36
47
  case CheckTxType.NEW:
@@ -42,7 +53,6 @@ function checkTxTypeToJSON(object) {
42
53
  return "UNRECOGNIZED";
43
54
  }
44
55
  }
45
- exports.checkTxTypeToJSON = checkTxTypeToJSON;
46
56
  var ResponseOfferSnapshot_Result;
47
57
  (function (ResponseOfferSnapshot_Result) {
48
58
  /** UNKNOWN - Unknown result, abort all snapshot restoration */
@@ -58,7 +68,7 @@ var ResponseOfferSnapshot_Result;
58
68
  /** REJECT_SENDER - Reject all snapshots from the sender(s), try others */
59
69
  ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["REJECT_SENDER"] = 5] = "REJECT_SENDER";
60
70
  ResponseOfferSnapshot_Result[ResponseOfferSnapshot_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
61
- })(ResponseOfferSnapshot_Result = exports.ResponseOfferSnapshot_Result || (exports.ResponseOfferSnapshot_Result = {}));
71
+ })(ResponseOfferSnapshot_Result || (exports.ResponseOfferSnapshot_Result = ResponseOfferSnapshot_Result = {}));
62
72
  exports.ResponseOfferSnapshot_ResultAmino = ResponseOfferSnapshot_Result;
63
73
  function responseOfferSnapshot_ResultFromJSON(object) {
64
74
  switch (object) {
@@ -86,7 +96,6 @@ function responseOfferSnapshot_ResultFromJSON(object) {
86
96
  return ResponseOfferSnapshot_Result.UNRECOGNIZED;
87
97
  }
88
98
  }
89
- exports.responseOfferSnapshot_ResultFromJSON = responseOfferSnapshot_ResultFromJSON;
90
99
  function responseOfferSnapshot_ResultToJSON(object) {
91
100
  switch (object) {
92
101
  case ResponseOfferSnapshot_Result.UNKNOWN:
@@ -106,7 +115,6 @@ function responseOfferSnapshot_ResultToJSON(object) {
106
115
  return "UNRECOGNIZED";
107
116
  }
108
117
  }
109
- exports.responseOfferSnapshot_ResultToJSON = responseOfferSnapshot_ResultToJSON;
110
118
  var ResponseApplySnapshotChunk_Result;
111
119
  (function (ResponseApplySnapshotChunk_Result) {
112
120
  /** UNKNOWN - Unknown result, abort all snapshot restoration */
@@ -122,7 +130,7 @@ var ResponseApplySnapshotChunk_Result;
122
130
  /** REJECT_SNAPSHOT - Reject this snapshot, try others */
123
131
  ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["REJECT_SNAPSHOT"] = 5] = "REJECT_SNAPSHOT";
124
132
  ResponseApplySnapshotChunk_Result[ResponseApplySnapshotChunk_Result["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
125
- })(ResponseApplySnapshotChunk_Result = exports.ResponseApplySnapshotChunk_Result || (exports.ResponseApplySnapshotChunk_Result = {}));
133
+ })(ResponseApplySnapshotChunk_Result || (exports.ResponseApplySnapshotChunk_Result = ResponseApplySnapshotChunk_Result = {}));
126
134
  exports.ResponseApplySnapshotChunk_ResultAmino = ResponseApplySnapshotChunk_Result;
127
135
  function responseApplySnapshotChunk_ResultFromJSON(object) {
128
136
  switch (object) {
@@ -150,7 +158,6 @@ function responseApplySnapshotChunk_ResultFromJSON(object) {
150
158
  return ResponseApplySnapshotChunk_Result.UNRECOGNIZED;
151
159
  }
152
160
  }
153
- exports.responseApplySnapshotChunk_ResultFromJSON = responseApplySnapshotChunk_ResultFromJSON;
154
161
  function responseApplySnapshotChunk_ResultToJSON(object) {
155
162
  switch (object) {
156
163
  case ResponseApplySnapshotChunk_Result.UNKNOWN:
@@ -170,14 +177,13 @@ function responseApplySnapshotChunk_ResultToJSON(object) {
170
177
  return "UNRECOGNIZED";
171
178
  }
172
179
  }
173
- exports.responseApplySnapshotChunk_ResultToJSON = responseApplySnapshotChunk_ResultToJSON;
174
180
  var ResponseProcessProposal_ProposalStatus;
175
181
  (function (ResponseProcessProposal_ProposalStatus) {
176
182
  ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["UNKNOWN"] = 0] = "UNKNOWN";
177
183
  ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["ACCEPT"] = 1] = "ACCEPT";
178
184
  ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["REJECT"] = 2] = "REJECT";
179
185
  ResponseProcessProposal_ProposalStatus[ResponseProcessProposal_ProposalStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
180
- })(ResponseProcessProposal_ProposalStatus = exports.ResponseProcessProposal_ProposalStatus || (exports.ResponseProcessProposal_ProposalStatus = {}));
186
+ })(ResponseProcessProposal_ProposalStatus || (exports.ResponseProcessProposal_ProposalStatus = ResponseProcessProposal_ProposalStatus = {}));
181
187
  exports.ResponseProcessProposal_ProposalStatusAmino = ResponseProcessProposal_ProposalStatus;
182
188
  function responseProcessProposal_ProposalStatusFromJSON(object) {
183
189
  switch (object) {
@@ -196,7 +202,6 @@ function responseProcessProposal_ProposalStatusFromJSON(object) {
196
202
  return ResponseProcessProposal_ProposalStatus.UNRECOGNIZED;
197
203
  }
198
204
  }
199
- exports.responseProcessProposal_ProposalStatusFromJSON = responseProcessProposal_ProposalStatusFromJSON;
200
205
  function responseProcessProposal_ProposalStatusToJSON(object) {
201
206
  switch (object) {
202
207
  case ResponseProcessProposal_ProposalStatus.UNKNOWN:
@@ -210,7 +215,6 @@ function responseProcessProposal_ProposalStatusToJSON(object) {
210
215
  return "UNRECOGNIZED";
211
216
  }
212
217
  }
213
- exports.responseProcessProposal_ProposalStatusToJSON = responseProcessProposal_ProposalStatusToJSON;
214
218
  var ResponseVerifyVoteExtension_VerifyStatus;
215
219
  (function (ResponseVerifyVoteExtension_VerifyStatus) {
216
220
  ResponseVerifyVoteExtension_VerifyStatus[ResponseVerifyVoteExtension_VerifyStatus["UNKNOWN"] = 0] = "UNKNOWN";
@@ -223,7 +227,7 @@ var ResponseVerifyVoteExtension_VerifyStatus;
223
227
  */
224
228
  ResponseVerifyVoteExtension_VerifyStatus[ResponseVerifyVoteExtension_VerifyStatus["REJECT"] = 2] = "REJECT";
225
229
  ResponseVerifyVoteExtension_VerifyStatus[ResponseVerifyVoteExtension_VerifyStatus["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
226
- })(ResponseVerifyVoteExtension_VerifyStatus = exports.ResponseVerifyVoteExtension_VerifyStatus || (exports.ResponseVerifyVoteExtension_VerifyStatus = {}));
230
+ })(ResponseVerifyVoteExtension_VerifyStatus || (exports.ResponseVerifyVoteExtension_VerifyStatus = ResponseVerifyVoteExtension_VerifyStatus = {}));
227
231
  exports.ResponseVerifyVoteExtension_VerifyStatusAmino = ResponseVerifyVoteExtension_VerifyStatus;
228
232
  function responseVerifyVoteExtension_VerifyStatusFromJSON(object) {
229
233
  switch (object) {
@@ -242,7 +246,6 @@ function responseVerifyVoteExtension_VerifyStatusFromJSON(object) {
242
246
  return ResponseVerifyVoteExtension_VerifyStatus.UNRECOGNIZED;
243
247
  }
244
248
  }
245
- exports.responseVerifyVoteExtension_VerifyStatusFromJSON = responseVerifyVoteExtension_VerifyStatusFromJSON;
246
249
  function responseVerifyVoteExtension_VerifyStatusToJSON(object) {
247
250
  switch (object) {
248
251
  case ResponseVerifyVoteExtension_VerifyStatus.UNKNOWN:
@@ -256,14 +259,13 @@ function responseVerifyVoteExtension_VerifyStatusToJSON(object) {
256
259
  return "UNRECOGNIZED";
257
260
  }
258
261
  }
259
- exports.responseVerifyVoteExtension_VerifyStatusToJSON = responseVerifyVoteExtension_VerifyStatusToJSON;
260
262
  var MisbehaviorType;
261
263
  (function (MisbehaviorType) {
262
264
  MisbehaviorType[MisbehaviorType["UNKNOWN"] = 0] = "UNKNOWN";
263
265
  MisbehaviorType[MisbehaviorType["DUPLICATE_VOTE"] = 1] = "DUPLICATE_VOTE";
264
266
  MisbehaviorType[MisbehaviorType["LIGHT_CLIENT_ATTACK"] = 2] = "LIGHT_CLIENT_ATTACK";
265
267
  MisbehaviorType[MisbehaviorType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
266
- })(MisbehaviorType = exports.MisbehaviorType || (exports.MisbehaviorType = {}));
268
+ })(MisbehaviorType || (exports.MisbehaviorType = MisbehaviorType = {}));
267
269
  exports.MisbehaviorTypeAmino = MisbehaviorType;
268
270
  function misbehaviorTypeFromJSON(object) {
269
271
  switch (object) {
@@ -282,7 +284,6 @@ function misbehaviorTypeFromJSON(object) {
282
284
  return MisbehaviorType.UNRECOGNIZED;
283
285
  }
284
286
  }
285
- exports.misbehaviorTypeFromJSON = misbehaviorTypeFromJSON;
286
287
  function misbehaviorTypeToJSON(object) {
287
288
  switch (object) {
288
289
  case MisbehaviorType.UNKNOWN:
@@ -296,7 +297,6 @@ function misbehaviorTypeToJSON(object) {
296
297
  return "UNRECOGNIZED";
297
298
  }
298
299
  }
299
- exports.misbehaviorTypeToJSON = misbehaviorTypeToJSON;
300
300
  function createBaseRequest() {
301
301
  return {
302
302
  echo: undefined,
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TxProof = exports.BlockMeta = exports.LightBlock = exports.SignedHeader = exports.Proposal = exports.ExtendedCommitSig = exports.ExtendedCommit = exports.CommitSig = exports.Commit = exports.Vote = exports.Data = exports.Header = exports.BlockID = exports.Part = exports.PartSetHeader = exports.signedMsgTypeToJSON = exports.signedMsgTypeFromJSON = exports.SignedMsgTypeAmino = exports.SignedMsgType = void 0;
3
+ exports.TxProof = exports.BlockMeta = exports.LightBlock = exports.SignedHeader = exports.Proposal = exports.ExtendedCommitSig = exports.ExtendedCommit = exports.CommitSig = exports.Commit = exports.Vote = exports.Data = exports.Header = exports.BlockID = exports.Part = exports.PartSetHeader = exports.SignedMsgTypeAmino = exports.SignedMsgType = void 0;
4
+ exports.signedMsgTypeFromJSON = signedMsgTypeFromJSON;
5
+ exports.signedMsgTypeToJSON = signedMsgTypeToJSON;
4
6
  const proof_1 = require("../crypto/proof");
5
7
  const types_1 = require("../version/types");
6
8
  const timestamp_1 = require("../../google/protobuf/timestamp");
@@ -18,7 +20,7 @@ var SignedMsgType;
18
20
  /** SIGNED_MSG_TYPE_PROPOSAL - Proposals */
19
21
  SignedMsgType[SignedMsgType["SIGNED_MSG_TYPE_PROPOSAL"] = 32] = "SIGNED_MSG_TYPE_PROPOSAL";
20
22
  SignedMsgType[SignedMsgType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
21
- })(SignedMsgType = exports.SignedMsgType || (exports.SignedMsgType = {}));
23
+ })(SignedMsgType || (exports.SignedMsgType = SignedMsgType = {}));
22
24
  exports.SignedMsgTypeAmino = SignedMsgType;
23
25
  function signedMsgTypeFromJSON(object) {
24
26
  switch (object) {
@@ -40,7 +42,6 @@ function signedMsgTypeFromJSON(object) {
40
42
  return SignedMsgType.UNRECOGNIZED;
41
43
  }
42
44
  }
43
- exports.signedMsgTypeFromJSON = signedMsgTypeFromJSON;
44
45
  function signedMsgTypeToJSON(object) {
45
46
  switch (object) {
46
47
  case SignedMsgType.SIGNED_MSG_TYPE_UNKNOWN:
@@ -56,7 +57,6 @@ function signedMsgTypeToJSON(object) {
56
57
  return "UNRECOGNIZED";
57
58
  }
58
59
  }
59
- exports.signedMsgTypeToJSON = signedMsgTypeToJSON;
60
60
  function createBasePartSetHeader() {
61
61
  return {
62
62
  total: 0,
@@ -1,6 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.SimpleValidator = exports.Validator = exports.ValidatorSet = exports.blockIDFlagToJSON = exports.blockIDFlagFromJSON = exports.BlockIDFlagAmino = exports.BlockIDFlag = void 0;
3
+ exports.SimpleValidator = exports.Validator = exports.ValidatorSet = exports.BlockIDFlagAmino = exports.BlockIDFlag = void 0;
4
+ exports.blockIDFlagFromJSON = blockIDFlagFromJSON;
5
+ exports.blockIDFlagToJSON = blockIDFlagToJSON;
4
6
  const keys_1 = require("../crypto/keys");
5
7
  const binary_1 = require("../../binary");
6
8
  const registry_1 = require("../../registry");
@@ -16,7 +18,7 @@ var BlockIDFlag;
16
18
  /** BLOCK_ID_FLAG_NIL - voted for nil */
17
19
  BlockIDFlag[BlockIDFlag["BLOCK_ID_FLAG_NIL"] = 3] = "BLOCK_ID_FLAG_NIL";
18
20
  BlockIDFlag[BlockIDFlag["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
19
- })(BlockIDFlag = exports.BlockIDFlag || (exports.BlockIDFlag = {}));
21
+ })(BlockIDFlag || (exports.BlockIDFlag = BlockIDFlag = {}));
20
22
  exports.BlockIDFlagAmino = BlockIDFlag;
21
23
  function blockIDFlagFromJSON(object) {
22
24
  switch (object) {
@@ -38,7 +40,6 @@ function blockIDFlagFromJSON(object) {
38
40
  return BlockIDFlag.UNRECOGNIZED;
39
41
  }
40
42
  }
41
- exports.blockIDFlagFromJSON = blockIDFlagFromJSON;
42
43
  function blockIDFlagToJSON(object) {
43
44
  switch (object) {
44
45
  case BlockIDFlag.BLOCK_ID_FLAG_UNKNOWN:
@@ -54,7 +55,6 @@ function blockIDFlagToJSON(object) {
54
55
  return "UNRECOGNIZED";
55
56
  }
56
57
  }
57
- exports.blockIDFlagToJSON = blockIDFlagToJSON;
58
58
  function createBaseValidatorSet() {
59
59
  return {
60
60
  validators: [],
package/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.0
2
+ * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.4
3
3
  * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
4
4
  * and run the transpile command or npm scripts command that is used to regenerate this bundle.
5
5
  */
package/types.js CHANGED
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  /**
3
- * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.0
3
+ * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.4
4
4
  * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
5
5
  * and run the transpile command or npm scripts command that is used to regenerate this bundle.
6
6
  */
package/utf8.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.0
2
+ * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.4
3
3
  * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
4
4
  * and run the transpile command or npm scripts command that is used to regenerate this bundle.
5
5
  */
package/utf8.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.0
2
+ * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.4
3
3
  * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
4
4
  * and run the transpile command or npm scripts command that is used to regenerate this bundle.
5
5
  */
@@ -28,7 +28,9 @@
28
28
  // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29
29
  "use strict";
30
30
  Object.defineProperty(exports, "__esModule", { value: true });
31
- exports.utf8Write = exports.utf8Read = exports.utf8Length = void 0;
31
+ exports.utf8Length = utf8Length;
32
+ exports.utf8Read = utf8Read;
33
+ exports.utf8Write = utf8Write;
32
34
  /**
33
35
  * Calculates the UTF8 byte length of a string.
34
36
  * @param {string} string String
@@ -52,7 +54,6 @@ function utf8Length(str) {
52
54
  }
53
55
  return len;
54
56
  }
55
- exports.utf8Length = utf8Length;
56
57
  /**
57
58
  * Reads UTF8 bytes as a string.
58
59
  * @param {Uint8Array} buffer Source buffer
@@ -100,7 +101,6 @@ function utf8Read(buffer, start, end) {
100
101
  }
101
102
  return String.fromCharCode(...chunk.slice(0, i));
102
103
  }
103
- exports.utf8Read = utf8Read;
104
104
  /**
105
105
  * Writes a string as UTF8 bytes.
106
106
  * @param {string} string Source string
@@ -138,4 +138,3 @@ function utf8Write(str, buffer, offset) {
138
138
  }
139
139
  return offset - start;
140
140
  }
141
- exports.utf8Write = utf8Write;
package/varint.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.0
2
+ * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.4
3
3
  * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
4
4
  * and run the transpile command or npm scripts command that is used to regenerate this bundle.
5
5
  */
package/varint.js CHANGED
@@ -1,11 +1,26 @@
1
1
  "use strict";
2
2
  /**
3
- * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.0
3
+ * This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.4
4
4
  * DO NOT MODIFY BY HAND. Instead, download the latest proto files for your chain
5
5
  * and run the transpile command or npm scripts command that is used to regenerate this bundle.
6
6
  */
7
7
  Object.defineProperty(exports, "__esModule", { value: true });
8
- exports.writeByte = exports.writeFixed32 = exports.int64Length = exports.writeVarint64 = exports.writeVarint32 = exports.readInt32 = exports.readUInt32 = exports.zzDecode = exports.zzEncode = exports.varint32read = exports.varint32write = exports.uInt64ToString = exports.int64ToString = exports.int64FromString = exports.varint64write = exports.varint64read = void 0;
8
+ exports.varint64read = varint64read;
9
+ exports.varint64write = varint64write;
10
+ exports.int64FromString = int64FromString;
11
+ exports.int64ToString = int64ToString;
12
+ exports.uInt64ToString = uInt64ToString;
13
+ exports.varint32write = varint32write;
14
+ exports.varint32read = varint32read;
15
+ exports.zzEncode = zzEncode;
16
+ exports.zzDecode = zzDecode;
17
+ exports.readUInt32 = readUInt32;
18
+ exports.readInt32 = readInt32;
19
+ exports.writeVarint32 = writeVarint32;
20
+ exports.writeVarint64 = writeVarint64;
21
+ exports.int64Length = int64Length;
22
+ exports.writeFixed32 = writeFixed32;
23
+ exports.writeByte = writeByte;
9
24
  // Copyright 2008 Google Inc. All rights reserved.
10
25
  //
11
26
  // Redistribution and use in source and binary forms, with or without
@@ -80,7 +95,6 @@ function varint64read() {
80
95
  }
81
96
  throw new Error("invalid varint");
82
97
  }
83
- exports.varint64read = varint64read;
84
98
  /**
85
99
  * Write a 64 bit varint, given as two JS numbers, to the given bytes array.
86
100
  *
@@ -115,7 +129,6 @@ function varint64write(lo, hi, bytes) {
115
129
  }
116
130
  bytes.push((hi >>> 31) & 0x01);
117
131
  }
118
- exports.varint64write = varint64write;
119
132
  // constants for binary math
120
133
  const TWO_PWR_32_DBL = 0x100000000;
121
134
  /**
@@ -154,7 +167,6 @@ function int64FromString(dec) {
154
167
  add1e6digit(-6);
155
168
  return minus ? negate(lowBits, highBits) : newBits(lowBits, highBits);
156
169
  }
157
- exports.int64FromString = int64FromString;
158
170
  /**
159
171
  * Losslessly converts a 64-bit signed integer in 32:32 split representation
160
172
  * into a decimal string.
@@ -174,7 +186,6 @@ function int64ToString(lo, hi) {
174
186
  const result = uInt64ToString(bits.lo, bits.hi);
175
187
  return negative ? "-" + result : result;
176
188
  }
177
- exports.int64ToString = int64ToString;
178
189
  /**
179
190
  * Losslessly converts a 64-bit unsigned integer in 32:32 split representation
180
191
  * into a decimal string.
@@ -229,7 +240,6 @@ function uInt64ToString(lo, hi) {
229
240
  decimalFrom1e7WithLeadingZeros(digitB) +
230
241
  decimalFrom1e7WithLeadingZeros(digitA));
231
242
  }
232
- exports.uInt64ToString = uInt64ToString;
233
243
  function toUnsigned(lo, hi) {
234
244
  return { lo: lo >>> 0, hi: hi >>> 0 };
235
245
  }
@@ -284,7 +294,6 @@ function varint32write(value, bytes) {
284
294
  bytes.push(1);
285
295
  }
286
296
  }
287
- exports.varint32write = varint32write;
288
297
  /**
289
298
  * Read an unsigned 32 bit varint.
290
299
  *
@@ -326,7 +335,6 @@ function varint32read() {
326
335
  // Result can have 32 bits, convert it to unsigned
327
336
  return result >>> 0;
328
337
  }
329
- exports.varint32read = varint32read;
330
338
  /**
331
339
  * encode zig zag
332
340
  */
@@ -336,7 +344,6 @@ function zzEncode(lo, hi) {
336
344
  lo = ((lo << 1) ^ mask) >>> 0;
337
345
  return [lo, hi];
338
346
  }
339
- exports.zzEncode = zzEncode;
340
347
  /**
341
348
  * decode zig zag
342
349
  */
@@ -346,7 +353,6 @@ function zzDecode(lo, hi) {
346
353
  hi = ((hi >>> 1) ^ mask) >>> 0;
347
354
  return [lo, hi];
348
355
  }
349
- exports.zzDecode = zzDecode;
350
356
  /**
351
357
  * unsigned int32 without moving pos.
352
358
  */
@@ -354,7 +360,6 @@ function readUInt32(buf, pos) {
354
360
  return ((buf[pos] | (buf[pos + 1] << 8) | (buf[pos + 2] << 16)) +
355
361
  buf[pos + 3] * 0x1000000);
356
362
  }
357
- exports.readUInt32 = readUInt32;
358
363
  /**
359
364
  * signed int32 without moving pos.
360
365
  */
@@ -362,7 +367,6 @@ function readInt32(buf, pos) {
362
367
  return ((buf[pos] | (buf[pos + 1] << 8) | (buf[pos + 2] << 16)) +
363
368
  (buf[pos + 3] << 24));
364
369
  }
365
- exports.readInt32 = readInt32;
366
370
  /**
367
371
  * writing varint32 to pos
368
372
  */
@@ -373,7 +377,6 @@ function writeVarint32(val, buf, pos) {
373
377
  }
374
378
  buf[pos] = val;
375
379
  }
376
- exports.writeVarint32 = writeVarint32;
377
380
  /**
378
381
  * writing varint64 to pos
379
382
  */
@@ -389,7 +392,6 @@ function writeVarint64(val, buf, pos) {
389
392
  }
390
393
  buf[pos++] = val.lo;
391
394
  }
392
- exports.writeVarint64 = writeVarint64;
393
395
  function int64Length(lo, hi) {
394
396
  let part0 = lo, part1 = ((lo >>> 28) | (hi << 4)) >>> 0, part2 = hi >>> 24;
395
397
  return part2 === 0
@@ -412,15 +414,12 @@ function int64Length(lo, hi) {
412
414
  ? 9
413
415
  : 10;
414
416
  }
415
- exports.int64Length = int64Length;
416
417
  function writeFixed32(val, buf, pos) {
417
418
  buf[pos] = val & 255;
418
419
  buf[pos + 1] = (val >>> 8) & 255;
419
420
  buf[pos + 2] = (val >>> 16) & 255;
420
421
  buf[pos + 3] = val >>> 24;
421
422
  }
422
- exports.writeFixed32 = writeFixed32;
423
423
  function writeByte(val, buf, pos) {
424
424
  buf[pos] = val & 255;
425
425
  }
426
- exports.writeByte = writeByte;
@@ -5,7 +5,7 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  burn(value: MsgBurn): {
7
7
  typeUrl: string;
8
- value: Uint8Array;
8
+ value: Uint8Array<ArrayBufferLike>;
9
9
  };
10
10
  };
11
11
  withTypeUrl: {
@@ -5,4 +5,4 @@ import { MsgBurn } from "./tx";
5
5
  * @package xpla.burn.v1beta1
6
6
  * @see proto service: xpla.burn.v1beta1.Burn
7
7
  */
8
- export declare const burn: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgBurn | MsgBurn[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
8
+ export declare const burn: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgBurn | MsgBurn[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
@@ -5,11 +5,11 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  fundRewardPool(value: MsgFundRewardPool): {
7
7
  typeUrl: string;
8
- value: Uint8Array;
8
+ value: Uint8Array<ArrayBufferLike>;
9
9
  };
10
10
  updateParams(value: MsgUpdateParams): {
11
11
  typeUrl: string;
12
- value: Uint8Array;
12
+ value: Uint8Array<ArrayBufferLike>;
13
13
  };
14
14
  };
15
15
  withTypeUrl: {
@@ -6,7 +6,7 @@ import { MsgFundRewardPool, MsgUpdateParams } from "./tx";
6
6
  * @package xpla.reward.v1beta1
7
7
  * @see proto service: xpla.reward.v1beta1.FundRewardPool
8
8
  */
9
- export declare const fundRewardPool: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgFundRewardPool | MsgFundRewardPool[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
9
+ export declare const fundRewardPool: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgFundRewardPool | MsgFundRewardPool[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
10
10
  /**
11
11
  * UpdateParams defined a governance operation for updating the x/reward
12
12
  * module parameters. The authority is hard-coded to the Cosmos SDK x/gov
@@ -15,4 +15,4 @@ export declare const fundRewardPool: (client: import("@interchainjs/cosmos/types
15
15
  * @package xpla.reward.v1beta1
16
16
  * @see proto service: xpla.reward.v1beta1.UpdateParams
17
17
  */
18
- export declare const updateParams: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
18
+ export declare const updateParams: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
@@ -5,11 +5,11 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  registerVolunteerValidator(value: MsgRegisterVolunteerValidator): {
7
7
  typeUrl: string;
8
- value: Uint8Array;
8
+ value: Uint8Array<ArrayBufferLike>;
9
9
  };
10
10
  unregisterVolunteerValidator(value: MsgUnregisterVolunteerValidator): {
11
11
  typeUrl: string;
12
- value: Uint8Array;
12
+ value: Uint8Array<ArrayBufferLike>;
13
13
  };
14
14
  };
15
15
  withTypeUrl: {
@@ -6,11 +6,11 @@ import { MsgRegisterVolunteerValidator, MsgUnregisterVolunteerValidator } from "
6
6
  * @package xpla.volunteer.v1beta1
7
7
  * @see proto service: xpla.volunteer.v1beta1.RegisterVolunteerValidator
8
8
  */
9
- export declare const registerVolunteerValidator: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgRegisterVolunteerValidator | MsgRegisterVolunteerValidator[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
9
+ export declare const registerVolunteerValidator: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgRegisterVolunteerValidator | MsgRegisterVolunteerValidator[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
10
10
  /**
11
11
  * UnregisterVolunteerValidator defines a method to unregister a volunteer
12
12
  * @name unregisterVolunteerValidator
13
13
  * @package xpla.volunteer.v1beta1
14
14
  * @see proto service: xpla.volunteer.v1beta1.UnregisterVolunteerValidator
15
15
  */
16
- export declare const unregisterVolunteerValidator: (client: import("@interchainjs/cosmos/types/signing-client").ISigningClient, signerAddress: string, message: MsgUnregisterVolunteerValidator | MsgUnregisterVolunteerValidator[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;
16
+ export declare const unregisterVolunteerValidator: (client: import("@interchainjs/cosmos").ISigningClient, signerAddress: string, message: MsgUnregisterVolunteerValidator | MsgUnregisterVolunteerValidator[], fee: import("../../..").StdFee | "auto", memo: string) => Promise<import("@interchainjs/types").DeliverTxResponse>;