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

@meshtastic/meshtasticjs

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@meshtastic/meshtasticjs - npm Package Compare versions

Comparing version 0.6.32 to 0.6.33

19

dist/generated/admin.d.ts

@@ -52,3 +52,3 @@ import { MessageType } from "@protobuf-ts/runtime";

*
* Send the current RadioConfig in the response for this message.
* Send the current RadioConfig in the response to this message.
*

@@ -68,3 +68,3 @@ * @generated from protobuf field: bool get_radio_request = 4;

*
* Send the specified channel in the response for this message
* Send the specified channel in the response to this message
* NOTE: This field is sent with the channel index + 1 (to ensure we never try to send 'zero' - which protobufs treats as not present)

@@ -82,2 +82,17 @@ *

} | {
oneofKind: "getOwnerRequest";
/**
*
* Send the current owner data in the response to this message.
*
* @generated from protobuf field: bool get_owner_request = 8;
*/
getOwnerRequest: boolean;
} | {
oneofKind: "getOwnerResponse";
/**
* @generated from protobuf field: User get_owner_response = 9;
*/
getOwnerResponse: User;
} | {
oneofKind: "confirmSetChannel";

@@ -84,0 +99,0 @@ /**

@@ -19,2 +19,4 @@ // @generated by protobuf-ts 2.1.0 with parameter long_type_string

{ no: 7, name: "get_channel_response", kind: "message", oneof: "variant", T: () => Channel },
{ no: 8, name: "get_owner_request", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ },
{ no: 9, name: "get_owner_response", kind: "message", oneof: "variant", T: () => User },
{ no: 32, name: "confirm_set_channel", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ },

@@ -21,0 +23,0 @@ { no: 33, name: "confirm_set_radio", kind: "scalar", oneof: "variant", T: 8 /*ScalarType.BOOL*/ },

@@ -960,2 +960,23 @@ import { MessageType } from "@protobuf-ts/runtime";

minAppVersion: number;
/**
*
* 48 time windows of 1hr each with the airtime transmitted out of the device per hour.
*
* @generated from protobuf field: repeated uint32 air_period_tx = 16;
*/
airPeriodTx: number[];
/**
*
* 48 time windows of 1hr each with the airtime of valid packets for your mesh.
*
* @generated from protobuf field: repeated uint32 air_period_rx = 17;
*/
airPeriodRx: number[];
/**
*
* Is the device wifi capable?
*
* @generated from protobuf field: bool has_wifi = 18;
*/
hasWifi: boolean;
}

@@ -962,0 +983,0 @@ /**

5

dist/generated/mesh.js

@@ -715,3 +715,6 @@ // @generated by protobuf-ts 2.1.0 with parameter long_type_string

{ no: 13, name: "message_timeout_msec", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 14, name: "min_app_version", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
{ no: 14, name: "min_app_version", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 16, name: "air_period_tx", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ },
{ no: 17, name: "air_period_rx", kind: "scalar", repeat: 1 /*RepeatType.PACKED*/, T: 13 /*ScalarType.UINT32*/ },
{ no: 18, name: "has_wifi", kind: "scalar", T: 8 /*ScalarType.BOOL*/ }
]);

@@ -718,0 +721,0 @@ }

@@ -18,2 +18,6 @@ import { MessageType } from "@protobuf-ts/runtime";

history?: StoreAndForward_History;
/**
* @generated from protobuf field: StoreAndForward.Heartbeat heartbeat = 4;
*/
heartbeat?: StoreAndForward_Heartbeat;
}

@@ -28,3 +32,3 @@ /**

*
* @generated from protobuf field: uint32 MessagesTotal = 1 [json_name = "MessagesTotal"];
* @generated from protobuf field: uint32 messages_total = 1;
*/

@@ -36,3 +40,3 @@ messagesTotal: number;

*
* @generated from protobuf field: uint32 MessagesSaved = 2 [json_name = "MessagesSaved"];
* @generated from protobuf field: uint32 messages_saved = 2;
*/

@@ -44,3 +48,3 @@ messagesSaved: number;

*
* @generated from protobuf field: uint32 MessagesMax = 3 [json_name = "MessagesMax"];
* @generated from protobuf field: uint32 messages_max = 3;
*/

@@ -52,3 +56,3 @@ messagesMax: number;

*
* @generated from protobuf field: uint32 UpTime = 4 [json_name = "UpTime"];
* @generated from protobuf field: uint32 up_time = 4;
*/

@@ -60,3 +64,3 @@ upTime: number;

*
* @generated from protobuf field: uint32 Requests = 5 [json_name = "Requests"];
* @generated from protobuf field: uint32 requests = 5;
*/

@@ -68,3 +72,3 @@ requests: number;

*
* @generated from protobuf field: uint32 RequestsHistory = 6 [json_name = "RequestsHistory"];
* @generated from protobuf field: uint32 requests_history = 6;
*/

@@ -76,3 +80,3 @@ requestsHistory: number;

*
* @generated from protobuf field: bool Heartbeat = 7 [json_name = "Heartbeat"];
* @generated from protobuf field: bool heartbeat = 7;
*/

@@ -84,3 +88,3 @@ heartbeat: boolean;

*
* @generated from protobuf field: uint32 ReturnMax = 8 [json_name = "ReturnMax"];
* @generated from protobuf field: uint32 return_max = 8;
*/

@@ -92,3 +96,3 @@ returnMax: number;

*
* @generated from protobuf field: uint32 ReturnWindow = 9 [json_name = "ReturnWindow"];
* @generated from protobuf field: uint32 return_window = 9;
*/

@@ -105,3 +109,3 @@ returnWindow: number;

*
* @generated from protobuf field: uint32 HistoryMessages = 1 [json_name = "HistoryMessages"];
* @generated from protobuf field: uint32 history_messages = 1;
*/

@@ -113,7 +117,33 @@ historyMessages: number;

*
* @generated from protobuf field: uint32 Window = 2 [json_name = "Window"];
* @generated from protobuf field: uint32 window = 2;
*/
window: number;
/**
*
* The window of messages that was used to filter the history client requested
*
* @generated from protobuf field: uint32 last_request = 3;
*/
lastRequest: number;
}
/**
* @generated from protobuf message StoreAndForward.Heartbeat
*/
export interface StoreAndForward_Heartbeat {
/**
*
* Number of that will be sent to the client
*
* @generated from protobuf field: uint32 period = 1;
*/
period: number;
/**
*
* If set, this is not the primary Store & Forward router on the mesh
*
* @generated from protobuf field: uint32 secondary = 2;
*/
secondary: number;
}
/**
*

@@ -134,2 +164,5 @@ * 1 - 99 = From Router

/**
*
* Router is an in error state.
*
* @generated from protobuf enum value: ROUTER_ERROR = 1;

@@ -139,2 +172,5 @@ */

/**
*
* Router heartbeat
*
* @generated from protobuf enum value: ROUTER_HEARTBEAT = 2;

@@ -166,2 +202,12 @@ */

/**
*
* Router is responding to a request for history.
*
* @generated from protobuf enum value: ROUTER_HISTORY = 6;
*/
ROUTER_HISTORY = 6,
/**
*
* Client is an in error state.
*
* @generated from protobuf enum value: CLIENT_ERROR = 101;

@@ -198,3 +244,10 @@ */

*/
CLIENT_PONG = 105
CLIENT_PONG = 105,
/**
*
* Client has requested that the router abort processing the client's request
*
* @generated from protobuf enum value: CLIENT_ABORT = 106;
*/
CLIENT_ABORT = 106
}

@@ -222,2 +275,9 @@ declare class StoreAndForward$Type extends MessageType<StoreAndForward> {

export declare const StoreAndForward_History: StoreAndForward_History$Type;
declare class StoreAndForward_Heartbeat$Type extends MessageType<StoreAndForward_Heartbeat> {
constructor();
}
/**
* @generated MessageType for protobuf message StoreAndForward.Heartbeat
*/
export declare const StoreAndForward_Heartbeat: StoreAndForward_Heartbeat$Type;
export {};

@@ -22,2 +22,5 @@ // @generated by protobuf-ts 2.1.0 with parameter long_type_string

/**
*
* Router is an in error state.
*
* @generated from protobuf enum value: ROUTER_ERROR = 1;

@@ -27,2 +30,5 @@ */

/**
*
* Router heartbeat
*
* @generated from protobuf enum value: ROUTER_HEARTBEAT = 2;

@@ -54,2 +60,12 @@ */

/**
*
* Router is responding to a request for history.
*
* @generated from protobuf enum value: ROUTER_HISTORY = 6;
*/
StoreAndForward_RequestResponse[StoreAndForward_RequestResponse["ROUTER_HISTORY"] = 6] = "ROUTER_HISTORY";
/**
*
* Client is an in error state.
*
* @generated from protobuf enum value: CLIENT_ERROR = 101;

@@ -87,2 +103,9 @@ */

StoreAndForward_RequestResponse[StoreAndForward_RequestResponse["CLIENT_PONG"] = 105] = "CLIENT_PONG";
/**
*
* Client has requested that the router abort processing the client's request
*
* @generated from protobuf enum value: CLIENT_ABORT = 106;
*/
StoreAndForward_RequestResponse[StoreAndForward_RequestResponse["CLIENT_ABORT"] = 106] = "CLIENT_ABORT";
})(StoreAndForward_RequestResponse || (StoreAndForward_RequestResponse = {}));

@@ -95,3 +118,4 @@ // @generated message type with reflection information, may provide speed optimized methods

{ no: 2, name: "stats", kind: "message", T: () => StoreAndForward_Statistics },
{ no: 3, name: "history", kind: "message", T: () => StoreAndForward_History }
{ no: 3, name: "history", kind: "message", T: () => StoreAndForward_History },
{ no: 4, name: "heartbeat", kind: "message", T: () => StoreAndForward_Heartbeat }
]);

@@ -108,11 +132,11 @@ }

super("StoreAndForward.Statistics", [
{ no: 1, name: "MessagesTotal", kind: "scalar", jsonName: "MessagesTotal", T: 13 /*ScalarType.UINT32*/ },
{ no: 2, name: "MessagesSaved", kind: "scalar", jsonName: "MessagesSaved", T: 13 /*ScalarType.UINT32*/ },
{ no: 3, name: "MessagesMax", kind: "scalar", jsonName: "MessagesMax", T: 13 /*ScalarType.UINT32*/ },
{ no: 4, name: "UpTime", kind: "scalar", jsonName: "UpTime", T: 13 /*ScalarType.UINT32*/ },
{ no: 5, name: "Requests", kind: "scalar", jsonName: "Requests", T: 13 /*ScalarType.UINT32*/ },
{ no: 6, name: "RequestsHistory", kind: "scalar", jsonName: "RequestsHistory", T: 13 /*ScalarType.UINT32*/ },
{ no: 7, name: "Heartbeat", kind: "scalar", jsonName: "Heartbeat", T: 8 /*ScalarType.BOOL*/ },
{ no: 8, name: "ReturnMax", kind: "scalar", jsonName: "ReturnMax", T: 13 /*ScalarType.UINT32*/ },
{ no: 9, name: "ReturnWindow", kind: "scalar", jsonName: "ReturnWindow", T: 13 /*ScalarType.UINT32*/ }
{ no: 1, name: "messages_total", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 2, name: "messages_saved", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 3, name: "messages_max", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 4, name: "up_time", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 5, name: "requests", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 6, name: "requests_history", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 7, name: "heartbeat", kind: "scalar", T: 8 /*ScalarType.BOOL*/ },
{ no: 8, name: "return_max", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 9, name: "return_window", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
]);

@@ -129,4 +153,5 @@ }

super("StoreAndForward.History", [
{ no: 1, name: "HistoryMessages", kind: "scalar", jsonName: "HistoryMessages", T: 13 /*ScalarType.UINT32*/ },
{ no: 2, name: "Window", kind: "scalar", jsonName: "Window", T: 13 /*ScalarType.UINT32*/ }
{ no: 1, name: "history_messages", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 2, name: "window", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 3, name: "last_request", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
]);

@@ -139,2 +164,15 @@ }

export const StoreAndForward_History = new StoreAndForward_History$Type();
// @generated message type with reflection information, may provide speed optimized methods
class StoreAndForward_Heartbeat$Type extends MessageType {
constructor() {
super("StoreAndForward.Heartbeat", [
{ no: 1, name: "period", kind: "scalar", T: 13 /*ScalarType.UINT32*/ },
{ no: 2, name: "secondary", kind: "scalar", T: 13 /*ScalarType.UINT32*/ }
]);
}
}
/**
* @generated MessageType for protobuf message StoreAndForward.Heartbeat
*/
export const StoreAndForward_Heartbeat = new StoreAndForward_Heartbeat$Type();
//# sourceMappingURL=storeforward.js.map
{
"name": "@meshtastic/meshtasticjs",
"version": "0.6.32",
"version": "0.6.33",
"description": "Browser library for interfacing with meshtastic devices",

@@ -52,3 +52,3 @@ "license": "GPL-3.0-only",

"typedoc": "^0.22.10",
"typescript": "^4.5.2"
"typescript": "^4.5.3"
},

@@ -55,0 +55,0 @@ "scripts": {

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 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