@h-ai/crypto 0.1.0-alpha.53 → 0.1.0-alpha.55

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 +2 -0
  2. package/package.json +9 -5
package/README.md CHANGED
@@ -240,3 +240,5 @@ pnpm --filter @h-ai/crypto test
240
240
  ## License
241
241
 
242
242
  Apache-2.0
243
+
244
+ 管理端在线加密演示直接调用 Crypto SM3/SM4 API,SM4 使用随机临时密钥和 IV,并在显示成功前解密校验;密钥不保存。输入改变即清空旧结果,禁止用随机摘要或 Base64 伪装算法结果。
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@h-ai/crypto",
3
3
  "type": "module",
4
- "version": "0.1.0-alpha.53",
4
+ "version": "0.1.0-alpha.55",
5
5
  "description": "Hai Framework cryptography module (asymmetric, symmetric, and hash).",
6
6
  "license": "Apache-2.0",
7
7
  "exports": {
@@ -19,13 +19,16 @@
19
19
  "publishConfig": {
20
20
  "access": "public"
21
21
  },
22
+ "engines": {
23
+ "node": ">=22.12.0"
24
+ },
22
25
  "dependencies": {
23
26
  "sm-crypto": "^0.4.0",
24
- "@h-ai/core": "0.1.0-alpha.53"
27
+ "@h-ai/core": "0.1.0-alpha.55"
25
28
  },
26
29
  "optionalDependencies": {
27
- "@h-ai/reldb": "0.1.0-alpha.53",
28
- "@h-ai/cache": "0.1.0-alpha.53"
30
+ "@h-ai/reldb": "0.1.0-alpha.55",
31
+ "@h-ai/cache": "0.1.0-alpha.55"
29
32
  },
30
33
  "devDependencies": {
31
34
  "@types/node": "^25.9.1",
@@ -42,6 +45,7 @@
42
45
  "typecheck": "tsc --noEmit",
43
46
  "lint": "eslint .",
44
47
  "lint:fix": "eslint . --fix",
45
- "clean": "rimraf dist .turbo"
48
+ "clean": "rimraf dist .turbo",
49
+ "build:clean": "rimraf dist"
46
50
  }
47
51
  }