@blueid/access-proto 2.34.0 → 2.36.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/BlueSDK.proto CHANGED
@@ -193,7 +193,7 @@ message BlueIdentity {
193
193
  required int32 siteId = 10;
194
194
  optional string siteName = 11;
195
195
  optional bytes privateKey = 12;
196
- required string status = 13;
196
+ optional string status = 13;
197
197
  }
198
198
 
199
199
  message BlueIdentitiesList {
@@ -559,9 +559,9 @@ export declare class BlueIdentity extends Message<BlueIdentity> {
559
559
  privateKey?: Uint8Array;
560
560
 
561
561
  /**
562
- * @generated from field: required string status = 13;
562
+ * @generated from field: optional string status = 13;
563
563
  */
564
- status: string;
564
+ status?: string;
565
565
 
566
566
  constructor(data?: PartialMessage<BlueIdentity>);
567
567
 
package/cjs/BlueSDK_pb.js CHANGED
@@ -225,13 +225,7 @@ const BlueIdentity = import_protobuf.proto2.makeMessageType(
225
225
  },
226
226
  { no: 11, name: "siteName", kind: "scalar", T: 9, opt: true },
227
227
  { no: 12, name: "privateKey", kind: "scalar", T: 12, opt: true },
228
- {
229
- no: 13,
230
- name: "status",
231
- kind: "scalar",
232
- T: 9
233
- /* ScalarType.STRING */
234
- }
228
+ { no: 13, name: "status", kind: "scalar", T: 9, opt: true }
235
229
  ]
236
230
  );
237
231
  const BlueIdentitiesList = import_protobuf.proto2.makeMessageType(
@@ -559,9 +559,9 @@ export declare class BlueIdentity extends Message<BlueIdentity> {
559
559
  privateKey?: Uint8Array;
560
560
 
561
561
  /**
562
- * @generated from field: required string status = 13;
562
+ * @generated from field: optional string status = 13;
563
563
  */
564
- status: string;
564
+ status?: string;
565
565
 
566
566
  constructor(data?: PartialMessage<BlueIdentity>);
567
567
 
package/es/BlueSDK_pb.js CHANGED
@@ -157,7 +157,7 @@ export const BlueIdentity = proto2.makeMessageType(
157
157
  { no: 10, name: "siteId", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
158
158
  { no: 11, name: "siteName", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
159
159
  { no: 12, name: "privateKey", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
160
- { no: 13, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
160
+ { no: 13, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
161
161
  ],
162
162
  );
163
163
 
@@ -615,7 +615,7 @@ X(a, CALLBACK, OPTIONAL, STRING, organizationName, 9) \
615
615
  X(a, STATIC, REQUIRED, INT32, siteId, 10) \
616
616
  X(a, CALLBACK, OPTIONAL, STRING, siteName, 11) \
617
617
  X(a, CALLBACK, OPTIONAL, BYTES, privateKey, 12) \
618
- X(a, CALLBACK, REQUIRED, STRING, status, 13)
618
+ X(a, CALLBACK, OPTIONAL, STRING, status, 13)
619
619
  #define BLUEIDENTITY_CALLBACK pb_default_field_callback
620
620
  #define BLUEIDENTITY_DEFAULT (const pb_byte_t*)"\x10\x01\x00"
621
621
  #define BlueIdentity_t_validFrom_MSGTYPE BlueLocalTimestamp_t
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "2.34.0",
3
+ "version": "2.36.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -2587,7 +2587,6 @@ extension BlueIdentity: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementat
2587
2587
  if _storage._role == nil {return false}
2588
2588
  if _storage._organization == nil {return false}
2589
2589
  if _storage._siteID == nil {return false}
2590
- if _storage._status == nil {return false}
2591
2590
  if let v = _storage._validFrom, !v.isInitialized {return false}
2592
2591
  if let v = _storage._validTo, !v.isInitialized {return false}
2593
2592
  return true