Cleaned up the frame.ts by splitting payload parsing to subpackages

This commit is contained in:
2026-03-20 10:38:36 +01:00
parent 1aa8eb363f
commit 75e31c2008
26 changed files with 2695 additions and 2429 deletions

View File

@@ -1,7 +1,7 @@
import { Dissected, FieldType } from "@hamradio/packet";
import { describe, expect, it } from "vitest";
import { Address, Frame, Timestamp } from "../src/frame";
import { Address, Frame } from "../src/frame";
import {
DataType,
type ITimestamp,
@@ -12,6 +12,7 @@ import {
type PositionPayload,
type StatusPayload
} from "../src/frame.types";
import Timestamp from "../src/timestamp";
// Address parsing: split by method
describe("Address.parse", () => {