@stashfin/grpc 1.2.532 → 1.2.533
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/package.json
CHANGED
|
@@ -401,7 +401,7 @@ exports.Data = {
|
|
|
401
401
|
exports.Transactions.encode(v, writer.uint32(10).fork()).ldelim();
|
|
402
402
|
}
|
|
403
403
|
if (message.count !== undefined) {
|
|
404
|
-
writer.uint32(
|
|
404
|
+
writer.uint32(16).int32(message.count);
|
|
405
405
|
}
|
|
406
406
|
return writer;
|
|
407
407
|
},
|
|
@@ -419,10 +419,10 @@ exports.Data = {
|
|
|
419
419
|
message.transactions.push(exports.Transactions.decode(reader, reader.uint32()));
|
|
420
420
|
continue;
|
|
421
421
|
case 2:
|
|
422
|
-
if (tag !==
|
|
422
|
+
if (tag !== 16) {
|
|
423
423
|
break;
|
|
424
424
|
}
|
|
425
|
-
message.count = reader.
|
|
425
|
+
message.count = reader.int32();
|
|
426
426
|
continue;
|
|
427
427
|
}
|
|
428
428
|
if ((tag & 7) === 4 || tag === 0) {
|
|
@@ -437,7 +437,7 @@ exports.Data = {
|
|
|
437
437
|
transactions: globalThis.Array.isArray(object?.transactions)
|
|
438
438
|
? object.transactions.map((e) => exports.Transactions.fromJSON(e))
|
|
439
439
|
: [],
|
|
440
|
-
count: isSet(object.count) ? globalThis.
|
|
440
|
+
count: isSet(object.count) ? globalThis.Number(object.count) : undefined,
|
|
441
441
|
};
|
|
442
442
|
},
|
|
443
443
|
toJSON(message) {
|
|
@@ -446,7 +446,7 @@ exports.Data = {
|
|
|
446
446
|
obj.transactions = message.transactions.map((e) => exports.Transactions.toJSON(e));
|
|
447
447
|
}
|
|
448
448
|
if (message.count !== undefined) {
|
|
449
|
-
obj.count = message.count;
|
|
449
|
+
obj.count = Math.round(message.count);
|
|
450
450
|
}
|
|
451
451
|
return obj;
|
|
452
452
|
},
|