@torkbot/sandbox 0.7.3 → 0.7.5

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.
Files changed (2) hide show
  1. package/README.md +7 -4
  2. package/package.json +3 -3
package/README.md CHANGED
@@ -370,7 +370,9 @@ conn.matchHttp("api.example.com");
370
370
 
371
371
  `conn.matchDns()` normalizes DNS over UDP and TCP. The guest is configured to
372
372
  use Sandbox's internal resolver; policy code decides whether to accept that DNS
373
- flow and can choose explicit upstream resolvers in `accept(...)`.
373
+ flow and can choose explicit upstream resolvers in `accept(...)`. Accepted DNS
374
+ answers are cached as trusted, guest-scoped hostname metadata for later
375
+ connection policy decisions.
374
376
 
375
377
  ```ts
376
378
  const dns = conn.matchDns();
@@ -380,9 +382,10 @@ if (dns) {
380
382
  ```
381
383
 
382
384
  `conn.matchHttp(...)` acquires an HTTP capability from trusted destination
383
- metadata. It does not inspect or trust the HTTP `Host` header. IP-addressed HTTP
384
- requests can still be accepted through lower-level policy, but they do not
385
- advertise a trusted hostname.
385
+ metadata, including hostnames observed from accepted DNS answers. It does not
386
+ inspect or trust the HTTP `Host` header. IP-addressed HTTP requests can still be
387
+ accepted through lower-level policy, but they do not advertise a trusted
388
+ hostname.
386
389
 
387
390
  ```ts
388
391
  const http = conn.matchHttp((candidate) =>
package/package.json CHANGED
@@ -28,13 +28,13 @@
28
28
  "engines": {
29
29
  "node": ">=24.0.0"
30
30
  },
31
- "version": "0.7.3",
31
+ "version": "0.7.5",
32
32
  "dependencies": {
33
33
  "bson": "^7.2.0",
34
34
  "just-bash": "^2.14.5"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@torkbot/sandbox-darwin-arm64": "0.7.3",
38
- "@torkbot/sandbox-linux-x64-gnu": "0.7.3"
37
+ "@torkbot/sandbox-darwin-arm64": "0.7.5",
38
+ "@torkbot/sandbox-linux-x64-gnu": "0.7.5"
39
39
  }
40
40
  }