@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.6.80 to 0.6.81
@@ -9,2 +9,6 @@ /// <reference types="web-bluetooth" /> | ||
/** | ||
* Defines the connection type as ble | ||
*/ | ||
connType: string; | ||
/** | ||
* Currently connected BLE device | ||
@@ -11,0 +15,0 @@ */ |
@@ -11,2 +11,6 @@ import { Types } from "./index.js"; | ||
/** | ||
* Defines the connection type as ble | ||
*/ | ||
connType; | ||
/** | ||
* Currently connected BLE device | ||
@@ -49,2 +53,3 @@ */ | ||
super(configId); | ||
this.connType = "ble"; | ||
this.device = undefined; | ||
@@ -51,0 +56,0 @@ this.service = undefined; |
@@ -8,2 +8,6 @@ import { IMeshDevice } from "./iMeshDevice.js"; | ||
/** | ||
* Defines the connection type as http | ||
*/ | ||
connType: string; | ||
/** | ||
* URL of the device that is to be connected to. | ||
@@ -10,0 +14,0 @@ */ |
@@ -10,2 +10,6 @@ import { Types } from "./index.js"; | ||
/** | ||
* Defines the connection type as http | ||
*/ | ||
connType; | ||
/** | ||
* URL of the device that is to be connected to. | ||
@@ -23,2 +27,3 @@ */ | ||
super(configId); | ||
this.connType = "http"; | ||
this.url = "http://meshtastic.local"; | ||
@@ -25,0 +30,0 @@ this.receiveBatchRequests = false; |
@@ -13,2 +13,6 @@ import { SubEvent } from "sub-events"; | ||
/** | ||
* Abstract property that states the connection type | ||
*/ | ||
protected abstract connType: string; | ||
/** | ||
* Logs to the console and the logging event emitter | ||
@@ -15,0 +19,0 @@ */ |
@@ -9,2 +9,6 @@ /// <reference types="w3c-web-serial" /> | ||
/** | ||
* Defines the connection type as serial | ||
*/ | ||
connType: string; | ||
/** | ||
* Serial port used to communicate with device. | ||
@@ -11,0 +15,0 @@ */ |
@@ -9,2 +9,6 @@ import { Types } from "./index.js"; | ||
/** | ||
* Defines the connection type as serial | ||
*/ | ||
connType; | ||
/** | ||
* Serial port used to communicate with device. | ||
@@ -23,2 +27,3 @@ */ | ||
super(configId); | ||
this.connType = "serial"; | ||
this.port = undefined; | ||
@@ -25,0 +30,0 @@ this.reader = new ReadableStreamDefaultReader(new ReadableStream()); |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.6.80", | ||
"version": "0.6.81", | ||
"description": "Browser library for interfacing with meshtastic devices", | ||
@@ -37,3 +37,3 @@ "license": "GPL-3.0-only", | ||
"node-protoc": "^1.0.3", | ||
"typedoc": "^0.23.5", | ||
"typedoc": "^0.23.8", | ||
"typescript": "^4.7.4" | ||
@@ -40,0 +40,0 @@ }, |
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
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
504483
10438