@springfield/ham-radio-api 11.0.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +11 -0
- package/dist/radio/id.d.ts +6 -0
- package/dist/radio/id.d.ts.map +1 -1
- package/dist/radio/id.js.map +1 -1
- package/dist/radio/memory-segment.d.ts +6 -0
- package/dist/radio/memory-segment.d.ts.map +1 -0
- package/dist/radio/memory-segment.js +2 -0
- package/dist/radio/memory-segment.js.map +1 -0
- package/dist/radio/memory.d.ts +2 -1
- package/dist/radio/memory.d.ts.map +1 -1
- package/dist/radio/memory.js.map +1 -1
- package/package.json +4 -4
- package/src/radio/id.ts +6 -0
- package/src/radio/memory-segment.ts +5 -0
- package/src/radio/memory.ts +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,14 @@
|
|
|
1
|
+
## [12.0.0](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/compare/v11.0.0...v12.0.0) (2025-05-10)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### ⚠ BREAKING CHANGES
|
|
5
|
+
|
|
6
|
+
* add RadioMemorySegment and make RadioMemory.contents RadioMemorySegment[]
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* add RadioMemorySegment and make RadioMemory.contents RadioMemorySegment[] ([df0b320](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/commit/df0b32045107b3b743e44be648a0096e05b84035))
|
|
11
|
+
|
|
1
12
|
## [11.0.0](https://gitlab.com/springfield-ham-radio/app/ham-radio-api/compare/v10.0.0...v11.0.0) (2025-04-27)
|
|
2
13
|
|
|
3
14
|
|
package/dist/radio/id.d.ts
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
import { RadioModelId } from '../branded-types/radio-model-id.js';
|
|
2
2
|
import { RadioModuleId } from '../branded-types/radio-module-id.js';
|
|
3
|
+
/**
|
|
4
|
+
* A unique identifier for a radio.
|
|
5
|
+
*
|
|
6
|
+
* This information is passed between the renderer process and Electron process to identify a radio.
|
|
7
|
+
* It must be serializable to JSON.
|
|
8
|
+
*/
|
|
3
9
|
export interface RadioId {
|
|
4
10
|
module: RadioModuleId;
|
|
5
11
|
model: RadioModelId;
|
package/dist/radio/id.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../src/radio/id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,aAAa,CAAC;IACtB,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB"}
|
|
1
|
+
{"version":3,"file":"id.d.ts","sourceRoot":"","sources":["../../src/radio/id.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEpE;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,aAAa,CAAC;IACtB,KAAK,EAAE,YAAY,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,EAAE,MAAM,CAAC;CACtB"}
|
package/dist/radio/id.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"id.js","sourceRoot":"","sources":["../../src/radio/id.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioModelId } from '../branded-types/radio-model-id.js';\nimport { RadioModuleId } from '../branded-types/radio-module-id.js';\n\nexport interface RadioId {\n module: RadioModuleId;\n model: RadioModelId;\n name: string;\n manufacturer: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"id.js","sourceRoot":"","sources":["../../src/radio/id.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioModelId } from '../branded-types/radio-model-id.js';\nimport { RadioModuleId } from '../branded-types/radio-module-id.js';\n\n/**\n * A unique identifier for a radio.\n *\n * This information is passed between the renderer process and Electron process to identify a radio.\n * It must be serializable to JSON.\n */\nexport interface RadioId {\n module: RadioModuleId;\n model: RadioModelId;\n name: string;\n manufacturer: string;\n}\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-segment.d.ts","sourceRoot":"","sources":["../../src/radio/memory-segment.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,kBAAkB;IACjC,YAAY,EAAE,MAAM,CAAC;IACrB,MAAM,EAAE,MAAM,CAAC;IACf,IAAI,EAAE,UAAU,CAAC;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"memory-segment.js","sourceRoot":"","sources":["../../src/radio/memory-segment.ts"],"names":[],"mappings":"","sourcesContent":["export interface RadioMemorySegment {\n startAddress: number;\n length: number;\n data: Uint8Array;\n}\n"]}
|
package/dist/radio/memory.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { RadioModelId } from '../branded-types/radio-model-id.js';
|
|
2
|
+
import { RadioMemorySegment } from './memory-segment.js';
|
|
2
3
|
export interface RadioMemory {
|
|
3
4
|
radioModel: RadioModelId;
|
|
4
|
-
contents:
|
|
5
|
+
contents: RadioMemorySegment[];
|
|
5
6
|
}
|
|
6
7
|
//# sourceMappingURL=memory.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/radio/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;
|
|
1
|
+
{"version":3,"file":"memory.d.ts","sourceRoot":"","sources":["../../src/radio/memory.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,oCAAoC,CAAC;AAClE,OAAO,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAC;AAEzD,MAAM,WAAW,WAAW;IAC1B,UAAU,EAAE,YAAY,CAAC;IACzB,QAAQ,EAAE,kBAAkB,EAAE,CAAC;CAChC"}
|
package/dist/radio/memory.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/radio/memory.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioModelId } from '../branded-types/radio-model-id.js';\n\nexport interface RadioMemory {\n radioModel: RadioModelId;\n contents:
|
|
1
|
+
{"version":3,"file":"memory.js","sourceRoot":"","sources":["../../src/radio/memory.ts"],"names":[],"mappings":"","sourcesContent":["import { RadioModelId } from '../branded-types/radio-model-id.js';\nimport { RadioMemorySegment } from './memory-segment.js';\n\nexport interface RadioMemory {\n radioModel: RadioModelId;\n contents: RadioMemorySegment[];\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@springfield/ham-radio-api",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "12.0.0",
|
|
4
4
|
"author": "Bryan Hunt",
|
|
5
5
|
"packageManager": "yarn@4.9.1",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -47,11 +47,11 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@commitlint/cli": "19.8.
|
|
51
|
-
"@commitlint/config-conventional": "19.8.
|
|
50
|
+
"@commitlint/cli": "19.8.1",
|
|
51
|
+
"@commitlint/config-conventional": "19.8.1",
|
|
52
52
|
"@semantic-release/changelog": "6.0.3",
|
|
53
53
|
"@semantic-release/git": "10.0.1",
|
|
54
|
-
"@semantic-release/gitlab": "13.2.
|
|
54
|
+
"@semantic-release/gitlab": "13.2.5",
|
|
55
55
|
"husky": "9.1.7",
|
|
56
56
|
"semantic-release": "23.1.1",
|
|
57
57
|
"semantic-release-yarn": "3.0.2",
|
package/src/radio/id.ts
CHANGED
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { RadioModelId } from '../branded-types/radio-model-id.js';
|
|
2
2
|
import { RadioModuleId } from '../branded-types/radio-module-id.js';
|
|
3
3
|
|
|
4
|
+
/**
|
|
5
|
+
* A unique identifier for a radio.
|
|
6
|
+
*
|
|
7
|
+
* This information is passed between the renderer process and Electron process to identify a radio.
|
|
8
|
+
* It must be serializable to JSON.
|
|
9
|
+
*/
|
|
4
10
|
export interface RadioId {
|
|
5
11
|
module: RadioModuleId;
|
|
6
12
|
model: RadioModelId;
|
package/src/radio/memory.ts
CHANGED