@arcblock/jwt 1.28.6 → 1.28.8
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 +1 -1
- package/esm/index.mjs +3 -3
- package/lib/index.cjs +5 -5
- package/package.json +12 -17
package/README.md
CHANGED
package/esm/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import stringify from "json-stable-stringify";
|
|
2
|
-
import semver from "semver";
|
|
3
|
-
import { fromBase64, toBase64, toHex } from "@ocap/util";
|
|
4
1
|
import { isFromPublicKey, isValid, toDid, toStrictHex, toTypeInfo } from "@arcblock/did";
|
|
5
2
|
import { Hasher, getSigner, types } from "@ocap/mcrypto";
|
|
3
|
+
import { fromBase64, toBase64, toHex } from "@ocap/util";
|
|
6
4
|
import Debug from "debug";
|
|
5
|
+
import stringify from "json-stable-stringify";
|
|
6
|
+
import semver from "semver";
|
|
7
7
|
|
|
8
8
|
//#region src/index.ts
|
|
9
9
|
const debug = Debug("@arcblock/jwt");
|
package/lib/index.cjs
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
const require_rolldown_runtime = require('./_virtual/rolldown_runtime.cjs');
|
|
2
|
-
let json_stable_stringify = require("json-stable-stringify");
|
|
3
|
-
json_stable_stringify = require_rolldown_runtime.__toESM(json_stable_stringify);
|
|
4
|
-
let semver = require("semver");
|
|
5
|
-
semver = require_rolldown_runtime.__toESM(semver);
|
|
6
|
-
let _ocap_util = require("@ocap/util");
|
|
7
2
|
let _arcblock_did = require("@arcblock/did");
|
|
8
3
|
let _ocap_mcrypto = require("@ocap/mcrypto");
|
|
4
|
+
let _ocap_util = require("@ocap/util");
|
|
9
5
|
let debug = require("debug");
|
|
10
6
|
debug = require_rolldown_runtime.__toESM(debug);
|
|
7
|
+
let json_stable_stringify = require("json-stable-stringify");
|
|
8
|
+
json_stable_stringify = require_rolldown_runtime.__toESM(json_stable_stringify);
|
|
9
|
+
let semver = require("semver");
|
|
10
|
+
semver = require_rolldown_runtime.__toESM(semver);
|
|
11
11
|
|
|
12
12
|
//#region src/index.ts
|
|
13
13
|
const debug$1 = (0, debug.default)("@arcblock/jwt");
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@arcblock/jwt",
|
|
3
3
|
"description": "JSON Web Token variant for arcblock DID solutions",
|
|
4
4
|
"type": "module",
|
|
5
|
-
"version": "1.28.
|
|
5
|
+
"version": "1.28.8",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "wangshijun",
|
|
8
8
|
"email": "shijun@arcblock.io",
|
|
@@ -19,23 +19,18 @@
|
|
|
19
19
|
"access": "public"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
+
"@arcblock/did": "1.28.8",
|
|
23
|
+
"@ocap/mcrypto": "1.28.8",
|
|
24
|
+
"@ocap/util": "1.28.8",
|
|
25
|
+
"@ocap/wallet": "1.28.8",
|
|
22
26
|
"debug": "^4.3.6",
|
|
23
27
|
"json-stable-stringify": "^1.0.1",
|
|
24
|
-
"semver": "^7.6.3"
|
|
25
|
-
"@arcblock/did": "1.28.6",
|
|
26
|
-
"@ocap/mcrypto": "1.28.6",
|
|
27
|
-
"@ocap/util": "1.28.6",
|
|
28
|
-
"@ocap/wallet": "1.28.6"
|
|
28
|
+
"semver": "^7.6.3"
|
|
29
29
|
},
|
|
30
30
|
"devDependencies": {
|
|
31
|
-
"@arcblock/eslint-config-ts": "0.3.3",
|
|
32
|
-
"@types/jest": "^29.5.13",
|
|
33
31
|
"@types/json-stable-stringify": "^1.0.36",
|
|
34
32
|
"@types/node": "^22.7.5",
|
|
35
33
|
"@types/semver": "^7.5.8",
|
|
36
|
-
"eslint": "^8.57.0",
|
|
37
|
-
"jest": "^29.7.0",
|
|
38
|
-
"ts-jest": "^29.2.5",
|
|
39
34
|
"tsdown": "^0.18.4",
|
|
40
35
|
"tslib": "^2.4.0",
|
|
41
36
|
"typescript": "^5.6.2"
|
|
@@ -67,13 +62,13 @@
|
|
|
67
62
|
"type": "git",
|
|
68
63
|
"url": "https://github.com/ArcBlock/blockchain/tree/master/did/jwt"
|
|
69
64
|
},
|
|
70
|
-
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e",
|
|
71
65
|
"scripts": {
|
|
72
|
-
"lint": "
|
|
73
|
-
"lint:fix": "
|
|
74
|
-
"test": "
|
|
66
|
+
"lint": "biome check",
|
|
67
|
+
"lint:fix": "biome check --write",
|
|
68
|
+
"test": "bun test",
|
|
75
69
|
"coverage": "npm run test -- --coverage",
|
|
76
70
|
"build": "tsdown",
|
|
77
71
|
"build:watch": "tsdown -w"
|
|
78
|
-
}
|
|
79
|
-
|
|
72
|
+
},
|
|
73
|
+
"gitHead": "87990c8b5e215107fc587c1ced0d6b3e2cd2483e"
|
|
74
|
+
}
|