fix: reading status of upnp mapping was not working sometimes

Massimo Melina committed Apr 29, 2026 at 11:57 UTC 28c0311ce6277ba7447c71104037f1f7d0eceed0
2 files changed +2 -2
package.json
+1 -1
@@ -81,6 +81,7 @@
81 "dependencies": {
82 "@gregoranders/csv": "^0.0.13",
83 "@rejetto/kvstorage": "^0.17.7",
84 + "@rejetto/nat-upnp": "^2.1.3",
85 "acme-client": "^5.4.0",
86 "busboy": "^1.6.0",
87 "crc-32": "^1.2.2",
@@ -100,7 +101,6 @@
101 "lodash": "^4.17.21",
102 "mime-types": "*",
103 "minimist": "^1.2.8",
103 - "nat-upnp-rejetto": "^2.1.2",
104 "node-forge": "^1.3.1",
105 "open": "^8.4.0",
106 "picomatch": "^4.0.3",
src/nat.ts
+1 -1
@@ -1,5 +1,5 @@
1 import { proxy } from 'valtio'
2 -import { Client } from 'nat-upnp-rejetto'
2 +import { Client } from '@rejetto/nat-upnp'
3 import { debounceAsync } from './debounceAsync'
4 import { haveTimeout, HOUR, inCommon, ipForUrl, MINUTE, promiseBestEffort, repeat, wantArray } from './cross'
5 import { getProjectInfo } from './github'