@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.71 to 0.6.72
@@ -24,7 +24,7 @@ import { IBLEConnection } from "./iBleConnection.js"; | ||
*/ | ||
createHTTPConnection(): IHTTPConnection; | ||
createHTTPConnection(configId: number): IHTTPConnection; | ||
/** | ||
* Creates a new Serial connection interface | ||
*/ | ||
createSerialConnection(): ISerialConnection; | ||
createSerialConnection(configId: number): ISerialConnection; | ||
/** | ||
@@ -31,0 +31,0 @@ * Adds an already created connection interface to the client |
@@ -28,4 +28,4 @@ import { IBLEConnection } from "./iBleConnection.js"; | ||
*/ | ||
createHTTPConnection() { | ||
const iHTTPConnection = new IHTTPConnection(); | ||
createHTTPConnection(configId) { | ||
const iHTTPConnection = new IHTTPConnection(configId); | ||
this.deviceInterfaces.push(iHTTPConnection); | ||
@@ -37,4 +37,4 @@ return iHTTPConnection; | ||
*/ | ||
createSerialConnection() { | ||
const iSerialConnection = new ISerialConnection(); | ||
createSerialConnection(configId) { | ||
const iSerialConnection = new ISerialConnection(configId); | ||
this.deviceInterfaces.push(iSerialConnection); | ||
@@ -41,0 +41,0 @@ return iSerialConnection; |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.71", | ||
"version": "0.6.72", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -5,0 +5,0 @@ "license": "GPL-3.0-only", |
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
497830