Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@xmtp/proto

Package Overview
Dependencies
Maintainers
6
Versions
140
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@xmtp/proto - npm Package Compare versions

Comparing version 3.39.0-beta.2 to 3.39.0

2

package.json
{
"name": "@xmtp/proto",
"version": "3.39.0-beta.2",
"version": "3.39.0",
"description": "Protobuf client and generated classes for GRPC API",

@@ -5,0 +5,0 @@ "main": "./ts/dist/cjs/node.js",

@@ -223,8 +223,3 @@ "use strict";

function createBaseMessageV2() {
return {
headerBytes: new Uint8Array(),
ciphertext: undefined,
senderHmac: new Uint8Array(),
shouldPush: false,
};
return { headerBytes: new Uint8Array(), ciphertext: undefined };
}

@@ -239,8 +234,2 @@ exports.MessageV2 = {

}
if (message.senderHmac.length !== 0) {
writer.uint32(26).bytes(message.senderHmac);
}
if (message.shouldPush === true) {
writer.uint32(32).bool(message.shouldPush);
}
return writer;

@@ -261,8 +250,2 @@ },

break;
case 3:
message.senderHmac = reader.bytes();
break;
case 4:
message.shouldPush = reader.bool();
break;
default:

@@ -283,6 +266,2 @@ reader.skipType(tag & 7);

: undefined,
senderHmac: isSet(object.senderHmac)
? bytesFromBase64(object.senderHmac)
: new Uint8Array(),
shouldPush: isSet(object.shouldPush) ? Boolean(object.shouldPush) : false,
};

@@ -300,9 +279,6 @@ },

: undefined);
message.senderHmac !== undefined &&
(obj.senderHmac = base64FromBytes(message.senderHmac !== undefined ? message.senderHmac : new Uint8Array()));
message.shouldPush !== undefined && (obj.shouldPush = message.shouldPush);
return obj;
},
fromPartial(object) {
var _a, _b, _c;
var _a;
const message = createBaseMessageV2();

@@ -314,4 +290,2 @@ message.headerBytes = (_a = object.headerBytes) !== null && _a !== void 0 ? _a : new Uint8Array();

: undefined;
message.senderHmac = (_b = object.senderHmac) !== null && _b !== void 0 ? _b : new Uint8Array();
message.shouldPush = (_c = object.shouldPush) !== null && _c !== void 0 ? _c : false;
return message;

@@ -318,0 +292,0 @@ },

@@ -217,8 +217,3 @@ /* eslint-disable */

function createBaseMessageV2() {
return {
headerBytes: new Uint8Array(),
ciphertext: undefined,
senderHmac: new Uint8Array(),
shouldPush: false,
};
return { headerBytes: new Uint8Array(), ciphertext: undefined };
}

@@ -233,8 +228,2 @@ export const MessageV2 = {

}
if (message.senderHmac.length !== 0) {
writer.uint32(26).bytes(message.senderHmac);
}
if (message.shouldPush === true) {
writer.uint32(32).bool(message.shouldPush);
}
return writer;

@@ -255,8 +244,2 @@ },

break;
case 3:
message.senderHmac = reader.bytes();
break;
case 4:
message.shouldPush = reader.bool();
break;
default:

@@ -277,6 +260,2 @@ reader.skipType(tag & 7);

: undefined,
senderHmac: isSet(object.senderHmac)
? bytesFromBase64(object.senderHmac)
: new Uint8Array(),
shouldPush: isSet(object.shouldPush) ? Boolean(object.shouldPush) : false,
};

@@ -294,9 +273,6 @@ },

: undefined);
message.senderHmac !== undefined &&
(obj.senderHmac = base64FromBytes(message.senderHmac !== undefined ? message.senderHmac : new Uint8Array()));
message.shouldPush !== undefined && (obj.shouldPush = message.shouldPush);
return obj;
},
fromPartial(object) {
var _a, _b, _c;
var _a;
const message = createBaseMessageV2();

@@ -308,4 +284,2 @@ message.headerBytes = (_a = object.headerBytes) !== null && _a !== void 0 ? _a : new Uint8Array();

: undefined;
message.senderHmac = (_b = object.senderHmac) !== null && _b !== void 0 ? _b : new Uint8Array();
message.shouldPush = (_c = object.shouldPush) !== null && _c !== void 0 ? _c : false;
return message;

@@ -312,0 +286,0 @@ },

@@ -42,6 +42,2 @@ import Long from "long";

ciphertext: Ciphertext | undefined;
/** HMAC of the message ciphertext, with the HMAC key derived from the topic key */
senderHmac: Uint8Array;
/** Flag indicating whether the message should be pushed from a notification server */
shouldPush: boolean;
}

@@ -898,4 +894,2 @@ /** Versioned Message */

} | undefined;
senderHmac?: Uint8Array | undefined;
shouldPush?: boolean | undefined;
} & {

@@ -920,4 +914,2 @@ headerBytes?: Uint8Array | undefined;

} & { [K_1 in Exclude<keyof I["ciphertext"], "aes256GcmHkdfSha256">]: never; }) | undefined;
senderHmac?: Uint8Array | undefined;
shouldPush?: boolean | undefined;
} & { [K_2 in Exclude<keyof I, keyof MessageV2>]: never; }>(object: I): MessageV2;

@@ -950,4 +942,2 @@ };

} | undefined;
senderHmac?: Uint8Array | undefined;
shouldPush?: boolean | undefined;
} | undefined;

@@ -993,4 +983,2 @@ } & {

} | undefined;
senderHmac?: Uint8Array | undefined;
shouldPush?: boolean | undefined;
} & {

@@ -1015,4 +1003,2 @@ headerBytes?: Uint8Array | undefined;

} & { [K_4 in Exclude<keyof I["v2"]["ciphertext"], "aes256GcmHkdfSha256">]: never; }) | undefined;
senderHmac?: Uint8Array | undefined;
shouldPush?: boolean | undefined;
} & { [K_5 in Exclude<keyof I["v2"], keyof MessageV2>]: never; }) | undefined;

@@ -1019,0 +1005,0 @@ } & { [K_6 in Exclude<keyof I, keyof Message>]: never; }>(object: I): Message;

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc