waygate-core 0.2.0 → 0.2.1

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/dist/report.js +3 -1
  2. package/package.json +1 -1
package/dist/report.js CHANGED
@@ -17,7 +17,9 @@ export function renderReady(r) {
17
17
  lines.push(`凭证 ${r.credential.ok ? '✓' : '✗'} ${r.credential.detail}`);
18
18
  lines.push(`上游 ${r.upstream}`);
19
19
  lines.push(`代理 ${baseUrl(r.host, r.port)}`);
20
- lines.push(`密钥 ${maskKey(r.key)}`);
20
+ /* 密钥**完整**打印(不打码):它就是给用户复制进客户端的,打码等于不可用。
21
+ ⚠️ 只在本机终端输出;`--json` 同样给完整值(供脚本消费)。 */
22
+ lines.push(`密钥 ${r.key}`);
21
23
  if (r.host === '0.0.0.0' || r.host === '::') {
22
24
  lines.push('');
23
25
  lines.push(`⚠️ 正在监听所有网络接口(${r.host})—— 局域网内任何设备都能访问你的订阅。`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waygate-core",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Waygate 家族共享骨架:本地反代 HTTP 服务、入站密钥、CLI、自检",
5
5
  "type": "module",
6
6
  "license": "MIT",