@arcblock/did-util 1.28.5 → 1.28.7

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 CHANGED
@@ -18,7 +18,7 @@
18
18
  ```sh
19
19
  npm install @arcblock/did-util
20
20
  // or
21
- pnpm install @arcblock/did-util
21
+ bun install @arcblock/did-util
22
22
  ```
23
23
 
24
24
  ## Usage
package/esm/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
- import { Hasher, types } from "@ocap/mcrypto";
2
1
  import { fromHash } from "@arcblock/did";
2
+ import { Hasher, types } from "@ocap/mcrypto";
3
3
  import { createMessage } from "@ocap/message";
4
4
  import ocapProto from "@ocap/proto";
5
5
 
package/lib/index.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
2
- let _ocap_mcrypto = require("@ocap/mcrypto");
3
2
  let _arcblock_did = require("@arcblock/did");
3
+ let _ocap_mcrypto = require("@ocap/mcrypto");
4
4
  let _ocap_message = require("@ocap/message");
5
5
  let _ocap_proto = require("@ocap/proto");
6
6
  _ocap_proto = require_rolldown_runtime.__toESM(_ocap_proto);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@arcblock/did-util",
3
3
  "description": "Helper function to calculate did",
4
- "version": "1.28.5",
4
+ "version": "1.28.7",
5
5
  "type": "module",
6
6
  "author": {
7
7
  "name": "wangshijun",
@@ -19,13 +19,13 @@
19
19
  "wangshijun <shijun@arcblock.io> (https://github.com/wangshijun)"
20
20
  ],
21
21
  "dependencies": {
22
- "@arcblock/did": "1.28.5",
23
- "@ocap/mcrypto": "1.28.5",
24
- "@ocap/message": "1.28.5",
25
- "@ocap/proto": "1.28.5",
26
- "@ocap/types": "1.28.5",
27
- "@ocap/util": "1.28.5",
28
- "@ocap/wallet": "1.28.5"
22
+ "@arcblock/did": "1.28.7",
23
+ "@ocap/mcrypto": "1.28.7",
24
+ "@ocap/message": "1.28.7",
25
+ "@ocap/proto": "1.28.7",
26
+ "@ocap/types": "1.28.7",
27
+ "@ocap/util": "1.28.7",
28
+ "@ocap/wallet": "1.28.7"
29
29
  },
30
30
  "sideEffects": false,
31
31
  "main": "./lib/index.cjs",
@@ -43,12 +43,7 @@
43
43
  "esm"
44
44
  ],
45
45
  "devDependencies": {
46
- "@arcblock/eslint-config-ts": "0.3.3",
47
- "@types/jest": "^29.5.13",
48
46
  "@types/node": "^22.7.5",
49
- "eslint": "^8.57.0",
50
- "jest": "^29.7.0",
51
- "ts-jest": "^29.2.5",
52
47
  "tsdown": "^0.18.4",
53
48
  "typescript": "^5.6.2"
54
49
  },
@@ -61,13 +56,13 @@
61
56
  "type": "git",
62
57
  "url": "https://github.com/ArcBlock/blockchain/tree/master/did/did-util"
63
58
  },
64
- "gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
65
59
  "scripts": {
66
- "lint": "eslint src tests",
67
- "lint:fix": "npm run lint -- --fix",
68
- "test": "jest --forceExit --detectOpenHandles",
60
+ "lint": "biome check",
61
+ "lint:fix": "biome check --write",
62
+ "test": "bun test",
69
63
  "coverage": "npm run test -- --coverage",
70
64
  "build": "tsdown",
71
65
  "build:watch": "tsdown -w"
72
- }
73
- }
66
+ },
67
+ "gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e"
68
+ }