@meshtastic/meshtasticjs
Advanced tools
Comparing version 2.0.13-1 to 2.0.13-2
@@ -126,3 +126,3 @@ import { Logger } from "tslog"; | ||
*/ | ||
async sendRaw({ id, toRadio }) { | ||
async sendRaw({ id = this.generateRandId(), toRadio }) { | ||
if (toRadio.length > 512) { | ||
@@ -129,0 +129,0 @@ throw new Error("Message longer than 512 bytes, it will not be sent!"); |
@@ -138,3 +138,3 @@ /// <reference types="web-bluetooth" /> | ||
export interface sendRawProps { | ||
id: number; | ||
id?: number; | ||
toRadio: Uint8Array; | ||
@@ -141,0 +141,0 @@ } |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "2.0.13-1", | ||
"version": "2.0.13-2", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -35,3 +35,2 @@ "license": "GPL-3.0-only", | ||
"dependencies": { | ||
"@buf/meshtastic_protobufs.bufbuild_es": "1.0.0-20230114035636-d95aa4c6a33c.1", | ||
"@bufbuild/protobuf": "^1.0.0", | ||
@@ -42,2 +41,3 @@ "sub-events": "^1.9.0", | ||
"devDependencies": { | ||
"@buf/meshtastic_protobufs.bufbuild_es": "1.0.0-20230114035636-d95aa4c6a33c.1", | ||
"@types/node": "^18.11.18", | ||
@@ -44,0 +44,0 @@ "@types/w3c-web-serial": "^1.0.3", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
188887
3
3
13