@xmtp/proto
Advanced tools
Comparing version 3.53.0 to 3.54.0
{ | ||
"name": "@xmtp/proto", | ||
"version": "3.53.0", | ||
"version": "3.54.0", | ||
"description": "Protobuf client and generated classes for GRPC API", | ||
@@ -5,0 +5,0 @@ "main": "./ts/dist/cjs/node.js", |
@@ -18,2 +18,3 @@ "use strict"; | ||
context: undefined, | ||
consentProofPayload: undefined, | ||
}; | ||
@@ -35,2 +36,5 @@ } | ||
} | ||
if (message.consentProofPayload !== undefined) { | ||
invitation_pb_1.ConsentProofPayload.encode(message.consentProofPayload, writer.uint32(42).fork()).ldelim(); | ||
} | ||
return writer; | ||
@@ -57,2 +61,5 @@ }, | ||
break; | ||
case 5: | ||
message.consentProofPayload = invitation_pb_1.ConsentProofPayload.decode(reader, reader.uint32()); | ||
break; | ||
default: | ||
@@ -75,2 +82,5 @@ reader.skipType(tag & 7); | ||
: undefined, | ||
consentProofPayload: isSet(object.consentProofPayload) | ||
? invitation_pb_1.ConsentProofPayload.fromJSON(object.consentProofPayload) | ||
: undefined, | ||
}; | ||
@@ -89,2 +99,6 @@ }, | ||
: undefined); | ||
message.consentProofPayload !== undefined && | ||
(obj.consentProofPayload = message.consentProofPayload | ||
? invitation_pb_1.ConsentProofPayload.toJSON(message.consentProofPayload) | ||
: undefined); | ||
return obj; | ||
@@ -105,2 +119,7 @@ }, | ||
: undefined; | ||
message.consentProofPayload = | ||
object.consentProofPayload !== undefined && | ||
object.consentProofPayload !== null | ||
? invitation_pb_1.ConsentProofPayload.fromPartial(object.consentProofPayload) | ||
: undefined; | ||
return message; | ||
@@ -107,0 +126,0 @@ }, |
/* eslint-disable */ | ||
import Long from "long"; | ||
import { InvitationV1_Context } from "./invitation.pb"; | ||
import { InvitationV1_Context, ConsentProofPayload } from "./invitation.pb"; | ||
import _m0 from "protobufjs/minimal"; | ||
@@ -12,2 +12,3 @@ export const protobufPackage = "xmtp.message_contents"; | ||
context: undefined, | ||
consentProofPayload: undefined, | ||
}; | ||
@@ -29,2 +30,5 @@ } | ||
} | ||
if (message.consentProofPayload !== undefined) { | ||
ConsentProofPayload.encode(message.consentProofPayload, writer.uint32(42).fork()).ldelim(); | ||
} | ||
return writer; | ||
@@ -51,2 +55,5 @@ }, | ||
break; | ||
case 5: | ||
message.consentProofPayload = ConsentProofPayload.decode(reader, reader.uint32()); | ||
break; | ||
default: | ||
@@ -69,2 +76,5 @@ reader.skipType(tag & 7); | ||
: undefined, | ||
consentProofPayload: isSet(object.consentProofPayload) | ||
? ConsentProofPayload.fromJSON(object.consentProofPayload) | ||
: undefined, | ||
}; | ||
@@ -83,2 +93,6 @@ }, | ||
: undefined); | ||
message.consentProofPayload !== undefined && | ||
(obj.consentProofPayload = message.consentProofPayload | ||
? ConsentProofPayload.toJSON(message.consentProofPayload) | ||
: undefined); | ||
return obj; | ||
@@ -99,2 +113,7 @@ }, | ||
: undefined; | ||
message.consentProofPayload = | ||
object.consentProofPayload !== undefined && | ||
object.consentProofPayload !== null | ||
? ConsentProofPayload.fromPartial(object.consentProofPayload) | ||
: undefined; | ||
return message; | ||
@@ -101,0 +120,0 @@ }, |
import Long from "long"; | ||
import { InvitationV1_Context } from "./invitation.pb"; | ||
import { InvitationV1_Context, ConsentProofPayload } from "./invitation.pb"; | ||
import _m0 from "protobufjs/minimal"; | ||
@@ -12,2 +12,3 @@ export declare const protobufPackage = "xmtp.message_contents"; | ||
context: InvitationV1_Context | undefined; | ||
consentProofPayload: ConsentProofPayload | undefined; | ||
} | ||
@@ -29,2 +30,7 @@ export declare const ConversationReference: { | ||
} | undefined; | ||
consentProofPayload?: { | ||
signature?: string | undefined; | ||
timestamp?: string | number | Long | undefined; | ||
payloadVersion?: import("./invitation.pb").ConsentProofPayloadVersion | undefined; | ||
} | undefined; | ||
} & { | ||
@@ -118,3 +124,83 @@ topic?: string | undefined; | ||
} & { [K_2 in Exclude<keyof I["context"], keyof InvitationV1_Context>]: never; }) | undefined; | ||
} & { [K_3 in Exclude<keyof I, keyof ConversationReference>]: never; }>(object: I): ConversationReference; | ||
consentProofPayload?: ({ | ||
signature?: string | undefined; | ||
timestamp?: string | number | Long | undefined; | ||
payloadVersion?: import("./invitation.pb").ConsentProofPayloadVersion | undefined; | ||
} & { | ||
signature?: string | undefined; | ||
timestamp?: string | number | (Long & { | ||
high: number; | ||
low: number; | ||
unsigned: boolean; | ||
add: (addend: string | number | Long) => Long; | ||
and: (other: string | number | Long) => Long; | ||
compare: (other: string | number | Long) => number; | ||
comp: (other: string | number | Long) => number; | ||
divide: (divisor: string | number | Long) => Long; | ||
div: (divisor: string | number | Long) => Long; | ||
equals: (other: string | number | Long) => boolean; | ||
eq: (other: string | number | Long) => boolean; | ||
getHighBits: () => number; | ||
getHighBitsUnsigned: () => number; | ||
getLowBits: () => number; | ||
getLowBitsUnsigned: () => number; | ||
getNumBitsAbs: () => number; | ||
greaterThan: (other: string | number | Long) => boolean; | ||
gt: (other: string | number | Long) => boolean; | ||
greaterThanOrEqual: (other: string | number | Long) => boolean; | ||
gte: (other: string | number | Long) => boolean; | ||
ge: (other: string | number | Long) => boolean; | ||
isEven: () => boolean; | ||
isNegative: () => boolean; | ||
isOdd: () => boolean; | ||
isPositive: () => boolean; | ||
isZero: () => boolean; | ||
eqz: () => boolean; | ||
lessThan: (other: string | number | Long) => boolean; | ||
lt: (other: string | number | Long) => boolean; | ||
lessThanOrEqual: (other: string | number | Long) => boolean; | ||
lte: (other: string | number | Long) => boolean; | ||
le: (other: string | number | Long) => boolean; | ||
modulo: (other: string | number | Long) => Long; | ||
mod: (other: string | number | Long) => Long; | ||
rem: (other: string | number | Long) => Long; | ||
multiply: (multiplier: string | number | Long) => Long; | ||
mul: (multiplier: string | number | Long) => Long; | ||
negate: () => Long; | ||
neg: () => Long; | ||
not: () => Long; | ||
countLeadingZeros: () => number; | ||
clz: () => number; | ||
countTrailingZeros: () => number; | ||
ctz: () => number; | ||
notEquals: (other: string | number | Long) => boolean; | ||
neq: (other: string | number | Long) => boolean; | ||
ne: (other: string | number | Long) => boolean; | ||
or: (other: string | number | Long) => Long; | ||
shiftLeft: (numBits: number | Long) => Long; | ||
shl: (numBits: number | Long) => Long; | ||
shiftRight: (numBits: number | Long) => Long; | ||
shr: (numBits: number | Long) => Long; | ||
shiftRightUnsigned: (numBits: number | Long) => Long; | ||
shru: (numBits: number | Long) => Long; | ||
shr_u: (numBits: number | Long) => Long; | ||
rotateLeft: (numBits: number | Long) => Long; | ||
rotl: (numBits: number | Long) => Long; | ||
rotateRight: (numBits: number | Long) => Long; | ||
rotr: (numBits: number | Long) => Long; | ||
subtract: (subtrahend: string | number | Long) => Long; | ||
sub: (subtrahend: string | number | Long) => Long; | ||
toInt: () => number; | ||
toNumber: () => number; | ||
toBytes: (le?: boolean | undefined) => number[]; | ||
toBytesLE: () => number[]; | ||
toBytesBE: () => number[]; | ||
toSigned: () => Long; | ||
toString: (radix?: number | undefined) => string; | ||
toUnsigned: () => Long; | ||
xor: (other: string | number | Long) => Long; | ||
} & { [K_3 in Exclude<keyof I["consentProofPayload"]["timestamp"], keyof Long>]: never; }) | undefined; | ||
payloadVersion?: import("./invitation.pb").ConsentProofPayloadVersion | undefined; | ||
} & { [K_4 in Exclude<keyof I["consentProofPayload"], keyof ConsentProofPayload>]: never; }) | undefined; | ||
} & { [K_5 in Exclude<keyof I, keyof ConversationReference>]: never; }>(object: I): ConversationReference; | ||
}; | ||
@@ -121,0 +207,0 @@ declare type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
2046472
32414