@ocap/wallet 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
@@ -9,7 +9,7 @@
9
9
  ## Usage
10
10
 
11
11
  ```shell
12
- pnpm install @ocap/wallet
12
+ bun install @ocap/wallet
13
13
  # OR
14
14
  npm i @ocap/wallet -S
15
15
  ```
package/esm/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
- import { BytesType, EncodingType } from "@ocap/util";
2
1
  import { DIDType, DIDTypeArg, DIDTypeStr, DidType } from "@arcblock/did";
2
+ import { BytesType, EncodingType } from "@ocap/util";
3
3
 
4
4
  //#region src/index.d.ts
5
5
  type KeyPairType<T extends BytesType = string> = {
package/esm/index.mjs CHANGED
@@ -1,7 +1,7 @@
1
- import { toHex } from "@ocap/util";
2
- import { getHasher, getSigner } from "@ocap/mcrypto";
3
1
  import { DidType, fromPublicKey as fromPublicKey$1, toAddress, toTypeInfo } from "@arcblock/did";
4
2
  import * as JWT from "@arcblock/jwt";
3
+ import { getHasher, getSigner } from "@ocap/mcrypto";
4
+ import { toHex } from "@ocap/util";
5
5
 
6
6
  //#region src/index.ts
7
7
  const WalletType = DidType;
package/lib/index.cjs CHANGED
@@ -1,9 +1,9 @@
1
1
  const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
2
- let _ocap_util = require("@ocap/util");
3
- let _ocap_mcrypto = require("@ocap/mcrypto");
4
2
  let _arcblock_did = require("@arcblock/did");
5
3
  let _arcblock_jwt = require("@arcblock/jwt");
6
4
  _arcblock_jwt = require_rolldown_runtime.__toESM(_arcblock_jwt);
5
+ let _ocap_mcrypto = require("@ocap/mcrypto");
6
+ let _ocap_util = require("@ocap/util");
7
7
 
8
8
  //#region src/index.ts
9
9
  const WalletType = _arcblock_did.DidType;
package/lib/index.d.cts CHANGED
@@ -1,5 +1,5 @@
1
- import { BytesType, EncodingType } from "@ocap/util";
2
1
  import { DIDType, DIDTypeArg, DIDTypeStr, DidType } from "@arcblock/did";
2
+ import { BytesType, EncodingType } from "@ocap/util";
3
3
 
4
4
  //#region src/index.d.ts
5
5
  type KeyPairType<T extends BytesType = string> = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ocap/wallet",
3
- "version": "1.28.5",
3
+ "version": "1.28.7",
4
4
  "type": "module",
5
5
  "description": "Utility function to create and use an forge compatible crypto wallet",
6
6
  "keywords": [
@@ -37,12 +37,7 @@
37
37
  "esm"
38
38
  ],
39
39
  "devDependencies": {
40
- "@arcblock/eslint-config-ts": "0.3.3",
41
- "@types/jest": "^29.5.13",
42
40
  "@types/node": "^22.7.5",
43
- "eslint": "^8.57.0",
44
- "jest": "^29.7.0",
45
- "ts-jest": "^29.2.5",
46
41
  "tsdown": "^0.18.4",
47
42
  "typescript": "^5.6.2"
48
43
  },
@@ -50,21 +45,21 @@
50
45
  "type": "git",
51
46
  "url": "git+https://github.com/ArcBlock/blockchain.git"
52
47
  },
53
- "bugs": {
54
- "url": "https://github.com/ArcBlock/blockchain/issues"
55
- },
56
- "dependencies": {
57
- "@arcblock/did": "1.28.5",
58
- "@ocap/mcrypto": "1.28.5",
59
- "@arcblock/jwt": "1.28.5",
60
- "@ocap/util": "1.28.5"
61
- },
62
48
  "scripts": {
63
- "lint": "eslint tests src",
64
- "lint:fix": "eslint --fix tests src",
65
- "test": "jest --forceExit --detectOpenHandles",
49
+ "lint": "biome check",
50
+ "lint:fix": "biome check --write",
51
+ "test": "bun test",
66
52
  "coverage": "npm run test -- --coverage",
67
53
  "build": "tsdown",
68
54
  "build:watch": "tsdown -w"
55
+ },
56
+ "bugs": {
57
+ "url": "https://github.com/ArcBlock/blockchain/issues"
58
+ },
59
+ "dependencies": {
60
+ "@arcblock/did": "1.28.7",
61
+ "@arcblock/jwt": "1.28.7",
62
+ "@ocap/mcrypto": "1.28.7",
63
+ "@ocap/util": "1.28.7"
69
64
  }
70
- }
65
+ }