exposure-keys 1.18.6 → 1.18.8

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/proto/export.js +5 -5
package/package.json CHANGED
@@ -2,12 +2,12 @@
2
2
  "author": "Florian Imdahl <git@ffflorian.de>",
3
3
  "dependencies": {
4
4
  "jszip": "3.10.1",
5
- "protobufjs": "8.6.5"
5
+ "protobufjs": "8.7.0"
6
6
  },
7
7
  "description": "Temporary Exposure Keys (TEK) library",
8
8
  "devDependencies": {
9
- "protobufjs-cli": "2.5.6",
10
- "tsx": "4.22.4",
9
+ "protobufjs-cli": "2.6.0",
10
+ "tsx": "4.23.0",
11
11
  "typescript": "6.0.3"
12
12
  },
13
13
  "engines": {
@@ -48,5 +48,5 @@
48
48
  "test": "vitest run"
49
49
  },
50
50
  "type": "module",
51
- "version": "1.18.6"
51
+ "version": "1.18.8"
52
52
  }
package/proto/export.js CHANGED
@@ -188,7 +188,7 @@ $root.TemporaryExposureKeyExport = (function() {
188
188
  * @returns {$protobuf.Writer} Writer
189
189
  */
190
190
  TemporaryExposureKeyExport.encodeDelimited = function(message, writer) {
191
- return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim();
191
+ return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
192
192
  };
193
193
 
194
194
  /**
@@ -656,7 +656,7 @@ $root.SignatureInfo = (function() {
656
656
  * @returns {$protobuf.Writer} Writer
657
657
  */
658
658
  SignatureInfo.encodeDelimited = function(message, writer) {
659
- return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim();
659
+ return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
660
660
  };
661
661
 
662
662
  /**
@@ -996,7 +996,7 @@ $root.TemporaryExposureKey = (function() {
996
996
  * @returns {$protobuf.Writer} Writer
997
997
  */
998
998
  TemporaryExposureKey.encodeDelimited = function(message, writer) {
999
- return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim();
999
+ return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
1000
1000
  };
1001
1001
 
1002
1002
  /**
@@ -1396,7 +1396,7 @@ $root.TEKSignatureList = (function() {
1396
1396
  * @returns {$protobuf.Writer} Writer
1397
1397
  */
1398
1398
  TEKSignatureList.encodeDelimited = function(message, writer) {
1399
- return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim();
1399
+ return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
1400
1400
  };
1401
1401
 
1402
1402
  /**
@@ -1704,7 +1704,7 @@ $root.TEKSignature = (function() {
1704
1704
  * @returns {$protobuf.Writer} Writer
1705
1705
  */
1706
1706
  TEKSignature.encodeDelimited = function(message, writer) {
1707
- return this.encode(message, writer && writer.len ? writer.fork() : writer).ldelim();
1707
+ return this.encode(message, (writer || $Writer.create()).fork()).ldelim();
1708
1708
  };
1709
1709
 
1710
1710
  /**