@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.
- package/binary.d.ts +1 -1
- package/binary.js +2 -2
- package/cosmos/auth/v1beta1/tx.registry.d.ts +1 -1
- package/cosmos/auth/v1beta1/tx.rpc.func.d.ts +1 -1
- package/cosmos/authz/v1beta1/tx.registry.d.ts +3 -3
- package/cosmos/authz/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/bank/v1beta1/tx.registry.d.ts +4 -4
- package/cosmos/bank/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/bundle.d.ts +50 -50
- package/cosmos/bundle.js +179 -179
- package/cosmos/consensus/v1/tx.registry.d.ts +1 -1
- package/cosmos/consensus/v1/tx.rpc.func.d.ts +1 -1
- package/cosmos/distribution/v1beta1/tx.registry.d.ts +7 -7
- package/cosmos/distribution/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/evidence/v1beta1/tx.registry.d.ts +1 -1
- package/cosmos/evidence/v1beta1/tx.rpc.func.d.ts +1 -1
- package/cosmos/evm/feemarket/v1/tx.registry.d.ts +1 -1
- package/cosmos/evm/feemarket/v1/tx.rpc.func.d.ts +1 -1
- package/cosmos/evm/vm/v1/evm.js +4 -4
- package/cosmos/evm/vm/v1/tx.registry.d.ts +2 -2
- package/cosmos/evm/vm/v1/tx.rpc.func.d.ts +2 -2
- package/cosmos/feegrant/v1beta1/tx.registry.d.ts +3 -3
- package/cosmos/feegrant/v1beta1/tx.rpc.func.d.ts +3 -3
- package/cosmos/gov/v1/gov.js +7 -7
- package/cosmos/gov/v1/tx.registry.d.ts +7 -7
- package/cosmos/gov/v1/tx.rpc.func.d.ts +7 -7
- package/cosmos/gov/v1beta1/gov.js +7 -7
- package/cosmos/gov/v1beta1/tx.registry.d.ts +4 -4
- package/cosmos/gov/v1beta1/tx.rpc.func.d.ts +4 -4
- package/cosmos/ics23/v1/proofs.js +7 -7
- package/cosmos/mint/v1beta1/tx.registry.d.ts +1 -1
- package/cosmos/mint/v1beta1/tx.rpc.func.d.ts +1 -1
- package/cosmos/slashing/v1beta1/tx.registry.d.ts +2 -2
- package/cosmos/slashing/v1beta1/tx.rpc.func.d.ts +2 -2
- package/cosmos/staking/v1beta1/authz.js +4 -4
- package/cosmos/staking/v1beta1/staking.js +7 -7
- package/cosmos/staking/v1beta1/tx.registry.d.ts +7 -7
- package/cosmos/staking/v1beta1/tx.rpc.func.d.ts +7 -7
- package/cosmos/tx/signing/v1beta1/signing.js +4 -4
- package/cosmos/tx/v1beta1/service.js +7 -7
- package/cosmos/upgrade/v1beta1/tx.registry.d.ts +2 -2
- package/cosmos/upgrade/v1beta1/tx.rpc.func.d.ts +2 -2
- package/cosmos_proto/bundle.d.ts +1 -1
- package/cosmos_proto/bundle.js +2 -2
- package/cosmos_proto/cosmos.js +4 -4
- package/cosmwasm/bundle.d.ts +4 -4
- package/cosmwasm/bundle.js +11 -11
- package/cosmwasm/wasm/v1/tx.registry.d.ts +17 -17
- package/cosmwasm/wasm/v1/tx.rpc.func.d.ts +17 -17
- package/cosmwasm/wasm/v1/types.js +7 -7
- package/esm/binary.js +1 -1
- package/esm/cosmos/bundle.js +50 -50
- package/esm/cosmos_proto/bundle.js +1 -1
- package/esm/cosmwasm/bundle.js +4 -4
- package/esm/extern.js +1 -1
- package/esm/helper-func-types.js +2 -2
- package/esm/helpers.js +3 -32
- package/esm/ibc/bundle.js +9 -9
- package/esm/index.js +1 -1
- package/esm/react-query.js +2 -2
- package/esm/registry.js +1 -1
- package/esm/types.js +1 -1
- package/esm/utf8.js +1 -1
- package/esm/varint.js +1 -1
- package/ethermint/evm/v1/tx.registry.d.ts +2 -2
- package/ethermint/evm/v1/tx.rpc.func.d.ts +2 -2
- package/ethermint/feemarket/v1/tx.registry.d.ts +1 -1
- package/ethermint/feemarket/v1/tx.rpc.func.d.ts +1 -1
- package/extern.d.ts +1 -1
- package/extern.js +1 -1
- package/google/protobuf/descriptor.js +62 -63
- package/google/protobuf/duration.d.ts +1 -1
- package/google/protobuf/timestamp.d.ts +1 -1
- package/helper-func-types.d.ts +3 -3
- package/helper-func-types.js +6 -7
- package/helpers.d.ts +2 -4
- package/helpers.js +15 -44
- package/ibc/applications/interchain_accounts/controller/v1/tx.registry.d.ts +3 -3
- package/ibc/applications/interchain_accounts/controller/v1/tx.rpc.func.d.ts +3 -3
- package/ibc/applications/interchain_accounts/host/v1/tx.registry.d.ts +2 -2
- package/ibc/applications/interchain_accounts/host/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/applications/interchain_accounts/v1/packet.js +4 -4
- package/ibc/applications/transfer/v1/tx.registry.d.ts +2 -2
- package/ibc/applications/transfer/v1/tx.rpc.func.d.ts +2 -2
- package/ibc/bundle.d.ts +9 -9
- package/ibc/bundle.js +65 -65
- package/ibc/core/channel/v1/channel.js +7 -7
- package/ibc/core/channel/v1/tx.js +4 -4
- package/ibc/core/channel/v1/tx.registry.d.ts +10 -10
- package/ibc/core/channel/v1/tx.rpc.func.d.ts +10 -10
- package/ibc/core/channel/v2/packet.js +4 -4
- package/ibc/core/channel/v2/tx.js +4 -4
- package/ibc/core/channel/v2/tx.registry.d.ts +4 -4
- package/ibc/core/channel/v2/tx.rpc.func.d.ts +4 -4
- package/ibc/core/client/v1/tx.registry.d.ts +8 -8
- package/ibc/core/client/v1/tx.rpc.func.d.ts +8 -8
- package/ibc/core/client/v2/tx.registry.d.ts +2 -2
- package/ibc/core/client/v2/tx.rpc.func.d.ts +2 -2
- package/ibc/core/connection/v1/connection.js +4 -4
- package/ibc/core/connection/v1/tx.registry.d.ts +5 -5
- package/ibc/core/connection/v1/tx.rpc.func.d.ts +5 -5
- package/ibc/lightclients/solomachine/v2/solomachine.js +4 -4
- package/ibc/lightclients/wasm/v1/tx.registry.d.ts +3 -3
- package/ibc/lightclients/wasm/v1/tx.rpc.func.d.ts +3 -3
- package/index.d.ts +1 -1
- package/index.js +1 -1
- package/package.json +25 -7
- package/react-query.d.ts +3 -4
- package/react-query.js +7 -7
- package/registry.d.ts +1 -1
- package/registry.js +1 -1
- package/tendermint/abci/types.js +20 -20
- package/tendermint/types/types.js +4 -4
- package/tendermint/types/validator.js +4 -4
- package/types.d.ts +1 -1
- package/types.js +1 -1
- package/utf8.d.ts +1 -1
- package/utf8.js +4 -5
- package/varint.d.ts +1 -1
- package/varint.js +17 -18
- package/xpla/burn/v1beta1/tx.registry.d.ts +1 -1
- package/xpla/burn/v1beta1/tx.rpc.func.d.ts +1 -1
- package/xpla/reward/v1beta1/tx.registry.d.ts +2 -2
- package/xpla/reward/v1beta1/tx.rpc.func.d.ts +2 -2
- package/xpla/volunteer/v1beta1/tx.registry.d.ts +2 -2
- package/xpla/volunteer/v1beta1/tx.rpc.func.d.ts +2 -2
|
@@ -1,8 +1,47 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.
|
|
3
|
+
exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = exports.SymbolVisibilityAmino = exports.SymbolVisibility = exports.GeneratedCodeInfo_Annotation_SemanticAmino = exports.GeneratedCodeInfo_Annotation_Semantic = exports.FeatureSet_VisibilityFeature_DefaultSymbolVisibilityAmino = exports.FeatureSet_VisibilityFeature_DefaultSymbolVisibility = exports.FeatureSet_EnforceNamingStyleAmino = exports.FeatureSet_EnforceNamingStyle = 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_VisibilityFeature = 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 = 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.featureSet_EnforceNamingStyleFromJSON = featureSet_EnforceNamingStyleFromJSON;
|
|
38
|
+
exports.featureSet_EnforceNamingStyleToJSON = featureSet_EnforceNamingStyleToJSON;
|
|
39
|
+
exports.featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON = featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON;
|
|
40
|
+
exports.featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON = featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON;
|
|
41
|
+
exports.generatedCodeInfo_Annotation_SemanticFromJSON = generatedCodeInfo_Annotation_SemanticFromJSON;
|
|
42
|
+
exports.generatedCodeInfo_Annotation_SemanticToJSON = generatedCodeInfo_Annotation_SemanticToJSON;
|
|
43
|
+
exports.symbolVisibilityFromJSON = symbolVisibilityFromJSON;
|
|
44
|
+
exports.symbolVisibilityToJSON = symbolVisibilityToJSON;
|
|
6
45
|
const binary_1 = require("../../binary");
|
|
7
46
|
const helpers_1 = require("../../helpers");
|
|
8
47
|
const registry_1 = require("../../registry");
|
|
@@ -47,7 +86,7 @@ var Edition;
|
|
|
47
86
|
*/
|
|
48
87
|
Edition[Edition["EDITION_MAX"] = 2147483647] = "EDITION_MAX";
|
|
49
88
|
Edition[Edition["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
50
|
-
})(Edition
|
|
89
|
+
})(Edition || (exports.Edition = Edition = {}));
|
|
51
90
|
exports.EditionAmino = Edition;
|
|
52
91
|
function editionFromJSON(object) {
|
|
53
92
|
switch (object) {
|
|
@@ -93,7 +132,6 @@ function editionFromJSON(object) {
|
|
|
93
132
|
return Edition.UNRECOGNIZED;
|
|
94
133
|
}
|
|
95
134
|
}
|
|
96
|
-
exports.editionFromJSON = editionFromJSON;
|
|
97
135
|
function editionToJSON(object) {
|
|
98
136
|
switch (object) {
|
|
99
137
|
case Edition.EDITION_UNKNOWN:
|
|
@@ -125,7 +163,6 @@ function editionToJSON(object) {
|
|
|
125
163
|
return "UNRECOGNIZED";
|
|
126
164
|
}
|
|
127
165
|
}
|
|
128
|
-
exports.editionToJSON = editionToJSON;
|
|
129
166
|
/** The verification state of the extension range. */
|
|
130
167
|
var ExtensionRangeOptions_VerificationState;
|
|
131
168
|
(function (ExtensionRangeOptions_VerificationState) {
|
|
@@ -133,7 +170,7 @@ var ExtensionRangeOptions_VerificationState;
|
|
|
133
170
|
ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["DECLARATION"] = 0] = "DECLARATION";
|
|
134
171
|
ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNVERIFIED"] = 1] = "UNVERIFIED";
|
|
135
172
|
ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
136
|
-
})(ExtensionRangeOptions_VerificationState
|
|
173
|
+
})(ExtensionRangeOptions_VerificationState || (exports.ExtensionRangeOptions_VerificationState = ExtensionRangeOptions_VerificationState = {}));
|
|
137
174
|
exports.ExtensionRangeOptions_VerificationStateAmino = ExtensionRangeOptions_VerificationState;
|
|
138
175
|
function extensionRangeOptions_VerificationStateFromJSON(object) {
|
|
139
176
|
switch (object) {
|
|
@@ -149,7 +186,6 @@ function extensionRangeOptions_VerificationStateFromJSON(object) {
|
|
|
149
186
|
return ExtensionRangeOptions_VerificationState.UNRECOGNIZED;
|
|
150
187
|
}
|
|
151
188
|
}
|
|
152
|
-
exports.extensionRangeOptions_VerificationStateFromJSON = extensionRangeOptions_VerificationStateFromJSON;
|
|
153
189
|
function extensionRangeOptions_VerificationStateToJSON(object) {
|
|
154
190
|
switch (object) {
|
|
155
191
|
case ExtensionRangeOptions_VerificationState.DECLARATION:
|
|
@@ -161,7 +197,6 @@ function extensionRangeOptions_VerificationStateToJSON(object) {
|
|
|
161
197
|
return "UNRECOGNIZED";
|
|
162
198
|
}
|
|
163
199
|
}
|
|
164
|
-
exports.extensionRangeOptions_VerificationStateToJSON = extensionRangeOptions_VerificationStateToJSON;
|
|
165
200
|
var FieldDescriptorProto_Type;
|
|
166
201
|
(function (FieldDescriptorProto_Type) {
|
|
167
202
|
/**
|
|
@@ -206,7 +241,7 @@ var FieldDescriptorProto_Type;
|
|
|
206
241
|
/** TYPE_SINT64 - Uses ZigZag encoding. */
|
|
207
242
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SINT64"] = 18] = "TYPE_SINT64";
|
|
208
243
|
FieldDescriptorProto_Type[FieldDescriptorProto_Type["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
209
|
-
})(FieldDescriptorProto_Type
|
|
244
|
+
})(FieldDescriptorProto_Type || (exports.FieldDescriptorProto_Type = FieldDescriptorProto_Type = {}));
|
|
210
245
|
exports.FieldDescriptorProto_TypeAmino = FieldDescriptorProto_Type;
|
|
211
246
|
function fieldDescriptorProto_TypeFromJSON(object) {
|
|
212
247
|
switch (object) {
|
|
@@ -270,7 +305,6 @@ function fieldDescriptorProto_TypeFromJSON(object) {
|
|
|
270
305
|
return FieldDescriptorProto_Type.UNRECOGNIZED;
|
|
271
306
|
}
|
|
272
307
|
}
|
|
273
|
-
exports.fieldDescriptorProto_TypeFromJSON = fieldDescriptorProto_TypeFromJSON;
|
|
274
308
|
function fieldDescriptorProto_TypeToJSON(object) {
|
|
275
309
|
switch (object) {
|
|
276
310
|
case FieldDescriptorProto_Type.TYPE_DOUBLE:
|
|
@@ -314,7 +348,6 @@ function fieldDescriptorProto_TypeToJSON(object) {
|
|
|
314
348
|
return "UNRECOGNIZED";
|
|
315
349
|
}
|
|
316
350
|
}
|
|
317
|
-
exports.fieldDescriptorProto_TypeToJSON = fieldDescriptorProto_TypeToJSON;
|
|
318
351
|
var FieldDescriptorProto_Label;
|
|
319
352
|
(function (FieldDescriptorProto_Label) {
|
|
320
353
|
/** LABEL_OPTIONAL - 0 is reserved for errors */
|
|
@@ -327,7 +360,7 @@ var FieldDescriptorProto_Label;
|
|
|
327
360
|
*/
|
|
328
361
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REQUIRED"] = 2] = "LABEL_REQUIRED";
|
|
329
362
|
FieldDescriptorProto_Label[FieldDescriptorProto_Label["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
330
|
-
})(FieldDescriptorProto_Label
|
|
363
|
+
})(FieldDescriptorProto_Label || (exports.FieldDescriptorProto_Label = FieldDescriptorProto_Label = {}));
|
|
331
364
|
exports.FieldDescriptorProto_LabelAmino = FieldDescriptorProto_Label;
|
|
332
365
|
function fieldDescriptorProto_LabelFromJSON(object) {
|
|
333
366
|
switch (object) {
|
|
@@ -346,7 +379,6 @@ function fieldDescriptorProto_LabelFromJSON(object) {
|
|
|
346
379
|
return FieldDescriptorProto_Label.UNRECOGNIZED;
|
|
347
380
|
}
|
|
348
381
|
}
|
|
349
|
-
exports.fieldDescriptorProto_LabelFromJSON = fieldDescriptorProto_LabelFromJSON;
|
|
350
382
|
function fieldDescriptorProto_LabelToJSON(object) {
|
|
351
383
|
switch (object) {
|
|
352
384
|
case FieldDescriptorProto_Label.LABEL_OPTIONAL:
|
|
@@ -360,7 +392,6 @@ function fieldDescriptorProto_LabelToJSON(object) {
|
|
|
360
392
|
return "UNRECOGNIZED";
|
|
361
393
|
}
|
|
362
394
|
}
|
|
363
|
-
exports.fieldDescriptorProto_LabelToJSON = fieldDescriptorProto_LabelToJSON;
|
|
364
395
|
/** Generated classes can be optimized for speed or code size. */
|
|
365
396
|
var FileOptions_OptimizeMode;
|
|
366
397
|
(function (FileOptions_OptimizeMode) {
|
|
@@ -371,7 +402,7 @@ var FileOptions_OptimizeMode;
|
|
|
371
402
|
/** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */
|
|
372
403
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
|
|
373
404
|
FileOptions_OptimizeMode[FileOptions_OptimizeMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
374
|
-
})(FileOptions_OptimizeMode
|
|
405
|
+
})(FileOptions_OptimizeMode || (exports.FileOptions_OptimizeMode = FileOptions_OptimizeMode = {}));
|
|
375
406
|
exports.FileOptions_OptimizeModeAmino = FileOptions_OptimizeMode;
|
|
376
407
|
function fileOptions_OptimizeModeFromJSON(object) {
|
|
377
408
|
switch (object) {
|
|
@@ -390,7 +421,6 @@ function fileOptions_OptimizeModeFromJSON(object) {
|
|
|
390
421
|
return FileOptions_OptimizeMode.UNRECOGNIZED;
|
|
391
422
|
}
|
|
392
423
|
}
|
|
393
|
-
exports.fileOptions_OptimizeModeFromJSON = fileOptions_OptimizeModeFromJSON;
|
|
394
424
|
function fileOptions_OptimizeModeToJSON(object) {
|
|
395
425
|
switch (object) {
|
|
396
426
|
case FileOptions_OptimizeMode.SPEED:
|
|
@@ -404,7 +434,6 @@ function fileOptions_OptimizeModeToJSON(object) {
|
|
|
404
434
|
return "UNRECOGNIZED";
|
|
405
435
|
}
|
|
406
436
|
}
|
|
407
|
-
exports.fileOptions_OptimizeModeToJSON = fileOptions_OptimizeModeToJSON;
|
|
408
437
|
var FieldOptions_CType;
|
|
409
438
|
(function (FieldOptions_CType) {
|
|
410
439
|
/** STRING - Default mode. */
|
|
@@ -420,7 +449,7 @@ var FieldOptions_CType;
|
|
|
420
449
|
FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
|
|
421
450
|
FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
|
|
422
451
|
FieldOptions_CType[FieldOptions_CType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
423
|
-
})(FieldOptions_CType
|
|
452
|
+
})(FieldOptions_CType || (exports.FieldOptions_CType = FieldOptions_CType = {}));
|
|
424
453
|
exports.FieldOptions_CTypeAmino = FieldOptions_CType;
|
|
425
454
|
function fieldOptions_CTypeFromJSON(object) {
|
|
426
455
|
switch (object) {
|
|
@@ -439,7 +468,6 @@ function fieldOptions_CTypeFromJSON(object) {
|
|
|
439
468
|
return FieldOptions_CType.UNRECOGNIZED;
|
|
440
469
|
}
|
|
441
470
|
}
|
|
442
|
-
exports.fieldOptions_CTypeFromJSON = fieldOptions_CTypeFromJSON;
|
|
443
471
|
function fieldOptions_CTypeToJSON(object) {
|
|
444
472
|
switch (object) {
|
|
445
473
|
case FieldOptions_CType.STRING:
|
|
@@ -453,7 +481,6 @@ function fieldOptions_CTypeToJSON(object) {
|
|
|
453
481
|
return "UNRECOGNIZED";
|
|
454
482
|
}
|
|
455
483
|
}
|
|
456
|
-
exports.fieldOptions_CTypeToJSON = fieldOptions_CTypeToJSON;
|
|
457
484
|
var FieldOptions_JSType;
|
|
458
485
|
(function (FieldOptions_JSType) {
|
|
459
486
|
/** JS_NORMAL - Use the default type. */
|
|
@@ -463,7 +490,7 @@ var FieldOptions_JSType;
|
|
|
463
490
|
/** JS_NUMBER - Use JavaScript numbers. */
|
|
464
491
|
FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
|
|
465
492
|
FieldOptions_JSType[FieldOptions_JSType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
466
|
-
})(FieldOptions_JSType
|
|
493
|
+
})(FieldOptions_JSType || (exports.FieldOptions_JSType = FieldOptions_JSType = {}));
|
|
467
494
|
exports.FieldOptions_JSTypeAmino = FieldOptions_JSType;
|
|
468
495
|
function fieldOptions_JSTypeFromJSON(object) {
|
|
469
496
|
switch (object) {
|
|
@@ -482,7 +509,6 @@ function fieldOptions_JSTypeFromJSON(object) {
|
|
|
482
509
|
return FieldOptions_JSType.UNRECOGNIZED;
|
|
483
510
|
}
|
|
484
511
|
}
|
|
485
|
-
exports.fieldOptions_JSTypeFromJSON = fieldOptions_JSTypeFromJSON;
|
|
486
512
|
function fieldOptions_JSTypeToJSON(object) {
|
|
487
513
|
switch (object) {
|
|
488
514
|
case FieldOptions_JSType.JS_NORMAL:
|
|
@@ -496,7 +522,6 @@ function fieldOptions_JSTypeToJSON(object) {
|
|
|
496
522
|
return "UNRECOGNIZED";
|
|
497
523
|
}
|
|
498
524
|
}
|
|
499
|
-
exports.fieldOptions_JSTypeToJSON = fieldOptions_JSTypeToJSON;
|
|
500
525
|
/** If set to RETENTION_SOURCE, the option will be omitted from the binary. */
|
|
501
526
|
var FieldOptions_OptionRetention;
|
|
502
527
|
(function (FieldOptions_OptionRetention) {
|
|
@@ -504,7 +529,7 @@ var FieldOptions_OptionRetention;
|
|
|
504
529
|
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_RUNTIME"] = 1] = "RETENTION_RUNTIME";
|
|
505
530
|
FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_SOURCE"] = 2] = "RETENTION_SOURCE";
|
|
506
531
|
FieldOptions_OptionRetention[FieldOptions_OptionRetention["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
507
|
-
})(FieldOptions_OptionRetention
|
|
532
|
+
})(FieldOptions_OptionRetention || (exports.FieldOptions_OptionRetention = FieldOptions_OptionRetention = {}));
|
|
508
533
|
exports.FieldOptions_OptionRetentionAmino = FieldOptions_OptionRetention;
|
|
509
534
|
function fieldOptions_OptionRetentionFromJSON(object) {
|
|
510
535
|
switch (object) {
|
|
@@ -523,7 +548,6 @@ function fieldOptions_OptionRetentionFromJSON(object) {
|
|
|
523
548
|
return FieldOptions_OptionRetention.UNRECOGNIZED;
|
|
524
549
|
}
|
|
525
550
|
}
|
|
526
|
-
exports.fieldOptions_OptionRetentionFromJSON = fieldOptions_OptionRetentionFromJSON;
|
|
527
551
|
function fieldOptions_OptionRetentionToJSON(object) {
|
|
528
552
|
switch (object) {
|
|
529
553
|
case FieldOptions_OptionRetention.RETENTION_UNKNOWN:
|
|
@@ -537,7 +561,6 @@ function fieldOptions_OptionRetentionToJSON(object) {
|
|
|
537
561
|
return "UNRECOGNIZED";
|
|
538
562
|
}
|
|
539
563
|
}
|
|
540
|
-
exports.fieldOptions_OptionRetentionToJSON = fieldOptions_OptionRetentionToJSON;
|
|
541
564
|
/**
|
|
542
565
|
* This indicates the types of entities that the field may apply to when used
|
|
543
566
|
* as an option. If it is unset, then the field may be freely used as an
|
|
@@ -556,7 +579,7 @@ var FieldOptions_OptionTargetType;
|
|
|
556
579
|
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_SERVICE"] = 8] = "TARGET_TYPE_SERVICE";
|
|
557
580
|
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_METHOD"] = 9] = "TARGET_TYPE_METHOD";
|
|
558
581
|
FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
559
|
-
})(FieldOptions_OptionTargetType
|
|
582
|
+
})(FieldOptions_OptionTargetType || (exports.FieldOptions_OptionTargetType = FieldOptions_OptionTargetType = {}));
|
|
560
583
|
exports.FieldOptions_OptionTargetTypeAmino = FieldOptions_OptionTargetType;
|
|
561
584
|
function fieldOptions_OptionTargetTypeFromJSON(object) {
|
|
562
585
|
switch (object) {
|
|
@@ -596,7 +619,6 @@ function fieldOptions_OptionTargetTypeFromJSON(object) {
|
|
|
596
619
|
return FieldOptions_OptionTargetType.UNRECOGNIZED;
|
|
597
620
|
}
|
|
598
621
|
}
|
|
599
|
-
exports.fieldOptions_OptionTargetTypeFromJSON = fieldOptions_OptionTargetTypeFromJSON;
|
|
600
622
|
function fieldOptions_OptionTargetTypeToJSON(object) {
|
|
601
623
|
switch (object) {
|
|
602
624
|
case FieldOptions_OptionTargetType.TARGET_TYPE_UNKNOWN:
|
|
@@ -624,7 +646,6 @@ function fieldOptions_OptionTargetTypeToJSON(object) {
|
|
|
624
646
|
return "UNRECOGNIZED";
|
|
625
647
|
}
|
|
626
648
|
}
|
|
627
|
-
exports.fieldOptions_OptionTargetTypeToJSON = fieldOptions_OptionTargetTypeToJSON;
|
|
628
649
|
/**
|
|
629
650
|
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
630
651
|
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
@@ -638,7 +659,7 @@ var MethodOptions_IdempotencyLevel;
|
|
|
638
659
|
/** IDEMPOTENT - idempotent, but may have side effects */
|
|
639
660
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
|
|
640
661
|
MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
641
|
-
})(MethodOptions_IdempotencyLevel
|
|
662
|
+
})(MethodOptions_IdempotencyLevel || (exports.MethodOptions_IdempotencyLevel = MethodOptions_IdempotencyLevel = {}));
|
|
642
663
|
exports.MethodOptions_IdempotencyLevelAmino = MethodOptions_IdempotencyLevel;
|
|
643
664
|
function methodOptions_IdempotencyLevelFromJSON(object) {
|
|
644
665
|
switch (object) {
|
|
@@ -657,7 +678,6 @@ function methodOptions_IdempotencyLevelFromJSON(object) {
|
|
|
657
678
|
return MethodOptions_IdempotencyLevel.UNRECOGNIZED;
|
|
658
679
|
}
|
|
659
680
|
}
|
|
660
|
-
exports.methodOptions_IdempotencyLevelFromJSON = methodOptions_IdempotencyLevelFromJSON;
|
|
661
681
|
function methodOptions_IdempotencyLevelToJSON(object) {
|
|
662
682
|
switch (object) {
|
|
663
683
|
case MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN:
|
|
@@ -671,7 +691,6 @@ function methodOptions_IdempotencyLevelToJSON(object) {
|
|
|
671
691
|
return "UNRECOGNIZED";
|
|
672
692
|
}
|
|
673
693
|
}
|
|
674
|
-
exports.methodOptions_IdempotencyLevelToJSON = methodOptions_IdempotencyLevelToJSON;
|
|
675
694
|
var FeatureSet_FieldPresence;
|
|
676
695
|
(function (FeatureSet_FieldPresence) {
|
|
677
696
|
FeatureSet_FieldPresence[FeatureSet_FieldPresence["FIELD_PRESENCE_UNKNOWN"] = 0] = "FIELD_PRESENCE_UNKNOWN";
|
|
@@ -679,7 +698,7 @@ var FeatureSet_FieldPresence;
|
|
|
679
698
|
FeatureSet_FieldPresence[FeatureSet_FieldPresence["IMPLICIT"] = 2] = "IMPLICIT";
|
|
680
699
|
FeatureSet_FieldPresence[FeatureSet_FieldPresence["LEGACY_REQUIRED"] = 3] = "LEGACY_REQUIRED";
|
|
681
700
|
FeatureSet_FieldPresence[FeatureSet_FieldPresence["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
682
|
-
})(FeatureSet_FieldPresence
|
|
701
|
+
})(FeatureSet_FieldPresence || (exports.FeatureSet_FieldPresence = FeatureSet_FieldPresence = {}));
|
|
683
702
|
exports.FeatureSet_FieldPresenceAmino = FeatureSet_FieldPresence;
|
|
684
703
|
function featureSet_FieldPresenceFromJSON(object) {
|
|
685
704
|
switch (object) {
|
|
@@ -701,7 +720,6 @@ function featureSet_FieldPresenceFromJSON(object) {
|
|
|
701
720
|
return FeatureSet_FieldPresence.UNRECOGNIZED;
|
|
702
721
|
}
|
|
703
722
|
}
|
|
704
|
-
exports.featureSet_FieldPresenceFromJSON = featureSet_FieldPresenceFromJSON;
|
|
705
723
|
function featureSet_FieldPresenceToJSON(object) {
|
|
706
724
|
switch (object) {
|
|
707
725
|
case FeatureSet_FieldPresence.FIELD_PRESENCE_UNKNOWN:
|
|
@@ -717,14 +735,13 @@ function featureSet_FieldPresenceToJSON(object) {
|
|
|
717
735
|
return "UNRECOGNIZED";
|
|
718
736
|
}
|
|
719
737
|
}
|
|
720
|
-
exports.featureSet_FieldPresenceToJSON = featureSet_FieldPresenceToJSON;
|
|
721
738
|
var FeatureSet_EnumType;
|
|
722
739
|
(function (FeatureSet_EnumType) {
|
|
723
740
|
FeatureSet_EnumType[FeatureSet_EnumType["ENUM_TYPE_UNKNOWN"] = 0] = "ENUM_TYPE_UNKNOWN";
|
|
724
741
|
FeatureSet_EnumType[FeatureSet_EnumType["OPEN"] = 1] = "OPEN";
|
|
725
742
|
FeatureSet_EnumType[FeatureSet_EnumType["CLOSED"] = 2] = "CLOSED";
|
|
726
743
|
FeatureSet_EnumType[FeatureSet_EnumType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
727
|
-
})(FeatureSet_EnumType
|
|
744
|
+
})(FeatureSet_EnumType || (exports.FeatureSet_EnumType = FeatureSet_EnumType = {}));
|
|
728
745
|
exports.FeatureSet_EnumTypeAmino = FeatureSet_EnumType;
|
|
729
746
|
function featureSet_EnumTypeFromJSON(object) {
|
|
730
747
|
switch (object) {
|
|
@@ -743,7 +760,6 @@ function featureSet_EnumTypeFromJSON(object) {
|
|
|
743
760
|
return FeatureSet_EnumType.UNRECOGNIZED;
|
|
744
761
|
}
|
|
745
762
|
}
|
|
746
|
-
exports.featureSet_EnumTypeFromJSON = featureSet_EnumTypeFromJSON;
|
|
747
763
|
function featureSet_EnumTypeToJSON(object) {
|
|
748
764
|
switch (object) {
|
|
749
765
|
case FeatureSet_EnumType.ENUM_TYPE_UNKNOWN:
|
|
@@ -757,14 +773,13 @@ function featureSet_EnumTypeToJSON(object) {
|
|
|
757
773
|
return "UNRECOGNIZED";
|
|
758
774
|
}
|
|
759
775
|
}
|
|
760
|
-
exports.featureSet_EnumTypeToJSON = featureSet_EnumTypeToJSON;
|
|
761
776
|
var FeatureSet_RepeatedFieldEncoding;
|
|
762
777
|
(function (FeatureSet_RepeatedFieldEncoding) {
|
|
763
778
|
FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["REPEATED_FIELD_ENCODING_UNKNOWN"] = 0] = "REPEATED_FIELD_ENCODING_UNKNOWN";
|
|
764
779
|
FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["PACKED"] = 1] = "PACKED";
|
|
765
780
|
FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["EXPANDED"] = 2] = "EXPANDED";
|
|
766
781
|
FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
767
|
-
})(FeatureSet_RepeatedFieldEncoding
|
|
782
|
+
})(FeatureSet_RepeatedFieldEncoding || (exports.FeatureSet_RepeatedFieldEncoding = FeatureSet_RepeatedFieldEncoding = {}));
|
|
768
783
|
exports.FeatureSet_RepeatedFieldEncodingAmino = FeatureSet_RepeatedFieldEncoding;
|
|
769
784
|
function featureSet_RepeatedFieldEncodingFromJSON(object) {
|
|
770
785
|
switch (object) {
|
|
@@ -783,7 +798,6 @@ function featureSet_RepeatedFieldEncodingFromJSON(object) {
|
|
|
783
798
|
return FeatureSet_RepeatedFieldEncoding.UNRECOGNIZED;
|
|
784
799
|
}
|
|
785
800
|
}
|
|
786
|
-
exports.featureSet_RepeatedFieldEncodingFromJSON = featureSet_RepeatedFieldEncodingFromJSON;
|
|
787
801
|
function featureSet_RepeatedFieldEncodingToJSON(object) {
|
|
788
802
|
switch (object) {
|
|
789
803
|
case FeatureSet_RepeatedFieldEncoding.REPEATED_FIELD_ENCODING_UNKNOWN:
|
|
@@ -797,14 +811,13 @@ function featureSet_RepeatedFieldEncodingToJSON(object) {
|
|
|
797
811
|
return "UNRECOGNIZED";
|
|
798
812
|
}
|
|
799
813
|
}
|
|
800
|
-
exports.featureSet_RepeatedFieldEncodingToJSON = featureSet_RepeatedFieldEncodingToJSON;
|
|
801
814
|
var FeatureSet_Utf8Validation;
|
|
802
815
|
(function (FeatureSet_Utf8Validation) {
|
|
803
816
|
FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["UTF8_VALIDATION_UNKNOWN"] = 0] = "UTF8_VALIDATION_UNKNOWN";
|
|
804
817
|
FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["VERIFY"] = 2] = "VERIFY";
|
|
805
818
|
FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["NONE"] = 3] = "NONE";
|
|
806
819
|
FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
807
|
-
})(FeatureSet_Utf8Validation
|
|
820
|
+
})(FeatureSet_Utf8Validation || (exports.FeatureSet_Utf8Validation = FeatureSet_Utf8Validation = {}));
|
|
808
821
|
exports.FeatureSet_Utf8ValidationAmino = FeatureSet_Utf8Validation;
|
|
809
822
|
function featureSet_Utf8ValidationFromJSON(object) {
|
|
810
823
|
switch (object) {
|
|
@@ -823,7 +836,6 @@ function featureSet_Utf8ValidationFromJSON(object) {
|
|
|
823
836
|
return FeatureSet_Utf8Validation.UNRECOGNIZED;
|
|
824
837
|
}
|
|
825
838
|
}
|
|
826
|
-
exports.featureSet_Utf8ValidationFromJSON = featureSet_Utf8ValidationFromJSON;
|
|
827
839
|
function featureSet_Utf8ValidationToJSON(object) {
|
|
828
840
|
switch (object) {
|
|
829
841
|
case FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN:
|
|
@@ -837,14 +849,13 @@ function featureSet_Utf8ValidationToJSON(object) {
|
|
|
837
849
|
return "UNRECOGNIZED";
|
|
838
850
|
}
|
|
839
851
|
}
|
|
840
|
-
exports.featureSet_Utf8ValidationToJSON = featureSet_Utf8ValidationToJSON;
|
|
841
852
|
var FeatureSet_MessageEncoding;
|
|
842
853
|
(function (FeatureSet_MessageEncoding) {
|
|
843
854
|
FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["MESSAGE_ENCODING_UNKNOWN"] = 0] = "MESSAGE_ENCODING_UNKNOWN";
|
|
844
855
|
FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["LENGTH_PREFIXED"] = 1] = "LENGTH_PREFIXED";
|
|
845
856
|
FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["DELIMITED"] = 2] = "DELIMITED";
|
|
846
857
|
FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
847
|
-
})(FeatureSet_MessageEncoding
|
|
858
|
+
})(FeatureSet_MessageEncoding || (exports.FeatureSet_MessageEncoding = FeatureSet_MessageEncoding = {}));
|
|
848
859
|
exports.FeatureSet_MessageEncodingAmino = FeatureSet_MessageEncoding;
|
|
849
860
|
function featureSet_MessageEncodingFromJSON(object) {
|
|
850
861
|
switch (object) {
|
|
@@ -863,7 +874,6 @@ function featureSet_MessageEncodingFromJSON(object) {
|
|
|
863
874
|
return FeatureSet_MessageEncoding.UNRECOGNIZED;
|
|
864
875
|
}
|
|
865
876
|
}
|
|
866
|
-
exports.featureSet_MessageEncodingFromJSON = featureSet_MessageEncodingFromJSON;
|
|
867
877
|
function featureSet_MessageEncodingToJSON(object) {
|
|
868
878
|
switch (object) {
|
|
869
879
|
case FeatureSet_MessageEncoding.MESSAGE_ENCODING_UNKNOWN:
|
|
@@ -877,14 +887,13 @@ function featureSet_MessageEncodingToJSON(object) {
|
|
|
877
887
|
return "UNRECOGNIZED";
|
|
878
888
|
}
|
|
879
889
|
}
|
|
880
|
-
exports.featureSet_MessageEncodingToJSON = featureSet_MessageEncodingToJSON;
|
|
881
890
|
var FeatureSet_JsonFormat;
|
|
882
891
|
(function (FeatureSet_JsonFormat) {
|
|
883
892
|
FeatureSet_JsonFormat[FeatureSet_JsonFormat["JSON_FORMAT_UNKNOWN"] = 0] = "JSON_FORMAT_UNKNOWN";
|
|
884
893
|
FeatureSet_JsonFormat[FeatureSet_JsonFormat["ALLOW"] = 1] = "ALLOW";
|
|
885
894
|
FeatureSet_JsonFormat[FeatureSet_JsonFormat["LEGACY_BEST_EFFORT"] = 2] = "LEGACY_BEST_EFFORT";
|
|
886
895
|
FeatureSet_JsonFormat[FeatureSet_JsonFormat["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
887
|
-
})(FeatureSet_JsonFormat
|
|
896
|
+
})(FeatureSet_JsonFormat || (exports.FeatureSet_JsonFormat = FeatureSet_JsonFormat = {}));
|
|
888
897
|
exports.FeatureSet_JsonFormatAmino = FeatureSet_JsonFormat;
|
|
889
898
|
function featureSet_JsonFormatFromJSON(object) {
|
|
890
899
|
switch (object) {
|
|
@@ -903,7 +912,6 @@ function featureSet_JsonFormatFromJSON(object) {
|
|
|
903
912
|
return FeatureSet_JsonFormat.UNRECOGNIZED;
|
|
904
913
|
}
|
|
905
914
|
}
|
|
906
|
-
exports.featureSet_JsonFormatFromJSON = featureSet_JsonFormatFromJSON;
|
|
907
915
|
function featureSet_JsonFormatToJSON(object) {
|
|
908
916
|
switch (object) {
|
|
909
917
|
case FeatureSet_JsonFormat.JSON_FORMAT_UNKNOWN:
|
|
@@ -917,14 +925,13 @@ function featureSet_JsonFormatToJSON(object) {
|
|
|
917
925
|
return "UNRECOGNIZED";
|
|
918
926
|
}
|
|
919
927
|
}
|
|
920
|
-
exports.featureSet_JsonFormatToJSON = featureSet_JsonFormatToJSON;
|
|
921
928
|
var FeatureSet_EnforceNamingStyle;
|
|
922
929
|
(function (FeatureSet_EnforceNamingStyle) {
|
|
923
930
|
FeatureSet_EnforceNamingStyle[FeatureSet_EnforceNamingStyle["ENFORCE_NAMING_STYLE_UNKNOWN"] = 0] = "ENFORCE_NAMING_STYLE_UNKNOWN";
|
|
924
931
|
FeatureSet_EnforceNamingStyle[FeatureSet_EnforceNamingStyle["STYLE2024"] = 1] = "STYLE2024";
|
|
925
932
|
FeatureSet_EnforceNamingStyle[FeatureSet_EnforceNamingStyle["STYLE_LEGACY"] = 2] = "STYLE_LEGACY";
|
|
926
933
|
FeatureSet_EnforceNamingStyle[FeatureSet_EnforceNamingStyle["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
927
|
-
})(FeatureSet_EnforceNamingStyle
|
|
934
|
+
})(FeatureSet_EnforceNamingStyle || (exports.FeatureSet_EnforceNamingStyle = FeatureSet_EnforceNamingStyle = {}));
|
|
928
935
|
exports.FeatureSet_EnforceNamingStyleAmino = FeatureSet_EnforceNamingStyle;
|
|
929
936
|
function featureSet_EnforceNamingStyleFromJSON(object) {
|
|
930
937
|
switch (object) {
|
|
@@ -943,7 +950,6 @@ function featureSet_EnforceNamingStyleFromJSON(object) {
|
|
|
943
950
|
return FeatureSet_EnforceNamingStyle.UNRECOGNIZED;
|
|
944
951
|
}
|
|
945
952
|
}
|
|
946
|
-
exports.featureSet_EnforceNamingStyleFromJSON = featureSet_EnforceNamingStyleFromJSON;
|
|
947
953
|
function featureSet_EnforceNamingStyleToJSON(object) {
|
|
948
954
|
switch (object) {
|
|
949
955
|
case FeatureSet_EnforceNamingStyle.ENFORCE_NAMING_STYLE_UNKNOWN:
|
|
@@ -957,7 +963,6 @@ function featureSet_EnforceNamingStyleToJSON(object) {
|
|
|
957
963
|
return "UNRECOGNIZED";
|
|
958
964
|
}
|
|
959
965
|
}
|
|
960
|
-
exports.featureSet_EnforceNamingStyleToJSON = featureSet_EnforceNamingStyleToJSON;
|
|
961
966
|
var FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
|
|
962
967
|
(function (FeatureSet_VisibilityFeature_DefaultSymbolVisibility) {
|
|
963
968
|
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN";
|
|
@@ -974,7 +979,7 @@ var FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
|
|
|
974
979
|
*/
|
|
975
980
|
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["STRICT"] = 4] = "STRICT";
|
|
976
981
|
FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
977
|
-
})(FeatureSet_VisibilityFeature_DefaultSymbolVisibility
|
|
982
|
+
})(FeatureSet_VisibilityFeature_DefaultSymbolVisibility || (exports.FeatureSet_VisibilityFeature_DefaultSymbolVisibility = FeatureSet_VisibilityFeature_DefaultSymbolVisibility = {}));
|
|
978
983
|
exports.FeatureSet_VisibilityFeature_DefaultSymbolVisibilityAmino = FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
|
|
979
984
|
function featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON(object) {
|
|
980
985
|
switch (object) {
|
|
@@ -999,7 +1004,6 @@ function featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON(object) {
|
|
|
999
1004
|
return FeatureSet_VisibilityFeature_DefaultSymbolVisibility.UNRECOGNIZED;
|
|
1000
1005
|
}
|
|
1001
1006
|
}
|
|
1002
|
-
exports.featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON = featureSet_VisibilityFeature_DefaultSymbolVisibilityFromJSON;
|
|
1003
1007
|
function featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON(object) {
|
|
1004
1008
|
switch (object) {
|
|
1005
1009
|
case FeatureSet_VisibilityFeature_DefaultSymbolVisibility.DEFAULT_SYMBOL_VISIBILITY_UNKNOWN:
|
|
@@ -1017,7 +1021,6 @@ function featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON(object) {
|
|
|
1017
1021
|
return "UNRECOGNIZED";
|
|
1018
1022
|
}
|
|
1019
1023
|
}
|
|
1020
|
-
exports.featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON = featureSet_VisibilityFeature_DefaultSymbolVisibilityToJSON;
|
|
1021
1024
|
/**
|
|
1022
1025
|
* Represents the identified object's effect on the element in the original
|
|
1023
1026
|
* .proto file.
|
|
@@ -1031,7 +1034,7 @@ var GeneratedCodeInfo_Annotation_Semantic;
|
|
|
1031
1034
|
/** ALIAS - An alias to the element is returned. */
|
|
1032
1035
|
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS";
|
|
1033
1036
|
GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1034
|
-
})(GeneratedCodeInfo_Annotation_Semantic
|
|
1037
|
+
})(GeneratedCodeInfo_Annotation_Semantic || (exports.GeneratedCodeInfo_Annotation_Semantic = GeneratedCodeInfo_Annotation_Semantic = {}));
|
|
1035
1038
|
exports.GeneratedCodeInfo_Annotation_SemanticAmino = GeneratedCodeInfo_Annotation_Semantic;
|
|
1036
1039
|
function generatedCodeInfo_Annotation_SemanticFromJSON(object) {
|
|
1037
1040
|
switch (object) {
|
|
@@ -1050,7 +1053,6 @@ function generatedCodeInfo_Annotation_SemanticFromJSON(object) {
|
|
|
1050
1053
|
return GeneratedCodeInfo_Annotation_Semantic.UNRECOGNIZED;
|
|
1051
1054
|
}
|
|
1052
1055
|
}
|
|
1053
|
-
exports.generatedCodeInfo_Annotation_SemanticFromJSON = generatedCodeInfo_Annotation_SemanticFromJSON;
|
|
1054
1056
|
function generatedCodeInfo_Annotation_SemanticToJSON(object) {
|
|
1055
1057
|
switch (object) {
|
|
1056
1058
|
case GeneratedCodeInfo_Annotation_Semantic.NONE:
|
|
@@ -1064,7 +1066,6 @@ function generatedCodeInfo_Annotation_SemanticToJSON(object) {
|
|
|
1064
1066
|
return "UNRECOGNIZED";
|
|
1065
1067
|
}
|
|
1066
1068
|
}
|
|
1067
|
-
exports.generatedCodeInfo_Annotation_SemanticToJSON = generatedCodeInfo_Annotation_SemanticToJSON;
|
|
1068
1069
|
/**
|
|
1069
1070
|
* Describes the 'visibility' of a symbol with respect to the proto import
|
|
1070
1071
|
* system. Symbols can only be imported when the visibility rules do not prevent
|
|
@@ -1078,7 +1079,7 @@ var SymbolVisibility;
|
|
|
1078
1079
|
SymbolVisibility[SymbolVisibility["VISIBILITY_LOCAL"] = 1] = "VISIBILITY_LOCAL";
|
|
1079
1080
|
SymbolVisibility[SymbolVisibility["VISIBILITY_EXPORT"] = 2] = "VISIBILITY_EXPORT";
|
|
1080
1081
|
SymbolVisibility[SymbolVisibility["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
1081
|
-
})(SymbolVisibility
|
|
1082
|
+
})(SymbolVisibility || (exports.SymbolVisibility = SymbolVisibility = {}));
|
|
1082
1083
|
exports.SymbolVisibilityAmino = SymbolVisibility;
|
|
1083
1084
|
function symbolVisibilityFromJSON(object) {
|
|
1084
1085
|
switch (object) {
|
|
@@ -1097,7 +1098,6 @@ function symbolVisibilityFromJSON(object) {
|
|
|
1097
1098
|
return SymbolVisibility.UNRECOGNIZED;
|
|
1098
1099
|
}
|
|
1099
1100
|
}
|
|
1100
|
-
exports.symbolVisibilityFromJSON = symbolVisibilityFromJSON;
|
|
1101
1101
|
function symbolVisibilityToJSON(object) {
|
|
1102
1102
|
switch (object) {
|
|
1103
1103
|
case SymbolVisibility.VISIBILITY_UNSET:
|
|
@@ -1111,7 +1111,6 @@ function symbolVisibilityToJSON(object) {
|
|
|
1111
1111
|
return "UNRECOGNIZED";
|
|
1112
1112
|
}
|
|
1113
1113
|
}
|
|
1114
|
-
exports.symbolVisibilityToJSON = symbolVisibilityToJSON;
|
|
1115
1114
|
function createBaseFileDescriptorSet() {
|
|
1116
1115
|
return {
|
|
1117
1116
|
file: []
|
|
@@ -218,7 +218,7 @@ export interface DurationAminoMsg {
|
|
|
218
218
|
export declare const Duration: {
|
|
219
219
|
typeUrl: string;
|
|
220
220
|
is(o: any): o is Duration;
|
|
221
|
-
isAmino(o: any): o is
|
|
221
|
+
isAmino(o: any): o is DurationAmino;
|
|
222
222
|
encode(message: Duration, writer?: BinaryWriter): BinaryWriter;
|
|
223
223
|
decode(input: BinaryReader | Uint8Array, length?: number): Duration;
|
|
224
224
|
fromPartial(object: DeepPartial<Duration>): Duration;
|
|
@@ -309,7 +309,7 @@ export interface TimestampAminoMsg {
|
|
|
309
309
|
export declare const Timestamp: {
|
|
310
310
|
typeUrl: string;
|
|
311
311
|
is(o: any): o is Timestamp;
|
|
312
|
-
isAmino(o: any): o is
|
|
312
|
+
isAmino(o: any): o is TimestampAmino;
|
|
313
313
|
encode(message: Timestamp, writer?: BinaryWriter): BinaryWriter;
|
|
314
314
|
decode(input: BinaryReader | Uint8Array, length?: number): Timestamp;
|
|
315
315
|
fromPartial(object: DeepPartial<Timestamp>): Timestamp;
|
package/helper-func-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.
|
|
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
|
*/
|
|
@@ -7,7 +7,7 @@ import { HttpEndpoint } from "@interchainjs/types";
|
|
|
7
7
|
import { BinaryReader, BinaryWriter } from "./binary";
|
|
8
8
|
import { Rpc } from "./helpers";
|
|
9
9
|
import { TelescopeGeneratedCodec, DeliverTxResponse, StdFee } from "./types";
|
|
10
|
-
import { ISigningClient } from "@interchainjs/cosmos
|
|
10
|
+
import { ISigningClient } from "@interchainjs/cosmos";
|
|
11
11
|
export interface QueryBuilderOptions<TReq, TRes> {
|
|
12
12
|
encode: (request: TReq, writer?: BinaryWriter) => BinaryWriter;
|
|
13
13
|
decode: (input: BinaryReader | Uint8Array, length?: number) => TRes;
|
|
@@ -25,7 +25,7 @@ export interface ITxArgs<TMsg> {
|
|
|
25
25
|
export interface TxBuilderOptions {
|
|
26
26
|
msg: TelescopeGeneratedCodec<any, any, any>;
|
|
27
27
|
}
|
|
28
|
-
export declare function buildTx<TMsg>(opts: TxBuilderOptions): (client: ISigningClient, signerAddress: string, message: TMsg | TMsg[], fee: StdFee |
|
|
28
|
+
export declare function buildTx<TMsg>(opts: TxBuilderOptions): (client: ISigningClient, signerAddress: string, message: TMsg | TMsg[], fee: StdFee | "auto", memo: string) => Promise<DeliverTxResponse>;
|
|
29
29
|
export interface Encoder {
|
|
30
30
|
typeUrl: string;
|
|
31
31
|
fromPartial: (data: any) => any;
|
package/helper-func-types.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
/**
|
|
3
|
-
* This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.
|
|
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.
|
|
8
|
+
exports.buildQuery = buildQuery;
|
|
9
|
+
exports.buildTx = buildTx;
|
|
9
10
|
const extern_1 = require("./extern");
|
|
10
11
|
const helpers_1 = require("./helpers");
|
|
11
|
-
const
|
|
12
|
+
const cosmos_1 = require("@interchainjs/cosmos");
|
|
12
13
|
function buildQuery(opts) {
|
|
13
14
|
registerDependencies(opts.deps ?? []);
|
|
14
15
|
return async (client, request) => {
|
|
@@ -26,7 +27,6 @@ function buildQuery(opts) {
|
|
|
26
27
|
return opts.decode(response);
|
|
27
28
|
};
|
|
28
29
|
}
|
|
29
|
-
exports.buildQuery = buildQuery;
|
|
30
30
|
function buildTx(opts) {
|
|
31
31
|
if (opts.msg) {
|
|
32
32
|
registerDependencies([opts.msg]);
|
|
@@ -35,8 +35,8 @@ function buildTx(opts) {
|
|
|
35
35
|
if (!client)
|
|
36
36
|
throw new Error("SigningClient is not initialized");
|
|
37
37
|
//register all related encoders and converters
|
|
38
|
-
client.addEncoders?.((0,
|
|
39
|
-
client.addConverters?.((0,
|
|
38
|
+
client.addEncoders?.((0, cosmos_1.toEncoders)(opts.msg));
|
|
39
|
+
client.addConverters?.((0, cosmos_1.toConverters)(opts.msg));
|
|
40
40
|
const data = Array.isArray(message)
|
|
41
41
|
? message.map(msg => ({
|
|
42
42
|
typeUrl: opts.msg.typeUrl,
|
|
@@ -49,7 +49,6 @@ function buildTx(opts) {
|
|
|
49
49
|
return client.signAndBroadcast(signerAddress, data, fee, memo);
|
|
50
50
|
};
|
|
51
51
|
}
|
|
52
|
-
exports.buildTx = buildTx;
|
|
53
52
|
function registerDependencies(deps) {
|
|
54
53
|
for (const dep of deps) {
|
|
55
54
|
dep.registerTypeUrl?.();
|
package/helpers.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This file and any referenced files were automatically generated by @hyperweb/telescope@1.17.
|
|
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
|
*/
|
|
6
|
-
export
|
|
7
|
-
export declare function base64FromBytes(arr: Uint8Array): string;
|
|
6
|
+
export { fromBase64 as bytesFromBase64, toBase64 as base64FromBytes } from '@interchainjs/encoding';
|
|
8
7
|
export interface AminoHeight {
|
|
9
8
|
readonly revision_number?: string;
|
|
10
9
|
readonly revision_height?: string;
|
|
@@ -79,4 +78,3 @@ interface Timestamp {
|
|
|
79
78
|
export declare function toTimestamp(date: Date): Timestamp;
|
|
80
79
|
export declare function fromTimestamp(t: Timestamp): Date;
|
|
81
80
|
export declare function fromJsonTimestamp(o: any): Timestamp;
|
|
82
|
-
export {};
|