Use workspace meshtastic packages (#749)

* refactor: updated web package.json to use workspace

* formatting fixes
This commit is contained in:
Dan Ditomaso
2025-07-28 18:18:46 -04:00
committed by GitHub
parent 56487d3832
commit 4dd911e73d
17 changed files with 130 additions and 172 deletions
+1 -1
View File
@@ -202,7 +202,7 @@ export class MeshDevice {
});
if (echoResponse) {
meshPacket.rxTime = Math.trunc(new Date().getTime() / 1000);
meshPacket.rxTime = Math.trunc(Date.now() / 1000);
this.handleMeshPacket(meshPacket);
}
return await this.sendRaw(
+1 -1
View File
@@ -1,7 +1,7 @@
import type * as Protobuf from "@meshtastic/protobufs";
import { SimpleEventDispatcher } from "ste-simple-events";
import type { PacketMetadata } from "../types.ts";
import type * as Types from "../types.ts";
import type { PacketMetadata } from "../types.ts";
export class EventSystem {
/**
+2 -2
View File
@@ -1,5 +1,5 @@
export { EventSystem } from "./eventSystem.ts";
export { Queue } from "./queue.ts";
export { Xmodem } from "./xmodem.ts";
export { toDeviceStream } from "./transform/toDevice.ts";
export { fromDeviceStream } from "./transform/fromDevice.ts";
export { toDeviceStream } from "./transform/toDevice.ts";
export { Xmodem } from "./xmodem.ts";
@@ -1,6 +1,6 @@
import { fromBinary } from "@bufbuild/protobuf";
import { Constants, Protobuf, Types } from "../../../mod.ts";
import type { MeshDevice } from "../../../mod.ts";
import { Constants, Protobuf, Types } from "../../../mod.ts";
import type { DeviceOutput } from "../../types.ts";
export const decodePacket = (device: MeshDevice) =>