@xmtp/proto
Advanced tools
Comparing version 3.70.1 to 3.70.2
{ | ||
"name": "@xmtp/proto", | ||
"version": "3.70.1", | ||
"version": "3.70.2", | ||
"description": "Protobuf client and generated classes for GRPC API", | ||
@@ -5,0 +5,0 @@ "main": "./ts/dist/cjs/node.js", |
@@ -75,3 +75,3 @@ "use strict"; | ||
addedByEntity: undefined, | ||
serverTimestampNs: undefined, | ||
clientTimestampNs: undefined, | ||
}; | ||
@@ -87,4 +87,4 @@ } | ||
} | ||
if (message.serverTimestampNs !== undefined) { | ||
writer.uint32(24).uint64(message.serverTimestampNs); | ||
if (message.clientTimestampNs !== undefined) { | ||
writer.uint32(24).uint64(message.clientTimestampNs); | ||
} | ||
@@ -107,3 +107,3 @@ return writer; | ||
case 3: | ||
message.serverTimestampNs = reader.uint64(); | ||
message.clientTimestampNs = reader.uint64(); | ||
break; | ||
@@ -125,4 +125,4 @@ default: | ||
: undefined, | ||
serverTimestampNs: isSet(object.serverTimestampNs) | ||
? long_1.default.fromValue(object.serverTimestampNs) | ||
clientTimestampNs: isSet(object.clientTimestampNs) | ||
? long_1.default.fromValue(object.clientTimestampNs) | ||
: undefined, | ||
@@ -141,4 +141,4 @@ }; | ||
: undefined); | ||
message.serverTimestampNs !== undefined && | ||
(obj.serverTimestampNs = (message.serverTimestampNs || undefined).toString()); | ||
message.clientTimestampNs !== undefined && | ||
(obj.clientTimestampNs = (message.clientTimestampNs || undefined).toString()); | ||
return obj; | ||
@@ -156,6 +156,6 @@ }, | ||
: undefined; | ||
message.serverTimestampNs = | ||
object.serverTimestampNs !== undefined && | ||
object.serverTimestampNs !== null | ||
? long_1.default.fromValue(object.serverTimestampNs) | ||
message.clientTimestampNs = | ||
object.clientTimestampNs !== undefined && | ||
object.clientTimestampNs !== null | ||
? long_1.default.fromValue(object.clientTimestampNs) | ||
: undefined; | ||
@@ -162,0 +162,0 @@ return message; |
@@ -69,3 +69,3 @@ /* eslint-disable */ | ||
addedByEntity: undefined, | ||
serverTimestampNs: undefined, | ||
clientTimestampNs: undefined, | ||
}; | ||
@@ -81,4 +81,4 @@ } | ||
} | ||
if (message.serverTimestampNs !== undefined) { | ||
writer.uint32(24).uint64(message.serverTimestampNs); | ||
if (message.clientTimestampNs !== undefined) { | ||
writer.uint32(24).uint64(message.clientTimestampNs); | ||
} | ||
@@ -101,3 +101,3 @@ return writer; | ||
case 3: | ||
message.serverTimestampNs = reader.uint64(); | ||
message.clientTimestampNs = reader.uint64(); | ||
break; | ||
@@ -119,4 +119,4 @@ default: | ||
: undefined, | ||
serverTimestampNs: isSet(object.serverTimestampNs) | ||
? Long.fromValue(object.serverTimestampNs) | ||
clientTimestampNs: isSet(object.clientTimestampNs) | ||
? Long.fromValue(object.clientTimestampNs) | ||
: undefined, | ||
@@ -135,4 +135,4 @@ }; | ||
: undefined); | ||
message.serverTimestampNs !== undefined && | ||
(obj.serverTimestampNs = (message.serverTimestampNs || undefined).toString()); | ||
message.clientTimestampNs !== undefined && | ||
(obj.clientTimestampNs = (message.clientTimestampNs || undefined).toString()); | ||
return obj; | ||
@@ -150,6 +150,6 @@ }, | ||
: undefined; | ||
message.serverTimestampNs = | ||
object.serverTimestampNs !== undefined && | ||
object.serverTimestampNs !== null | ||
? Long.fromValue(object.serverTimestampNs) | ||
message.clientTimestampNs = | ||
object.clientTimestampNs !== undefined && | ||
object.clientTimestampNs !== null | ||
? Long.fromValue(object.clientTimestampNs) | ||
: undefined; | ||
@@ -156,0 +156,0 @@ return message; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display