diff --git a/bun.lockb b/bun.lockb index 90c6fc4..579fa47 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/libs/dev-tools/package.json b/libs/dev-tools/package.json index 62f00da..4375407 100644 --- a/libs/dev-tools/package.json +++ b/libs/dev-tools/package.json @@ -13,11 +13,11 @@ }, "main": "build/index.js", "dependencies": { - "@cosmjs/cosmwasm-stargate": "^0.32.3", - "@cosmjs/crypto": "^0.32.3", - "@cosmjs/proto-signing": "^0.32.3", - "@cosmjs/stargate": "^0.32.3", - "@cosmjs/tendermint-rpc": "^0.32.3", + "@cosmjs/cosmwasm-stargate": "^0.32.4", + "@cosmjs/crypto": "^0.32.4", + "@cosmjs/proto-signing": "^0.32.4", + "@cosmjs/stargate": "^0.32.4", + "@cosmjs/tendermint-rpc": "^0.32.4", "@seda-protocol/proto-messages": "0.3.0-dev.0-1", "@seda-protocol/vm": "^0.0.4", "big.js": "^6.2.1", diff --git a/libs/proto-messages/gen/amino/amino.ts b/libs/proto-messages/gen/amino/amino.ts index 7eeb5a7..9fce322 100644 --- a/libs/proto-messages/gen/amino/amino.ts +++ b/libs/proto-messages/gen/amino/amino.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: amino/amino.proto diff --git a/libs/proto-messages/gen/cosmos/auth/v1beta1/auth.ts b/libs/proto-messages/gen/cosmos/auth/v1beta1/auth.ts index 8b8fb21..4af60a6 100644 --- a/libs/proto-messages/gen/cosmos/auth/v1beta1/auth.ts +++ b/libs/proto-messages/gen/cosmos/auth/v1beta1/auth.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: cosmos/auth/v1beta1/auth.proto diff --git a/libs/proto-messages/gen/cosmos/base/v1beta1/coin.ts b/libs/proto-messages/gen/cosmos/base/v1beta1/coin.ts index 775ba28..277570f 100644 --- a/libs/proto-messages/gen/cosmos/base/v1beta1/coin.ts +++ b/libs/proto-messages/gen/cosmos/base/v1beta1/coin.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: cosmos/base/v1beta1/coin.proto diff --git a/libs/proto-messages/gen/cosmos/msg/v1/msg.ts b/libs/proto-messages/gen/cosmos/msg/v1/msg.ts index 8031a4a..b29be06 100644 --- a/libs/proto-messages/gen/cosmos/msg/v1/msg.ts +++ b/libs/proto-messages/gen/cosmos/msg/v1/msg.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: cosmos/msg/v1/msg.proto diff --git a/libs/proto-messages/gen/cosmos/staking/v1beta1/staking.ts b/libs/proto-messages/gen/cosmos/staking/v1beta1/staking.ts index 024499b..e38af18 100644 --- a/libs/proto-messages/gen/cosmos/staking/v1beta1/staking.ts +++ b/libs/proto-messages/gen/cosmos/staking/v1beta1/staking.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: cosmos/staking/v1beta1/staking.proto diff --git a/libs/proto-messages/gen/cosmos/vesting/v1beta1/vesting.ts b/libs/proto-messages/gen/cosmos/vesting/v1beta1/vesting.ts index df43d15..53aa414 100644 --- a/libs/proto-messages/gen/cosmos/vesting/v1beta1/vesting.ts +++ b/libs/proto-messages/gen/cosmos/vesting/v1beta1/vesting.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: cosmos/vesting/v1beta1/vesting.proto diff --git a/libs/proto-messages/gen/cosmos_proto/cosmos.ts b/libs/proto-messages/gen/cosmos_proto/cosmos.ts index 1624cb0..c3040e4 100644 --- a/libs/proto-messages/gen/cosmos_proto/cosmos.ts +++ b/libs/proto-messages/gen/cosmos_proto/cosmos.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: cosmos_proto/cosmos.proto diff --git a/libs/proto-messages/gen/gogoproto/gogo.ts b/libs/proto-messages/gen/gogoproto/gogo.ts index 8903a43..4f23b98 100644 --- a/libs/proto-messages/gen/gogoproto/gogo.ts +++ b/libs/proto-messages/gen/gogoproto/gogo.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: gogoproto/gogo.proto diff --git a/libs/proto-messages/gen/google/api/annotations.ts b/libs/proto-messages/gen/google/api/annotations.ts index a9f1a0e..ab389aa 100644 --- a/libs/proto-messages/gen/google/api/annotations.ts +++ b/libs/proto-messages/gen/google/api/annotations.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: google/api/annotations.proto diff --git a/libs/proto-messages/gen/google/api/http.ts b/libs/proto-messages/gen/google/api/http.ts index b0b0873..a648eff 100644 --- a/libs/proto-messages/gen/google/api/http.ts +++ b/libs/proto-messages/gen/google/api/http.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: google/api/http.proto diff --git a/libs/proto-messages/gen/google/protobuf/any.ts b/libs/proto-messages/gen/google/protobuf/any.ts index 2b0de8c..b85390c 100644 --- a/libs/proto-messages/gen/google/protobuf/any.ts +++ b/libs/proto-messages/gen/google/protobuf/any.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: google/protobuf/any.proto @@ -37,7 +37,7 @@ import _m0 from "protobufjs/minimal"; * foo = any.unpack(Foo.getDefaultInstance()); * } * - * Example 3: Pack and unpack a message in Python. + * Example 3: Pack and unpack a message in Python. * * foo = Foo(...) * any = Any() @@ -47,7 +47,7 @@ import _m0 from "protobufjs/minimal"; * any.Unpack(foo) * ... * - * Example 4: Pack and unpack a message in Go + * Example 4: Pack and unpack a message in Go * * foo := &pb.Foo{...} * any, err := anypb.New(foo) @@ -67,7 +67,7 @@ import _m0 from "protobufjs/minimal"; * name "y.z". * * JSON - * ==== + * * The JSON representation of an `Any` value uses the regular * representation of the deserialized, embedded message, with an * additional field `@type` which contains the type URL. Example: @@ -119,8 +119,7 @@ export interface Any { * * Note: this functionality is not currently available in the official * protobuf release, and it is not used for type URLs beginning with - * type.googleapis.com. As of May 2023, there are no widely used type server - * implementations and no plans to implement one. + * type.googleapis.com. * * Schemes other than `http`, `https` (or the empty scheme) might be * used with implementation specific semantics. diff --git a/libs/proto-messages/gen/google/protobuf/descriptor.ts b/libs/proto-messages/gen/google/protobuf/descriptor.ts index 5858e16..36e71ab 100644 --- a/libs/proto-messages/gen/google/protobuf/descriptor.ts +++ b/libs/proto-messages/gen/google/protobuf/descriptor.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: google/protobuf/descriptor.proto @@ -8,125 +8,6 @@ import Long from "long"; import _m0 from "protobufjs/minimal"; -/** The full set of known editions. */ -export enum Edition { - /** EDITION_UNKNOWN - A placeholder for an unknown edition value. */ - EDITION_UNKNOWN = 0, - /** - * EDITION_LEGACY - A placeholder edition for specifying default behaviors *before* a feature - * was first introduced. This is effectively an "infinite past". - */ - EDITION_LEGACY = 900, - /** - * EDITION_PROTO2 - Legacy syntax "editions". These pre-date editions, but behave much like - * distinct editions. These can't be used to specify the edition of proto - * files, but feature definitions must supply proto2/proto3 defaults for - * backwards compatibility. - */ - EDITION_PROTO2 = 998, - EDITION_PROTO3 = 999, - /** - * EDITION_2023 - Editions that have been released. The specific values are arbitrary and - * should not be depended on, but they will always be time-ordered for easy - * comparison. - */ - EDITION_2023 = 1000, - EDITION_2024 = 1001, - /** - * EDITION_1_TEST_ONLY - Placeholder editions for testing feature resolution. These should not be - * used or relyed on outside of tests. - */ - EDITION_1_TEST_ONLY = 1, - EDITION_2_TEST_ONLY = 2, - EDITION_99997_TEST_ONLY = 99997, - EDITION_99998_TEST_ONLY = 99998, - EDITION_99999_TEST_ONLY = 99999, - /** - * EDITION_MAX - Placeholder for specifying unbounded edition support. This should only - * ever be used by plugins that can expect to never require any changes to - * support a new edition. - */ - EDITION_MAX = 2147483647, - UNRECOGNIZED = -1, -} - -export function editionFromJSON(object: any): Edition { - switch (object) { - case 0: - case "EDITION_UNKNOWN": - return Edition.EDITION_UNKNOWN; - case 900: - case "EDITION_LEGACY": - return Edition.EDITION_LEGACY; - case 998: - case "EDITION_PROTO2": - return Edition.EDITION_PROTO2; - case 999: - case "EDITION_PROTO3": - return Edition.EDITION_PROTO3; - case 1000: - case "EDITION_2023": - return Edition.EDITION_2023; - case 1001: - case "EDITION_2024": - return Edition.EDITION_2024; - case 1: - case "EDITION_1_TEST_ONLY": - return Edition.EDITION_1_TEST_ONLY; - case 2: - case "EDITION_2_TEST_ONLY": - return Edition.EDITION_2_TEST_ONLY; - case 99997: - case "EDITION_99997_TEST_ONLY": - return Edition.EDITION_99997_TEST_ONLY; - case 99998: - case "EDITION_99998_TEST_ONLY": - return Edition.EDITION_99998_TEST_ONLY; - case 99999: - case "EDITION_99999_TEST_ONLY": - return Edition.EDITION_99999_TEST_ONLY; - case 2147483647: - case "EDITION_MAX": - return Edition.EDITION_MAX; - case -1: - case "UNRECOGNIZED": - default: - return Edition.UNRECOGNIZED; - } -} - -export function editionToJSON(object: Edition): string { - switch (object) { - case Edition.EDITION_UNKNOWN: - return "EDITION_UNKNOWN"; - case Edition.EDITION_LEGACY: - return "EDITION_LEGACY"; - case Edition.EDITION_PROTO2: - return "EDITION_PROTO2"; - case Edition.EDITION_PROTO3: - return "EDITION_PROTO3"; - case Edition.EDITION_2023: - return "EDITION_2023"; - case Edition.EDITION_2024: - return "EDITION_2024"; - case Edition.EDITION_1_TEST_ONLY: - return "EDITION_1_TEST_ONLY"; - case Edition.EDITION_2_TEST_ONLY: - return "EDITION_2_TEST_ONLY"; - case Edition.EDITION_99997_TEST_ONLY: - return "EDITION_99997_TEST_ONLY"; - case Edition.EDITION_99998_TEST_ONLY: - return "EDITION_99998_TEST_ONLY"; - case Edition.EDITION_99999_TEST_ONLY: - return "EDITION_99999_TEST_ONLY"; - case Edition.EDITION_MAX: - return "EDITION_MAX"; - case Edition.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} - /** * The protocol compiler can output a FileDescriptorSet containing the .proto * files it parses. @@ -180,8 +61,8 @@ export interface FileDescriptorProto { syntax?: | string | undefined; - /** The edition of the proto file. */ - edition?: Edition | undefined; + /** The edition of the proto file, which is an opaque string. */ + edition?: string | undefined; } /** Describes a message type. */ @@ -229,92 +110,6 @@ export interface DescriptorProto_ReservedRange { export interface ExtensionRangeOptions { /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; - /** - * For external users: DO NOT USE. We are in the process of open sourcing - * extension declaration and executing internal cleanups before it can be - * used externally. - */ - declaration: ExtensionRangeOptions_Declaration[]; - /** Any features defined in the specific edition. */ - features?: - | FeatureSet - | undefined; - /** - * The verification state of the range. - * TODO: flip the default to DECLARATION once all empty ranges - * are marked as UNVERIFIED. - */ - verification?: ExtensionRangeOptions_VerificationState | undefined; -} - -/** The verification state of the extension range. */ -export enum ExtensionRangeOptions_VerificationState { - /** DECLARATION - All the extensions of the range must be declared. */ - DECLARATION = 0, - UNVERIFIED = 1, - UNRECOGNIZED = -1, -} - -export function extensionRangeOptions_VerificationStateFromJSON(object: any): ExtensionRangeOptions_VerificationState { - switch (object) { - case 0: - case "DECLARATION": - return ExtensionRangeOptions_VerificationState.DECLARATION; - case 1: - case "UNVERIFIED": - return ExtensionRangeOptions_VerificationState.UNVERIFIED; - case -1: - case "UNRECOGNIZED": - default: - return ExtensionRangeOptions_VerificationState.UNRECOGNIZED; - } -} - -export function extensionRangeOptions_VerificationStateToJSON(object: ExtensionRangeOptions_VerificationState): string { - switch (object) { - case ExtensionRangeOptions_VerificationState.DECLARATION: - return "DECLARATION"; - case ExtensionRangeOptions_VerificationState.UNVERIFIED: - return "UNVERIFIED"; - case ExtensionRangeOptions_VerificationState.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} - -export interface ExtensionRangeOptions_Declaration { - /** The extension number declared within the extension range. */ - number?: - | number - | undefined; - /** - * The fully-qualified name of the extension field. There must be a leading - * dot in front of the full name. - */ - fullName?: - | string - | undefined; - /** - * The fully-qualified type name of the extension field. Unlike - * Metadata.type, Declaration.type must have a leading dot for messages - * and enums. - */ - type?: - | string - | undefined; - /** - * If true, indicates that the number is reserved in the extension range, - * and any extension field with the number will fail to compile. Set this - * when a declared extension field is deleted. - */ - reserved?: - | boolean - | undefined; - /** - * If true, indicates that the extension must be defined as repeated. - * Otherwise the extension must be defined as optional. - */ - repeated?: boolean | undefined; } /** Describes a field within a message. */ @@ -378,12 +173,12 @@ export interface FieldDescriptorProto { * If true, this is a proto3 "optional". When a proto3 field is optional, it * tracks presence regardless of field type. * - * When proto3_optional is true, this field must belong to a oneof to signal - * to old proto3 clients that presence is tracked for this field. This oneof - * is known as a "synthetic" oneof, and this field must be its sole member - * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs - * exist in the descriptor only, and do not generate any API. Synthetic oneofs - * must be ordered after all "real" oneofs. + * When proto3_optional is true, this field must be belong to a oneof to + * signal to old proto3 clients that presence is tracked for this field. This + * oneof is known as a "synthetic" oneof, and this field must be its sole + * member (each proto3 optional field gets its own synthetic oneof). Synthetic + * oneofs exist in the descriptor only, and do not generate any API. Synthetic + * oneofs must be ordered after all "real" oneofs. * * For message fields, proto3_optional doesn't create any semantic change, * since non-repeated message fields always track presence. However it still @@ -424,10 +219,9 @@ export enum FieldDescriptorProto_Type { TYPE_STRING = 9, /** * TYPE_GROUP - Tag-delimited aggregate. - * Group type is deprecated and not supported after google.protobuf. However, Proto3 + * Group type is deprecated and not supported in proto3. However, Proto3 * implementations should still be able to parse the group wire format and - * treat group fields as unknown fields. In Editions, the group wire format - * can be enabled via the `message_encoding` feature. + * treat group fields as unknown fields. */ TYPE_GROUP = 10, /** TYPE_MESSAGE - Length-delimited aggregate. */ @@ -555,13 +349,8 @@ export function fieldDescriptorProto_TypeToJSON(object: FieldDescriptorProto_Typ export enum FieldDescriptorProto_Label { /** LABEL_OPTIONAL - 0 is reserved for errors */ LABEL_OPTIONAL = 1, - LABEL_REPEATED = 3, - /** - * LABEL_REQUIRED - The required label is only allowed in google.protobuf. In proto3 and Editions - * it's explicitly prohibited. In Editions, the `field_presence` feature - * can be used to get this behavior. - */ LABEL_REQUIRED = 2, + LABEL_REPEATED = 3, UNRECOGNIZED = -1, } @@ -570,12 +359,12 @@ export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptor case 1: case "LABEL_OPTIONAL": return FieldDescriptorProto_Label.LABEL_OPTIONAL; - case 3: - case "LABEL_REPEATED": - return FieldDescriptorProto_Label.LABEL_REPEATED; case 2: case "LABEL_REQUIRED": return FieldDescriptorProto_Label.LABEL_REQUIRED; + case 3: + case "LABEL_REPEATED": + return FieldDescriptorProto_Label.LABEL_REPEATED; case -1: case "UNRECOGNIZED": default: @@ -587,10 +376,10 @@ export function fieldDescriptorProto_LabelToJSON(object: FieldDescriptorProto_La switch (object) { case FieldDescriptorProto_Label.LABEL_OPTIONAL: return "LABEL_OPTIONAL"; - case FieldDescriptorProto_Label.LABEL_REPEATED: - return "LABEL_REPEATED"; case FieldDescriptorProto_Label.LABEL_REQUIRED: return "LABEL_REQUIRED"; + case FieldDescriptorProto_Label.LABEL_REPEATED: + return "LABEL_REPEATED"; case FieldDescriptorProto_Label.UNRECOGNIZED: default: return "UNRECOGNIZED"; @@ -716,16 +505,12 @@ export interface FileOptions { | boolean | undefined; /** - * A proto2 file can set this to true to opt in to UTF-8 checking for Java, - * which will throw an exception if invalid UTF-8 is parsed from the wire or - * assigned to a string field. - * - * TODO: clarify exactly what kinds of field types this option - * applies to, and update these docs accordingly. - * - * Proto3 files already perform these checks. Setting the option explicitly to - * false has no effect: it cannot be used to opt proto3 files out of UTF-8 - * checks. + * If set true, then the Java2 code generator will generate code that + * throws an exception whenever an attempt is made to assign a non-UTF-8 + * byte sequence to a string field. + * Message reflection will do the same. + * However, an extension field still accepts non-UTF-8 byte sequences. + * This option has no effect on when used with the lite runtime. */ javaStringCheckUtf8?: boolean | undefined; optimizeFor?: @@ -755,7 +540,8 @@ export interface FileOptions { */ ccGenericServices?: boolean | undefined; javaGenericServices?: boolean | undefined; - pyGenericServices?: + pyGenericServices?: boolean | undefined; + phpGenericServices?: | boolean | undefined; /** @@ -825,10 +611,6 @@ export interface FileOptions { rubyPackage?: | string | undefined; - /** Any features defined in the specific edition. */ - features?: - | FeatureSet - | undefined; /** * The parser stores options it doesn't recognize here. * See the documentation for the "Options" section above. @@ -921,6 +703,10 @@ export interface MessageOptions { | boolean | undefined; /** + * NOTE: Do not set the option in .proto files. Always use the maps syntax + * instead. The option should only be implicitly set by the proto compiler + * parser. + * * Whether the message is an automatically generated map entry type for the * maps field. * @@ -938,10 +724,6 @@ export interface MessageOptions { * use a native map in the target language to hold the keys and values. * The reflection APIs in such implementations still need to work as * if the field is a repeated message field. - * - * NOTE: Do not set the option in .proto files. Always use the maps syntax - * instead. The option should only be implicitly set by the proto compiler - * parser. */ mapEntry?: | boolean @@ -955,7 +737,7 @@ export interface MessageOptions { * This should only be used as a temporary measure against broken builds due * to the change in behavior for JSON field name conflicts. * - * TODO This is legacy behavior we plan to remove once downstream + * TODO(b/261750190) This is legacy behavior we plan to remove once downstream * teams have had time to migrate. * * @deprecated @@ -963,10 +745,6 @@ export interface MessageOptions { deprecatedLegacyJsonFieldConflicts?: | boolean | undefined; - /** Any features defined in the specific edition. */ - features?: - | FeatureSet - | undefined; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } @@ -975,10 +753,8 @@ export interface FieldOptions { /** * The ctype option instructs the C++ code generator to use a different * representation of the field than it normally would. See the specific - * options below. This option is only implemented to support use of - * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of - * type "bytes" in the open source release -- sorry, we'll try to include - * other types in a future version! + * options below. This option is not yet implemented in the open source + * release -- sorry, we'll try to include it in a future version! */ ctype?: | FieldOptions_CType @@ -988,9 +764,7 @@ export interface FieldOptions { * a more efficient representation on the wire. Rather than repeatedly * writing the tag and type for each element, the entire array is encoded as * a single length-delimited blob. In proto3, only explicit setting it to - * false will avoid using packed encoding. This option is prohibited in - * Editions, but the `repeated_field_encoding` feature can be used to control - * the behavior. + * false will avoid using packed encoding. */ packed?: | boolean @@ -1029,11 +803,19 @@ export interface FieldOptions { * call from multiple threads concurrently, while non-const methods continue * to require exclusive access. * - * Note that lazy message fields are still eagerly verified to check - * ill-formed wireformat or missing required fields. Calling IsInitialized() - * on the outer message would fail if the inner message has missing required - * fields. Failed verification would result in parsing failure (except when - * uninitialized messages are acceptable). + * Note that implementations may choose not to check required fields within + * a lazy sub-message. That is, calling IsInitialized() on the outer message + * may return true even if the inner message has missing required fields. + * This is necessary because otherwise the inner message would have to be + * parsed in order to perform the check, defeating the purpose of lazy + * parsing. An implementation which chooses not to check required fields + * must be consistent about it. That is, for any particular sub-message, the + * implementation must either *always* check its required fields, or *never* + * check its required fields, regardless of whether or not the message has + * been parsed. + * + * As of May 2022, lazy verifies the contents of the byte stream during + * parsing. An invalid byte stream will cause the overall parsing to fail. */ lazy?: | boolean @@ -1065,12 +847,8 @@ export interface FieldOptions { */ debugRedact?: boolean | undefined; retention?: FieldOptions_OptionRetention | undefined; - targets: FieldOptions_OptionTargetType[]; - editionDefaults: FieldOptions_EditionDefault[]; - /** Any features defined in the specific edition. */ - features?: FeatureSet | undefined; - featureSupport?: - | FieldOptions_FeatureSupport + target?: + | FieldOptions_OptionTargetType | undefined; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; @@ -1079,14 +857,6 @@ export interface FieldOptions { export enum FieldOptions_CType { /** STRING - Default mode. */ STRING = 0, - /** - * CORD - The option [ctype=CORD] may be applied to a non-repeated field of type - * "bytes". It indicates that in C++, the data should be stored in a Cord - * instead of a string. For very large strings, this may reduce memory - * fragmentation. It may also allow better performance when parsing from a - * Cord, or when parsing with aliasing enabled, as the parsed Cord may then - * alias the original buffer. - */ CORD = 1, STRING_PIECE = 2, UNRECOGNIZED = -1, @@ -1297,51 +1067,7 @@ export function fieldOptions_OptionTargetTypeToJSON(object: FieldOptions_OptionT } } -export interface FieldOptions_EditionDefault { - edition?: - | Edition - | undefined; - /** Textproto value. */ - value?: string | undefined; -} - -/** Information about the support window of a feature. */ -export interface FieldOptions_FeatureSupport { - /** - * The edition that this feature was first available in. In editions - * earlier than this one, the default assigned to EDITION_LEGACY will be - * used, and proto files will not be able to override it. - */ - editionIntroduced?: - | Edition - | undefined; - /** - * The edition this feature becomes deprecated in. Using this after this - * edition may trigger warnings. - */ - editionDeprecated?: - | Edition - | undefined; - /** - * The deprecation warning text if this feature is used after the edition it - * was marked deprecated in. - */ - deprecationWarning?: - | string - | undefined; - /** - * The edition this feature is no longer available in. In editions after - * this one, the last default assigned will be used, and proto files will - * not be able to override it. - */ - editionRemoved?: Edition | undefined; -} - export interface OneofOptions { - /** Any features defined in the specific edition. */ - features?: - | FeatureSet - | undefined; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } @@ -1368,7 +1094,7 @@ export interface EnumOptions { * and strips underscored from the fields before comparison in proto3 only. * The new behavior takes `json_name` into account and applies to proto2 as * well. - * TODO Remove this legacy behavior once downstream teams have + * TODO(b/261750190) Remove this legacy behavior once downstream teams have * had time to migrate. * * @deprecated @@ -1376,10 +1102,6 @@ export interface EnumOptions { deprecatedLegacyJsonFieldConflicts?: | boolean | undefined; - /** Any features defined in the specific edition. */ - features?: - | FeatureSet - | undefined; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } @@ -1394,31 +1116,11 @@ export interface EnumValueOptions { deprecated?: | boolean | undefined; - /** Any features defined in the specific edition. */ - features?: - | FeatureSet - | undefined; - /** - * Indicate that fields annotated with this enum value should not be printed - * out when using debug formats, e.g. when the field contains sensitive - * credentials. - */ - debugRedact?: - | boolean - | undefined; - /** Information about the support window of a feature value. */ - featureSupport?: - | FieldOptions_FeatureSupport - | undefined; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } export interface ServiceOptions { - /** Any features defined in the specific edition. */ - features?: - | FeatureSet - | undefined; /** * Is this service deprecated? * Depending on the target platform, this can emit Deprecated annotations @@ -1443,10 +1145,6 @@ export interface MethodOptions { idempotencyLevel?: | MethodOptions_IdempotencyLevel | undefined; - /** Any features defined in the specific edition. */ - features?: - | FeatureSet - | undefined; /** The parser stores options it doesn't recognize here. See above. */ uninterpretedOption: UninterpretedOption[]; } @@ -1532,353 +1230,56 @@ export interface UninterpretedOption_NamePart { } /** - * TODO Enums in C++ gencode (and potentially other languages) are - * not well scoped. This means that each of the feature enums below can clash - * with each other. The short names we've chosen maximize call-site - * readability, but leave us very open to this scenario. A future feature will - * be designed and implemented to handle this, hopefully before we ever hit a - * conflict here. + * Encapsulates information about the original source file from which a + * FileDescriptorProto was generated. */ -export interface FeatureSet { - fieldPresence?: FeatureSet_FieldPresence | undefined; - enumType?: FeatureSet_EnumType | undefined; - repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding | undefined; - utf8Validation?: FeatureSet_Utf8Validation | undefined; - messageEncoding?: FeatureSet_MessageEncoding | undefined; - jsonFormat?: FeatureSet_JsonFormat | undefined; -} - -export enum FeatureSet_FieldPresence { - FIELD_PRESENCE_UNKNOWN = 0, - EXPLICIT = 1, - IMPLICIT = 2, - LEGACY_REQUIRED = 3, - UNRECOGNIZED = -1, -} - -export function featureSet_FieldPresenceFromJSON(object: any): FeatureSet_FieldPresence { - switch (object) { - case 0: - case "FIELD_PRESENCE_UNKNOWN": - return FeatureSet_FieldPresence.FIELD_PRESENCE_UNKNOWN; - case 1: - case "EXPLICIT": - return FeatureSet_FieldPresence.EXPLICIT; - case 2: - case "IMPLICIT": - return FeatureSet_FieldPresence.IMPLICIT; - case 3: - case "LEGACY_REQUIRED": - return FeatureSet_FieldPresence.LEGACY_REQUIRED; - case -1: - case "UNRECOGNIZED": - default: - return FeatureSet_FieldPresence.UNRECOGNIZED; - } -} - -export function featureSet_FieldPresenceToJSON(object: FeatureSet_FieldPresence): string { - switch (object) { - case FeatureSet_FieldPresence.FIELD_PRESENCE_UNKNOWN: - return "FIELD_PRESENCE_UNKNOWN"; - case FeatureSet_FieldPresence.EXPLICIT: - return "EXPLICIT"; - case FeatureSet_FieldPresence.IMPLICIT: - return "IMPLICIT"; - case FeatureSet_FieldPresence.LEGACY_REQUIRED: - return "LEGACY_REQUIRED"; - case FeatureSet_FieldPresence.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} - -export enum FeatureSet_EnumType { - ENUM_TYPE_UNKNOWN = 0, - OPEN = 1, - CLOSED = 2, - UNRECOGNIZED = -1, -} - -export function featureSet_EnumTypeFromJSON(object: any): FeatureSet_EnumType { - switch (object) { - case 0: - case "ENUM_TYPE_UNKNOWN": - return FeatureSet_EnumType.ENUM_TYPE_UNKNOWN; - case 1: - case "OPEN": - return FeatureSet_EnumType.OPEN; - case 2: - case "CLOSED": - return FeatureSet_EnumType.CLOSED; - case -1: - case "UNRECOGNIZED": - default: - return FeatureSet_EnumType.UNRECOGNIZED; - } -} - -export function featureSet_EnumTypeToJSON(object: FeatureSet_EnumType): string { - switch (object) { - case FeatureSet_EnumType.ENUM_TYPE_UNKNOWN: - return "ENUM_TYPE_UNKNOWN"; - case FeatureSet_EnumType.OPEN: - return "OPEN"; - case FeatureSet_EnumType.CLOSED: - return "CLOSED"; - case FeatureSet_EnumType.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} - -export enum FeatureSet_RepeatedFieldEncoding { - REPEATED_FIELD_ENCODING_UNKNOWN = 0, - PACKED = 1, - EXPANDED = 2, - UNRECOGNIZED = -1, -} - -export function featureSet_RepeatedFieldEncodingFromJSON(object: any): FeatureSet_RepeatedFieldEncoding { - switch (object) { - case 0: - case "REPEATED_FIELD_ENCODING_UNKNOWN": - return FeatureSet_RepeatedFieldEncoding.REPEATED_FIELD_ENCODING_UNKNOWN; - case 1: - case "PACKED": - return FeatureSet_RepeatedFieldEncoding.PACKED; - case 2: - case "EXPANDED": - return FeatureSet_RepeatedFieldEncoding.EXPANDED; - case -1: - case "UNRECOGNIZED": - default: - return FeatureSet_RepeatedFieldEncoding.UNRECOGNIZED; - } -} - -export function featureSet_RepeatedFieldEncodingToJSON(object: FeatureSet_RepeatedFieldEncoding): string { - switch (object) { - case FeatureSet_RepeatedFieldEncoding.REPEATED_FIELD_ENCODING_UNKNOWN: - return "REPEATED_FIELD_ENCODING_UNKNOWN"; - case FeatureSet_RepeatedFieldEncoding.PACKED: - return "PACKED"; - case FeatureSet_RepeatedFieldEncoding.EXPANDED: - return "EXPANDED"; - case FeatureSet_RepeatedFieldEncoding.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} - -export enum FeatureSet_Utf8Validation { - UTF8_VALIDATION_UNKNOWN = 0, - VERIFY = 2, - NONE = 3, - UNRECOGNIZED = -1, -} - -export function featureSet_Utf8ValidationFromJSON(object: any): FeatureSet_Utf8Validation { - switch (object) { - case 0: - case "UTF8_VALIDATION_UNKNOWN": - return FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN; - case 2: - case "VERIFY": - return FeatureSet_Utf8Validation.VERIFY; - case 3: - case "NONE": - return FeatureSet_Utf8Validation.NONE; - case -1: - case "UNRECOGNIZED": - default: - return FeatureSet_Utf8Validation.UNRECOGNIZED; - } -} - -export function featureSet_Utf8ValidationToJSON(object: FeatureSet_Utf8Validation): string { - switch (object) { - case FeatureSet_Utf8Validation.UTF8_VALIDATION_UNKNOWN: - return "UTF8_VALIDATION_UNKNOWN"; - case FeatureSet_Utf8Validation.VERIFY: - return "VERIFY"; - case FeatureSet_Utf8Validation.NONE: - return "NONE"; - case FeatureSet_Utf8Validation.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} - -export enum FeatureSet_MessageEncoding { - MESSAGE_ENCODING_UNKNOWN = 0, - LENGTH_PREFIXED = 1, - DELIMITED = 2, - UNRECOGNIZED = -1, -} - -export function featureSet_MessageEncodingFromJSON(object: any): FeatureSet_MessageEncoding { - switch (object) { - case 0: - case "MESSAGE_ENCODING_UNKNOWN": - return FeatureSet_MessageEncoding.MESSAGE_ENCODING_UNKNOWN; - case 1: - case "LENGTH_PREFIXED": - return FeatureSet_MessageEncoding.LENGTH_PREFIXED; - case 2: - case "DELIMITED": - return FeatureSet_MessageEncoding.DELIMITED; - case -1: - case "UNRECOGNIZED": - default: - return FeatureSet_MessageEncoding.UNRECOGNIZED; - } -} - -export function featureSet_MessageEncodingToJSON(object: FeatureSet_MessageEncoding): string { - switch (object) { - case FeatureSet_MessageEncoding.MESSAGE_ENCODING_UNKNOWN: - return "MESSAGE_ENCODING_UNKNOWN"; - case FeatureSet_MessageEncoding.LENGTH_PREFIXED: - return "LENGTH_PREFIXED"; - case FeatureSet_MessageEncoding.DELIMITED: - return "DELIMITED"; - case FeatureSet_MessageEncoding.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} - -export enum FeatureSet_JsonFormat { - JSON_FORMAT_UNKNOWN = 0, - ALLOW = 1, - LEGACY_BEST_EFFORT = 2, - UNRECOGNIZED = -1, -} - -export function featureSet_JsonFormatFromJSON(object: any): FeatureSet_JsonFormat { - switch (object) { - case 0: - case "JSON_FORMAT_UNKNOWN": - return FeatureSet_JsonFormat.JSON_FORMAT_UNKNOWN; - case 1: - case "ALLOW": - return FeatureSet_JsonFormat.ALLOW; - case 2: - case "LEGACY_BEST_EFFORT": - return FeatureSet_JsonFormat.LEGACY_BEST_EFFORT; - case -1: - case "UNRECOGNIZED": - default: - return FeatureSet_JsonFormat.UNRECOGNIZED; - } -} - -export function featureSet_JsonFormatToJSON(object: FeatureSet_JsonFormat): string { - switch (object) { - case FeatureSet_JsonFormat.JSON_FORMAT_UNKNOWN: - return "JSON_FORMAT_UNKNOWN"; - case FeatureSet_JsonFormat.ALLOW: - return "ALLOW"; - case FeatureSet_JsonFormat.LEGACY_BEST_EFFORT: - return "LEGACY_BEST_EFFORT"; - case FeatureSet_JsonFormat.UNRECOGNIZED: - default: - return "UNRECOGNIZED"; - } -} - -/** - * A compiled specification for the defaults of a set of features. These - * messages are generated from FeatureSet extensions and can be used to seed - * feature resolution. The resolution with this object becomes a simple search - * for the closest matching edition, followed by proto merges. - */ -export interface FeatureSetDefaults { - defaults: FeatureSetDefaults_FeatureSetEditionDefault[]; - /** - * The minimum supported edition (inclusive) when this was constructed. - * Editions before this will not have defaults. - */ - minimumEdition?: - | Edition - | undefined; - /** - * The maximum known edition (inclusive) when this was constructed. Editions - * after this will not have reliable defaults. - */ - maximumEdition?: Edition | undefined; -} - -/** - * A map from every known edition with a unique set of defaults to its - * defaults. Not all editions may be contained here. For a given edition, - * the defaults at the closest matching edition ordered at or before it should - * be used. This field must be in strict ascending order by edition. - */ -export interface FeatureSetDefaults_FeatureSetEditionDefault { - edition?: - | Edition - | undefined; - /** Defaults of features that can be overridden in this edition. */ - overridableFeatures?: - | FeatureSet - | undefined; - /** Defaults of features that can't be overridden in this edition. */ - fixedFeatures?: FeatureSet | undefined; -} - -/** - * Encapsulates information about the original source file from which a - * FileDescriptorProto was generated. - */ -export interface SourceCodeInfo { - /** - * A Location identifies a piece of source code in a .proto file which - * corresponds to a particular definition. This information is intended - * to be useful to IDEs, code indexers, documentation generators, and similar - * tools. - * - * For example, say we have a file like: - * message Foo { - * optional string foo = 1; - * } - * Let's look at just the field definition: - * optional string foo = 1; - * ^ ^^ ^^ ^ ^^^ - * a bc de f ghi - * We have the following locations: - * span path represents - * [a,i) [ 4, 0, 2, 0 ] The whole field definition. - * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). - * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). - * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). - * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). - * - * Notes: - * - A location may refer to a repeated field itself (i.e. not to any - * particular index within it). This is used whenever a set of elements are - * logically enclosed in a single code segment. For example, an entire - * extend block (possibly containing multiple extension definitions) will - * have an outer location whose path refers to the "extensions" repeated - * field without an index. - * - Multiple locations may have the same path. This happens when a single - * logical declaration is spread out across multiple places. The most - * obvious example is the "extend" block again -- there may be multiple - * extend blocks in the same scope, each of which will have the same path. - * - A location's span is not always a subset of its parent's span. For - * example, the "extendee" of an extension declaration appears at the - * beginning of the "extend" block and is shared by all extensions within - * the block. - * - Just because a location's span is a subset of some other location's span - * does not mean that it is a descendant. For example, a "group" defines - * both a type and a field in a single declaration. Thus, the locations - * corresponding to the type and field and their components will overlap. - * - Code which tries to interpret locations should probably be designed to - * ignore those that it doesn't understand, as more types of locations could - * be recorded in the future. - */ - location: SourceCodeInfo_Location[]; +export interface SourceCodeInfo { + /** + * A Location identifies a piece of source code in a .proto file which + * corresponds to a particular definition. This information is intended + * to be useful to IDEs, code indexers, documentation generators, and similar + * tools. + * + * For example, say we have a file like: + * message Foo { + * optional string foo = 1; + * } + * Let's look at just the field definition: + * optional string foo = 1; + * ^ ^^ ^^ ^ ^^^ + * a bc de f ghi + * We have the following locations: + * span path represents + * [a,i) [ 4, 0, 2, 0 ] The whole field definition. + * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional). + * [c,d) [ 4, 0, 2, 0, 5 ] The type (string). + * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo). + * [g,h) [ 4, 0, 2, 0, 3 ] The number (1). + * + * Notes: + * - A location may refer to a repeated field itself (i.e. not to any + * particular index within it). This is used whenever a set of elements are + * logically enclosed in a single code segment. For example, an entire + * extend block (possibly containing multiple extension definitions) will + * have an outer location whose path refers to the "extensions" repeated + * field without an index. + * - Multiple locations may have the same path. This happens when a single + * logical declaration is spread out across multiple places. The most + * obvious example is the "extend" block again -- there may be multiple + * extend blocks in the same scope, each of which will have the same path. + * - A location's span is not always a subset of its parent's span. For + * example, the "extendee" of an extension declaration appears at the + * beginning of the "extend" block and is shared by all extensions within + * the block. + * - Just because a location's span is a subset of some other location's span + * does not mean that it is a descendant. For example, a "group" defines + * both a type and a field in a single declaration. Thus, the locations + * corresponding to the type and field and their components will overlap. + * - Code which tries to interpret locations should probably be designed to + * ignore those that it doesn't understand, as more types of locations could + * be recorded in the future. + */ + location: SourceCodeInfo_Location[]; } export interface SourceCodeInfo_Location { @@ -1887,7 +1288,7 @@ export interface SourceCodeInfo_Location { * location. * * Each element is a field number or an index. They form a path from - * the root FileDescriptorProto to the place where the definition appears. + * the root FileDescriptorProto to the place where the definition occurs. * For example, this path: * [ 4, 3, 2, 7, 1 ] * refers to: @@ -2128,7 +1529,7 @@ function createBaseFileDescriptorProto(): FileDescriptorProto { options: undefined, sourceCodeInfo: undefined, syntax: "", - edition: 0, + edition: "", }; } @@ -2174,8 +1575,8 @@ export const FileDescriptorProto = { if (message.syntax !== undefined && message.syntax !== "") { writer.uint32(98).string(message.syntax); } - if (message.edition !== undefined && message.edition !== 0) { - writer.uint32(112).int32(message.edition); + if (message.edition !== undefined && message.edition !== "") { + writer.uint32(106).string(message.edition); } return writer; }, @@ -2291,12 +1692,12 @@ export const FileDescriptorProto = { message.syntax = reader.string(); continue; - case 14: - if (tag !== 112) { + case 13: + if (tag !== 106) { break; } - message.edition = reader.int32() as any; + message.edition = reader.string(); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -2335,7 +1736,7 @@ export const FileDescriptorProto = { options: isSet(object.options) ? FileOptions.fromJSON(object.options) : undefined, sourceCodeInfo: isSet(object.sourceCodeInfo) ? SourceCodeInfo.fromJSON(object.sourceCodeInfo) : undefined, syntax: isSet(object.syntax) ? globalThis.String(object.syntax) : "", - edition: isSet(object.edition) ? editionFromJSON(object.edition) : 0, + edition: isSet(object.edition) ? globalThis.String(object.edition) : "", }; }, @@ -2377,8 +1778,8 @@ export const FileDescriptorProto = { if (message.syntax !== undefined && message.syntax !== "") { obj.syntax = message.syntax; } - if (message.edition !== undefined && message.edition !== 0) { - obj.edition = editionToJSON(message.edition); + if (message.edition !== undefined && message.edition !== "") { + obj.edition = message.edition; } return obj; }, @@ -2404,7 +1805,7 @@ export const FileDescriptorProto = { ? SourceCodeInfo.fromPartial(object.sourceCodeInfo) : undefined; message.syntax = object.syntax ?? ""; - message.edition = object.edition ?? 0; + message.edition = object.edition ?? ""; return message; }, }; @@ -2798,7 +2199,7 @@ export const DescriptorProto_ReservedRange = { }; function createBaseExtensionRangeOptions(): ExtensionRangeOptions { - return { uninterpretedOption: [], declaration: [], features: undefined, verification: 1 }; + return { uninterpretedOption: [] }; } export const ExtensionRangeOptions = { @@ -2806,15 +2207,6 @@ export const ExtensionRangeOptions = { for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } - for (const v of message.declaration) { - ExtensionRangeOptions_Declaration.encode(v!, writer.uint32(18).fork()).ldelim(); - } - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(402).fork()).ldelim(); - } - if (message.verification !== undefined && message.verification !== 1) { - writer.uint32(24).int32(message.verification); - } return writer; }, @@ -2832,27 +2224,6 @@ export const ExtensionRangeOptions = { message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); continue; - case 2: - if (tag !== 18) { - break; - } - - message.declaration.push(ExtensionRangeOptions_Declaration.decode(reader, reader.uint32())); - continue; - case 50: - if (tag !== 402) { - break; - } - - message.features = FeatureSet.decode(reader, reader.uint32()); - continue; - case 3: - if (tag !== 24) { - break; - } - - message.verification = reader.int32() as any; - continue; } if ((tag & 7) === 4 || tag === 0) { break; @@ -2867,13 +2238,6 @@ export const ExtensionRangeOptions = { uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [], - declaration: globalThis.Array.isArray(object?.declaration) - ? object.declaration.map((e: any) => ExtensionRangeOptions_Declaration.fromJSON(e)) - : [], - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, - verification: isSet(object.verification) - ? extensionRangeOptions_VerificationStateFromJSON(object.verification) - : 1, }; }, @@ -2882,15 +2246,6 @@ export const ExtensionRangeOptions = { if (message.uninterpretedOption?.length) { obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e)); } - if (message.declaration?.length) { - obj.declaration = message.declaration.map((e) => ExtensionRangeOptions_Declaration.toJSON(e)); - } - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } - if (message.verification !== undefined && message.verification !== 1) { - obj.verification = extensionRangeOptions_VerificationStateToJSON(message.verification); - } return obj; }, @@ -2900,130 +2255,6 @@ export const ExtensionRangeOptions = { fromPartial(object: DeepPartial): ExtensionRangeOptions { const message = createBaseExtensionRangeOptions(); message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; - message.declaration = object.declaration?.map((e) => ExtensionRangeOptions_Declaration.fromPartial(e)) || []; - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; - message.verification = object.verification ?? 1; - return message; - }, -}; - -function createBaseExtensionRangeOptions_Declaration(): ExtensionRangeOptions_Declaration { - return { number: 0, fullName: "", type: "", reserved: false, repeated: false }; -} - -export const ExtensionRangeOptions_Declaration = { - encode(message: ExtensionRangeOptions_Declaration, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.number !== undefined && message.number !== 0) { - writer.uint32(8).int32(message.number); - } - if (message.fullName !== undefined && message.fullName !== "") { - writer.uint32(18).string(message.fullName); - } - if (message.type !== undefined && message.type !== "") { - writer.uint32(26).string(message.type); - } - if (message.reserved !== undefined && message.reserved !== false) { - writer.uint32(40).bool(message.reserved); - } - if (message.repeated !== undefined && message.repeated !== false) { - writer.uint32(48).bool(message.repeated); - } - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): ExtensionRangeOptions_Declaration { - const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseExtensionRangeOptions_Declaration(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (tag !== 8) { - break; - } - - message.number = reader.int32(); - continue; - case 2: - if (tag !== 18) { - break; - } - - message.fullName = reader.string(); - continue; - case 3: - if (tag !== 26) { - break; - } - - message.type = reader.string(); - continue; - case 5: - if (tag !== 40) { - break; - } - - message.reserved = reader.bool(); - continue; - case 6: - if (tag !== 48) { - break; - } - - message.repeated = reader.bool(); - continue; - } - if ((tag & 7) === 4 || tag === 0) { - break; - } - reader.skipType(tag & 7); - } - return message; - }, - - fromJSON(object: any): ExtensionRangeOptions_Declaration { - return { - number: isSet(object.number) ? globalThis.Number(object.number) : 0, - fullName: isSet(object.fullName) ? globalThis.String(object.fullName) : "", - type: isSet(object.type) ? globalThis.String(object.type) : "", - reserved: isSet(object.reserved) ? globalThis.Boolean(object.reserved) : false, - repeated: isSet(object.repeated) ? globalThis.Boolean(object.repeated) : false, - }; - }, - - toJSON(message: ExtensionRangeOptions_Declaration): unknown { - const obj: any = {}; - if (message.number !== undefined && message.number !== 0) { - obj.number = Math.round(message.number); - } - if (message.fullName !== undefined && message.fullName !== "") { - obj.fullName = message.fullName; - } - if (message.type !== undefined && message.type !== "") { - obj.type = message.type; - } - if (message.reserved !== undefined && message.reserved !== false) { - obj.reserved = message.reserved; - } - if (message.repeated !== undefined && message.repeated !== false) { - obj.repeated = message.repeated; - } - return obj; - }, - - create(base?: DeepPartial): ExtensionRangeOptions_Declaration { - return ExtensionRangeOptions_Declaration.fromPartial(base ?? {}); - }, - fromPartial(object: DeepPartial): ExtensionRangeOptions_Declaration { - const message = createBaseExtensionRangeOptions_Declaration(); - message.number = object.number ?? 0; - message.fullName = object.fullName ?? ""; - message.type = object.type ?? ""; - message.reserved = object.reserved ?? false; - message.repeated = object.repeated ?? false; return message; }, }; @@ -3868,6 +3099,7 @@ function createBaseFileOptions(): FileOptions { ccGenericServices: false, javaGenericServices: false, pyGenericServices: false, + phpGenericServices: false, deprecated: false, ccEnableArenas: true, objcClassPrefix: "", @@ -3877,7 +3109,6 @@ function createBaseFileOptions(): FileOptions { phpNamespace: "", phpMetadataNamespace: "", rubyPackage: "", - features: undefined, uninterpretedOption: [], }; } @@ -3914,6 +3145,9 @@ export const FileOptions = { if (message.pyGenericServices !== undefined && message.pyGenericServices !== false) { writer.uint32(144).bool(message.pyGenericServices); } + if (message.phpGenericServices !== undefined && message.phpGenericServices !== false) { + writer.uint32(336).bool(message.phpGenericServices); + } if (message.deprecated !== undefined && message.deprecated !== false) { writer.uint32(184).bool(message.deprecated); } @@ -3941,9 +3175,6 @@ export const FileOptions = { if (message.rubyPackage !== undefined && message.rubyPackage !== "") { writer.uint32(362).string(message.rubyPackage); } - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(402).fork()).ldelim(); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -4027,6 +3258,13 @@ export const FileOptions = { message.pyGenericServices = reader.bool(); continue; + case 42: + if (tag !== 336) { + break; + } + + message.phpGenericServices = reader.bool(); + continue; case 23: if (tag !== 184) { break; @@ -4090,13 +3328,6 @@ export const FileOptions = { message.rubyPackage = reader.string(); continue; - case 50: - if (tag !== 402) { - break; - } - - message.features = FeatureSet.decode(reader, reader.uint32()); - continue; case 999: if (tag !== 7994) { break; @@ -4127,6 +3358,7 @@ export const FileOptions = { ccGenericServices: isSet(object.ccGenericServices) ? globalThis.Boolean(object.ccGenericServices) : false, javaGenericServices: isSet(object.javaGenericServices) ? globalThis.Boolean(object.javaGenericServices) : false, pyGenericServices: isSet(object.pyGenericServices) ? globalThis.Boolean(object.pyGenericServices) : false, + phpGenericServices: isSet(object.phpGenericServices) ? globalThis.Boolean(object.phpGenericServices) : false, deprecated: isSet(object.deprecated) ? globalThis.Boolean(object.deprecated) : false, ccEnableArenas: isSet(object.ccEnableArenas) ? globalThis.Boolean(object.ccEnableArenas) : true, objcClassPrefix: isSet(object.objcClassPrefix) ? globalThis.String(object.objcClassPrefix) : "", @@ -4136,7 +3368,6 @@ export const FileOptions = { phpNamespace: isSet(object.phpNamespace) ? globalThis.String(object.phpNamespace) : "", phpMetadataNamespace: isSet(object.phpMetadataNamespace) ? globalThis.String(object.phpMetadataNamespace) : "", rubyPackage: isSet(object.rubyPackage) ? globalThis.String(object.rubyPackage) : "", - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [], @@ -4175,6 +3406,9 @@ export const FileOptions = { if (message.pyGenericServices !== undefined && message.pyGenericServices !== false) { obj.pyGenericServices = message.pyGenericServices; } + if (message.phpGenericServices !== undefined && message.phpGenericServices !== false) { + obj.phpGenericServices = message.phpGenericServices; + } if (message.deprecated !== undefined && message.deprecated !== false) { obj.deprecated = message.deprecated; } @@ -4202,9 +3436,6 @@ export const FileOptions = { if (message.rubyPackage !== undefined && message.rubyPackage !== "") { obj.rubyPackage = message.rubyPackage; } - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } if (message.uninterpretedOption?.length) { obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e)); } @@ -4226,6 +3457,7 @@ export const FileOptions = { message.ccGenericServices = object.ccGenericServices ?? false; message.javaGenericServices = object.javaGenericServices ?? false; message.pyGenericServices = object.pyGenericServices ?? false; + message.phpGenericServices = object.phpGenericServices ?? false; message.deprecated = object.deprecated ?? false; message.ccEnableArenas = object.ccEnableArenas ?? true; message.objcClassPrefix = object.objcClassPrefix ?? ""; @@ -4235,9 +3467,6 @@ export const FileOptions = { message.phpNamespace = object.phpNamespace ?? ""; message.phpMetadataNamespace = object.phpMetadataNamespace ?? ""; message.rubyPackage = object.rubyPackage ?? ""; - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, @@ -4250,7 +3479,6 @@ function createBaseMessageOptions(): MessageOptions { deprecated: false, mapEntry: false, deprecatedLegacyJsonFieldConflicts: false, - features: undefined, uninterpretedOption: [], }; } @@ -4274,9 +3502,6 @@ export const MessageOptions = { ) { writer.uint32(88).bool(message.deprecatedLegacyJsonFieldConflicts); } - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(98).fork()).ldelim(); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -4325,13 +3550,6 @@ export const MessageOptions = { message.deprecatedLegacyJsonFieldConflicts = reader.bool(); continue; - case 12: - if (tag !== 98) { - break; - } - - message.features = FeatureSet.decode(reader, reader.uint32()); - continue; case 999: if (tag !== 7994) { break; @@ -4361,7 +3579,6 @@ export const MessageOptions = { deprecatedLegacyJsonFieldConflicts: isSet(object.deprecatedLegacyJsonFieldConflicts) ? globalThis.Boolean(object.deprecatedLegacyJsonFieldConflicts) : false, - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [], @@ -4387,9 +3604,6 @@ export const MessageOptions = { ) { obj.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts; } - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } if (message.uninterpretedOption?.length) { obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e)); } @@ -4406,9 +3620,6 @@ export const MessageOptions = { message.deprecated = object.deprecated ?? false; message.mapEntry = object.mapEntry ?? false; message.deprecatedLegacyJsonFieldConflicts = object.deprecatedLegacyJsonFieldConflicts ?? false; - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, @@ -4425,10 +3636,7 @@ function createBaseFieldOptions(): FieldOptions { weak: false, debugRedact: false, retention: 0, - targets: [], - editionDefaults: [], - features: undefined, - featureSupport: undefined, + target: 0, uninterpretedOption: [], }; } @@ -4462,19 +3670,8 @@ export const FieldOptions = { if (message.retention !== undefined && message.retention !== 0) { writer.uint32(136).int32(message.retention); } - writer.uint32(154).fork(); - for (const v of message.targets) { - writer.int32(v); - } - writer.ldelim(); - for (const v of message.editionDefaults) { - FieldOptions_EditionDefault.encode(v!, writer.uint32(162).fork()).ldelim(); - } - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(170).fork()).ldelim(); - } - if (message.featureSupport !== undefined) { - FieldOptions_FeatureSupport.encode(message.featureSupport, writer.uint32(178).fork()).ldelim(); + if (message.target !== undefined && message.target !== 0) { + writer.uint32(144).int32(message.target); } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); @@ -4552,50 +3749,19 @@ export const FieldOptions = { message.retention = reader.int32() as any; continue; - case 19: - if (tag === 152) { - message.targets.push(reader.int32() as any); - - continue; - } - - if (tag === 154) { - const end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) { - message.targets.push(reader.int32() as any); - } - - continue; - } - - break; - case 20: - if (tag !== 162) { - break; - } - - message.editionDefaults.push(FieldOptions_EditionDefault.decode(reader, reader.uint32())); - continue; - case 21: - if (tag !== 170) { + case 18: + if (tag !== 144) { break; } - message.features = FeatureSet.decode(reader, reader.uint32()); + message.target = reader.int32() as any; continue; - case 22: - if (tag !== 178) { + case 999: + if (tag !== 7994) { break; } - message.featureSupport = FieldOptions_FeatureSupport.decode(reader, reader.uint32()); - continue; - case 999: - if (tag !== 7994) { - break; - } - - message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); + message.uninterpretedOption.push(UninterpretedOption.decode(reader, reader.uint32())); continue; } if ((tag & 7) === 4 || tag === 0) { @@ -4617,16 +3783,7 @@ export const FieldOptions = { weak: isSet(object.weak) ? globalThis.Boolean(object.weak) : false, debugRedact: isSet(object.debugRedact) ? globalThis.Boolean(object.debugRedact) : false, retention: isSet(object.retention) ? fieldOptions_OptionRetentionFromJSON(object.retention) : 0, - targets: globalThis.Array.isArray(object?.targets) - ? object.targets.map((e: any) => fieldOptions_OptionTargetTypeFromJSON(e)) - : [], - editionDefaults: globalThis.Array.isArray(object?.editionDefaults) - ? object.editionDefaults.map((e: any) => FieldOptions_EditionDefault.fromJSON(e)) - : [], - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, - featureSupport: isSet(object.featureSupport) - ? FieldOptions_FeatureSupport.fromJSON(object.featureSupport) - : undefined, + target: isSet(object.target) ? fieldOptions_OptionTargetTypeFromJSON(object.target) : 0, uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [], @@ -4662,17 +3819,8 @@ export const FieldOptions = { if (message.retention !== undefined && message.retention !== 0) { obj.retention = fieldOptions_OptionRetentionToJSON(message.retention); } - if (message.targets?.length) { - obj.targets = message.targets.map((e) => fieldOptions_OptionTargetTypeToJSON(e)); - } - if (message.editionDefaults?.length) { - obj.editionDefaults = message.editionDefaults.map((e) => FieldOptions_EditionDefault.toJSON(e)); - } - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } - if (message.featureSupport !== undefined) { - obj.featureSupport = FieldOptions_FeatureSupport.toJSON(message.featureSupport); + if (message.target !== undefined && message.target !== 0) { + obj.target = fieldOptions_OptionTargetTypeToJSON(message.target); } if (message.uninterpretedOption?.length) { obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e)); @@ -4694,206 +3842,18 @@ export const FieldOptions = { message.weak = object.weak ?? false; message.debugRedact = object.debugRedact ?? false; message.retention = object.retention ?? 0; - message.targets = object.targets?.map((e) => e) || []; - message.editionDefaults = object.editionDefaults?.map((e) => FieldOptions_EditionDefault.fromPartial(e)) || []; - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; - message.featureSupport = (object.featureSupport !== undefined && object.featureSupport !== null) - ? FieldOptions_FeatureSupport.fromPartial(object.featureSupport) - : undefined; + message.target = object.target ?? 0; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, }; -function createBaseFieldOptions_EditionDefault(): FieldOptions_EditionDefault { - return { edition: 0, value: "" }; -} - -export const FieldOptions_EditionDefault = { - encode(message: FieldOptions_EditionDefault, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.edition !== undefined && message.edition !== 0) { - writer.uint32(24).int32(message.edition); - } - if (message.value !== undefined && message.value !== "") { - writer.uint32(18).string(message.value); - } - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions_EditionDefault { - const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldOptions_EditionDefault(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - if (tag !== 24) { - break; - } - - message.edition = reader.int32() as any; - continue; - case 2: - if (tag !== 18) { - break; - } - - message.value = reader.string(); - continue; - } - if ((tag & 7) === 4 || tag === 0) { - break; - } - reader.skipType(tag & 7); - } - return message; - }, - - fromJSON(object: any): FieldOptions_EditionDefault { - return { - edition: isSet(object.edition) ? editionFromJSON(object.edition) : 0, - value: isSet(object.value) ? globalThis.String(object.value) : "", - }; - }, - - toJSON(message: FieldOptions_EditionDefault): unknown { - const obj: any = {}; - if (message.edition !== undefined && message.edition !== 0) { - obj.edition = editionToJSON(message.edition); - } - if (message.value !== undefined && message.value !== "") { - obj.value = message.value; - } - return obj; - }, - - create(base?: DeepPartial): FieldOptions_EditionDefault { - return FieldOptions_EditionDefault.fromPartial(base ?? {}); - }, - fromPartial(object: DeepPartial): FieldOptions_EditionDefault { - const message = createBaseFieldOptions_EditionDefault(); - message.edition = object.edition ?? 0; - message.value = object.value ?? ""; - return message; - }, -}; - -function createBaseFieldOptions_FeatureSupport(): FieldOptions_FeatureSupport { - return { editionIntroduced: 0, editionDeprecated: 0, deprecationWarning: "", editionRemoved: 0 }; -} - -export const FieldOptions_FeatureSupport = { - encode(message: FieldOptions_FeatureSupport, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.editionIntroduced !== undefined && message.editionIntroduced !== 0) { - writer.uint32(8).int32(message.editionIntroduced); - } - if (message.editionDeprecated !== undefined && message.editionDeprecated !== 0) { - writer.uint32(16).int32(message.editionDeprecated); - } - if (message.deprecationWarning !== undefined && message.deprecationWarning !== "") { - writer.uint32(26).string(message.deprecationWarning); - } - if (message.editionRemoved !== undefined && message.editionRemoved !== 0) { - writer.uint32(32).int32(message.editionRemoved); - } - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FieldOptions_FeatureSupport { - const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFieldOptions_FeatureSupport(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (tag !== 8) { - break; - } - - message.editionIntroduced = reader.int32() as any; - continue; - case 2: - if (tag !== 16) { - break; - } - - message.editionDeprecated = reader.int32() as any; - continue; - case 3: - if (tag !== 26) { - break; - } - - message.deprecationWarning = reader.string(); - continue; - case 4: - if (tag !== 32) { - break; - } - - message.editionRemoved = reader.int32() as any; - continue; - } - if ((tag & 7) === 4 || tag === 0) { - break; - } - reader.skipType(tag & 7); - } - return message; - }, - - fromJSON(object: any): FieldOptions_FeatureSupport { - return { - editionIntroduced: isSet(object.editionIntroduced) ? editionFromJSON(object.editionIntroduced) : 0, - editionDeprecated: isSet(object.editionDeprecated) ? editionFromJSON(object.editionDeprecated) : 0, - deprecationWarning: isSet(object.deprecationWarning) ? globalThis.String(object.deprecationWarning) : "", - editionRemoved: isSet(object.editionRemoved) ? editionFromJSON(object.editionRemoved) : 0, - }; - }, - - toJSON(message: FieldOptions_FeatureSupport): unknown { - const obj: any = {}; - if (message.editionIntroduced !== undefined && message.editionIntroduced !== 0) { - obj.editionIntroduced = editionToJSON(message.editionIntroduced); - } - if (message.editionDeprecated !== undefined && message.editionDeprecated !== 0) { - obj.editionDeprecated = editionToJSON(message.editionDeprecated); - } - if (message.deprecationWarning !== undefined && message.deprecationWarning !== "") { - obj.deprecationWarning = message.deprecationWarning; - } - if (message.editionRemoved !== undefined && message.editionRemoved !== 0) { - obj.editionRemoved = editionToJSON(message.editionRemoved); - } - return obj; - }, - - create(base?: DeepPartial): FieldOptions_FeatureSupport { - return FieldOptions_FeatureSupport.fromPartial(base ?? {}); - }, - fromPartial(object: DeepPartial): FieldOptions_FeatureSupport { - const message = createBaseFieldOptions_FeatureSupport(); - message.editionIntroduced = object.editionIntroduced ?? 0; - message.editionDeprecated = object.editionDeprecated ?? 0; - message.deprecationWarning = object.deprecationWarning ?? ""; - message.editionRemoved = object.editionRemoved ?? 0; - return message; - }, -}; - function createBaseOneofOptions(): OneofOptions { - return { features: undefined, uninterpretedOption: [] }; + return { uninterpretedOption: [] }; } export const OneofOptions = { encode(message: OneofOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(10).fork()).ldelim(); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -4907,13 +3867,6 @@ export const OneofOptions = { while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { - case 1: - if (tag !== 10) { - break; - } - - message.features = FeatureSet.decode(reader, reader.uint32()); - continue; case 999: if (tag !== 7994) { break; @@ -4932,7 +3885,6 @@ export const OneofOptions = { fromJSON(object: any): OneofOptions { return { - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [], @@ -4941,9 +3893,6 @@ export const OneofOptions = { toJSON(message: OneofOptions): unknown { const obj: any = {}; - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } if (message.uninterpretedOption?.length) { obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e)); } @@ -4955,22 +3904,13 @@ export const OneofOptions = { }, fromPartial(object: DeepPartial): OneofOptions { const message = createBaseOneofOptions(); - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, }; function createBaseEnumOptions(): EnumOptions { - return { - allowAlias: false, - deprecated: false, - deprecatedLegacyJsonFieldConflicts: false, - features: undefined, - uninterpretedOption: [], - }; + return { allowAlias: false, deprecated: false, deprecatedLegacyJsonFieldConflicts: false, uninterpretedOption: [] }; } export const EnumOptions = { @@ -4986,9 +3926,6 @@ export const EnumOptions = { ) { writer.uint32(48).bool(message.deprecatedLegacyJsonFieldConflicts); } - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(58).fork()).ldelim(); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -5023,13 +3960,6 @@ export const EnumOptions = { message.deprecatedLegacyJsonFieldConflicts = reader.bool(); continue; - case 7: - if (tag !== 58) { - break; - } - - message.features = FeatureSet.decode(reader, reader.uint32()); - continue; case 999: if (tag !== 7994) { break; @@ -5053,7 +3983,6 @@ export const EnumOptions = { deprecatedLegacyJsonFieldConflicts: isSet(object.deprecatedLegacyJsonFieldConflicts) ? globalThis.Boolean(object.deprecatedLegacyJsonFieldConflicts) : false, - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [], @@ -5073,9 +4002,6 @@ export const EnumOptions = { ) { obj.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts; } - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } if (message.uninterpretedOption?.length) { obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e)); } @@ -5090,22 +4016,13 @@ export const EnumOptions = { message.allowAlias = object.allowAlias ?? false; message.deprecated = object.deprecated ?? false; message.deprecatedLegacyJsonFieldConflicts = object.deprecatedLegacyJsonFieldConflicts ?? false; - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, }; function createBaseEnumValueOptions(): EnumValueOptions { - return { - deprecated: false, - features: undefined, - debugRedact: false, - featureSupport: undefined, - uninterpretedOption: [], - }; + return { deprecated: false, uninterpretedOption: [] }; } export const EnumValueOptions = { @@ -5113,15 +4030,6 @@ export const EnumValueOptions = { if (message.deprecated !== undefined && message.deprecated !== false) { writer.uint32(8).bool(message.deprecated); } - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(18).fork()).ldelim(); - } - if (message.debugRedact !== undefined && message.debugRedact !== false) { - writer.uint32(24).bool(message.debugRedact); - } - if (message.featureSupport !== undefined) { - FieldOptions_FeatureSupport.encode(message.featureSupport, writer.uint32(34).fork()).ldelim(); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -5142,27 +4050,6 @@ export const EnumValueOptions = { message.deprecated = reader.bool(); continue; - case 2: - if (tag !== 18) { - break; - } - - message.features = FeatureSet.decode(reader, reader.uint32()); - continue; - case 3: - if (tag !== 24) { - break; - } - - message.debugRedact = reader.bool(); - continue; - case 4: - if (tag !== 34) { - break; - } - - message.featureSupport = FieldOptions_FeatureSupport.decode(reader, reader.uint32()); - continue; case 999: if (tag !== 7994) { break; @@ -5182,11 +4069,6 @@ export const EnumValueOptions = { fromJSON(object: any): EnumValueOptions { return { deprecated: isSet(object.deprecated) ? globalThis.Boolean(object.deprecated) : false, - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, - debugRedact: isSet(object.debugRedact) ? globalThis.Boolean(object.debugRedact) : false, - featureSupport: isSet(object.featureSupport) - ? FieldOptions_FeatureSupport.fromJSON(object.featureSupport) - : undefined, uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [], @@ -5198,15 +4080,6 @@ export const EnumValueOptions = { if (message.deprecated !== undefined && message.deprecated !== false) { obj.deprecated = message.deprecated; } - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } - if (message.debugRedact !== undefined && message.debugRedact !== false) { - obj.debugRedact = message.debugRedact; - } - if (message.featureSupport !== undefined) { - obj.featureSupport = FieldOptions_FeatureSupport.toJSON(message.featureSupport); - } if (message.uninterpretedOption?.length) { obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e)); } @@ -5219,27 +4092,17 @@ export const EnumValueOptions = { fromPartial(object: DeepPartial): EnumValueOptions { const message = createBaseEnumValueOptions(); message.deprecated = object.deprecated ?? false; - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; - message.debugRedact = object.debugRedact ?? false; - message.featureSupport = (object.featureSupport !== undefined && object.featureSupport !== null) - ? FieldOptions_FeatureSupport.fromPartial(object.featureSupport) - : undefined; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, }; function createBaseServiceOptions(): ServiceOptions { - return { features: undefined, deprecated: false, uninterpretedOption: [] }; + return { deprecated: false, uninterpretedOption: [] }; } export const ServiceOptions = { encode(message: ServiceOptions, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(274).fork()).ldelim(); - } if (message.deprecated !== undefined && message.deprecated !== false) { writer.uint32(264).bool(message.deprecated); } @@ -5256,13 +4119,6 @@ export const ServiceOptions = { while (reader.pos < end) { const tag = reader.uint32(); switch (tag >>> 3) { - case 34: - if (tag !== 274) { - break; - } - - message.features = FeatureSet.decode(reader, reader.uint32()); - continue; case 33: if (tag !== 264) { break; @@ -5288,7 +4144,6 @@ export const ServiceOptions = { fromJSON(object: any): ServiceOptions { return { - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, deprecated: isSet(object.deprecated) ? globalThis.Boolean(object.deprecated) : false, uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) @@ -5298,9 +4153,6 @@ export const ServiceOptions = { toJSON(message: ServiceOptions): unknown { const obj: any = {}; - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } if (message.deprecated !== undefined && message.deprecated !== false) { obj.deprecated = message.deprecated; } @@ -5315,9 +4167,6 @@ export const ServiceOptions = { }, fromPartial(object: DeepPartial): ServiceOptions { const message = createBaseServiceOptions(); - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; message.deprecated = object.deprecated ?? false; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; @@ -5325,7 +4174,7 @@ export const ServiceOptions = { }; function createBaseMethodOptions(): MethodOptions { - return { deprecated: false, idempotencyLevel: 0, features: undefined, uninterpretedOption: [] }; + return { deprecated: false, idempotencyLevel: 0, uninterpretedOption: [] }; } export const MethodOptions = { @@ -5336,9 +4185,6 @@ export const MethodOptions = { if (message.idempotencyLevel !== undefined && message.idempotencyLevel !== 0) { writer.uint32(272).int32(message.idempotencyLevel); } - if (message.features !== undefined) { - FeatureSet.encode(message.features, writer.uint32(282).fork()).ldelim(); - } for (const v of message.uninterpretedOption) { UninterpretedOption.encode(v!, writer.uint32(7994).fork()).ldelim(); } @@ -5366,13 +4212,6 @@ export const MethodOptions = { message.idempotencyLevel = reader.int32() as any; continue; - case 35: - if (tag !== 282) { - break; - } - - message.features = FeatureSet.decode(reader, reader.uint32()); - continue; case 999: if (tag !== 7994) { break; @@ -5395,7 +4234,6 @@ export const MethodOptions = { idempotencyLevel: isSet(object.idempotencyLevel) ? methodOptions_IdempotencyLevelFromJSON(object.idempotencyLevel) : 0, - features: isSet(object.features) ? FeatureSet.fromJSON(object.features) : undefined, uninterpretedOption: globalThis.Array.isArray(object?.uninterpretedOption) ? object.uninterpretedOption.map((e: any) => UninterpretedOption.fromJSON(e)) : [], @@ -5410,9 +4248,6 @@ export const MethodOptions = { if (message.idempotencyLevel !== undefined && message.idempotencyLevel !== 0) { obj.idempotencyLevel = methodOptions_IdempotencyLevelToJSON(message.idempotencyLevel); } - if (message.features !== undefined) { - obj.features = FeatureSet.toJSON(message.features); - } if (message.uninterpretedOption?.length) { obj.uninterpretedOption = message.uninterpretedOption.map((e) => UninterpretedOption.toJSON(e)); } @@ -5426,9 +4261,6 @@ export const MethodOptions = { const message = createBaseMethodOptions(); message.deprecated = object.deprecated ?? false; message.idempotencyLevel = object.idempotencyLevel ?? 0; - message.features = (object.features !== undefined && object.features !== null) - ? FeatureSet.fromPartial(object.features) - : undefined; message.uninterpretedOption = object.uninterpretedOption?.map((e) => UninterpretedOption.fromPartial(e)) || []; return message; }, @@ -5667,337 +4499,6 @@ export const UninterpretedOption_NamePart = { }, }; -function createBaseFeatureSet(): FeatureSet { - return { - fieldPresence: 0, - enumType: 0, - repeatedFieldEncoding: 0, - utf8Validation: 0, - messageEncoding: 0, - jsonFormat: 0, - }; -} - -export const FeatureSet = { - encode(message: FeatureSet, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.fieldPresence !== undefined && message.fieldPresence !== 0) { - writer.uint32(8).int32(message.fieldPresence); - } - if (message.enumType !== undefined && message.enumType !== 0) { - writer.uint32(16).int32(message.enumType); - } - if (message.repeatedFieldEncoding !== undefined && message.repeatedFieldEncoding !== 0) { - writer.uint32(24).int32(message.repeatedFieldEncoding); - } - if (message.utf8Validation !== undefined && message.utf8Validation !== 0) { - writer.uint32(32).int32(message.utf8Validation); - } - if (message.messageEncoding !== undefined && message.messageEncoding !== 0) { - writer.uint32(40).int32(message.messageEncoding); - } - if (message.jsonFormat !== undefined && message.jsonFormat !== 0) { - writer.uint32(48).int32(message.jsonFormat); - } - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSet { - const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFeatureSet(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (tag !== 8) { - break; - } - - message.fieldPresence = reader.int32() as any; - continue; - case 2: - if (tag !== 16) { - break; - } - - message.enumType = reader.int32() as any; - continue; - case 3: - if (tag !== 24) { - break; - } - - message.repeatedFieldEncoding = reader.int32() as any; - continue; - case 4: - if (tag !== 32) { - break; - } - - message.utf8Validation = reader.int32() as any; - continue; - case 5: - if (tag !== 40) { - break; - } - - message.messageEncoding = reader.int32() as any; - continue; - case 6: - if (tag !== 48) { - break; - } - - message.jsonFormat = reader.int32() as any; - continue; - } - if ((tag & 7) === 4 || tag === 0) { - break; - } - reader.skipType(tag & 7); - } - return message; - }, - - fromJSON(object: any): FeatureSet { - return { - fieldPresence: isSet(object.fieldPresence) ? featureSet_FieldPresenceFromJSON(object.fieldPresence) : 0, - enumType: isSet(object.enumType) ? featureSet_EnumTypeFromJSON(object.enumType) : 0, - repeatedFieldEncoding: isSet(object.repeatedFieldEncoding) - ? featureSet_RepeatedFieldEncodingFromJSON(object.repeatedFieldEncoding) - : 0, - utf8Validation: isSet(object.utf8Validation) ? featureSet_Utf8ValidationFromJSON(object.utf8Validation) : 0, - messageEncoding: isSet(object.messageEncoding) ? featureSet_MessageEncodingFromJSON(object.messageEncoding) : 0, - jsonFormat: isSet(object.jsonFormat) ? featureSet_JsonFormatFromJSON(object.jsonFormat) : 0, - }; - }, - - toJSON(message: FeatureSet): unknown { - const obj: any = {}; - if (message.fieldPresence !== undefined && message.fieldPresence !== 0) { - obj.fieldPresence = featureSet_FieldPresenceToJSON(message.fieldPresence); - } - if (message.enumType !== undefined && message.enumType !== 0) { - obj.enumType = featureSet_EnumTypeToJSON(message.enumType); - } - if (message.repeatedFieldEncoding !== undefined && message.repeatedFieldEncoding !== 0) { - obj.repeatedFieldEncoding = featureSet_RepeatedFieldEncodingToJSON(message.repeatedFieldEncoding); - } - if (message.utf8Validation !== undefined && message.utf8Validation !== 0) { - obj.utf8Validation = featureSet_Utf8ValidationToJSON(message.utf8Validation); - } - if (message.messageEncoding !== undefined && message.messageEncoding !== 0) { - obj.messageEncoding = featureSet_MessageEncodingToJSON(message.messageEncoding); - } - if (message.jsonFormat !== undefined && message.jsonFormat !== 0) { - obj.jsonFormat = featureSet_JsonFormatToJSON(message.jsonFormat); - } - return obj; - }, - - create(base?: DeepPartial): FeatureSet { - return FeatureSet.fromPartial(base ?? {}); - }, - fromPartial(object: DeepPartial): FeatureSet { - const message = createBaseFeatureSet(); - message.fieldPresence = object.fieldPresence ?? 0; - message.enumType = object.enumType ?? 0; - message.repeatedFieldEncoding = object.repeatedFieldEncoding ?? 0; - message.utf8Validation = object.utf8Validation ?? 0; - message.messageEncoding = object.messageEncoding ?? 0; - message.jsonFormat = object.jsonFormat ?? 0; - return message; - }, -}; - -function createBaseFeatureSetDefaults(): FeatureSetDefaults { - return { defaults: [], minimumEdition: 0, maximumEdition: 0 }; -} - -export const FeatureSetDefaults = { - encode(message: FeatureSetDefaults, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - for (const v of message.defaults) { - FeatureSetDefaults_FeatureSetEditionDefault.encode(v!, writer.uint32(10).fork()).ldelim(); - } - if (message.minimumEdition !== undefined && message.minimumEdition !== 0) { - writer.uint32(32).int32(message.minimumEdition); - } - if (message.maximumEdition !== undefined && message.maximumEdition !== 0) { - writer.uint32(40).int32(message.maximumEdition); - } - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSetDefaults { - const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFeatureSetDefaults(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 1: - if (tag !== 10) { - break; - } - - message.defaults.push(FeatureSetDefaults_FeatureSetEditionDefault.decode(reader, reader.uint32())); - continue; - case 4: - if (tag !== 32) { - break; - } - - message.minimumEdition = reader.int32() as any; - continue; - case 5: - if (tag !== 40) { - break; - } - - message.maximumEdition = reader.int32() as any; - continue; - } - if ((tag & 7) === 4 || tag === 0) { - break; - } - reader.skipType(tag & 7); - } - return message; - }, - - fromJSON(object: any): FeatureSetDefaults { - return { - defaults: globalThis.Array.isArray(object?.defaults) - ? object.defaults.map((e: any) => FeatureSetDefaults_FeatureSetEditionDefault.fromJSON(e)) - : [], - minimumEdition: isSet(object.minimumEdition) ? editionFromJSON(object.minimumEdition) : 0, - maximumEdition: isSet(object.maximumEdition) ? editionFromJSON(object.maximumEdition) : 0, - }; - }, - - toJSON(message: FeatureSetDefaults): unknown { - const obj: any = {}; - if (message.defaults?.length) { - obj.defaults = message.defaults.map((e) => FeatureSetDefaults_FeatureSetEditionDefault.toJSON(e)); - } - if (message.minimumEdition !== undefined && message.minimumEdition !== 0) { - obj.minimumEdition = editionToJSON(message.minimumEdition); - } - if (message.maximumEdition !== undefined && message.maximumEdition !== 0) { - obj.maximumEdition = editionToJSON(message.maximumEdition); - } - return obj; - }, - - create(base?: DeepPartial): FeatureSetDefaults { - return FeatureSetDefaults.fromPartial(base ?? {}); - }, - fromPartial(object: DeepPartial): FeatureSetDefaults { - const message = createBaseFeatureSetDefaults(); - message.defaults = object.defaults?.map((e) => FeatureSetDefaults_FeatureSetEditionDefault.fromPartial(e)) || []; - message.minimumEdition = object.minimumEdition ?? 0; - message.maximumEdition = object.maximumEdition ?? 0; - return message; - }, -}; - -function createBaseFeatureSetDefaults_FeatureSetEditionDefault(): FeatureSetDefaults_FeatureSetEditionDefault { - return { edition: 0, overridableFeatures: undefined, fixedFeatures: undefined }; -} - -export const FeatureSetDefaults_FeatureSetEditionDefault = { - encode(message: FeatureSetDefaults_FeatureSetEditionDefault, writer: _m0.Writer = _m0.Writer.create()): _m0.Writer { - if (message.edition !== undefined && message.edition !== 0) { - writer.uint32(24).int32(message.edition); - } - if (message.overridableFeatures !== undefined) { - FeatureSet.encode(message.overridableFeatures, writer.uint32(34).fork()).ldelim(); - } - if (message.fixedFeatures !== undefined) { - FeatureSet.encode(message.fixedFeatures, writer.uint32(42).fork()).ldelim(); - } - return writer; - }, - - decode(input: _m0.Reader | Uint8Array, length?: number): FeatureSetDefaults_FeatureSetEditionDefault { - const reader = input instanceof _m0.Reader ? input : _m0.Reader.create(input); - let end = length === undefined ? reader.len : reader.pos + length; - const message = createBaseFeatureSetDefaults_FeatureSetEditionDefault(); - while (reader.pos < end) { - const tag = reader.uint32(); - switch (tag >>> 3) { - case 3: - if (tag !== 24) { - break; - } - - message.edition = reader.int32() as any; - continue; - case 4: - if (tag !== 34) { - break; - } - - message.overridableFeatures = FeatureSet.decode(reader, reader.uint32()); - continue; - case 5: - if (tag !== 42) { - break; - } - - message.fixedFeatures = FeatureSet.decode(reader, reader.uint32()); - continue; - } - if ((tag & 7) === 4 || tag === 0) { - break; - } - reader.skipType(tag & 7); - } - return message; - }, - - fromJSON(object: any): FeatureSetDefaults_FeatureSetEditionDefault { - return { - edition: isSet(object.edition) ? editionFromJSON(object.edition) : 0, - overridableFeatures: isSet(object.overridableFeatures) - ? FeatureSet.fromJSON(object.overridableFeatures) - : undefined, - fixedFeatures: isSet(object.fixedFeatures) ? FeatureSet.fromJSON(object.fixedFeatures) : undefined, - }; - }, - - toJSON(message: FeatureSetDefaults_FeatureSetEditionDefault): unknown { - const obj: any = {}; - if (message.edition !== undefined && message.edition !== 0) { - obj.edition = editionToJSON(message.edition); - } - if (message.overridableFeatures !== undefined) { - obj.overridableFeatures = FeatureSet.toJSON(message.overridableFeatures); - } - if (message.fixedFeatures !== undefined) { - obj.fixedFeatures = FeatureSet.toJSON(message.fixedFeatures); - } - return obj; - }, - - create(base?: DeepPartial): FeatureSetDefaults_FeatureSetEditionDefault { - return FeatureSetDefaults_FeatureSetEditionDefault.fromPartial(base ?? {}); - }, - fromPartial( - object: DeepPartial, - ): FeatureSetDefaults_FeatureSetEditionDefault { - const message = createBaseFeatureSetDefaults_FeatureSetEditionDefault(); - message.edition = object.edition ?? 0; - message.overridableFeatures = (object.overridableFeatures !== undefined && object.overridableFeatures !== null) - ? FeatureSet.fromPartial(object.overridableFeatures) - : undefined; - message.fixedFeatures = (object.fixedFeatures !== undefined && object.fixedFeatures !== null) - ? FeatureSet.fromPartial(object.fixedFeatures) - : undefined; - return message; - }, -}; - function createBaseSourceCodeInfo(): SourceCodeInfo { return { location: [] }; } diff --git a/libs/proto-messages/gen/google/protobuf/duration.ts b/libs/proto-messages/gen/google/protobuf/duration.ts index 8a7806f..65aed62 100644 --- a/libs/proto-messages/gen/google/protobuf/duration.ts +++ b/libs/proto-messages/gen/google/protobuf/duration.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: google/protobuf/duration.proto diff --git a/libs/proto-messages/gen/google/protobuf/timestamp.ts b/libs/proto-messages/gen/google/protobuf/timestamp.ts index 7e46c1f..4ffbf36 100644 --- a/libs/proto-messages/gen/google/protobuf/timestamp.ts +++ b/libs/proto-messages/gen/google/protobuf/timestamp.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: google/protobuf/timestamp.proto @@ -96,7 +96,7 @@ import _m0 from "protobufjs/minimal"; * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use * the Joda Time's [`ISODateTimeFormat.dateTime()`]( - * http://joda-time.sourceforge.net/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime() + * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D * ) to obtain a formatter capable of generating timestamps in this format. */ export interface Timestamp { diff --git a/libs/proto-messages/gen/index.amino.ts b/libs/proto-messages/gen/index.amino.ts index d505334..a4571dc 100644 --- a/libs/proto-messages/gen/index.amino.ts +++ b/libs/proto-messages/gen/index.amino.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.auth.ts b/libs/proto-messages/gen/index.cosmos.auth.ts index 13f1097..98e8ef5 100644 --- a/libs/proto-messages/gen/index.cosmos.auth.ts +++ b/libs/proto-messages/gen/index.cosmos.auth.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.auth.v1beta1.ts b/libs/proto-messages/gen/index.cosmos.auth.v1beta1.ts index a9e59c8..bea00ee 100644 --- a/libs/proto-messages/gen/index.cosmos.auth.v1beta1.ts +++ b/libs/proto-messages/gen/index.cosmos.auth.v1beta1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.base.ts b/libs/proto-messages/gen/index.cosmos.base.ts index 912768c..4bb2037 100644 --- a/libs/proto-messages/gen/index.cosmos.base.ts +++ b/libs/proto-messages/gen/index.cosmos.base.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.base.v1beta1.ts b/libs/proto-messages/gen/index.cosmos.base.v1beta1.ts index c424a6a..a316b36 100644 --- a/libs/proto-messages/gen/index.cosmos.base.v1beta1.ts +++ b/libs/proto-messages/gen/index.cosmos.base.v1beta1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.msg.ts b/libs/proto-messages/gen/index.cosmos.msg.ts index bd47812..371d184 100644 --- a/libs/proto-messages/gen/index.cosmos.msg.ts +++ b/libs/proto-messages/gen/index.cosmos.msg.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.msg.v1.ts b/libs/proto-messages/gen/index.cosmos.msg.v1.ts index 40bbe5a..a389a12 100644 --- a/libs/proto-messages/gen/index.cosmos.msg.v1.ts +++ b/libs/proto-messages/gen/index.cosmos.msg.v1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.staking.ts b/libs/proto-messages/gen/index.cosmos.staking.ts index 28b00cf..1b5cca1 100644 --- a/libs/proto-messages/gen/index.cosmos.staking.ts +++ b/libs/proto-messages/gen/index.cosmos.staking.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.staking.v1beta1.ts b/libs/proto-messages/gen/index.cosmos.staking.v1beta1.ts index 5430054..947c27b 100644 --- a/libs/proto-messages/gen/index.cosmos.staking.v1beta1.ts +++ b/libs/proto-messages/gen/index.cosmos.staking.v1beta1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.ts b/libs/proto-messages/gen/index.cosmos.ts index d80c294..d37a32c 100644 --- a/libs/proto-messages/gen/index.cosmos.ts +++ b/libs/proto-messages/gen/index.cosmos.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.vesting.ts b/libs/proto-messages/gen/index.cosmos.vesting.ts index 2d858c3..e563d54 100644 --- a/libs/proto-messages/gen/index.cosmos.vesting.ts +++ b/libs/proto-messages/gen/index.cosmos.vesting.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos.vesting.v1beta1.ts b/libs/proto-messages/gen/index.cosmos.vesting.v1beta1.ts index 83ff723..08b96ee 100644 --- a/libs/proto-messages/gen/index.cosmos.vesting.v1beta1.ts +++ b/libs/proto-messages/gen/index.cosmos.vesting.v1beta1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.cosmos_proto.ts b/libs/proto-messages/gen/index.cosmos_proto.ts index 8f371e8..1503f28 100644 --- a/libs/proto-messages/gen/index.cosmos_proto.ts +++ b/libs/proto-messages/gen/index.cosmos_proto.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.gogoproto.ts b/libs/proto-messages/gen/index.gogoproto.ts index 3cf1ea0..0817960 100644 --- a/libs/proto-messages/gen/index.gogoproto.ts +++ b/libs/proto-messages/gen/index.gogoproto.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.google.api.ts b/libs/proto-messages/gen/index.google.api.ts index c271b66..97bab6f 100644 --- a/libs/proto-messages/gen/index.google.api.ts +++ b/libs/proto-messages/gen/index.google.api.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.google.protobuf.ts b/libs/proto-messages/gen/index.google.protobuf.ts index b30cbc6..2031b76 100644 --- a/libs/proto-messages/gen/index.google.protobuf.ts +++ b/libs/proto-messages/gen/index.google.protobuf.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.google.ts b/libs/proto-messages/gen/index.google.ts index c818ed4..dd52924 100644 --- a/libs/proto-messages/gen/index.google.ts +++ b/libs/proto-messages/gen/index.google.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.data_proxy.ts b/libs/proto-messages/gen/index.sedachain.data_proxy.ts index 6c9ab2e..a47b231 100644 --- a/libs/proto-messages/gen/index.sedachain.data_proxy.ts +++ b/libs/proto-messages/gen/index.sedachain.data_proxy.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.data_proxy.v1.ts b/libs/proto-messages/gen/index.sedachain.data_proxy.v1.ts index 38f177b..861284f 100644 --- a/libs/proto-messages/gen/index.sedachain.data_proxy.v1.ts +++ b/libs/proto-messages/gen/index.sedachain.data_proxy.v1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.randomness.ts b/libs/proto-messages/gen/index.sedachain.randomness.ts index 7734c77..2288fbd 100644 --- a/libs/proto-messages/gen/index.sedachain.randomness.ts +++ b/libs/proto-messages/gen/index.sedachain.randomness.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.randomness.v1.ts b/libs/proto-messages/gen/index.sedachain.randomness.v1.ts index 4382078..6240b7b 100644 --- a/libs/proto-messages/gen/index.sedachain.randomness.v1.ts +++ b/libs/proto-messages/gen/index.sedachain.randomness.v1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.staking.ts b/libs/proto-messages/gen/index.sedachain.staking.ts index 671fa18..e864c2c 100644 --- a/libs/proto-messages/gen/index.sedachain.staking.ts +++ b/libs/proto-messages/gen/index.sedachain.staking.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.staking.v1.ts b/libs/proto-messages/gen/index.sedachain.staking.v1.ts index 5711e6a..ae8c472 100644 --- a/libs/proto-messages/gen/index.sedachain.staking.v1.ts +++ b/libs/proto-messages/gen/index.sedachain.staking.v1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.ts b/libs/proto-messages/gen/index.sedachain.ts index c2c2b56..5c1cfe7 100644 --- a/libs/proto-messages/gen/index.sedachain.ts +++ b/libs/proto-messages/gen/index.sedachain.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.vesting.ts b/libs/proto-messages/gen/index.sedachain.vesting.ts index a3ca064..77d2a0b 100644 --- a/libs/proto-messages/gen/index.sedachain.vesting.ts +++ b/libs/proto-messages/gen/index.sedachain.vesting.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.vesting.v1.ts b/libs/proto-messages/gen/index.sedachain.vesting.v1.ts index 0e95c59..18429a2 100644 --- a/libs/proto-messages/gen/index.sedachain.vesting.v1.ts +++ b/libs/proto-messages/gen/index.sedachain.vesting.v1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.wasm_storage.ts b/libs/proto-messages/gen/index.sedachain.wasm_storage.ts index dab090b..126f6f5 100644 --- a/libs/proto-messages/gen/index.sedachain.wasm_storage.ts +++ b/libs/proto-messages/gen/index.sedachain.wasm_storage.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.sedachain.wasm_storage.v1.ts b/libs/proto-messages/gen/index.sedachain.wasm_storage.v1.ts index 7ecb9db..a1b49f0 100644 --- a/libs/proto-messages/gen/index.sedachain.wasm_storage.v1.ts +++ b/libs/proto-messages/gen/index.sedachain.wasm_storage.v1.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.tendermint.abci.ts b/libs/proto-messages/gen/index.tendermint.abci.ts index f8a1924..fe8e34f 100644 --- a/libs/proto-messages/gen/index.tendermint.abci.ts +++ b/libs/proto-messages/gen/index.tendermint.abci.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.tendermint.crypto.ts b/libs/proto-messages/gen/index.tendermint.crypto.ts index 92e0cca..37bc3c9 100644 --- a/libs/proto-messages/gen/index.tendermint.crypto.ts +++ b/libs/proto-messages/gen/index.tendermint.crypto.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.tendermint.ts b/libs/proto-messages/gen/index.tendermint.ts index 7d2377d..a050d6a 100644 --- a/libs/proto-messages/gen/index.tendermint.ts +++ b/libs/proto-messages/gen/index.tendermint.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.tendermint.types.ts b/libs/proto-messages/gen/index.tendermint.types.ts index 720ea67..a8b9d56 100644 --- a/libs/proto-messages/gen/index.tendermint.types.ts +++ b/libs/proto-messages/gen/index.tendermint.types.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.tendermint.version.ts b/libs/proto-messages/gen/index.tendermint.version.ts index 8093c62..c319b2f 100644 --- a/libs/proto-messages/gen/index.tendermint.version.ts +++ b/libs/proto-messages/gen/index.tendermint.version.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/index.ts b/libs/proto-messages/gen/index.ts index 44d07e2..72d1f82 100644 --- a/libs/proto-messages/gen/index.ts +++ b/libs/proto-messages/gen/index.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown /* eslint-disable */ diff --git a/libs/proto-messages/gen/sedachain/data_proxy/v1/data_proxy.ts b/libs/proto-messages/gen/sedachain/data_proxy/v1/data_proxy.ts index 9bb7db5..819e255 100644 --- a/libs/proto-messages/gen/sedachain/data_proxy/v1/data_proxy.ts +++ b/libs/proto-messages/gen/sedachain/data_proxy/v1/data_proxy.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/data_proxy/v1/data_proxy.proto diff --git a/libs/proto-messages/gen/sedachain/data_proxy/v1/genesis.ts b/libs/proto-messages/gen/sedachain/data_proxy/v1/genesis.ts index adc26d8..c86544d 100644 --- a/libs/proto-messages/gen/sedachain/data_proxy/v1/genesis.ts +++ b/libs/proto-messages/gen/sedachain/data_proxy/v1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/data_proxy/v1/genesis.proto diff --git a/libs/proto-messages/gen/sedachain/data_proxy/v1/query.ts b/libs/proto-messages/gen/sedachain/data_proxy/v1/query.ts index 0d63038..7fb5fe5 100644 --- a/libs/proto-messages/gen/sedachain/data_proxy/v1/query.ts +++ b/libs/proto-messages/gen/sedachain/data_proxy/v1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/data_proxy/v1/query.proto diff --git a/libs/proto-messages/gen/sedachain/data_proxy/v1/tx.ts b/libs/proto-messages/gen/sedachain/data_proxy/v1/tx.ts index daaf4d0..5f10411 100644 --- a/libs/proto-messages/gen/sedachain/data_proxy/v1/tx.ts +++ b/libs/proto-messages/gen/sedachain/data_proxy/v1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/data_proxy/v1/tx.proto diff --git a/libs/proto-messages/gen/sedachain/randomness/v1/genesis.ts b/libs/proto-messages/gen/sedachain/randomness/v1/genesis.ts index 2c7eee6..32f4f0a 100644 --- a/libs/proto-messages/gen/sedachain/randomness/v1/genesis.ts +++ b/libs/proto-messages/gen/sedachain/randomness/v1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/randomness/v1/genesis.proto diff --git a/libs/proto-messages/gen/sedachain/randomness/v1/query.ts b/libs/proto-messages/gen/sedachain/randomness/v1/query.ts index ac8378d..cd5d30c 100644 --- a/libs/proto-messages/gen/sedachain/randomness/v1/query.ts +++ b/libs/proto-messages/gen/sedachain/randomness/v1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/randomness/v1/query.proto diff --git a/libs/proto-messages/gen/sedachain/randomness/v1/randomness.ts b/libs/proto-messages/gen/sedachain/randomness/v1/randomness.ts index 379ac3c..048db25 100644 --- a/libs/proto-messages/gen/sedachain/randomness/v1/randomness.ts +++ b/libs/proto-messages/gen/sedachain/randomness/v1/randomness.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/randomness/v1/randomness.proto diff --git a/libs/proto-messages/gen/sedachain/randomness/v1/tx.ts b/libs/proto-messages/gen/sedachain/randomness/v1/tx.ts index d43a02a..6afe9c0 100644 --- a/libs/proto-messages/gen/sedachain/randomness/v1/tx.ts +++ b/libs/proto-messages/gen/sedachain/randomness/v1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/randomness/v1/tx.proto diff --git a/libs/proto-messages/gen/sedachain/staking/v1/tx.ts b/libs/proto-messages/gen/sedachain/staking/v1/tx.ts index fe0ecac..77c28b5 100644 --- a/libs/proto-messages/gen/sedachain/staking/v1/tx.ts +++ b/libs/proto-messages/gen/sedachain/staking/v1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/staking/v1/tx.proto diff --git a/libs/proto-messages/gen/sedachain/vesting/v1/tx.ts b/libs/proto-messages/gen/sedachain/vesting/v1/tx.ts index 94c92e9..f8ac174 100644 --- a/libs/proto-messages/gen/sedachain/vesting/v1/tx.ts +++ b/libs/proto-messages/gen/sedachain/vesting/v1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/vesting/v1/tx.proto diff --git a/libs/proto-messages/gen/sedachain/vesting/v1/vesting.ts b/libs/proto-messages/gen/sedachain/vesting/v1/vesting.ts index bd60d81..8e213d8 100644 --- a/libs/proto-messages/gen/sedachain/vesting/v1/vesting.ts +++ b/libs/proto-messages/gen/sedachain/vesting/v1/vesting.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/vesting/v1/vesting.proto diff --git a/libs/proto-messages/gen/sedachain/wasm_storage/v1/genesis.ts b/libs/proto-messages/gen/sedachain/wasm_storage/v1/genesis.ts index 9704ee8..2997d39 100644 --- a/libs/proto-messages/gen/sedachain/wasm_storage/v1/genesis.ts +++ b/libs/proto-messages/gen/sedachain/wasm_storage/v1/genesis.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/wasm_storage/v1/genesis.proto diff --git a/libs/proto-messages/gen/sedachain/wasm_storage/v1/query.ts b/libs/proto-messages/gen/sedachain/wasm_storage/v1/query.ts index 80f662b..4710191 100644 --- a/libs/proto-messages/gen/sedachain/wasm_storage/v1/query.ts +++ b/libs/proto-messages/gen/sedachain/wasm_storage/v1/query.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/wasm_storage/v1/query.proto diff --git a/libs/proto-messages/gen/sedachain/wasm_storage/v1/tx.ts b/libs/proto-messages/gen/sedachain/wasm_storage/v1/tx.ts index a0d1c9f..5ef7c78 100644 --- a/libs/proto-messages/gen/sedachain/wasm_storage/v1/tx.ts +++ b/libs/proto-messages/gen/sedachain/wasm_storage/v1/tx.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/wasm_storage/v1/tx.proto diff --git a/libs/proto-messages/gen/sedachain/wasm_storage/v1/wasm_storage.ts b/libs/proto-messages/gen/sedachain/wasm_storage/v1/wasm_storage.ts index 31806c0..6594197 100644 --- a/libs/proto-messages/gen/sedachain/wasm_storage/v1/wasm_storage.ts +++ b/libs/proto-messages/gen/sedachain/wasm_storage/v1/wasm_storage.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: sedachain/wasm_storage/v1/wasm_storage.proto diff --git a/libs/proto-messages/gen/tendermint/abci/types.ts b/libs/proto-messages/gen/tendermint/abci/types.ts index 170d663..9314cd2 100644 --- a/libs/proto-messages/gen/tendermint/abci/types.ts +++ b/libs/proto-messages/gen/tendermint/abci/types.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: tendermint/abci/types.proto diff --git a/libs/proto-messages/gen/tendermint/crypto/keys.ts b/libs/proto-messages/gen/tendermint/crypto/keys.ts index 766ce12..16b1eef 100644 --- a/libs/proto-messages/gen/tendermint/crypto/keys.ts +++ b/libs/proto-messages/gen/tendermint/crypto/keys.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: tendermint/crypto/keys.proto diff --git a/libs/proto-messages/gen/tendermint/crypto/proof.ts b/libs/proto-messages/gen/tendermint/crypto/proof.ts index 6b1602e..6b0ed36 100644 --- a/libs/proto-messages/gen/tendermint/crypto/proof.ts +++ b/libs/proto-messages/gen/tendermint/crypto/proof.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: tendermint/crypto/proof.proto diff --git a/libs/proto-messages/gen/tendermint/types/params.ts b/libs/proto-messages/gen/tendermint/types/params.ts index 489b10b..e002e3a 100644 --- a/libs/proto-messages/gen/tendermint/types/params.ts +++ b/libs/proto-messages/gen/tendermint/types/params.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: tendermint/types/params.proto diff --git a/libs/proto-messages/gen/tendermint/types/types.ts b/libs/proto-messages/gen/tendermint/types/types.ts index de576cd..72f3577 100644 --- a/libs/proto-messages/gen/tendermint/types/types.ts +++ b/libs/proto-messages/gen/tendermint/types/types.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: tendermint/types/types.proto diff --git a/libs/proto-messages/gen/tendermint/types/validator.ts b/libs/proto-messages/gen/tendermint/types/validator.ts index a5d21ec..946752a 100644 --- a/libs/proto-messages/gen/tendermint/types/validator.ts +++ b/libs/proto-messages/gen/tendermint/types/validator.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: tendermint/types/validator.proto diff --git a/libs/proto-messages/gen/tendermint/version/types.ts b/libs/proto-messages/gen/tendermint/version/types.ts index d0bb841..63030ca 100644 --- a/libs/proto-messages/gen/tendermint/version/types.ts +++ b/libs/proto-messages/gen/tendermint/version/types.ts @@ -1,6 +1,6 @@ // Code generated by protoc-gen-ts_proto. DO NOT EDIT. // versions: -// protoc-gen-ts_proto v1.178.0 +// protoc-gen-ts_proto v1.181.2 // protoc unknown // source: tendermint/version/types.proto diff --git a/libs/proto-messages/package.json b/libs/proto-messages/package.json index e01d275..9cbe86d 100644 --- a/libs/proto-messages/package.json +++ b/libs/proto-messages/package.json @@ -6,6 +6,9 @@ "build": "bunx buf generate", "prepublish": "bun run build" }, + "devDependencies": { + "ts-proto": "^1.181.2" + }, "dependencies": { "protobufjs": "^7.4.0" }, diff --git a/libs/proto-messages/proto/buf.gen.yaml b/libs/proto-messages/proto/buf.gen.yaml index e767007..04ccd5e 100644 --- a/libs/proto-messages/proto/buf.gen.yaml +++ b/libs/proto-messages/proto/buf.gen.yaml @@ -3,7 +3,9 @@ version: v1 managed: enabled: true plugins: - - plugin: buf.build/community/stephenh-ts-proto + - name: ts + path: ../../../node_modules/ts-proto/protoc-gen-ts_proto + strategy: all out: ../gen/ opt: - esModuleInterop=true diff --git a/package.json b/package.json index 3ad2ef3..4d7351c 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,7 @@ "@as-pect/cli": "^8.1.0", "@assemblyscript/wasi-shim": "^0.1.0", "@biomejs/biome": "1.8.3", - "@bufbuild/buf": "^1.26.1", + "@bufbuild/buf": "1.26.1", "@nx/esbuild": "19.3.0", "@nx/js": "19.3.0", "@nx/workspace": "19.3.0", @@ -38,15 +38,16 @@ "esbuild": "0.19.9", "nx": "19.3.0", "ts-node": "10.9.1", + "ts-proto": "^1.181.2", "typedoc": "^0.25.3", "typescript": "5.4.5" }, "dependencies": { - "@cosmjs/cli": "^0.32.3", - "@cosmjs/cosmwasm-stargate": "^0.32.3", - "@cosmjs/crypto": "^0.32.3", - "@cosmjs/proto-signing": "^0.32.3", - "@cosmjs/stargate": "^0.32.3", + "@cosmjs/cli": "^0.32.4", + "@cosmjs/cosmwasm-stargate": "^0.32.4", + "@cosmjs/crypto": "^0.32.4", + "@cosmjs/proto-signing": "^0.32.4", + "@cosmjs/stargate": "^0.32.4", "@types/node-gzip": "^1.1.1", "@wasmer/wasi": "^1.2.2", "big.js": "^6.2.1", @@ -60,7 +61,7 @@ "node-fetch": "^3.3.2", "node-gzip": "^1.1.2", "ora": "^7.0.1", - "protobufjs": "^7.2.5", + "protobufjs": "7.2.5", "true-myth": "^7.3.0", "tslib": "^2.3.0", "valibot": "^0.35.0",