@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
Binary file
|
package/dist/index.js
CHANGED
@@ -3909,7 +3909,15 @@ var peerEntity = defineEntity({
|
|
3909
3909
|
If both peers have \`presharedKeyPart\` set, their \`presharedKey\` will be calculated as XOR of the two parts.` }),
|
3910
3910
|
excludedIps: z.string().array(),
|
3911
3911
|
dns: z.string().array(),
|
3912
|
-
listenPort: z.number().optional()
|
3912
|
+
listenPort: z.number().optional(),
|
3913
|
+
/**
|
3914
|
+
* The keepalive interval in seconds that will be used by all nodes connecting to this peer.
|
3915
|
+
*
|
3916
|
+
* If set to 0, keepalive is disabled.
|
3917
|
+
*/
|
3918
|
+
persistentKeepalive: z.number().int().nonnegative().default(0).meta({ title: camelCaseToHumanReadable("persistentKeepalive"), description: `The keepalive interval in seconds that will be used by all nodes connecting to this peer.
|
3919
|
+
|
3920
|
+
If set to 0, keepalive is disabled.` })
|
3913
3921
|
}),
|
3914
3922
|
meta: {
|
3915
3923
|
color: "#673AB7"
|