@meshtastic/meshtasticjs
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -180,2 +180,6 @@ /// <reference types="web-bluetooth" /> | ||
export type destination = number | "self" | "broadcast"; | ||
export interface PacketError { | ||
id: number; | ||
error: Protobuf.Routing_Error; | ||
} | ||
export interface sendTextProps { | ||
@@ -182,0 +186,0 @@ text: string; |
@@ -1,2 +0,2 @@ | ||
import { Protobuf } from "../index.js"; | ||
import { PacketError } from "../types.js"; | ||
export interface IQueueItem { | ||
@@ -8,6 +8,2 @@ id: number; | ||
} | ||
export interface packetError { | ||
id: number; | ||
error: Protobuf.Routing_Error; | ||
} | ||
export declare class Queue { | ||
@@ -22,5 +18,5 @@ private queue; | ||
processAck(id: number): void; | ||
processError(e: packetError): void; | ||
processError(e: PacketError): void; | ||
wait(id: number): Promise<number>; | ||
processQueue(writeToRadio: (data: Uint8Array) => Promise<void>): Promise<void>; | ||
} |
{ | ||
"name": "@meshtastic/meshtasticjs", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"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
557496