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.43.0 to 3.43.1

2

package.json
{
"name": "@xmtp/proto",
"version": "3.43.0",
"version": "3.43.1",
"description": "Protobuf client and generated classes for GRPC API",

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

@@ -19,2 +19,4 @@ "use strict";

opaqueConversationIdentifier: "",
unixTimestamp: 0,
inputText: "",
};

@@ -36,2 +38,8 @@ }

}
if (message.unixTimestamp !== 0) {
writer.uint32(40).uint32(message.unixTimestamp);
}
if (message.inputText !== "") {
writer.uint32(50).string(message.inputText);
}
return writer;

@@ -58,2 +66,8 @@ },

break;
case 5:
message.unixTimestamp = reader.uint32();
break;
case 6:
message.inputText = reader.string();
break;
default:

@@ -76,2 +90,6 @@ reader.skipType(tag & 7);

: "",
unixTimestamp: isSet(object.unixTimestamp)
? Number(object.unixTimestamp)
: 0,
inputText: isSet(object.inputText) ? String(object.inputText) : "",
};

@@ -88,6 +106,9 @@ },

(obj.opaqueConversationIdentifier = message.opaqueConversationIdentifier);
message.unixTimestamp !== undefined &&
(obj.unixTimestamp = Math.round(message.unixTimestamp));
message.inputText !== undefined && (obj.inputText = message.inputText);
return obj;
},
fromPartial(object) {
var _a, _b, _c;
var _a, _b, _c, _d, _e;
const message = createBaseFrameActionBody();

@@ -102,2 +123,4 @@ message.frameUrl = (_a = object.frameUrl) !== null && _a !== void 0 ? _a : "";

(_c = object.opaqueConversationIdentifier) !== null && _c !== void 0 ? _c : "";
message.unixTimestamp = (_d = object.unixTimestamp) !== null && _d !== void 0 ? _d : 0;
message.inputText = (_e = object.inputText) !== null && _e !== void 0 ? _e : "";
return message;

@@ -104,0 +127,0 @@ },

@@ -13,2 +13,4 @@ /* eslint-disable */

opaqueConversationIdentifier: "",
unixTimestamp: 0,
inputText: "",
};

@@ -30,2 +32,8 @@ }

}
if (message.unixTimestamp !== 0) {
writer.uint32(40).uint32(message.unixTimestamp);
}
if (message.inputText !== "") {
writer.uint32(50).string(message.inputText);
}
return writer;

@@ -52,2 +60,8 @@ },

break;
case 5:
message.unixTimestamp = reader.uint32();
break;
case 6:
message.inputText = reader.string();
break;
default:

@@ -70,2 +84,6 @@ reader.skipType(tag & 7);

: "",
unixTimestamp: isSet(object.unixTimestamp)
? Number(object.unixTimestamp)
: 0,
inputText: isSet(object.inputText) ? String(object.inputText) : "",
};

@@ -82,6 +100,9 @@ },

(obj.opaqueConversationIdentifier = message.opaqueConversationIdentifier);
message.unixTimestamp !== undefined &&
(obj.unixTimestamp = Math.round(message.unixTimestamp));
message.inputText !== undefined && (obj.inputText = message.inputText);
return obj;
},
fromPartial(object) {
var _a, _b, _c;
var _a, _b, _c, _d, _e;
const message = createBaseFrameActionBody();

@@ -96,2 +117,4 @@ message.frameUrl = (_a = object.frameUrl) !== null && _a !== void 0 ? _a : "";

(_c = object.opaqueConversationIdentifier) !== null && _c !== void 0 ? _c : "";
message.unixTimestamp = (_d = object.unixTimestamp) !== null && _d !== void 0 ? _d : 0;
message.inputText = (_e = object.inputText) !== null && _e !== void 0 ? _e : "";
return message;

@@ -98,0 +121,0 @@ },

@@ -19,3 +19,7 @@ import Long from "long";

buttonIndex: number;
/** Timestamp of the click in milliseconds since the epoch */
/**
* Timestamp of the click in milliseconds since the epoch
*
* @deprecated
*/
timestamp: Long;

@@ -27,2 +31,6 @@ /**

opaqueConversationIdentifier: string;
/** Unix timestamp */
unixTimestamp: number;
/** Input text from a text input field */
inputText: string;
}

@@ -56,2 +64,4 @@ /**

opaqueConversationIdentifier?: string | undefined;
unixTimestamp?: number | undefined;
inputText?: string | undefined;
} & {

@@ -133,2 +143,4 @@ frameUrl?: string | undefined;

opaqueConversationIdentifier?: string | undefined;
unixTimestamp?: number | undefined;
inputText?: string | undefined;
} & { [K_1 in Exclude<keyof I, keyof FrameActionBody>]: never; }>(object: I): FrameActionBody;

@@ -135,0 +147,0 @@ };

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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