@holdyourvoice/hyv 4.0.1 → 4.0.2
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/dist/hold-your-voice.mcpb +0 -0
- package/dist/profile-watch.js +2 -2
- package/dist/version.js +1 -1
- package/package.json +3 -3
|
Binary file
|
package/dist/profile-watch.js
CHANGED
|
@@ -7,8 +7,8 @@ export function watchProfileSamples(options) {
|
|
|
7
7
|
if (!Number.isInteger(debounceMs) || debounceMs < 100 || debounceMs > 60_000)
|
|
8
8
|
throw new Error('Profile watch debounce must be an integer from 100 to 60000 milliseconds.');
|
|
9
9
|
const createWatcher = options.watchFile ?? ((path, listener) => watch(path, { persistent: true }, listener));
|
|
10
|
-
const schedule = options.schedule ?? setTimeout;
|
|
11
|
-
const cancel = options.cancel ?? clearTimeout;
|
|
10
|
+
const schedule = options.schedule ?? ((callback, delay) => setTimeout(callback, delay));
|
|
11
|
+
const cancel = options.cancel ?? ((timer) => clearTimeout(timer));
|
|
12
12
|
let timer;
|
|
13
13
|
let closed = false;
|
|
14
14
|
const trigger = () => {
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const HYV_VERSION = '4.0.
|
|
1
|
+
export const HYV_VERSION = '4.0.2';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holdyourvoice/hyv",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"description": "Local writing checks, voice profiles, and verified editing workflows for humans and agents.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -53,10 +53,10 @@
|
|
|
53
53
|
"access": "public"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
|
-
"@types/node": "^
|
|
56
|
+
"@types/node": "^26.4.1",
|
|
57
57
|
"@types/yazl": "^3.3.1",
|
|
58
58
|
"esbuild": "^0.28.1",
|
|
59
|
-
"typescript": "^
|
|
59
|
+
"typescript": "^7.0.2",
|
|
60
60
|
"yazl": "^3.3.1"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|