pi-keyboard 0.1.3 → 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 +1 -0
- package/package.json +3 -2
- package/src/index.ts +0 -1
- package/src/state-machine.ts +1 -1
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.
|
|
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
|
-
"./
|
|
33
|
+
"./index.ts"
|
|
33
34
|
]
|
|
34
35
|
},
|
|
35
36
|
"peerDependencies": {
|
package/src/index.ts
CHANGED
package/src/state-machine.ts
CHANGED
|
@@ -107,7 +107,7 @@ export class KeyboardStateMachine {
|
|
|
107
107
|
await this.applyCurrentState(force);
|
|
108
108
|
}
|
|
109
109
|
|
|
110
|
-
private async applyCurrentState(
|
|
110
|
+
private async applyCurrentState(_force = false): Promise<void> {
|
|
111
111
|
await applyKeyboardState(this.currentState, this.config);
|
|
112
112
|
}
|
|
113
113
|
|