@hamedb89/localghost 0.6.1 → 0.6.2
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/README.md +5 -1
- package/dist/cli.js +347 -304
- package/dist/cli.js.map +1 -1
- package/dist/index.d.ts +142 -107
- package/dist/index.js +1464 -1394
- package/dist/index.js.map +1 -1
- package/dist/{tunnel-BA52DD9e.d.ts → tunnel-DHYPpsX2.d.ts} +1 -1
- package/dist/vite.d.ts +1 -1
- package/dist/vite.js +1 -1
- package/dist/vite.js.map +1 -1
- package/docs/ghost-tunnel.md +9 -3
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -495,9 +495,9 @@ Production code can parse and validate the incoming wildcard host:
|
|
|
495
495
|
|
|
496
496
|
```ts
|
|
497
497
|
import {
|
|
498
|
-
assertSecureGhostTunnelRequest,
|
|
499
498
|
readLocalghostProjectConfig
|
|
500
499
|
} from "@hamedb89/localghost";
|
|
500
|
+
import { assertSecureGhostTunnelRequest } from "@hamedb89/localghost";
|
|
501
501
|
|
|
502
502
|
const { config } = await readLocalghostProjectConfig();
|
|
503
503
|
|
|
@@ -510,6 +510,10 @@ const route = assertSecureGhostTunnelRequest({
|
|
|
510
510
|
});
|
|
511
511
|
```
|
|
512
512
|
|
|
513
|
+
Ghost Tunnel is maintained as a private workspace package and bundled into
|
|
514
|
+
`@hamedb89/localghost`. Consumers install and import only the Localghost
|
|
515
|
+
package.
|
|
516
|
+
|
|
513
517
|
By default, secure requests require HTTPS and app-authenticated access.
|
|
514
518
|
|
|
515
519
|
### Concrete Ghost Tunnel Preview
|