@jcoder-stack/registry 0.1.0 → 0.1.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.
@@ -18,6 +18,13 @@ AUTH_REDIRECT_URI=http://localhost:3000/api/auth/callback
18
18
  AUTH_POST_LOGOUT_REDIRECT_URI=http://localhost:3000/
19
19
  # ≥32 字符随机串:openssl rand -base64 32
20
20
  AUTH_SESSION_SECRET=
21
+ # 后端用自签证书(本地 ABP 默认如此)时,服务端到它的这一跳会失败:页面 500 且只写着 "fetch failed",
22
+ # gen 同理。原因是 Node 只认自己内置的 CA 列表,不读系统钥匙串——证书 dev-certs --trust 过、浏览器和
23
+ # curl 都放行,Node 依然拒。导出证书后二选一:
24
+ # dotnet dev-certs https --export-path ~/.aspnet-dev.crt --format PEM
25
+ # NODE_EXTRA_CA_CERTS=~/.aspnet-dev.crt bun run dev ← 只多信这一张,其余照常校验。Node 在启动时读它,
26
+ # 写进本文件不生效,必须放在命令上或 shell profile 里
27
+ # NODE_TLS_REJECT_UNAUTHORIZED=0 ← 写进本文件有效,但对所有主机关掉校验,只可用于开发
21
28
  AUTH_ABP_BASE_URL=https://localhost:44300
22
29
  # 开发排障:置 true 打开 auth 全链路 debug 日志(永不输出 token 原文)
23
30
  AUTH_DEBUG=false
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@jcoder-stack/registry",
3
3
  "description": "认证外壳的 copy-in 源:登录/回调/登出 handler、callAbp 代理、路由守卫、TanStack 接线",
4
- "version": "0.1.0",
4
+ "version": "0.1.1",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "auth",