@blueid/access-proto 12.3.0 → 12.5.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/BlueCore.proto CHANGED
@@ -513,7 +513,7 @@ message BlueSPTokenCommand {
513
513
  required BlueLocalTimestamp validityEnd = 3;
514
514
  required string command = 4 [ (nanopb).max_length = 8 ];
515
515
  required bytes data = 5
516
- [ (nanopb).max_size = 1792 ]; // we'll add 256b for add. data
516
+ [ (nanopb).max_size = 8216 ]; // we'll add 256b for add. data. The normal data for UUZ device would be 1792 however Nexus device will use 8216 buffer
517
517
  }
518
518
 
519
519
  message BlueSPToken {
@@ -1658,7 +1658,7 @@ export declare class BlueSPTokenCommand extends Message<BlueSPTokenCommand> {
1658
1658
  command: string;
1659
1659
 
1660
1660
  /**
1661
- * we'll add 256b for add. data
1661
+ * we'll add 256b for add. data. The normal data for UUZ device would be 1792 however Nexus device will use 8216 buffer
1662
1662
  *
1663
1663
  * @generated from field: required bytes data = 5;
1664
1664
  */
@@ -1658,7 +1658,7 @@ export declare class BlueSPTokenCommand extends Message<BlueSPTokenCommand> {
1658
1658
  command: string;
1659
1659
 
1660
1660
  /**
1661
- * we'll add 256b for add. data
1661
+ * we'll add 256b for add. data. The normal data for UUZ device would be 1792 however Nexus device will use 8216 buffer
1662
1662
  *
1663
1663
  * @generated from field: required bytes data = 5;
1664
1664
  */
@@ -42,10 +42,10 @@ PB_BIND(BLUESPHANDSHAKE, BlueSPHandshake_t, AUTO)
42
42
  PB_BIND(BLUESPHANDSHAKEREPLY, BlueSPHandshakeReply_t, AUTO)
43
43
 
44
44
 
45
- PB_BIND(BLUESPTOKENCOMMAND, BlueSPTokenCommand_t, 2)
45
+ PB_BIND(BLUESPTOKENCOMMAND, BlueSPTokenCommand_t, 4)
46
46
 
47
47
 
48
- PB_BIND(BLUESPTOKEN, BlueSPToken_t, 2)
48
+ PB_BIND(BLUESPTOKEN, BlueSPToken_t, 4)
49
49
 
50
50
 
51
51
  PB_BIND(BLUESPRESULT, BlueSPResult_t, 2)
@@ -394,13 +394,13 @@ typedef struct BlueSPHandshakeReply {
394
394
  BlueSPHandshakeReply_terminalSignature_t terminalSignature;
395
395
  } BlueSPHandshakeReply_t;
396
396
 
397
- typedef PB_BYTES_ARRAY_T(1792) BlueSPTokenCommand_data_t;
397
+ typedef PB_BYTES_ARRAY_T(8216) BlueSPTokenCommand_data_t;
398
398
  typedef struct BlueSPTokenCommand {
399
399
  BlueCredentialId_t credentialId;
400
400
  BlueLocalTimestamp_t validityStart;
401
401
  BlueLocalTimestamp_t validityEnd;
402
402
  char command[9];
403
- BlueSPTokenCommand_data_t data; /* we'll add 256b for add. data */
403
+ BlueSPTokenCommand_data_t data; /* we'll add 256b for add. data. The normal data for UUZ device would be 1792 however Nexus device will use 8216 buffer */
404
404
  } BlueSPTokenCommand_t;
405
405
 
406
406
  typedef PB_BYTES_ARRAY_T(1792) BlueSPResult_data_t;
@@ -1843,8 +1843,8 @@ extern const pb_msgdesc_t _BlueTestEncodeDecode_t_msg;
1843
1843
  #define BLUESPHANDSHAKEREPLY_SIZE 94
1844
1844
  #define BLUESPHANDSHAKE_SIZE 18
1845
1845
  #define BLUESPRESULT_SIZE 1795
1846
- #define BLUESPTOKENCOMMAND_SIZE 1861
1847
- #define BLUESPTOKEN_SIZE 1940
1846
+ #define BLUESPTOKENCOMMAND_SIZE 8285
1847
+ #define BLUESPTOKEN_SIZE 8364
1848
1848
  #define BLUEVERSIONINFO_SIZE 14
1849
1849
  #define _BLUETESTENCODEDECODE_SIZE 90
1850
1850
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@blueid/access-proto",
3
- "version": "12.3.0",
3
+ "version": "12.5.0",
4
4
  "description": "BlueID Access Proto files",
5
5
  "author": "BlueID GmbH",
6
6
  "main": "cjs/index.js",
@@ -1048,7 +1048,7 @@ public struct BlueSPTokenCommand: Sendable {
1048
1048
  /// Clears the value of `command`. Subsequent reads from it will return its default value.
1049
1049
  public mutating func clearCommand() {self._command = nil}
1050
1050
 
1051
- /// we'll add 256b for add. data
1051
+ /// we'll add 256b for add. data. The normal data for UUZ device would be 1792 however Nexus device will use 8216 buffer
1052
1052
  public var data: Data {
1053
1053
  get {return _data ?? Data()}
1054
1054
  set {_data = newValue}