@aria-cli/wireguard 1.0.69 → 1.0.70

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.
@@ -0,0 +1,4 @@
1
+ {
2
+ "label": "@aria-cli/wireguard",
3
+ "fingerprint": "b49b3213a6add4e7c6e179a82009c12cc55059ea10051e206cc44c76cd29d01e"
4
+ }
package/dist/nat.d.ts CHANGED
@@ -65,6 +65,7 @@ export declare class StunClient {
65
65
  private servers;
66
66
  private pollIntervalMs;
67
67
  private interval;
68
+ private startInProgress;
68
69
  private lastResult;
69
70
  private _natType;
70
71
  /** Number of consecutive discovery failures (reset to 0 on success) */
@@ -74,6 +75,7 @@ export declare class StunClient {
74
75
  getNatType(): NatType | null;
75
76
  /** Get the last discovered endpoint */
76
77
  getEndpoint(): StunResult | null;
78
+ private discoveryServers;
77
79
  /** Discover endpoint once — uses first configured server (or defaults) */
78
80
  discover(): Promise<StunResult>;
79
81
  /** Start periodic endpoint discovery. Detects NAT type on first call. */
package/dist/nat.js CHANGED
@@ -55,6 +55,49 @@ const STUN_BINDING_RESPONSE = 0x0101;
55
55
  const STUN_MAGIC_COOKIE = 0x2112a442;
56
56
  const STUN_ATTR_XOR_MAPPED_ADDRESS = 0x0020;
57
57
  const STUN_ATTR_MAPPED_ADDRESS = 0x0001;
58
+ function parseIpv4(host) {
59
+ const parts = host.split(".");
60
+ if (parts.length !== 4)
61
+ return null;
62
+ const octets = parts.map((part) => Number(part));
63
+ if (octets.some((octet) => !Number.isInteger(octet) || octet < 0 || octet > 255)) {
64
+ return null;
65
+ }
66
+ return octets;
67
+ }
68
+ function shouldCheckTunnelRoute(host) {
69
+ const normalized = host.trim().toLowerCase();
70
+ if (normalized === "localhost")
71
+ return false;
72
+ const ipv4 = parseIpv4(normalized);
73
+ if (!ipv4)
74
+ return true;
75
+ const a = ipv4[0];
76
+ const b = ipv4[1];
77
+ if (a === 0)
78
+ return false;
79
+ if (a === 10)
80
+ return false;
81
+ if (a === 127)
82
+ return false;
83
+ if (a === 169 && b === 254)
84
+ return false;
85
+ if (a === 172 && b >= 16 && b <= 31)
86
+ return false;
87
+ if (a === 192 && b === 168)
88
+ return false;
89
+ if (a === 192 && b === 0)
90
+ return false;
91
+ if (a === 192 && b === 2)
92
+ return false;
93
+ if (a === 198 && (b === 18 || b === 19 || b === 51))
94
+ return false;
95
+ if (a === 203 && b === 0)
96
+ return false;
97
+ if (a >= 224)
98
+ return false;
99
+ return true;
100
+ }
58
101
  /**
59
102
  * Detect whether the route to a STUN server exits through a tunnel/VPN
60
103
  * interface. If so, STUN results reflect the tunnel exit IP — not the
@@ -67,6 +110,9 @@ const STUN_ATTR_MAPPED_ADDRESS = 0x0001;
67
110
  * Physical interfaces (Ethernet, WiFi) always have a real MAC.
68
111
  */
69
112
  function routeExitsThroughTunnel(host, port) {
113
+ if (!shouldCheckTunnelRoute(host)) {
114
+ return Promise.resolve(false);
115
+ }
70
116
  return new Promise((resolve) => {
71
117
  const probe = dgram.createSocket("udp4");
72
118
  const timer = setTimeout(() => {
@@ -310,6 +356,7 @@ class StunClient {
310
356
  servers;
311
357
  pollIntervalMs;
312
358
  interval = null;
359
+ startInProgress = false;
313
360
  lastResult = null;
314
361
  _natType = null;
315
362
  /** Number of consecutive discovery failures (reset to 0 on success) */
@@ -326,6 +373,9 @@ class StunClient {
326
373
  getEndpoint() {
327
374
  return this.lastResult;
328
375
  }
376
+ discoveryServers() {
377
+ return this.servers.length > 0 ? this.servers : DEFAULT_STUN_SERVERS;
378
+ }
329
379
  /** Discover endpoint once — uses first configured server (or defaults) */
330
380
  async discover() {
331
381
  const result = await discoverEndpoint(this.servers[0], 5000);
@@ -334,12 +384,14 @@ class StunClient {
334
384
  }
335
385
  /** Start periodic endpoint discovery. Detects NAT type on first call. */
336
386
  start(onUpdate) {
337
- if (this.interval)
387
+ if (this.interval || this.startInProgress)
338
388
  return;
389
+ this.startInProgress = true;
339
390
  // Check once if we're behind a VPN. If so, STUN will always return
340
391
  // the wrong IP — skip the entire poll loop instead of spamming errors.
341
392
  void (async () => {
342
- const [firstHost, firstPortStr] = this.servers[0].split(":");
393
+ const servers = this.discoveryServers();
394
+ const [firstHost, firstPortStr] = servers[0].split(":");
343
395
  const isTunnel = await routeExitsThroughTunnel(firstHost, parseInt(firstPortStr ?? "3478", 10));
344
396
  if (isTunnel) {
345
397
  if (typeof process !== "undefined" && process.stderr) {
@@ -350,7 +402,7 @@ class StunClient {
350
402
  // Initial discovery + NAT type detection
351
403
  try {
352
404
  if (!this._natType) {
353
- const detection = await detectNatType(this.servers);
405
+ const detection = await detectNatType(servers);
354
406
  this._natType = detection.natType;
355
407
  if (detection.results.length > 0) {
356
408
  this.lastResult = detection.results[0];
@@ -383,7 +435,9 @@ class StunClient {
383
435
  }
384
436
  }
385
437
  }, this.pollIntervalMs);
386
- })();
438
+ })().finally(() => {
439
+ this.startInProgress = false;
440
+ });
387
441
  }
388
442
  /** Stop periodic discovery */
389
443
  stop() {
package/dist/native.js CHANGED
@@ -46,33 +46,69 @@ exports.generateKeypair = generateKeypair;
46
46
  const path = __importStar(require("node:path"));
47
47
  /** Lazy-loaded native addon */
48
48
  let _native = null;
49
+ function errorMessage(error) {
50
+ return error instanceof Error ? error.message : String(error);
51
+ }
52
+ function isWireGuardNativeAddon(value) {
53
+ if (typeof value !== "object" || value === null)
54
+ return false;
55
+ const candidate = value;
56
+ return (typeof candidate.WireGuardTunnel === "function" &&
57
+ typeof candidate.generateKeypair === "function");
58
+ }
59
+ function requireWireGuardNative(candidatePath) {
60
+ if (path.resolve(candidatePath) === path.resolve(__filename)) {
61
+ throw new Error(`${candidatePath} is the TypeScript wrapper, not the native WireGuard API`);
62
+ }
63
+ // eslint-disable-next-line @typescript-eslint/no-require-imports
64
+ const candidate = require(candidatePath);
65
+ if (!isWireGuardNativeAddon(candidate)) {
66
+ throw new Error(`${candidatePath} did not export WireGuardTunnel and generateKeypair`);
67
+ }
68
+ return candidate;
69
+ }
70
+ function appendUnique(candidates, candidate) {
71
+ if (!candidates.includes(candidate)) {
72
+ candidates.push(candidate);
73
+ }
74
+ }
75
+ function appendPackageEntryCandidates(candidates, entry) {
76
+ appendUnique(candidates, entry);
77
+ const entryDir = path.dirname(entry);
78
+ if (path.basename(entryDir) === "dist") {
79
+ appendUnique(candidates, path.join(entryDir, "..", "index.js"));
80
+ }
81
+ }
49
82
  function loadNative() {
50
83
  if (_native)
51
84
  return _native;
52
85
  const errors = [];
53
- // Strategy 1: Resolve via package name (works in bundled aria.mjs + dev mode).
54
- // require.resolve finds @aria-cli/wireguard/package.json in node_modules,
55
- // then we load the napi-rs CJS loader (index.js) from the package root.
86
+ const candidates = [];
87
+ // Strategy 1: Resolve via the package's exported entry and, when that entry
88
+ // lives under dist/, add the package-root napi-rs loader. Never resolve
89
+ // package.json: modern package exports often hide it.
56
90
  // Array join prevents the bundler from resolving the specifier at build time.
57
91
  try {
58
- const pkgSpec = ["@aria-cli", "wireguard", "package.json"].join("/");
59
- const pkgDir = path.dirname(require.resolve(pkgSpec));
60
- // eslint-disable-next-line @typescript-eslint/no-require-imports
61
- _native = require(path.join(pkgDir, "index.js"));
62
- return _native;
92
+ const pkgSpec = ["@aria-cli", "wireguard"].join("/");
93
+ const entry = require.resolve(pkgSpec);
94
+ appendPackageEntryCandidates(candidates, entry);
63
95
  }
64
96
  catch (err) {
65
- errors.push(err instanceof Error ? err.message : String(err));
97
+ errors.push(errorMessage(err));
66
98
  }
67
- // Strategy 2: Relative path from dist/native.js package-root index.js.
68
- // Fallback for compiled binaries where the bundler resolves at build time.
69
- try {
70
- // eslint-disable-next-line @typescript-eslint/no-require-imports
71
- _native = require(path.join(__dirname, "..", "index.js"));
72
- return _native;
73
- }
74
- catch (err) {
75
- errors.push(err instanceof Error ? err.message : String(err));
99
+ // Strategy 2: Relative candidates cover both source execution
100
+ // (__dirname = package root) and compiled/bundled execution
101
+ // (__dirname = dist/).
102
+ appendUnique(candidates, path.join(__dirname, "index.js"));
103
+ appendUnique(candidates, path.join(__dirname, "..", "index.js"));
104
+ for (const candidate of candidates) {
105
+ try {
106
+ _native = requireWireGuardNative(candidate);
107
+ return _native;
108
+ }
109
+ catch (err) {
110
+ errors.push(`${candidate}: ${errorMessage(err)}`);
111
+ }
76
112
  }
77
113
  throw new Error(`@aria/wireguard: Failed to load native addon (${process.platform}-${process.arch}). ${errors.join(" | ")}`);
78
114
  }
@@ -25,7 +25,7 @@ export declare class NetworkStateStore {
25
25
  get path(): string;
26
26
  /** Whether the store has been opened */
27
27
  get isOpen(): boolean;
28
- getConnection(): SqliteDatabase | null;
28
+ getConnection(): SqliteDatabase;
29
29
  /** Open the database, creating schema if needed */
30
30
  open(): SqliteDatabase;
31
31
  private reconcilePeerTableSchema;
@@ -127,7 +127,7 @@ class NetworkStateStore {
127
127
  return this.db !== null;
128
128
  }
129
129
  getConnection() {
130
- return this.db;
130
+ return this.open();
131
131
  }
132
132
  /** Open the database, creating schema if needed */
133
133
  open() {
package/dist/network.js CHANGED
@@ -57,6 +57,7 @@ const path = __importStar(require("node:path"));
57
57
  const tools_1 = require("@aria-cli/tools");
58
58
  const bootstrap_authority_js_1 = require("./bootstrap-authority.js");
59
59
  const bootstrap_tls_js_1 = require("./bootstrap-tls.js");
60
+ const peer_restore_eligibility_js_1 = require("./peer-restore-eligibility.js");
60
61
  const route_ownership_js_1 = require("./route-ownership.js");
61
62
  const tunnel_js_1 = require("./tunnel.js");
62
63
  const resilient_tunnel_js_1 = require("./resilient-tunnel.js");
@@ -1648,6 +1649,23 @@ class NetworkManager {
1648
1649
  });
1649
1650
  return;
1650
1651
  }
1652
+ const restoreDecision = (0, peer_restore_eligibility_js_1.shouldAutoRestoreDirectPeer)(peer);
1653
+ if (!restoreDecision.eligible) {
1654
+ this.appendDiagnostic({
1655
+ timestamp: Date.now(),
1656
+ event: "route_restore_skipped",
1657
+ peerPublicKey: peer.publicKey,
1658
+ peerNodeId: peer.nodeId,
1659
+ peerName: peer.name,
1660
+ detail: {
1661
+ reason: restoreDecision.reason,
1662
+ status: peer.status,
1663
+ staleByMs: restoreDecision.staleByMs ?? null,
1664
+ newestKnownActivityMs: restoreDecision.newestKnownActivityMs ?? null,
1665
+ },
1666
+ });
1667
+ return;
1668
+ }
1651
1669
  try {
1652
1670
  await this.startTunnelByTransportKey(peer.publicKey);
1653
1671
  }
@@ -1693,6 +1711,23 @@ class NetworkManager {
1693
1711
  });
1694
1712
  continue;
1695
1713
  }
1714
+ const restoreDecision = (0, peer_restore_eligibility_js_1.shouldAutoRestoreDirectPeer)(peer);
1715
+ if (!restoreDecision.eligible) {
1716
+ this.appendDiagnostic({
1717
+ timestamp: Date.now(),
1718
+ event: "route_restore_skipped",
1719
+ peerPublicKey: peer.publicKey,
1720
+ peerNodeId: peer.nodeId,
1721
+ peerName: peer.name,
1722
+ detail: {
1723
+ reason: restoreDecision.reason,
1724
+ status: peer.status,
1725
+ staleByMs: restoreDecision.staleByMs ?? null,
1726
+ newestKnownActivityMs: restoreDecision.newestKnownActivityMs ?? null,
1727
+ },
1728
+ });
1729
+ continue;
1730
+ }
1696
1731
  await this.startTunnelByTransportKey(peer.publicKey);
1697
1732
  }
1698
1733
  catch {
@@ -25,6 +25,7 @@ exports.PeerDiscoveryService = void 0;
25
25
  const node_events_1 = require("node:events");
26
26
  const tools_1 = require("@aria-cli/tools");
27
27
  const bootstrap_tls_js_1 = require("./bootstrap-tls.js");
28
+ const peer_restore_eligibility_js_1 = require("./peer-restore-eligibility.js");
28
29
  /**
29
30
  * Periodic peer discovery service.
30
31
  *
@@ -372,6 +373,8 @@ class PeerDiscoveryService extends node_events_1.EventEmitter {
372
373
  const { identityState } = (0, tools_1.derivePeerStateFromLegacyStatus)(peer);
373
374
  if (!(0, tools_1.canRefreshEndpoint)(identityState))
374
375
  continue;
376
+ if (!(0, peer_restore_eligibility_js_1.shouldAutoRestoreDirectPeer)(peer).eligible)
377
+ continue;
375
378
  remoteMap.set(peer.nodeId, peer);
376
379
  }
377
380
  // Detect known peers whose endpoint changed on the coordination server.
@@ -0,0 +1,18 @@
1
+ import type { LegacyPeerRegistryStatus } from "@aria-cli/tools";
2
+ type PeerRestoreTimestamps = {
3
+ status: LegacyPeerRegistryStatus;
4
+ lastHandshake?: number | null;
5
+ createdAt?: number | null;
6
+ updatedAt?: number | null;
7
+ };
8
+ export type PeerRestoreDecision = {
9
+ eligible: true;
10
+ } | {
11
+ eligible: false;
12
+ reason: "stale_active_handshake" | "stale_active_without_handshake" | "stale_pending_restore" | "non_rehydratable_status";
13
+ staleByMs?: number;
14
+ newestKnownActivityMs?: number;
15
+ };
16
+ export declare function shouldAutoRestoreDirectPeer(peer: PeerRestoreTimestamps, now?: number): PeerRestoreDecision;
17
+ export {};
18
+ //# sourceMappingURL=peer-restore-eligibility.d.ts.map
@@ -0,0 +1,73 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.shouldAutoRestoreDirectPeer = shouldAutoRestoreDirectPeer;
4
+ const PLAUSIBLE_EPOCH_MS = Date.UTC(2020, 0, 1);
5
+ const ACTIVE_DIRECT_RESTORE_MAX_IDLE_MS = 7 * 24 * 60 * 60 * 1000;
6
+ const PENDING_DIRECT_RESTORE_MAX_IDLE_MS = 24 * 60 * 60 * 1000;
7
+ function plausibleEpoch(value) {
8
+ return typeof value === "number" && Number.isFinite(value) && value >= PLAUSIBLE_EPOCH_MS
9
+ ? value
10
+ : null;
11
+ }
12
+ function newestPlausibleEpoch(values) {
13
+ const plausible = values
14
+ .map((value) => plausibleEpoch(value))
15
+ .filter((value) => value !== null);
16
+ return plausible.length > 0 ? Math.max(...plausible) : null;
17
+ }
18
+ function staleBy(now, activityMs, maxIdleMs) {
19
+ return Math.max(0, now - activityMs - maxIdleMs);
20
+ }
21
+ function shouldAutoRestoreDirectPeer(peer, now = Date.now()) {
22
+ if (peer.status === "active") {
23
+ const lastHandshake = plausibleEpoch(peer.lastHandshake);
24
+ if (lastHandshake !== null) {
25
+ if (now - lastHandshake > ACTIVE_DIRECT_RESTORE_MAX_IDLE_MS) {
26
+ return {
27
+ eligible: false,
28
+ reason: "stale_active_handshake",
29
+ staleByMs: staleBy(now, lastHandshake, ACTIVE_DIRECT_RESTORE_MAX_IDLE_MS),
30
+ newestKnownActivityMs: lastHandshake,
31
+ };
32
+ }
33
+ return { eligible: true };
34
+ }
35
+ const newestRowActivity = newestPlausibleEpoch([peer.updatedAt, peer.createdAt]);
36
+ if (newestRowActivity === null) {
37
+ return { eligible: true };
38
+ }
39
+ if (now - newestRowActivity > ACTIVE_DIRECT_RESTORE_MAX_IDLE_MS) {
40
+ return {
41
+ eligible: false,
42
+ reason: "stale_active_without_handshake",
43
+ staleByMs: staleBy(now, newestRowActivity, ACTIVE_DIRECT_RESTORE_MAX_IDLE_MS),
44
+ newestKnownActivityMs: newestRowActivity,
45
+ };
46
+ }
47
+ return { eligible: true };
48
+ }
49
+ if (peer.status === "pending_verification" || peer.status === "pending_tunnel") {
50
+ const newestBootstrapActivity = newestPlausibleEpoch([
51
+ peer.lastHandshake,
52
+ peer.updatedAt,
53
+ peer.createdAt,
54
+ ]);
55
+ if (newestBootstrapActivity === null) {
56
+ return { eligible: true };
57
+ }
58
+ if (now - newestBootstrapActivity > PENDING_DIRECT_RESTORE_MAX_IDLE_MS) {
59
+ return {
60
+ eligible: false,
61
+ reason: "stale_pending_restore",
62
+ staleByMs: staleBy(now, newestBootstrapActivity, PENDING_DIRECT_RESTORE_MAX_IDLE_MS),
63
+ newestKnownActivityMs: newestBootstrapActivity,
64
+ };
65
+ }
66
+ return { eligible: true };
67
+ }
68
+ return {
69
+ eligible: false,
70
+ reason: "non_rehydratable_status",
71
+ };
72
+ }
73
+ //# sourceMappingURL=peer-restore-eligibility.js.map
package/index.js CHANGED
@@ -77,8 +77,8 @@ function requireNative() {
77
77
  try {
78
78
  const binding = require('@aria-cli/wireguard-android-arm64')
79
79
  const bindingPackageVersion = require('@aria-cli/wireguard-android-arm64/package.json').version
80
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
80
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
81
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
82
82
  }
83
83
  return binding
84
84
  } catch (e) {
@@ -93,8 +93,8 @@ function requireNative() {
93
93
  try {
94
94
  const binding = require('@aria-cli/wireguard-android-arm-eabi')
95
95
  const bindingPackageVersion = require('@aria-cli/wireguard-android-arm-eabi/package.json').version
96
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
96
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
97
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
98
98
  }
99
99
  return binding
100
100
  } catch (e) {
@@ -114,8 +114,8 @@ function requireNative() {
114
114
  try {
115
115
  const binding = require('@aria-cli/wireguard-win32-x64-gnu')
116
116
  const bindingPackageVersion = require('@aria-cli/wireguard-win32-x64-gnu/package.json').version
117
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
117
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
118
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
119
119
  }
120
120
  return binding
121
121
  } catch (e) {
@@ -130,8 +130,8 @@ function requireNative() {
130
130
  try {
131
131
  const binding = require('@aria-cli/wireguard-win32-x64-msvc')
132
132
  const bindingPackageVersion = require('@aria-cli/wireguard-win32-x64-msvc/package.json').version
133
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
133
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
134
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
135
135
  }
136
136
  return binding
137
137
  } catch (e) {
@@ -147,8 +147,8 @@ function requireNative() {
147
147
  try {
148
148
  const binding = require('@aria-cli/wireguard-win32-ia32-msvc')
149
149
  const bindingPackageVersion = require('@aria-cli/wireguard-win32-ia32-msvc/package.json').version
150
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
150
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
151
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
152
152
  }
153
153
  return binding
154
154
  } catch (e) {
@@ -163,8 +163,8 @@ function requireNative() {
163
163
  try {
164
164
  const binding = require('@aria-cli/wireguard-win32-arm64-msvc')
165
165
  const bindingPackageVersion = require('@aria-cli/wireguard-win32-arm64-msvc/package.json').version
166
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
166
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
167
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
168
168
  }
169
169
  return binding
170
170
  } catch (e) {
@@ -182,8 +182,8 @@ function requireNative() {
182
182
  try {
183
183
  const binding = require('@aria-cli/wireguard-darwin-universal')
184
184
  const bindingPackageVersion = require('@aria-cli/wireguard-darwin-universal/package.json').version
185
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
185
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
186
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
187
187
  }
188
188
  return binding
189
189
  } catch (e) {
@@ -198,8 +198,8 @@ function requireNative() {
198
198
  try {
199
199
  const binding = require('@aria-cli/wireguard-darwin-x64')
200
200
  const bindingPackageVersion = require('@aria-cli/wireguard-darwin-x64/package.json').version
201
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
201
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
202
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
203
203
  }
204
204
  return binding
205
205
  } catch (e) {
@@ -214,8 +214,8 @@ function requireNative() {
214
214
  try {
215
215
  const binding = require('@aria-cli/wireguard-darwin-arm64')
216
216
  const bindingPackageVersion = require('@aria-cli/wireguard-darwin-arm64/package.json').version
217
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
217
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
218
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
219
219
  }
220
220
  return binding
221
221
  } catch (e) {
@@ -234,8 +234,8 @@ function requireNative() {
234
234
  try {
235
235
  const binding = require('@aria-cli/wireguard-freebsd-x64')
236
236
  const bindingPackageVersion = require('@aria-cli/wireguard-freebsd-x64/package.json').version
237
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
237
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
238
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
239
239
  }
240
240
  return binding
241
241
  } catch (e) {
@@ -250,8 +250,8 @@ function requireNative() {
250
250
  try {
251
251
  const binding = require('@aria-cli/wireguard-freebsd-arm64')
252
252
  const bindingPackageVersion = require('@aria-cli/wireguard-freebsd-arm64/package.json').version
253
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
253
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
254
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
255
255
  }
256
256
  return binding
257
257
  } catch (e) {
@@ -271,8 +271,8 @@ function requireNative() {
271
271
  try {
272
272
  const binding = require('@aria-cli/wireguard-linux-x64-musl')
273
273
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-x64-musl/package.json').version
274
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
274
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
275
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
276
276
  }
277
277
  return binding
278
278
  } catch (e) {
@@ -287,8 +287,8 @@ function requireNative() {
287
287
  try {
288
288
  const binding = require('@aria-cli/wireguard-linux-x64-gnu')
289
289
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-x64-gnu/package.json').version
290
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
290
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
291
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
292
292
  }
293
293
  return binding
294
294
  } catch (e) {
@@ -305,8 +305,8 @@ function requireNative() {
305
305
  try {
306
306
  const binding = require('@aria-cli/wireguard-linux-arm64-musl')
307
307
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-arm64-musl/package.json').version
308
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
308
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
309
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
310
310
  }
311
311
  return binding
312
312
  } catch (e) {
@@ -321,8 +321,8 @@ function requireNative() {
321
321
  try {
322
322
  const binding = require('@aria-cli/wireguard-linux-arm64-gnu')
323
323
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-arm64-gnu/package.json').version
324
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
324
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
325
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
326
326
  }
327
327
  return binding
328
328
  } catch (e) {
@@ -339,8 +339,8 @@ function requireNative() {
339
339
  try {
340
340
  const binding = require('@aria-cli/wireguard-linux-arm-musleabihf')
341
341
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-arm-musleabihf/package.json').version
342
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
342
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
343
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
344
344
  }
345
345
  return binding
346
346
  } catch (e) {
@@ -355,8 +355,8 @@ function requireNative() {
355
355
  try {
356
356
  const binding = require('@aria-cli/wireguard-linux-arm-gnueabihf')
357
357
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-arm-gnueabihf/package.json').version
358
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
358
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
359
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
360
360
  }
361
361
  return binding
362
362
  } catch (e) {
@@ -373,8 +373,8 @@ function requireNative() {
373
373
  try {
374
374
  const binding = require('@aria-cli/wireguard-linux-loong64-musl')
375
375
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-loong64-musl/package.json').version
376
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
376
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
377
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
378
378
  }
379
379
  return binding
380
380
  } catch (e) {
@@ -389,8 +389,8 @@ function requireNative() {
389
389
  try {
390
390
  const binding = require('@aria-cli/wireguard-linux-loong64-gnu')
391
391
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-loong64-gnu/package.json').version
392
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
392
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
393
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
394
394
  }
395
395
  return binding
396
396
  } catch (e) {
@@ -407,8 +407,8 @@ function requireNative() {
407
407
  try {
408
408
  const binding = require('@aria-cli/wireguard-linux-riscv64-musl')
409
409
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-riscv64-musl/package.json').version
410
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
410
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
411
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
412
412
  }
413
413
  return binding
414
414
  } catch (e) {
@@ -423,8 +423,8 @@ function requireNative() {
423
423
  try {
424
424
  const binding = require('@aria-cli/wireguard-linux-riscv64-gnu')
425
425
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-riscv64-gnu/package.json').version
426
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
426
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
427
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
428
428
  }
429
429
  return binding
430
430
  } catch (e) {
@@ -440,8 +440,8 @@ function requireNative() {
440
440
  try {
441
441
  const binding = require('@aria-cli/wireguard-linux-ppc64-gnu')
442
442
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-ppc64-gnu/package.json').version
443
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
443
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
444
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
445
445
  }
446
446
  return binding
447
447
  } catch (e) {
@@ -456,8 +456,8 @@ function requireNative() {
456
456
  try {
457
457
  const binding = require('@aria-cli/wireguard-linux-s390x-gnu')
458
458
  const bindingPackageVersion = require('@aria-cli/wireguard-linux-s390x-gnu/package.json').version
459
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
459
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
460
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
461
461
  }
462
462
  return binding
463
463
  } catch (e) {
@@ -476,8 +476,8 @@ function requireNative() {
476
476
  try {
477
477
  const binding = require('@aria-cli/wireguard-openharmony-arm64')
478
478
  const bindingPackageVersion = require('@aria-cli/wireguard-openharmony-arm64/package.json').version
479
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
479
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
480
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
481
481
  }
482
482
  return binding
483
483
  } catch (e) {
@@ -492,8 +492,8 @@ function requireNative() {
492
492
  try {
493
493
  const binding = require('@aria-cli/wireguard-openharmony-x64')
494
494
  const bindingPackageVersion = require('@aria-cli/wireguard-openharmony-x64/package.json').version
495
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
495
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
496
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
497
497
  }
498
498
  return binding
499
499
  } catch (e) {
@@ -508,8 +508,8 @@ function requireNative() {
508
508
  try {
509
509
  const binding = require('@aria-cli/wireguard-openharmony-arm')
510
510
  const bindingPackageVersion = require('@aria-cli/wireguard-openharmony-arm/package.json').version
511
- if (bindingPackageVersion !== '1.0.69' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
- throw new Error(`Native binding package version mismatch, expected 1.0.69 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
511
+ if (bindingPackageVersion !== '1.0.70' && process.env.NAPI_RS_ENFORCE_VERSION_CHECK && process.env.NAPI_RS_ENFORCE_VERSION_CHECK !== '0') {
512
+ throw new Error(`Native binding package version mismatch, expected 1.0.70 but got ${bindingPackageVersion}. You can reinstall dependencies to fix this issue.`)
513
513
  }
514
514
  return binding
515
515
  } catch (e) {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aria-cli/wireguard-darwin-arm64",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "os": [
5
5
  "darwin"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aria-cli/wireguard-darwin-x64",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "os": [
5
5
  "darwin"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aria-cli/wireguard-linux-arm64-gnu",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "os": [
5
5
  "linux"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aria-cli/wireguard-linux-x64-gnu",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "os": [
5
5
  "linux"
6
6
  ],
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aria-cli/wireguard-win32-x64-msvc",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "os": [
5
5
  "win32"
6
6
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aria-cli/wireguard",
3
- "version": "1.0.69",
3
+ "version": "1.0.70",
4
4
  "description": "WireGuard native addon for ARIA secure networking (boringtun via napi-rs)",
5
5
  "main": "dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -45,11 +45,11 @@
45
45
  "ws": "^8.19.0"
46
46
  },
47
47
  "optionalDependencies": {
48
- "@aria-cli/wireguard-darwin-arm64": "1.0.69",
49
- "@aria-cli/wireguard-darwin-x64": "1.0.69",
50
- "@aria-cli/wireguard-linux-x64-gnu": "1.0.69",
51
- "@aria-cli/wireguard-linux-arm64-gnu": "1.0.69",
52
- "@aria-cli/wireguard-win32-x64-msvc": "1.0.69"
48
+ "@aria-cli/wireguard-darwin-arm64": "1.0.70",
49
+ "@aria-cli/wireguard-darwin-x64": "1.0.70",
50
+ "@aria-cli/wireguard-linux-x64-gnu": "1.0.70",
51
+ "@aria-cli/wireguard-linux-arm64-gnu": "1.0.70",
52
+ "@aria-cli/wireguard-win32-x64-msvc": "1.0.70"
53
53
  },
54
54
  "files": [
55
55
  "index.js",