injectivejs 1.9.3 → 1.9.5

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 (109) hide show
  1. package/binary.d.ts +1 -1
  2. package/binary.js +1 -1
  3. package/cosmos/authz/v1beta1/tx.registry.d.ts +3 -3
  4. package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
  5. package/cosmos/bank/v1beta1/tx.registry.d.ts +4 -4
  6. package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
  7. package/cosmos/distribution/v1beta1/tx.registry.d.ts +7 -7
  8. package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
  9. package/cosmos/feegrant/v1beta1/tx.registry.d.ts +3 -3
  10. package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
  11. package/cosmos/gov/v1/gov.js +5 -5
  12. package/cosmos/gov/v1/tx.registry.d.ts +7 -7
  13. package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
  14. package/cosmos/gov/v1beta1/gov.js +5 -5
  15. package/cosmos/gov/v1beta1/tx.registry.d.ts +4 -4
  16. package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
  17. package/cosmos/group/v1/tx.js +3 -3
  18. package/cosmos/group/v1/tx.registry.d.ts +14 -14
  19. package/cosmos/group/v1/tx.rpc.func.d.ts +14 -14
  20. package/cosmos/group/v1/types.js +7 -7
  21. package/cosmos/ics23/v1/proofs.js +5 -5
  22. package/cosmos/staking/v1beta1/staking.js +8 -8
  23. package/cosmos/staking/v1beta1/tx.js +3 -3
  24. package/cosmos/staking/v1beta1/tx.registry.d.ts +7 -7
  25. package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
  26. package/cosmos/tx/signing/v1beta1/signing.js +3 -3
  27. package/cosmos/tx/v1beta1/service.js +5 -5
  28. package/cosmos/vesting/v1beta1/tx.registry.d.ts +3 -3
  29. package/cosmos/vesting/v1beta1/tx.rpc.func.d.ts +3 -3
  30. package/cosmos_proto/cosmos.js +3 -3
  31. package/cosmwasm/wasm/v1/proposal_legacy.js +1 -1
  32. package/cosmwasm/wasm/v1/query.js +1 -1
  33. package/cosmwasm/wasm/v1/tx.js +1 -1
  34. package/cosmwasm/wasm/v1/tx.registry.d.ts +17 -17
  35. package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
  36. package/cosmwasm/wasm/v1/types.js +6 -6
  37. package/esm/binary.js +1 -1
  38. package/esm/cosmos/staking/v1beta1/staking.js +1 -1
  39. package/esm/cosmos/staking/v1beta1/tx.js +1 -1
  40. package/esm/cosmwasm/wasm/v1/proposal_legacy.js +1 -1
  41. package/esm/cosmwasm/wasm/v1/query.js +1 -1
  42. package/esm/cosmwasm/wasm/v1/tx.js +1 -1
  43. package/esm/cosmwasm/wasm/v1/types.js +1 -1
  44. package/esm/extern.js +2 -2
  45. package/esm/helper-func-types.js +1 -1
  46. package/esm/helpers.js +1 -1
  47. package/esm/registry.js +1 -1
  48. package/esm/types.js +1 -1
  49. package/esm/utf8.js +1 -1
  50. package/esm/varint.js +1 -1
  51. package/extern.d.ts +1 -1
  52. package/extern.js +2 -2
  53. package/google/protobuf/descriptor.js +36 -37
  54. package/google/protobuf/duration.d.ts +1 -1
  55. package/google/protobuf/timestamp.d.ts +1 -1
  56. package/helper-func-types.d.ts +2 -2
  57. package/helper-func-types.js +4 -5
  58. package/helpers.d.ts +1 -1
  59. package/helpers.js +13 -13
  60. package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -2
  61. package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
  62. package/ibc/core/channel/v1/channel.js +5 -5
  63. package/ibc/core/channel/v1/tx.js +3 -3
  64. package/ibc/core/channel/v1/tx.registry.d.ts +19 -19
  65. package/ibc/core/channel/v1/tx.rpc.func.d.ts +19 -19
  66. package/ibc/core/client/v1/tx.registry.d.ts +7 -7
  67. package/ibc/core/client/v1/tx.rpc.func.d.ts +7 -7
  68. package/ibc/core/connection/v1/connection.js +3 -3
  69. package/ibc/core/connection/v1/tx.registry.d.ts +5 -5
  70. package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
  71. package/injective/auction/v1beta1/tx.registry.d.ts +2 -2
  72. package/injective/auction/v1beta1/tx.rpc.func.d.ts +2 -2
  73. package/injective/exchange/v1beta1/exchange.js +12 -12
  74. package/injective/exchange/v1beta1/proposal.js +3 -3
  75. package/injective/exchange/v1beta1/query.js +7 -7
  76. package/injective/exchange/v1beta1/tx.registry.d.ts +35 -35
  77. package/injective/exchange/v1beta1/tx.rpc.func.d.ts +35 -35
  78. package/injective/insurance/v1beta1/tx.registry.d.ts +4 -4
  79. package/injective/insurance/v1beta1/tx.rpc.func.d.ts +4 -4
  80. package/injective/ocr/v1beta1/tx.registry.d.ts +9 -9
  81. package/injective/ocr/v1beta1/tx.rpc.func.d.ts +9 -9
  82. package/injective/oracle/v1beta1/oracle.js +3 -3
  83. package/injective/oracle/v1beta1/tx.registry.d.ts +8 -8
  84. package/injective/oracle/v1beta1/tx.rpc.func.d.ts +8 -8
  85. package/injective/peggy/v1/attestation.js +3 -3
  86. package/injective/peggy/v1/ethereum_signer.js +3 -3
  87. package/injective/peggy/v1/msgs.registry.d.ts +14 -14
  88. package/injective/peggy/v1/msgs.rpc.func.d.ts +14 -14
  89. package/injective/permissions/v1beta1/permissions.js +3 -3
  90. package/injective/permissions/v1beta1/tx.registry.d.ts +7 -7
  91. package/injective/permissions/v1beta1/tx.rpc.func.d.ts +7 -7
  92. package/injective/stream/v1beta1/query.js +3 -3
  93. package/injective/tokenfactory/v1beta1/tx.registry.d.ts +6 -6
  94. package/injective/tokenfactory/v1beta1/tx.rpc.func.d.ts +6 -6
  95. package/injective/wasmx/v1/proposal.js +3 -3
  96. package/injective/wasmx/v1/tx.registry.d.ts +6 -6
  97. package/injective/wasmx/v1/tx.rpc.func.d.ts +6 -6
  98. package/package.json +8 -6
  99. package/registry.d.ts +1 -1
  100. package/registry.js +1 -1
  101. package/tendermint/abci/types.js +14 -14
  102. package/tendermint/types/types.js +3 -3
  103. package/tendermint/types/validator.js +3 -3
  104. package/types.d.ts +1 -7
  105. package/types.js +1 -1
  106. package/utf8.d.ts +1 -1
  107. package/utf8.js +4 -5
  108. package/varint.d.ts +1 -1
  109. package/varint.js +17 -18
@@ -2,7 +2,7 @@ import { Any } from "../../../google/protobuf/any";
2
2
  import { isSet, bytesFromBase64, base64FromBytes } from "../../../helpers";
3
3
  import { BinaryReader, BinaryWriter } from "../../../binary";
4
4
  import { GlobalDecoderRegistry } from "../../../registry";
5
- import { toUtf8, fromUtf8 } from "@cosmjs/encoding";
5
+ import { toUtf8, fromUtf8 } from "@interchainjs/encoding";
6
6
  /** AccessType permission types */
7
7
  export var AccessType;
8
8
  (function (AccessType) {
package/esm/extern.js CHANGED
@@ -1,9 +1,9 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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
  */
6
- import { createQueryRpc, } from '@interchainjs/cosmos/utils';
6
+ import { createQueryRpc, } from '@interchainjs/utils';
7
7
  const _rpcClients = {};
8
8
  export const getRpcEndpointKey = (rpcEndpoint) => {
9
9
  if (typeof rpcEndpoint === 'string') {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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/esm/helpers.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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/esm/registry.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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/esm/types.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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/esm/utf8.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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/esm/varint.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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/extern.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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/extern.js CHANGED
@@ -1,12 +1,12 @@
1
1
  "use strict";
2
2
  /**
3
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
3
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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
8
  exports.createRpcClient = exports.getRpcClient = exports.getRpcEndpointKey = void 0;
9
- const utils_1 = require("@interchainjs/cosmos/utils");
9
+ const utils_1 = require("@interchainjs/utils");
10
10
  const _rpcClients = {};
11
11
  const getRpcEndpointKey = (rpcEndpoint) => {
12
12
  if (typeof rpcEndpoint === 'string') {
@@ -1,8 +1,41 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FeatureSet_RepeatedFieldEncodingAmino = exports.FeatureSet_RepeatedFieldEncoding = exports.featureSet_EnumTypeToJSON = exports.featureSet_EnumTypeFromJSON = exports.FeatureSet_EnumTypeAmino = exports.FeatureSet_EnumType = exports.featureSet_FieldPresenceToJSON = exports.featureSet_FieldPresenceFromJSON = exports.FeatureSet_FieldPresenceAmino = exports.FeatureSet_FieldPresence = exports.methodOptions_IdempotencyLevelToJSON = exports.methodOptions_IdempotencyLevelFromJSON = exports.MethodOptions_IdempotencyLevelAmino = exports.MethodOptions_IdempotencyLevel = exports.fieldOptions_OptionTargetTypeToJSON = exports.fieldOptions_OptionTargetTypeFromJSON = exports.FieldOptions_OptionTargetTypeAmino = exports.FieldOptions_OptionTargetType = exports.fieldOptions_OptionRetentionToJSON = exports.fieldOptions_OptionRetentionFromJSON = exports.FieldOptions_OptionRetentionAmino = exports.FieldOptions_OptionRetention = exports.fieldOptions_JSTypeToJSON = exports.fieldOptions_JSTypeFromJSON = exports.FieldOptions_JSTypeAmino = exports.FieldOptions_JSType = exports.fieldOptions_CTypeToJSON = exports.fieldOptions_CTypeFromJSON = exports.FieldOptions_CTypeAmino = exports.FieldOptions_CType = exports.fileOptions_OptimizeModeToJSON = exports.fileOptions_OptimizeModeFromJSON = exports.FileOptions_OptimizeModeAmino = exports.FileOptions_OptimizeMode = exports.fieldDescriptorProto_LabelToJSON = exports.fieldDescriptorProto_LabelFromJSON = exports.FieldDescriptorProto_LabelAmino = exports.FieldDescriptorProto_Label = exports.fieldDescriptorProto_TypeToJSON = exports.fieldDescriptorProto_TypeFromJSON = exports.FieldDescriptorProto_TypeAmino = exports.FieldDescriptorProto_Type = exports.extensionRangeOptions_VerificationStateToJSON = exports.extensionRangeOptions_VerificationStateFromJSON = exports.ExtensionRangeOptions_VerificationStateAmino = exports.ExtensionRangeOptions_VerificationState = exports.editionToJSON = exports.editionFromJSON = exports.EditionAmino = exports.Edition = void 0;
4
- exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.FeatureSetDefaults_FeatureSetEditionDefault = exports.FeatureSetDefaults = exports.FeatureSet = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions_FeatureSupport = exports.FieldOptions_EditionDefault = exports.FieldOptions = exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.generatedCodeInfo_Annotation_SemanticToJSON = exports.generatedCodeInfo_Annotation_SemanticFromJSON = exports.GeneratedCodeInfo_Annotation_SemanticAmino = exports.GeneratedCodeInfo_Annotation_Semantic = exports.featureSet_JsonFormatToJSON = exports.featureSet_JsonFormatFromJSON = exports.FeatureSet_JsonFormatAmino = exports.FeatureSet_JsonFormat = exports.featureSet_MessageEncodingToJSON = exports.featureSet_MessageEncodingFromJSON = exports.FeatureSet_MessageEncodingAmino = exports.FeatureSet_MessageEncoding = exports.featureSet_Utf8ValidationToJSON = exports.featureSet_Utf8ValidationFromJSON = exports.FeatureSet_Utf8ValidationAmino = exports.FeatureSet_Utf8Validation = exports.featureSet_RepeatedFieldEncodingToJSON = exports.featureSet_RepeatedFieldEncodingFromJSON = void 0;
5
- exports.GeneratedCodeInfo_Annotation = void 0;
3
+ exports.MessageOptions = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.GeneratedCodeInfo_Annotation_SemanticAmino = exports.GeneratedCodeInfo_Annotation_Semantic = exports.FeatureSet_JsonFormatAmino = exports.FeatureSet_JsonFormat = exports.FeatureSet_MessageEncodingAmino = exports.FeatureSet_MessageEncoding = exports.FeatureSet_Utf8ValidationAmino = exports.FeatureSet_Utf8Validation = exports.FeatureSet_RepeatedFieldEncodingAmino = exports.FeatureSet_RepeatedFieldEncoding = exports.FeatureSet_EnumTypeAmino = exports.FeatureSet_EnumType = exports.FeatureSet_FieldPresenceAmino = exports.FeatureSet_FieldPresence = exports.MethodOptions_IdempotencyLevelAmino = exports.MethodOptions_IdempotencyLevel = exports.FieldOptions_OptionTargetTypeAmino = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetentionAmino = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSTypeAmino = exports.FieldOptions_JSType = exports.FieldOptions_CTypeAmino = exports.FieldOptions_CType = exports.FileOptions_OptimizeModeAmino = exports.FileOptions_OptimizeMode = exports.FieldDescriptorProto_LabelAmino = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_TypeAmino = exports.FieldDescriptorProto_Type = exports.ExtensionRangeOptions_VerificationStateAmino = exports.ExtensionRangeOptions_VerificationState = exports.EditionAmino = exports.Edition = void 0;
4
+ exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.FeatureSetDefaults_FeatureSetEditionDefault = exports.FeatureSetDefaults = exports.FeatureSet = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions_FeatureSupport = exports.FieldOptions_EditionDefault = exports.FieldOptions = void 0;
5
+ exports.editionFromJSON = editionFromJSON;
6
+ exports.editionToJSON = editionToJSON;
7
+ exports.extensionRangeOptions_VerificationStateFromJSON = extensionRangeOptions_VerificationStateFromJSON;
8
+ exports.extensionRangeOptions_VerificationStateToJSON = extensionRangeOptions_VerificationStateToJSON;
9
+ exports.fieldDescriptorProto_TypeFromJSON = fieldDescriptorProto_TypeFromJSON;
10
+ exports.fieldDescriptorProto_TypeToJSON = fieldDescriptorProto_TypeToJSON;
11
+ exports.fieldDescriptorProto_LabelFromJSON = fieldDescriptorProto_LabelFromJSON;
12
+ exports.fieldDescriptorProto_LabelToJSON = fieldDescriptorProto_LabelToJSON;
13
+ exports.fileOptions_OptimizeModeFromJSON = fileOptions_OptimizeModeFromJSON;
14
+ exports.fileOptions_OptimizeModeToJSON = fileOptions_OptimizeModeToJSON;
15
+ exports.fieldOptions_CTypeFromJSON = fieldOptions_CTypeFromJSON;
16
+ exports.fieldOptions_CTypeToJSON = fieldOptions_CTypeToJSON;
17
+ exports.fieldOptions_JSTypeFromJSON = fieldOptions_JSTypeFromJSON;
18
+ exports.fieldOptions_JSTypeToJSON = fieldOptions_JSTypeToJSON;
19
+ exports.fieldOptions_OptionRetentionFromJSON = fieldOptions_OptionRetentionFromJSON;
20
+ exports.fieldOptions_OptionRetentionToJSON = fieldOptions_OptionRetentionToJSON;
21
+ exports.fieldOptions_OptionTargetTypeFromJSON = fieldOptions_OptionTargetTypeFromJSON;
22
+ exports.fieldOptions_OptionTargetTypeToJSON = fieldOptions_OptionTargetTypeToJSON;
23
+ exports.methodOptions_IdempotencyLevelFromJSON = methodOptions_IdempotencyLevelFromJSON;
24
+ exports.methodOptions_IdempotencyLevelToJSON = methodOptions_IdempotencyLevelToJSON;
25
+ exports.featureSet_FieldPresenceFromJSON = featureSet_FieldPresenceFromJSON;
26
+ exports.featureSet_FieldPresenceToJSON = featureSet_FieldPresenceToJSON;
27
+ exports.featureSet_EnumTypeFromJSON = featureSet_EnumTypeFromJSON;
28
+ exports.featureSet_EnumTypeToJSON = featureSet_EnumTypeToJSON;
29
+ exports.featureSet_RepeatedFieldEncodingFromJSON = featureSet_RepeatedFieldEncodingFromJSON;
30
+ exports.featureSet_RepeatedFieldEncodingToJSON = featureSet_RepeatedFieldEncodingToJSON;
31
+ exports.featureSet_Utf8ValidationFromJSON = featureSet_Utf8ValidationFromJSON;
32
+ exports.featureSet_Utf8ValidationToJSON = featureSet_Utf8ValidationToJSON;
33
+ exports.featureSet_MessageEncodingFromJSON = featureSet_MessageEncodingFromJSON;
34
+ exports.featureSet_MessageEncodingToJSON = featureSet_MessageEncodingToJSON;
35
+ exports.featureSet_JsonFormatFromJSON = featureSet_JsonFormatFromJSON;
36
+ exports.featureSet_JsonFormatToJSON = featureSet_JsonFormatToJSON;
37
+ exports.generatedCodeInfo_Annotation_SemanticFromJSON = generatedCodeInfo_Annotation_SemanticFromJSON;
38
+ exports.generatedCodeInfo_Annotation_SemanticToJSON = generatedCodeInfo_Annotation_SemanticToJSON;
6
39
  const binary_1 = require("../../binary");
7
40
  const helpers_1 = require("../../helpers");
8
41
  /** The full set of known editions. */
@@ -92,7 +125,6 @@ function editionFromJSON(object) {
92
125
  return Edition.UNRECOGNIZED;
93
126
  }
94
127
  }
95
- exports.editionFromJSON = editionFromJSON;
96
128
  function editionToJSON(object) {
97
129
  switch (object) {
98
130
  case Edition.EDITION_UNKNOWN:
@@ -124,7 +156,6 @@ function editionToJSON(object) {
124
156
  return "UNRECOGNIZED";
125
157
  }
126
158
  }
127
- exports.editionToJSON = editionToJSON;
128
159
  /** The verification state of the extension range. */
129
160
  var ExtensionRangeOptions_VerificationState;
130
161
  (function (ExtensionRangeOptions_VerificationState) {
@@ -148,7 +179,6 @@ function extensionRangeOptions_VerificationStateFromJSON(object) {
148
179
  return ExtensionRangeOptions_VerificationState.UNRECOGNIZED;
149
180
  }
150
181
  }
151
- exports.extensionRangeOptions_VerificationStateFromJSON = extensionRangeOptions_VerificationStateFromJSON;
152
182
  function extensionRangeOptions_VerificationStateToJSON(object) {
153
183
  switch (object) {
154
184
  case ExtensionRangeOptions_VerificationState.DECLARATION:
@@ -160,7 +190,6 @@ function extensionRangeOptions_VerificationStateToJSON(object) {
160
190
  return "UNRECOGNIZED";
161
191
  }
162
192
  }
163
- exports.extensionRangeOptions_VerificationStateToJSON = extensionRangeOptions_VerificationStateToJSON;
164
193
  var FieldDescriptorProto_Type;
165
194
  (function (FieldDescriptorProto_Type) {
166
195
  /**
@@ -269,7 +298,6 @@ function fieldDescriptorProto_TypeFromJSON(object) {
269
298
  return FieldDescriptorProto_Type.UNRECOGNIZED;
270
299
  }
271
300
  }
272
- exports.fieldDescriptorProto_TypeFromJSON = fieldDescriptorProto_TypeFromJSON;
273
301
  function fieldDescriptorProto_TypeToJSON(object) {
274
302
  switch (object) {
275
303
  case FieldDescriptorProto_Type.TYPE_DOUBLE:
@@ -313,7 +341,6 @@ function fieldDescriptorProto_TypeToJSON(object) {
313
341
  return "UNRECOGNIZED";
314
342
  }
315
343
  }
316
- exports.fieldDescriptorProto_TypeToJSON = fieldDescriptorProto_TypeToJSON;
317
344
  var FieldDescriptorProto_Label;
318
345
  (function (FieldDescriptorProto_Label) {
319
346
  /** LABEL_OPTIONAL - 0 is reserved for errors */
@@ -345,7 +372,6 @@ function fieldDescriptorProto_LabelFromJSON(object) {
345
372
  return FieldDescriptorProto_Label.UNRECOGNIZED;
346
373
  }
347
374
  }
348
- exports.fieldDescriptorProto_LabelFromJSON = fieldDescriptorProto_LabelFromJSON;
349
375
  function fieldDescriptorProto_LabelToJSON(object) {
350
376
  switch (object) {
351
377
  case FieldDescriptorProto_Label.LABEL_OPTIONAL:
@@ -359,7 +385,6 @@ function fieldDescriptorProto_LabelToJSON(object) {
359
385
  return "UNRECOGNIZED";
360
386
  }
361
387
  }
362
- exports.fieldDescriptorProto_LabelToJSON = fieldDescriptorProto_LabelToJSON;
363
388
  /** Generated classes can be optimized for speed or code size. */
364
389
  var FileOptions_OptimizeMode;
365
390
  (function (FileOptions_OptimizeMode) {
@@ -389,7 +414,6 @@ function fileOptions_OptimizeModeFromJSON(object) {
389
414
  return FileOptions_OptimizeMode.UNRECOGNIZED;
390
415
  }
391
416
  }
392
- exports.fileOptions_OptimizeModeFromJSON = fileOptions_OptimizeModeFromJSON;
393
417
  function fileOptions_OptimizeModeToJSON(object) {
394
418
  switch (object) {
395
419
  case FileOptions_OptimizeMode.SPEED:
@@ -403,7 +427,6 @@ function fileOptions_OptimizeModeToJSON(object) {
403
427
  return "UNRECOGNIZED";
404
428
  }
405
429
  }
406
- exports.fileOptions_OptimizeModeToJSON = fileOptions_OptimizeModeToJSON;
407
430
  var FieldOptions_CType;
408
431
  (function (FieldOptions_CType) {
409
432
  /** STRING - Default mode. */
@@ -438,7 +461,6 @@ function fieldOptions_CTypeFromJSON(object) {
438
461
  return FieldOptions_CType.UNRECOGNIZED;
439
462
  }
440
463
  }
441
- exports.fieldOptions_CTypeFromJSON = fieldOptions_CTypeFromJSON;
442
464
  function fieldOptions_CTypeToJSON(object) {
443
465
  switch (object) {
444
466
  case FieldOptions_CType.STRING:
@@ -452,7 +474,6 @@ function fieldOptions_CTypeToJSON(object) {
452
474
  return "UNRECOGNIZED";
453
475
  }
454
476
  }
455
- exports.fieldOptions_CTypeToJSON = fieldOptions_CTypeToJSON;
456
477
  var FieldOptions_JSType;
457
478
  (function (FieldOptions_JSType) {
458
479
  /** JS_NORMAL - Use the default type. */
@@ -481,7 +502,6 @@ function fieldOptions_JSTypeFromJSON(object) {
481
502
  return FieldOptions_JSType.UNRECOGNIZED;
482
503
  }
483
504
  }
484
- exports.fieldOptions_JSTypeFromJSON = fieldOptions_JSTypeFromJSON;
485
505
  function fieldOptions_JSTypeToJSON(object) {
486
506
  switch (object) {
487
507
  case FieldOptions_JSType.JS_NORMAL:
@@ -495,7 +515,6 @@ function fieldOptions_JSTypeToJSON(object) {
495
515
  return "UNRECOGNIZED";
496
516
  }
497
517
  }
498
- exports.fieldOptions_JSTypeToJSON = fieldOptions_JSTypeToJSON;
499
518
  /** If set to RETENTION_SOURCE, the option will be omitted from the binary. */
500
519
  var FieldOptions_OptionRetention;
501
520
  (function (FieldOptions_OptionRetention) {
@@ -522,7 +541,6 @@ function fieldOptions_OptionRetentionFromJSON(object) {
522
541
  return FieldOptions_OptionRetention.UNRECOGNIZED;
523
542
  }
524
543
  }
525
- exports.fieldOptions_OptionRetentionFromJSON = fieldOptions_OptionRetentionFromJSON;
526
544
  function fieldOptions_OptionRetentionToJSON(object) {
527
545
  switch (object) {
528
546
  case FieldOptions_OptionRetention.RETENTION_UNKNOWN:
@@ -536,7 +554,6 @@ function fieldOptions_OptionRetentionToJSON(object) {
536
554
  return "UNRECOGNIZED";
537
555
  }
538
556
  }
539
- exports.fieldOptions_OptionRetentionToJSON = fieldOptions_OptionRetentionToJSON;
540
557
  /**
541
558
  * This indicates the types of entities that the field may apply to when used
542
559
  * as an option. If it is unset, then the field may be freely used as an
@@ -595,7 +612,6 @@ function fieldOptions_OptionTargetTypeFromJSON(object) {
595
612
  return FieldOptions_OptionTargetType.UNRECOGNIZED;
596
613
  }
597
614
  }
598
- exports.fieldOptions_OptionTargetTypeFromJSON = fieldOptions_OptionTargetTypeFromJSON;
599
615
  function fieldOptions_OptionTargetTypeToJSON(object) {
600
616
  switch (object) {
601
617
  case FieldOptions_OptionTargetType.TARGET_TYPE_UNKNOWN:
@@ -623,7 +639,6 @@ function fieldOptions_OptionTargetTypeToJSON(object) {
623
639
  return "UNRECOGNIZED";
624
640
  }
625
641
  }
626
- exports.fieldOptions_OptionTargetTypeToJSON = fieldOptions_OptionTargetTypeToJSON;
627
642
  /**
628
643
  * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
629
644
  * or neither? HTTP based RPC implementation may choose GET verb for safe
@@ -656,7 +671,6 @@ function methodOptions_IdempotencyLevelFromJSON(object) {
656
671
  return MethodOptions_IdempotencyLevel.UNRECOGNIZED;
657
672
  }
658
673
  }
659
- exports.methodOptions_IdempotencyLevelFromJSON = methodOptions_IdempotencyLevelFromJSON;
660
674
  function methodOptions_IdempotencyLevelToJSON(object) {
661
675
  switch (object) {
662
676
  case MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN:
@@ -670,7 +684,6 @@ function methodOptions_IdempotencyLevelToJSON(object) {
670
684
  return "UNRECOGNIZED";
671
685
  }
672
686
  }
673
- exports.methodOptions_IdempotencyLevelToJSON = methodOptions_IdempotencyLevelToJSON;
674
687
  var FeatureSet_FieldPresence;
675
688
  (function (FeatureSet_FieldPresence) {
676
689
  FeatureSet_FieldPresence[FeatureSet_FieldPresence["FIELD_PRESENCE_UNKNOWN"] = 0] = "FIELD_PRESENCE_UNKNOWN";
@@ -700,7 +713,6 @@ function featureSet_FieldPresenceFromJSON(object) {
700
713
  return FeatureSet_FieldPresence.UNRECOGNIZED;
701
714
  }
702
715
  }
703
- exports.featureSet_FieldPresenceFromJSON = featureSet_FieldPresenceFromJSON;
704
716
  function featureSet_FieldPresenceToJSON(object) {
705
717
  switch (object) {
706
718
  case FeatureSet_FieldPresence.FIELD_PRESENCE_UNKNOWN:
@@ -716,7 +728,6 @@ function featureSet_FieldPresenceToJSON(object) {
716
728
  return "UNRECOGNIZED";
717
729
  }
718
730
  }
719
- exports.featureSet_FieldPresenceToJSON = featureSet_FieldPresenceToJSON;
720
731
  var FeatureSet_EnumType;
721
732
  (function (FeatureSet_EnumType) {
722
733
  FeatureSet_EnumType[FeatureSet_EnumType["ENUM_TYPE_UNKNOWN"] = 0] = "ENUM_TYPE_UNKNOWN";
@@ -742,7 +753,6 @@ function featureSet_EnumTypeFromJSON(object) {
742
753
  return FeatureSet_EnumType.UNRECOGNIZED;
743
754
  }
744
755
  }
745
- exports.featureSet_EnumTypeFromJSON = featureSet_EnumTypeFromJSON;
746
756
  function featureSet_EnumTypeToJSON(object) {
747
757
  switch (object) {
748
758
  case FeatureSet_EnumType.ENUM_TYPE_UNKNOWN:
@@ -756,7 +766,6 @@ function featureSet_EnumTypeToJSON(object) {
756
766
  return "UNRECOGNIZED";
757
767
  }
758
768
  }
759
- exports.featureSet_EnumTypeToJSON = featureSet_EnumTypeToJSON;
760
769
  var FeatureSet_RepeatedFieldEncoding;
761
770
  (function (FeatureSet_RepeatedFieldEncoding) {
762
771
  FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["REPEATED_FIELD_ENCODING_UNKNOWN"] = 0] = "REPEATED_FIELD_ENCODING_UNKNOWN";
@@ -782,7 +791,6 @@ function featureSet_RepeatedFieldEncodingFromJSON(object) {
782
791
  return FeatureSet_RepeatedFieldEncoding.UNRECOGNIZED;
783
792
  }
784
793
  }
785
- exports.featureSet_RepeatedFieldEncodingFromJSON = featureSet_RepeatedFieldEncodingFromJSON;
786
794
  function featureSet_RepeatedFieldEncodingToJSON(object) {
787
795
  switch (object) {
788
796
  case FeatureSet_RepeatedFieldEncoding.REPEATED_FIELD_ENCODING_UNKNOWN:
@@ -796,7 +804,6 @@ function featureSet_RepeatedFieldEncodingToJSON(object) {
796
804
  return "UNRECOGNIZED";
797
805
  }
798
806
  }
799
- exports.featureSet_RepeatedFieldEncodingToJSON = featureSet_RepeatedFieldEncodingToJSON;
800
807
  var FeatureSet_Utf8Validation;
801
808
  (function (FeatureSet_Utf8Validation) {
802
809
  FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["UTF8_VALIDATION_UNKNOWN"] = 0] = "UTF8_VALIDATION_UNKNOWN";
@@ -822,7 +829,6 @@ function featureSet_Utf8ValidationFromJSON(object) {
822
829
  return FeatureSet_Utf8Validation.UNRECOGNIZED;
823
830
  }
824
831
  }
825
- exports.featureSet_Utf8ValidationFromJSON = featureSet_Utf8ValidationFromJSON;
826
832
  function featureSet_Utf8ValidationToJSON(object) {
827
833
  switch (object) {
828
834
  case FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN:
@@ -836,7 +842,6 @@ function featureSet_Utf8ValidationToJSON(object) {
836
842
  return "UNRECOGNIZED";
837
843
  }
838
844
  }
839
- exports.featureSet_Utf8ValidationToJSON = featureSet_Utf8ValidationToJSON;
840
845
  var FeatureSet_MessageEncoding;
841
846
  (function (FeatureSet_MessageEncoding) {
842
847
  FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["MESSAGE_ENCODING_UNKNOWN"] = 0] = "MESSAGE_ENCODING_UNKNOWN";
@@ -862,7 +867,6 @@ function featureSet_MessageEncodingFromJSON(object) {
862
867
  return FeatureSet_MessageEncoding.UNRECOGNIZED;
863
868
  }
864
869
  }
865
- exports.featureSet_MessageEncodingFromJSON = featureSet_MessageEncodingFromJSON;
866
870
  function featureSet_MessageEncodingToJSON(object) {
867
871
  switch (object) {
868
872
  case FeatureSet_MessageEncoding.MESSAGE_ENCODING_UNKNOWN:
@@ -876,7 +880,6 @@ function featureSet_MessageEncodingToJSON(object) {
876
880
  return "UNRECOGNIZED";
877
881
  }
878
882
  }
879
- exports.featureSet_MessageEncodingToJSON = featureSet_MessageEncodingToJSON;
880
883
  var FeatureSet_JsonFormat;
881
884
  (function (FeatureSet_JsonFormat) {
882
885
  FeatureSet_JsonFormat[FeatureSet_JsonFormat["JSON_FORMAT_UNKNOWN"] = 0] = "JSON_FORMAT_UNKNOWN";
@@ -902,7 +905,6 @@ function featureSet_JsonFormatFromJSON(object) {
902
905
  return FeatureSet_JsonFormat.UNRECOGNIZED;
903
906
  }
904
907
  }
905
- exports.featureSet_JsonFormatFromJSON = featureSet_JsonFormatFromJSON;
906
908
  function featureSet_JsonFormatToJSON(object) {
907
909
  switch (object) {
908
910
  case FeatureSet_JsonFormat.JSON_FORMAT_UNKNOWN:
@@ -916,7 +918,6 @@ function featureSet_JsonFormatToJSON(object) {
916
918
  return "UNRECOGNIZED";
917
919
  }
918
920
  }
919
- exports.featureSet_JsonFormatToJSON = featureSet_JsonFormatToJSON;
920
921
  /**
921
922
  * Represents the identified object's effect on the element in the original
922
923
  * .proto file.
@@ -949,7 +950,6 @@ function generatedCodeInfo_Annotation_SemanticFromJSON(object) {
949
950
  return GeneratedCodeInfo_Annotation_Semantic.UNRECOGNIZED;
950
951
  }
951
952
  }
952
- exports.generatedCodeInfo_Annotation_SemanticFromJSON = generatedCodeInfo_Annotation_SemanticFromJSON;
953
953
  function generatedCodeInfo_Annotation_SemanticToJSON(object) {
954
954
  switch (object) {
955
955
  case GeneratedCodeInfo_Annotation_Semantic.NONE:
@@ -963,7 +963,6 @@ function generatedCodeInfo_Annotation_SemanticToJSON(object) {
963
963
  return "UNRECOGNIZED";
964
964
  }
965
965
  }
966
- exports.generatedCodeInfo_Annotation_SemanticToJSON = generatedCodeInfo_Annotation_SemanticToJSON;
967
966
  function createBaseFileDescriptorSet() {
968
967
  return {
969
968
  file: []
@@ -149,7 +149,7 @@ export interface DurationAminoMsg {
149
149
  export declare const Duration: {
150
150
  typeUrl: string;
151
151
  is(o: any): o is Duration;
152
- isAmino(o: any): o is string;
152
+ isAmino(o: any): o is DurationAmino;
153
153
  encode(message: Duration, writer?: BinaryWriter): BinaryWriter;
154
154
  decode(input: BinaryReader | Uint8Array, length?: number): Duration;
155
155
  fromPartial(object: DeepPartial<Duration>): Duration;
@@ -209,7 +209,7 @@ export interface TimestampAminoMsg {
209
209
  export declare const Timestamp: {
210
210
  typeUrl: string;
211
211
  is(o: any): o is Timestamp;
212
- isAmino(o: any): o is string;
212
+ isAmino(o: any): o is TimestampAmino;
213
213
  encode(message: Timestamp, writer?: BinaryWriter): BinaryWriter;
214
214
  decode(input: BinaryReader | Uint8Array, length?: number): Timestamp;
215
215
  fromPartial(object: DeepPartial<Timestamp>): Timestamp;
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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
  */
@@ -41,7 +41,7 @@ export interface TxBuilderOptions {
41
41
  converters?: AminoConverter[];
42
42
  deps?: TelescopeGeneratedCodec<any, any, any>[];
43
43
  }
44
- export declare function buildTx<TMsg>(opts: TxBuilderOptions): (signerAddress: string, message: TMsg | TMsg[], fee: StdFee | 'auto', memo: string) => Promise<DeliverTxResponse>;
44
+ export declare function buildTx<TMsg>(opts: TxBuilderOptions): (signerAddress: string, message: TMsg | TMsg[], fee: StdFee | "auto", memo: string) => Promise<DeliverTxResponse>;
45
45
  export interface Coin {
46
46
  denom: string;
47
47
  amount: string;
@@ -1,11 +1,13 @@
1
1
  "use strict";
2
2
  /**
3
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
3
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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.buildTx = exports.isISigningClient = exports.buildQuery = void 0;
8
+ exports.buildQuery = buildQuery;
9
+ exports.isISigningClient = isISigningClient;
10
+ exports.buildTx = buildTx;
9
11
  const extern_1 = require("./extern");
10
12
  const helpers_1 = require("./helpers");
11
13
  function buildQuery(opts) {
@@ -25,14 +27,12 @@ function buildQuery(opts) {
25
27
  return opts.decode(response);
26
28
  };
27
29
  }
28
- exports.buildQuery = buildQuery;
29
30
  function isISigningClient(client) {
30
31
  return client !== null && client !== undefined
31
32
  && typeof client.signAndBroadcast === 'function'
32
33
  && typeof client.addConverters === 'function'
33
34
  && typeof client.addEncoders === 'function';
34
35
  }
35
- exports.isISigningClient = isISigningClient;
36
36
  function buildTx(opts) {
37
37
  registerDependencies(opts.deps ?? []);
38
38
  return async (signerAddress, message, fee, memo) => {
@@ -58,7 +58,6 @@ function buildTx(opts) {
58
58
  return client.signAndBroadcast(signerAddress, data, fee, memo);
59
59
  };
60
60
  }
61
- exports.buildTx = buildTx;
62
61
  function registerDependencies(deps) {
63
62
  for (const dep of deps) {
64
63
  dep.registerTypeUrl?.();
package/helpers.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
2
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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/helpers.js CHANGED
@@ -1,11 +1,22 @@
1
1
  "use strict";
2
2
  /**
3
- * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.19
3
+ * This file and any referenced files were automatically generated by @cosmology/telescope@1.11.20
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.fromJsonTimestamp = exports.fromTimestamp = exports.toTimestamp = exports.isRpc = exports.setPaginationParams = exports.isObject = exports.isSet = exports.fromDuration = exports.toDuration = exports.omitDefault = exports.base64FromBytes = exports.bytesFromBase64 = void 0;
8
+ exports.setPaginationParams = void 0;
9
+ exports.bytesFromBase64 = bytesFromBase64;
10
+ exports.base64FromBytes = base64FromBytes;
11
+ exports.omitDefault = omitDefault;
12
+ exports.toDuration = toDuration;
13
+ exports.fromDuration = fromDuration;
14
+ exports.isSet = isSet;
15
+ exports.isObject = isObject;
16
+ exports.isRpc = isRpc;
17
+ exports.toTimestamp = toTimestamp;
18
+ exports.fromTimestamp = fromTimestamp;
19
+ exports.fromJsonTimestamp = fromJsonTimestamp;
9
20
  var globalThis = (() => {
10
21
  if (typeof globalThis !== 'undefined')
11
22
  return globalThis;
@@ -27,7 +38,6 @@ function bytesFromBase64(b64) {
27
38
  }
28
39
  return arr;
29
40
  }
30
- exports.bytesFromBase64 = bytesFromBase64;
31
41
  const btoa = globalThis.btoa ||
32
42
  ((bin) => globalThis.Buffer.from(bin, 'binary').toString('base64'));
33
43
  function base64FromBytes(arr) {
@@ -37,7 +47,6 @@ function base64FromBytes(arr) {
37
47
  });
38
48
  return btoa(bin.join(''));
39
49
  }
40
- exports.base64FromBytes = base64FromBytes;
41
50
  function omitDefault(input) {
42
51
  if (typeof input === 'string') {
43
52
  return input === '' ? undefined : input;
@@ -53,27 +62,22 @@ function omitDefault(input) {
53
62
  }
54
63
  throw new Error(`Got unsupported type ${typeof input}`);
55
64
  }
56
- exports.omitDefault = omitDefault;
57
65
  function toDuration(duration) {
58
66
  return {
59
67
  seconds: BigInt(Math.floor(parseInt(duration) / 1000000000)),
60
68
  nanos: parseInt(duration) % 1000000000
61
69
  };
62
70
  }
63
- exports.toDuration = toDuration;
64
71
  function fromDuration(duration) {
65
72
  return (parseInt(duration.seconds.toString()) * 1000000000 +
66
73
  duration.nanos).toString();
67
74
  }
68
- exports.fromDuration = fromDuration;
69
75
  function isSet(value) {
70
76
  return value !== null && value !== undefined;
71
77
  }
72
- exports.isSet = isSet;
73
78
  function isObject(value) {
74
79
  return typeof value === 'object' && value !== null;
75
80
  }
76
- exports.isObject = isObject;
77
81
  const setPaginationParams = (options, pagination) => {
78
82
  if (!pagination) {
79
83
  return options;
@@ -102,7 +106,6 @@ exports.setPaginationParams = setPaginationParams;
102
106
  function isRpc(rpc) {
103
107
  return rpc !== null && rpc !== undefined && typeof rpc.request === 'function';
104
108
  }
105
- exports.isRpc = isRpc;
106
109
  function toTimestamp(date) {
107
110
  const seconds = numberToLong(date.getTime() / 1_000);
108
111
  const nanos = (date.getTime() % 1000) * 1000000;
@@ -111,13 +114,11 @@ function toTimestamp(date) {
111
114
  nanos
112
115
  };
113
116
  }
114
- exports.toTimestamp = toTimestamp;
115
117
  function fromTimestamp(t) {
116
118
  let millis = Number(t.seconds) * 1000;
117
119
  millis += t.nanos / 1000000;
118
120
  return new Date(millis);
119
121
  }
120
- exports.fromTimestamp = fromTimestamp;
121
122
  const timestampFromJSON = (object) => {
122
123
  return {
123
124
  seconds: isSet(object.seconds)
@@ -137,7 +138,6 @@ function fromJsonTimestamp(o) {
137
138
  return timestampFromJSON(o);
138
139
  }
139
140
  }
140
- exports.fromJsonTimestamp = fromJsonTimestamp;
141
141
  function numberToLong(number) {
142
142
  return BigInt(Math.trunc(number));
143
143
  }
@@ -5,11 +5,11 @@ export declare const MessageComposer: {
5
5
  encoded: {
6
6
  transfer(value: MsgTransfer): {
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: {
@@ -1,4 +1,4 @@
1
1
  import { SigningClientResolver } from "../../../../helper-func-types";
2
2
  import { MsgTransfer, MsgUpdateParams } from "./tx";
3
- export declare const createTransfer: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgTransfer | MsgTransfer[], fee: "auto" | import("../../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../../helper-func-types").DeliverTxResponse>;
4
- export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: "auto" | import("../../../../helper-func-types").StdFee, memo: string) => Promise<import("../../../../helper-func-types").DeliverTxResponse>;
3
+ export declare const createTransfer: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgTransfer | MsgTransfer[], fee: import("../../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../../helper-func-types").DeliverTxResponse>;
4
+ export declare const createUpdateParams: (clientResolver?: SigningClientResolver) => (signerAddress: string, message: MsgUpdateParams | MsgUpdateParams[], fee: import("../../../../helper-func-types").StdFee | "auto", memo: string) => Promise<import("../../../../helper-func-types").DeliverTxResponse>;