feat(exports): export datagram handler types and align tests with updated nftables and route security APIs

This commit is contained in:
2026-04-30 09:05:24 +00:00
parent e806f7257f
commit 2933ee5257
14 changed files with 622 additions and 684 deletions
+3 -2
View File
@@ -148,7 +148,8 @@ tap.test('route-specific IP block list should be enforced', async () => {
try {
client.write('test data');
} catch (e) {
console.log('Write failed:', e.message);
const message = e instanceof Error ? e.message : String(e);
console.log('Write failed:', message);
}
});
@@ -272,4 +273,4 @@ tap.test('routes without security should allow all connections', async () => {
});
});
export default tap.start();
export default tap.start();