@miradorlabs/web-grpc 2.45.0 → 2.49.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.
@@ -13,13 +13,7 @@
13
13
 
14
14
  var jspb = require('google-protobuf');
15
15
  var goog = jspb;
16
- var global =
17
- (typeof globalThis !== 'undefined' && globalThis) ||
18
- (typeof window !== 'undefined' && window) ||
19
- (typeof global !== 'undefined' && global) ||
20
- (typeof self !== 'undefined' && self) ||
21
- (function () { return this; }).call(null) ||
22
- Function('return this')();
16
+ var global = globalThis;
23
17
 
24
18
  goog.exportSymbol('proto.gateway.web.v1.AttributeArray', null, global);
25
19
  goog.exportSymbol('proto.gateway.web.v1.AttributeKeyValue', null, global);
@@ -192,7 +186,7 @@ kvlistValue: (f = msg.getKvlistValue()) && proto.gateway.web.v1.AttributeKeyValu
192
186
 
193
187
  /**
194
188
  * Deserializes binary data (in protobuf wire format).
195
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
189
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
196
190
  * @return {!proto.gateway.web.v1.AttributeValue}
197
191
  */
198
192
  proto.gateway.web.v1.AttributeValue.deserializeBinary = function(bytes) {
@@ -217,7 +211,7 @@ proto.gateway.web.v1.AttributeValue.deserializeBinaryFromReader = function(msg,
217
211
  var field = reader.getFieldNumber();
218
212
  switch (field) {
219
213
  case 1:
220
- var value = /** @type {string} */ (reader.readString());
214
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
221
215
  msg.setStringValue(value);
222
216
  break;
223
217
  case 2:
@@ -660,7 +654,7 @@ valuesList: jspb.Message.toObjectList(msg.getValuesList(),
660
654
 
661
655
  /**
662
656
  * Deserializes binary data (in protobuf wire format).
663
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
657
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
664
658
  * @return {!proto.gateway.web.v1.AttributeArray}
665
659
  */
666
660
  proto.gateway.web.v1.AttributeArray.deserializeBinary = function(bytes) {
@@ -813,7 +807,7 @@ value: (f = msg.getValue()) && proto.gateway.web.v1.AttributeValue.toObject(incl
813
807
 
814
808
  /**
815
809
  * Deserializes binary data (in protobuf wire format).
816
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
810
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
817
811
  * @return {!proto.gateway.web.v1.AttributeKeyValue}
818
812
  */
819
813
  proto.gateway.web.v1.AttributeKeyValue.deserializeBinary = function(bytes) {
@@ -838,7 +832,7 @@ proto.gateway.web.v1.AttributeKeyValue.deserializeBinaryFromReader = function(ms
838
832
  var field = reader.getFieldNumber();
839
833
  switch (field) {
840
834
  case 1:
841
- var value = /** @type {string} */ (reader.readString());
835
+ var value = /** @type {string} */ (reader.readStringRequireUtf8());
842
836
  msg.setKey(value);
843
837
  break;
844
838
  case 2:
@@ -1001,7 +995,7 @@ valuesList: jspb.Message.toObjectList(msg.getValuesList(),
1001
995
 
1002
996
  /**
1003
997
  * Deserializes binary data (in protobuf wire format).
1004
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
998
+ * @param {jspb.binary.bytesource.ByteSource} bytes The bytes to deserialize.
1005
999
  * @return {!proto.gateway.web.v1.AttributeKeyValueList}
1006
1000
  */
1007
1001
  proto.gateway.web.v1.AttributeKeyValueList.deserializeBinary = function(bytes) {