@structured-id/proto 0.6.0 → 0.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.8.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.7.0...typescript-proto-v0.8.0) (2026-11-02)
4
+
5
+
6
+ ### Features
7
+
8
+ * **proto:** the closed registration reason and setting ([#38](https://github.com/structured-id/sdk/issues/38)) ([87862e1](https://github.com/structured-id/sdk/commit/87862e1db8b1e3dacc7092d6322bd62954e98793)), closes [#37](https://github.com/structured-id/sdk/issues/37)
9
+
10
+ ## [0.7.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.6.0...typescript-proto-v0.7.0) (2026-10-28)
11
+
12
+
13
+ ### Features
14
+
15
+ * **proto:** the second factor a sign-in owes ([#34](https://github.com/structured-id/sdk/issues/34)) ([4805514](https://github.com/structured-id/sdk/commit/480551474e62be3e2526ead6680c3cb2eec47fa1)), closes [#33](https://github.com/structured-id/sdk/issues/33)
16
+
3
17
  ## [0.6.0](https://github.com/structured-id/sdk/compare/typescript-proto-v0.5.0...typescript-proto-v0.6.0) (2026-10-25)
4
18
 
5
19
 
@@ -1594,6 +1594,10 @@ export interface FeatureSet {
1594
1594
  * @generated from protobuf field: optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8
1595
1595
  */
1596
1596
  defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
1597
+ /**
1598
+ * @generated from protobuf field: optional google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits enforce_proto_limits = 9
1599
+ */
1600
+ enforceProtoLimits?: FeatureSet_ProtoLimitsFeature_EnforceProtoLimits;
1597
1601
  }
1598
1602
  /**
1599
1603
  * @generated from protobuf message google.protobuf.FeatureSet.VisibilityFeature
@@ -1635,6 +1639,36 @@ export declare enum FeatureSet_VisibilityFeature_DefaultSymbolVisibility {
1635
1639
  */
1636
1640
  STRICT = 4
1637
1641
  }
1642
+ /**
1643
+ * @generated from protobuf message google.protobuf.FeatureSet.ProtoLimitsFeature
1644
+ */
1645
+ export interface FeatureSet_ProtoLimitsFeature {
1646
+ }
1647
+ /**
1648
+ * @generated from protobuf enum google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits
1649
+ */
1650
+ export declare enum FeatureSet_ProtoLimitsFeature_EnforceProtoLimits {
1651
+ /**
1652
+ * @generated from protobuf enum value: PROTO_LIMITS_UNKNOWN = 0;
1653
+ */
1654
+ PROTO_LIMITS_UNKNOWN = 0,
1655
+ /**
1656
+ * Default pre-EDITION_2026: there are no limit enforcement at the protoc
1657
+ * level. Practical limits still exist, but they will tend to fail while
1658
+ * compiling protoc-generated code, and these limits tend to be language
1659
+ * or toolchain specific.
1660
+ *
1661
+ * @generated from protobuf enum value: LEGACY_NO_EXPLICIT_LIMITS = 1;
1662
+ */
1663
+ LEGACY_NO_EXPLICIT_LIMITS = 1,
1664
+ /**
1665
+ * A set of limits enforced by Edition 2026 by default. For a detailed
1666
+ * list of all the limits please consult the Edition 2026 documentation.
1667
+ *
1668
+ * @generated from protobuf enum value: PROTO_LIMITS2026 = 2;
1669
+ */
1670
+ PROTO_LIMITS2026 = 2
1671
+ }
1638
1672
  /**
1639
1673
  * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
1640
1674
  */
@@ -1901,6 +1935,23 @@ export interface SourceCodeInfo_Location {
1901
1935
  * this path refers to the whole field declaration (from the beginning
1902
1936
  * of the label to the terminating semicolon).
1903
1937
  *
1938
+ * For options, the path refers to the interpreted option in the descriptor.
1939
+ * E.g., for a custom option `(my_opt) = "foo"` on a message using extension
1940
+ * number 10101, the path is:
1941
+ * [ 4, 3, 7, 10101 ]
1942
+ * refers to:
1943
+ * file.message_type(3) // 4, 3
1944
+ * .options() // 7
1945
+ * .my_opt() // 10101
1946
+ *
1947
+ * Sub-locations corresponding to the interpreted option's corresponding
1948
+ * `UninterpretedOption` are also appended to the interpreted option, which
1949
+ * deviates from the actual FileDescriptorProto path. E.g.:
1950
+ * [ 4, 3, 7, 10101, 2 ]
1951
+ * refers to the option name `(my_opt)`, and:
1952
+ * [ 4, 3, 7, 10101, 7 ]
1953
+ * refers to the "foo" string value of the option.
1954
+ *
1904
1955
  * @generated from protobuf field: repeated int32 path = 1 [packed = true]
1905
1956
  */
1906
1957
  path: number[];
@@ -2443,6 +2494,16 @@ declare class FeatureSet_VisibilityFeature$Type extends MessageType<FeatureSet_V
2443
2494
  * @generated MessageType for protobuf message google.protobuf.FeatureSet.VisibilityFeature
2444
2495
  */
2445
2496
  export declare const FeatureSet_VisibilityFeature: FeatureSet_VisibilityFeature$Type;
2497
+ declare class FeatureSet_ProtoLimitsFeature$Type extends MessageType<FeatureSet_ProtoLimitsFeature> {
2498
+ constructor();
2499
+ create(value?: PartialMessage<FeatureSet_ProtoLimitsFeature>): FeatureSet_ProtoLimitsFeature;
2500
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet_ProtoLimitsFeature): FeatureSet_ProtoLimitsFeature;
2501
+ internalBinaryWrite(message: FeatureSet_ProtoLimitsFeature, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2502
+ }
2503
+ /**
2504
+ * @generated MessageType for protobuf message google.protobuf.FeatureSet.ProtoLimitsFeature
2505
+ */
2506
+ export declare const FeatureSet_ProtoLimitsFeature: FeatureSet_ProtoLimitsFeature$Type;
2446
2507
  declare class FeatureSetDefaults$Type extends MessageType<FeatureSetDefaults> {
2447
2508
  constructor();
2448
2509
  create(value?: PartialMessage<FeatureSetDefaults>): FeatureSetDefaults;
@@ -368,6 +368,32 @@ export var FeatureSet_VisibilityFeature_DefaultSymbolVisibility;
368
368
  */
369
369
  FeatureSet_VisibilityFeature_DefaultSymbolVisibility[FeatureSet_VisibilityFeature_DefaultSymbolVisibility["STRICT"] = 4] = "STRICT";
370
370
  })(FeatureSet_VisibilityFeature_DefaultSymbolVisibility || (FeatureSet_VisibilityFeature_DefaultSymbolVisibility = {}));
371
+ /**
372
+ * @generated from protobuf enum google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits
373
+ */
374
+ export var FeatureSet_ProtoLimitsFeature_EnforceProtoLimits;
375
+ (function (FeatureSet_ProtoLimitsFeature_EnforceProtoLimits) {
376
+ /**
377
+ * @generated from protobuf enum value: PROTO_LIMITS_UNKNOWN = 0;
378
+ */
379
+ FeatureSet_ProtoLimitsFeature_EnforceProtoLimits[FeatureSet_ProtoLimitsFeature_EnforceProtoLimits["PROTO_LIMITS_UNKNOWN"] = 0] = "PROTO_LIMITS_UNKNOWN";
380
+ /**
381
+ * Default pre-EDITION_2026: there are no limit enforcement at the protoc
382
+ * level. Practical limits still exist, but they will tend to fail while
383
+ * compiling protoc-generated code, and these limits tend to be language
384
+ * or toolchain specific.
385
+ *
386
+ * @generated from protobuf enum value: LEGACY_NO_EXPLICIT_LIMITS = 1;
387
+ */
388
+ FeatureSet_ProtoLimitsFeature_EnforceProtoLimits[FeatureSet_ProtoLimitsFeature_EnforceProtoLimits["LEGACY_NO_EXPLICIT_LIMITS"] = 1] = "LEGACY_NO_EXPLICIT_LIMITS";
389
+ /**
390
+ * A set of limits enforced by Edition 2026 by default. For a detailed
391
+ * list of all the limits please consult the Edition 2026 documentation.
392
+ *
393
+ * @generated from protobuf enum value: PROTO_LIMITS2026 = 2;
394
+ */
395
+ FeatureSet_ProtoLimitsFeature_EnforceProtoLimits[FeatureSet_ProtoLimitsFeature_EnforceProtoLimits["PROTO_LIMITS2026"] = 2] = "PROTO_LIMITS2026";
396
+ })(FeatureSet_ProtoLimitsFeature_EnforceProtoLimits || (FeatureSet_ProtoLimitsFeature_EnforceProtoLimits = {}));
371
397
  /**
372
398
  * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
373
399
  */
@@ -2763,7 +2789,8 @@ class FeatureSet$Type extends MessageType {
2763
2789
  { no: 5, name: "message_encoding", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.MessageEncoding", FeatureSet_MessageEncoding] },
2764
2790
  { no: 6, name: "json_format", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.JsonFormat", FeatureSet_JsonFormat] },
2765
2791
  { no: 7, name: "enforce_naming_style", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.EnforceNamingStyle", FeatureSet_EnforceNamingStyle] },
2766
- { no: 8, name: "default_symbol_visibility", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", FeatureSet_VisibilityFeature_DefaultSymbolVisibility] }
2792
+ { no: 8, name: "default_symbol_visibility", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility", FeatureSet_VisibilityFeature_DefaultSymbolVisibility] },
2793
+ { no: 9, name: "enforce_proto_limits", kind: "enum", opt: true, T: () => ["google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits", FeatureSet_ProtoLimitsFeature_EnforceProtoLimits] }
2767
2794
  ]);
2768
2795
  }
2769
2796
  create(value) {
@@ -2801,6 +2828,9 @@ class FeatureSet$Type extends MessageType {
2801
2828
  case /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility */ 8:
2802
2829
  message.defaultSymbolVisibility = reader.int32();
2803
2830
  break;
2831
+ case /* optional google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits enforce_proto_limits */ 9:
2832
+ message.enforceProtoLimits = reader.int32();
2833
+ break;
2804
2834
  default:
2805
2835
  let u = options.readUnknownField;
2806
2836
  if (u === "throw")
@@ -2837,6 +2867,9 @@ class FeatureSet$Type extends MessageType {
2837
2867
  /* optional google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility default_symbol_visibility = 8; */
2838
2868
  if (message.defaultSymbolVisibility !== undefined)
2839
2869
  writer.tag(8, WireType.Varint).int32(message.defaultSymbolVisibility);
2870
+ /* optional google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits enforce_proto_limits = 9; */
2871
+ if (message.enforceProtoLimits !== undefined)
2872
+ writer.tag(9, WireType.Varint).int32(message.enforceProtoLimits);
2840
2873
  let u = options.writeUnknownFields;
2841
2874
  if (u !== false)
2842
2875
  (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
@@ -2886,6 +2919,44 @@ class FeatureSet_VisibilityFeature$Type extends MessageType {
2886
2919
  */
2887
2920
  export const FeatureSet_VisibilityFeature = new FeatureSet_VisibilityFeature$Type();
2888
2921
  // @generated message type with reflection information, may provide speed optimized methods
2922
+ class FeatureSet_ProtoLimitsFeature$Type extends MessageType {
2923
+ constructor() {
2924
+ super("google.protobuf.FeatureSet.ProtoLimitsFeature", []);
2925
+ }
2926
+ create(value) {
2927
+ const message = globalThis.Object.create((this.messagePrototype));
2928
+ if (value !== undefined)
2929
+ reflectionMergePartial(this, message, value);
2930
+ return message;
2931
+ }
2932
+ internalBinaryRead(reader, length, options, target) {
2933
+ let message = target ?? this.create(), end = reader.pos + length;
2934
+ while (reader.pos < end) {
2935
+ let [fieldNo, wireType] = reader.tag();
2936
+ switch (fieldNo) {
2937
+ default:
2938
+ let u = options.readUnknownField;
2939
+ if (u === "throw")
2940
+ throw new globalThis.Error(`Unknown field ${fieldNo} (wire type ${wireType}) for ${this.typeName}`);
2941
+ let d = reader.skip(wireType);
2942
+ if (u !== false)
2943
+ (u === true ? UnknownFieldHandler.onRead : u)(this.typeName, message, fieldNo, wireType, d);
2944
+ }
2945
+ }
2946
+ return message;
2947
+ }
2948
+ internalBinaryWrite(message, writer, options) {
2949
+ let u = options.writeUnknownFields;
2950
+ if (u !== false)
2951
+ (u == true ? UnknownFieldHandler.onWrite : u)(this.typeName, message, writer);
2952
+ return writer;
2953
+ }
2954
+ }
2955
+ /**
2956
+ * @generated MessageType for protobuf message google.protobuf.FeatureSet.ProtoLimitsFeature
2957
+ */
2958
+ export const FeatureSet_ProtoLimitsFeature = new FeatureSet_ProtoLimitsFeature$Type();
2959
+ // @generated message type with reflection information, may provide speed optimized methods
2889
2960
  class FeatureSetDefaults$Type extends MessageType {
2890
2961
  constructor() {
2891
2962
  super("google.protobuf.FeatureSetDefaults", [