@xmtp/proto
Advanced tools
Comparing version 3.72.1 to 3.72.2
{ | ||
"name": "@xmtp/proto", | ||
"version": "3.72.1", | ||
"version": "3.72.2", | ||
"description": "Protobuf client and generated classes for GRPC API", | ||
@@ -5,0 +5,0 @@ "main": "./ts/dist/cjs/node.js", |
@@ -163,2 +163,3 @@ "use strict"; | ||
installationId: new Uint8Array(), | ||
inboxId: new Uint8Array(), | ||
}; | ||
@@ -183,2 +184,5 @@ } | ||
} | ||
if (message.inboxId.length !== 0) { | ||
writer.uint32(50).bytes(message.inboxId); | ||
} | ||
return writer; | ||
@@ -208,2 +212,5 @@ }, | ||
break; | ||
case 6: | ||
message.inboxId = reader.bytes(); | ||
break; | ||
default: | ||
@@ -233,2 +240,5 @@ reader.skipType(tag & 7); | ||
: new Uint8Array(), | ||
inboxId: isSet(object.inboxId) | ||
? bytesFromBase64(object.inboxId) | ||
: new Uint8Array(), | ||
}; | ||
@@ -256,6 +266,8 @@ }, | ||
: new Uint8Array())); | ||
message.inboxId !== undefined && | ||
(obj.inboxId = base64FromBytes(message.inboxId !== undefined ? message.inboxId : new Uint8Array())); | ||
return obj; | ||
}, | ||
fromPartial(object) { | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d; | ||
const message = createBaseFrameAction(); | ||
@@ -275,2 +287,3 @@ message.signature = | ||
message.installationId = (_c = object.installationId) !== null && _c !== void 0 ? _c : new Uint8Array(); | ||
message.inboxId = (_d = object.inboxId) !== null && _d !== void 0 ? _d : new Uint8Array(); | ||
return message; | ||
@@ -277,0 +290,0 @@ }, |
@@ -157,2 +157,3 @@ /* eslint-disable */ | ||
installationId: new Uint8Array(), | ||
inboxId: new Uint8Array(), | ||
}; | ||
@@ -177,2 +178,5 @@ } | ||
} | ||
if (message.inboxId.length !== 0) { | ||
writer.uint32(50).bytes(message.inboxId); | ||
} | ||
return writer; | ||
@@ -202,2 +206,5 @@ }, | ||
break; | ||
case 6: | ||
message.inboxId = reader.bytes(); | ||
break; | ||
default: | ||
@@ -227,2 +234,5 @@ reader.skipType(tag & 7); | ||
: new Uint8Array(), | ||
inboxId: isSet(object.inboxId) | ||
? bytesFromBase64(object.inboxId) | ||
: new Uint8Array(), | ||
}; | ||
@@ -250,6 +260,8 @@ }, | ||
: new Uint8Array())); | ||
message.inboxId !== undefined && | ||
(obj.inboxId = base64FromBytes(message.inboxId !== undefined ? message.inboxId : new Uint8Array())); | ||
return obj; | ||
}, | ||
fromPartial(object) { | ||
var _a, _b, _c; | ||
var _a, _b, _c, _d; | ||
const message = createBaseFrameAction(); | ||
@@ -269,2 +281,3 @@ message.signature = | ||
message.installationId = (_c = object.installationId) !== null && _c !== void 0 ? _c : new Uint8Array(); | ||
message.inboxId = (_d = object.inboxId) !== null && _d !== void 0 ? _d : new Uint8Array(); | ||
return message; | ||
@@ -271,0 +284,0 @@ }, |
@@ -64,2 +64,4 @@ import Long from "long"; | ||
installationId: Uint8Array; | ||
/** The inbox id of the installation used to sign. */ | ||
inboxId: Uint8Array; | ||
} | ||
@@ -211,2 +213,3 @@ export declare const FrameActionBody: { | ||
installationId?: Uint8Array | undefined; | ||
inboxId?: Uint8Array | undefined; | ||
} & { | ||
@@ -350,2 +353,3 @@ signature?: ({ | ||
installationId?: Uint8Array | undefined; | ||
inboxId?: Uint8Array | undefined; | ||
} & { [K_12 in Exclude<keyof I, keyof FrameAction>]: never; }>(object: I): FrameAction; | ||
@@ -352,0 +356,0 @@ }; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
12492752
110761