pi-keyboard 0.1.4 → 0.1.5

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/index.ts ADDED
@@ -0,0 +1 @@
1
+ export { default } from "./src/index.ts";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pi-keyboard",
3
- "version": "0.1.4",
3
+ "version": "0.1.5",
4
4
  "description": "Dynamic VIA/QMK keyboard RGB lighting indicator reflecting Pi states (idle, thinking, unread, need-approval, error)",
5
5
  "author": "Frad LEE <fradser@gmail.com>",
6
6
  "license": "MIT",
@@ -22,6 +22,7 @@
22
22
  "access": "public"
23
23
  },
24
24
  "files": [
25
+ "index.ts",
25
26
  "src",
26
27
  "features",
27
28
  "README.md",
@@ -29,7 +30,7 @@
29
30
  ],
30
31
  "pi": {
31
32
  "extensions": [
32
- "./src/index.ts"
33
+ "./index.ts"
33
34
  ]
34
35
  },
35
36
  "peerDependencies": {
package/src/index.ts CHANGED
@@ -7,7 +7,6 @@ import { fetchKeyboardStatus } from "./driver";
7
7
  import { KeyboardStateMachine } from "./state-machine";
8
8
  import {
9
9
  KEYBOARD_STATE_DEFINITIONS,
10
- type KeyboardConfig,
11
10
  type KeyboardState,
12
11
  type KeyboardZone,
13
12
  } from "./types";
@@ -107,7 +107,7 @@ export class KeyboardStateMachine {
107
107
  await this.applyCurrentState(force);
108
108
  }
109
109
 
110
- private async applyCurrentState(force = false): Promise<void> {
110
+ private async applyCurrentState(_force = false): Promise<void> {
111
111
  await applyKeyboardState(this.currentState, this.config);
112
112
  }
113
113