@xmtp/proto
Advanced tools
Comparing version
{ | ||
"name": "@xmtp/proto", | ||
"version": "3.72.2", | ||
"version": "3.72.3", | ||
"description": "Protobuf client and generated classes for GRPC API", | ||
@@ -5,0 +5,0 @@ "main": "./ts/dist/cjs/node.js", |
@@ -163,3 +163,3 @@ "use strict"; | ||
installationId: new Uint8Array(), | ||
inboxId: new Uint8Array(), | ||
inboxId: "", | ||
}; | ||
@@ -184,4 +184,4 @@ } | ||
} | ||
if (message.inboxId.length !== 0) { | ||
writer.uint32(50).bytes(message.inboxId); | ||
if (message.inboxId !== "") { | ||
writer.uint32(50).string(message.inboxId); | ||
} | ||
@@ -213,3 +213,3 @@ return writer; | ||
case 6: | ||
message.inboxId = reader.bytes(); | ||
message.inboxId = reader.string(); | ||
break; | ||
@@ -240,5 +240,3 @@ default: | ||
: new Uint8Array(), | ||
inboxId: isSet(object.inboxId) | ||
? bytesFromBase64(object.inboxId) | ||
: new Uint8Array(), | ||
inboxId: isSet(object.inboxId) ? String(object.inboxId) : "", | ||
}; | ||
@@ -266,4 +264,3 @@ }, | ||
: new Uint8Array())); | ||
message.inboxId !== undefined && | ||
(obj.inboxId = base64FromBytes(message.inboxId !== undefined ? message.inboxId : new Uint8Array())); | ||
message.inboxId !== undefined && (obj.inboxId = message.inboxId); | ||
return obj; | ||
@@ -287,3 +284,3 @@ }, | ||
message.installationId = (_c = object.installationId) !== null && _c !== void 0 ? _c : new Uint8Array(); | ||
message.inboxId = (_d = object.inboxId) !== null && _d !== void 0 ? _d : new Uint8Array(); | ||
message.inboxId = (_d = object.inboxId) !== null && _d !== void 0 ? _d : ""; | ||
return message; | ||
@@ -290,0 +287,0 @@ }, |
@@ -157,3 +157,3 @@ /* eslint-disable */ | ||
installationId: new Uint8Array(), | ||
inboxId: new Uint8Array(), | ||
inboxId: "", | ||
}; | ||
@@ -178,4 +178,4 @@ } | ||
} | ||
if (message.inboxId.length !== 0) { | ||
writer.uint32(50).bytes(message.inboxId); | ||
if (message.inboxId !== "") { | ||
writer.uint32(50).string(message.inboxId); | ||
} | ||
@@ -207,3 +207,3 @@ return writer; | ||
case 6: | ||
message.inboxId = reader.bytes(); | ||
message.inboxId = reader.string(); | ||
break; | ||
@@ -234,5 +234,3 @@ default: | ||
: new Uint8Array(), | ||
inboxId: isSet(object.inboxId) | ||
? bytesFromBase64(object.inboxId) | ||
: new Uint8Array(), | ||
inboxId: isSet(object.inboxId) ? String(object.inboxId) : "", | ||
}; | ||
@@ -260,4 +258,3 @@ }, | ||
: new Uint8Array())); | ||
message.inboxId !== undefined && | ||
(obj.inboxId = base64FromBytes(message.inboxId !== undefined ? message.inboxId : new Uint8Array())); | ||
message.inboxId !== undefined && (obj.inboxId = message.inboxId); | ||
return obj; | ||
@@ -281,3 +278,3 @@ }, | ||
message.installationId = (_c = object.installationId) !== null && _c !== void 0 ? _c : new Uint8Array(); | ||
message.inboxId = (_d = object.inboxId) !== null && _d !== void 0 ? _d : new Uint8Array(); | ||
message.inboxId = (_d = object.inboxId) !== null && _d !== void 0 ? _d : ""; | ||
return message; | ||
@@ -284,0 +281,0 @@ }, |
@@ -65,3 +65,3 @@ import Long from "long"; | ||
/** The inbox id of the installation used to sign. */ | ||
inboxId: Uint8Array; | ||
inboxId: string; | ||
} | ||
@@ -213,3 +213,3 @@ export declare const FrameActionBody: { | ||
installationId?: Uint8Array | undefined; | ||
inboxId?: Uint8Array | undefined; | ||
inboxId?: string | undefined; | ||
} & { | ||
@@ -353,3 +353,3 @@ signature?: ({ | ||
installationId?: Uint8Array | undefined; | ||
inboxId?: Uint8Array | undefined; | ||
inboxId?: string | undefined; | ||
} & { [K_12 in Exclude<keyof I, keyof FrameAction>]: never; }>(object: I): FrameAction; | ||
@@ -356,0 +356,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
12492142
0110755
-0.01%