@ocap/mcrypto 1.20.2 → 1.20.4

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 +1 -1
  2. package/package.json +19 -19
package/README.md CHANGED
@@ -11,7 +11,7 @@
11
11
  ```shell
12
12
  npm i @ocap/mcrypto -S
13
13
  # OR
14
- yarn add @ocap/mcrypto
14
+ pnpm install @ocap/mcrypto
15
15
  ```
16
16
 
17
17
  ### Sign/Verify
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocap/mcrypto",
3
- "version": "1.20.2",
3
+ "version": "1.20.4",
4
4
  "description": "Crypto lib that provides signer,crypter,hasher interface",
5
5
  "keywords": [
6
6
  "crypto",
@@ -37,30 +37,17 @@
37
37
  "jest": "^29.7.0",
38
38
  "ts-jest": "^29.2.5",
39
39
  "type-fest": "^3.1.0",
40
- "typescript": "^5.6.2"
40
+ "typescript": "^5.6.2",
41
+ "@ocap/e2e-test": "1.20.4"
41
42
  },
42
43
  "repository": {
43
44
  "type": "git",
44
45
  "url": "git+https://github.com/ArcBlock/blockchain.git"
45
46
  },
46
- "scripts": {
47
- "lint": "eslint src tests",
48
- "lint:fix": "npm run lint -- --fix",
49
- "prepush": "CI=1 yarn test",
50
- "test": "jest --forceExit --detectOpenHandles",
51
- "coverage": "npm run test -- --coverage",
52
- "clean": "rm -fr lib esm",
53
- "prebuild": "npm run clean",
54
- "build:cjs": "tsc -p tsconfig.cjs.json",
55
- "build:esm": "tsc -p tsconfig.esm.json",
56
- "build": "npm run build:cjs && npm run build:esm",
57
- "build:watch": "npm run build -- -w"
58
- },
59
47
  "bugs": {
60
48
  "url": "https://github.com/ArcBlock/blockchain/issues"
61
49
  },
62
50
  "dependencies": {
63
- "@ocap/util": "1.20.2",
64
51
  "@simplewebauthn/server": "^13.0.0",
65
52
  "bn.js": "5.2.1",
66
53
  "crypto-js": "^4.2.0",
@@ -70,11 +57,24 @@
70
57
  "interface": "^1.2.1",
71
58
  "js-sha3": "^0.8.0",
72
59
  "randombytes": "^2.1.0",
73
- "tweetnacl": "^1.0.3"
60
+ "tweetnacl": "^1.0.3",
61
+ "@ocap/util": "1.20.4"
74
62
  },
75
63
  "resolutions": {
76
64
  "bn.js": "5.2.1",
77
65
  "elliptic": "6.5.3"
78
66
  },
79
- "gitHead": "70ddd9b43070605879fed7dff50a9f19f5325ea8"
80
- }
67
+ "scripts": {
68
+ "lint": "eslint src tests",
69
+ "lint:fix": "npm run lint -- --fix",
70
+ "prepush": "CI=1 npm run test",
71
+ "test": "jest --forceExit --detectOpenHandles",
72
+ "coverage": "npm run test -- --coverage",
73
+ "clean": "rm -fr lib esm",
74
+ "prebuild": "pnpm run clean",
75
+ "build:cjs": "tsc -p tsconfig.cjs.json",
76
+ "build:esm": "tsc -p tsconfig.esm.json",
77
+ "build": "pnpm run build:cjs && pnpm run build:esm",
78
+ "build:watch": "pnpm run build -- -w"
79
+ }
80
+ }