@highstate/library 0.9.23 → 0.9.25
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/highstate.library.msgpack +0 -0
- package/dist/index.js +9 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/src/wireguard.ts +7 -0
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@highstate/library",
|
3
|
-
"version": "0.9.
|
3
|
+
"version": "0.9.25",
|
4
4
|
"type": "module",
|
5
5
|
"highstate": {
|
6
6
|
"type": "library"
|
@@ -25,14 +25,14 @@
|
|
25
25
|
"biome:check": "biome check --error-on-warnings"
|
26
26
|
},
|
27
27
|
"dependencies": {
|
28
|
-
"@highstate/contract": "^0.9.
|
28
|
+
"@highstate/contract": "^0.9.25",
|
29
29
|
"remeda": "^2.21.0"
|
30
30
|
},
|
31
31
|
"devDependencies": {
|
32
32
|
"@biomejs/biome": "2.2.0",
|
33
|
-
"@highstate/cli": "^0.9.
|
33
|
+
"@highstate/cli": "^0.9.25",
|
34
34
|
"@typescript/native-preview": "^7.0.0-dev.20250920.1",
|
35
35
|
"type-fest": "^4.41.0"
|
36
36
|
},
|
37
|
-
"gitHead": "
|
37
|
+
"gitHead": "ba8b272d02ecf63ec123daa18fa92e11a5258ce8"
|
38
38
|
}
|
package/src/wireguard.ts
CHANGED
@@ -78,6 +78,13 @@ export const peerEntity = defineEntity({
|
|
78
78
|
excludedIps: z.string().array(),
|
79
79
|
dns: z.string().array(),
|
80
80
|
listenPort: z.number().optional(),
|
81
|
+
|
82
|
+
/**
|
83
|
+
* The keepalive interval in seconds that will be used by all nodes connecting to this peer.
|
84
|
+
*
|
85
|
+
* If set to 0, keepalive is disabled.
|
86
|
+
*/
|
87
|
+
persistentKeepalive: z.number().int().nonnegative().default(0),
|
81
88
|
}),
|
82
89
|
|
83
90
|
meta: {
|