@cef-ebsi/cli 1.1.0 → 1.1.1
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/dist/app.js +12 -15
- package/dist/app.js.map +1 -1
- package/dist/commands/authorisation-v4.js.map +1 -1
- package/dist/commands/authorisation-v5.js.map +1 -1
- package/dist/commands/conformance-v3.js.map +1 -1
- package/dist/commands/hardwarewallet.js +9 -3
- package/dist/commands/hardwarewallet.js.map +1 -1
- package/dist/commands/ledger-v4.js.map +1 -1
- package/dist/commands/tnl.js +18 -18
- package/dist/commands/tnl.js.map +1 -1
- package/dist/scripts/assets/Nodes.json +0 -5
- package/dist/scripts/assets/TrustedNodesList.json +0 -2
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/utils/Client.js +1 -1
- package/dist/utils/Client.js.map +1 -1
- package/dist/utils/HardwareWallet.js +91 -37
- package/dist/utils/HardwareWallet.js.map +1 -1
- package/dist/utils/http.js +3 -1
- package/dist/utils/http.js.map +1 -1
- package/dist/utils/utils.js +33 -0
- package/dist/utils/utils.js.map +1 -1
- package/package.json +107 -107
package/package.json
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cef-ebsi/cli",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"description": "EBSI Command Line Interface",
|
|
5
|
-
"license": "EUPL-1.2",
|
|
6
|
-
"type": "module",
|
|
7
|
-
"main": "dist/index.js",
|
|
8
|
-
"types": "dist/index.d.ts",
|
|
9
|
-
"files": [
|
|
10
|
-
"bin",
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
|
-
"bin": {
|
|
14
|
-
"cli": "bin/cli.js"
|
|
15
|
-
},
|
|
16
|
-
"scripts": {
|
|
17
|
-
"audit": "audit-ci --moderate --skip-dev -a GHSA-p6mc-m468-83gw",
|
|
18
|
-
"build": "rimraf dist && tsc --build && copyfiles -u 1 \"src/scripts/**/*\" dist",
|
|
19
|
-
"dev": "ts-node --esm src/cli.ts",
|
|
20
|
-
"lint-staged": "lint-staged",
|
|
21
|
-
"lint": "yarn lint:eslint && yarn lint:tsc && yarn lint:prettier",
|
|
22
|
-
"lint:eslint": "eslint . --ext .js,.ts",
|
|
23
|
-
"lint:tsc": "tsc --noEmit --incremental false",
|
|
24
|
-
"lint:prettier": "prettier . --check",
|
|
25
|
-
"prepare": "yarn build",
|
|
26
|
-
"prepare:release": "yarn release-it --ci",
|
|
27
|
-
"program:migrate": "ts-node --esm src/programs/migrateDids.ts",
|
|
28
|
-
"start": "node dist/cli",
|
|
29
|
-
"test": "vitest --run",
|
|
30
|
-
"test:authorisation": "vitest --run authorisation.spec.ts",
|
|
31
|
-
"test:did": "vitest --run did.spec.ts",
|
|
32
|
-
"test:essentials": "vitest --run essentials.spec.ts",
|
|
33
|
-
"test:ledger": "vitest --run ledger.spec.ts",
|
|
34
|
-
"test:tar": "vitest --run tar.spec.ts",
|
|
35
|
-
"test:timestamp": "vitest --run timestamp.spec.ts",
|
|
36
|
-
"test:tir": "vitest --run tir.spec.ts",
|
|
37
|
-
"test:tnt": "vitest --run tnt.spec.ts",
|
|
38
|
-
"test:tpr": "vitest --run tpr.spec.ts",
|
|
39
|
-
"test:tsr": "vitest --run tsr.spec.ts",
|
|
40
|
-
"test:accredit-and-authorize": "vitest --run accredit-and-authorize.spec.ts",
|
|
41
|
-
"test:holder-wallet": "vitest --run holder-wallet.spec.ts",
|
|
42
|
-
"test:issue-to-holder": "vitest --run issue-to-holder.spec.ts",
|
|
43
|
-
"test:verifier": "vitest --run verifier.spec.ts",
|
|
44
|
-
"test:pda1": "vitest --run pda1.spec.ts"
|
|
45
|
-
},
|
|
46
|
-
"dependencies": {
|
|
47
|
-
"@apidevtools/json-schema-ref-parser": "^11.5.4",
|
|
48
|
-
"@cef-ebsi/ebsi-did-resolver": "^4.0.1",
|
|
49
|
-
"@cef-ebsi/key-did-resolver": "^2.0.1",
|
|
50
|
-
"@cef-ebsi/key-encoder": "^2.0.0-alpha.0",
|
|
51
|
-
"@cef-ebsi/verifiable-credential": "^5.5.0",
|
|
52
|
-
"@cef-ebsi/verifiable-presentation": "^6.4.0",
|
|
53
|
-
"@cef-ebsi/wallet-lib": "^5.0.1",
|
|
54
|
-
"asn1js": "^3.0.5",
|
|
55
|
-
"axios": "^1.7.2",
|
|
56
|
-
"canonicalize": "^2.0.0",
|
|
57
|
-
"chalk": "^5.3.0",
|
|
58
|
-
"did-jwt": "^7.4.5",
|
|
59
|
-
"did-resolver": "^4.1.0",
|
|
60
|
-
"dotenv": "^16.4.5",
|
|
61
|
-
"elliptic": "^6.5.5",
|
|
62
|
-
"ethers": "^5.7.2",
|
|
63
|
-
"form-data": "^4.0.0",
|
|
64
|
-
"graphene-pk11": "^2.3.6",
|
|
65
|
-
"https-proxy-agent": "^5.0.0",
|
|
66
|
-
"joi": "^17.13.3",
|
|
67
|
-
"jose": "^4.15.5",
|
|
68
|
-
"lodash.set": "^4.3.2",
|
|
69
|
-
"multiformats": "^12.1.3",
|
|
70
|
-
"multihashes": "^4.0.3",
|
|
71
|
-
"pkijs": "^3.2.4",
|
|
72
|
-
"qs": "^6.12.1"
|
|
73
|
-
},
|
|
74
|
-
"devDependencies": {
|
|
75
|
-
"@commitlint/cli": "^18.4.3",
|
|
76
|
-
"@commitlint/config-conventional": "^18.4.3",
|
|
77
|
-
"@release-it/conventional-changelog": "^8.0.1",
|
|
78
|
-
"@tsconfig/node18": "^18.2.4",
|
|
79
|
-
"@types/elliptic": "^6.4.18",
|
|
80
|
-
"@types/lodash.set": "^4.3.9",
|
|
81
|
-
"@types/node": "^18.18.0",
|
|
82
|
-
"@types/qs": "^6.9.10",
|
|
83
|
-
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
84
|
-
"@typescript-eslint/parser": "^6.13.2",
|
|
85
|
-
"audit-ci": "^6.6.1",
|
|
86
|
-
"copyfiles": "^2.4.1",
|
|
87
|
-
"eslint": "^8.55.0",
|
|
88
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
89
|
-
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
90
|
-
"eslint-config-prettier": "^9.1.0",
|
|
91
|
-
"eslint-plugin-import": "^2.29.0",
|
|
92
|
-
"eslint-plugin-prettier": "^5.0.1",
|
|
93
|
-
"husky": "^8.0.3",
|
|
94
|
-
"lint-staged": "^15.2.0",
|
|
95
|
-
"prettier": "^3.1.1",
|
|
96
|
-
"read-pkg": "^9.0.1",
|
|
97
|
-
"release-it": "^17.0.1",
|
|
98
|
-
"rimraf": "^5.0.5",
|
|
99
|
-
"spdx-license-list": "^6.9.0",
|
|
100
|
-
"ts-node": "^10.9.2",
|
|
101
|
-
"typescript": "5.3.3",
|
|
102
|
-
"vitest": "^0.34.6"
|
|
103
|
-
},
|
|
104
|
-
"resolutions": {
|
|
105
|
-
"**/@ethersproject/providers/ws": "^7.5.10"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@cef-ebsi/cli",
|
|
3
|
+
"version": "1.1.1",
|
|
4
|
+
"description": "EBSI Command Line Interface",
|
|
5
|
+
"license": "EUPL-1.2",
|
|
6
|
+
"type": "module",
|
|
7
|
+
"main": "dist/index.js",
|
|
8
|
+
"types": "dist/index.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"bin",
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"bin": {
|
|
14
|
+
"cli": "bin/cli.js"
|
|
15
|
+
},
|
|
16
|
+
"scripts": {
|
|
17
|
+
"audit": "audit-ci --moderate --skip-dev -a GHSA-p6mc-m468-83gw",
|
|
18
|
+
"build": "rimraf dist && tsc --build && copyfiles -u 1 \"src/scripts/**/*\" dist",
|
|
19
|
+
"dev": "ts-node --esm src/cli.ts",
|
|
20
|
+
"lint-staged": "lint-staged",
|
|
21
|
+
"lint": "yarn lint:eslint && yarn lint:tsc && yarn lint:prettier",
|
|
22
|
+
"lint:eslint": "eslint . --ext .js,.ts",
|
|
23
|
+
"lint:tsc": "tsc --noEmit --incremental false",
|
|
24
|
+
"lint:prettier": "prettier . --check",
|
|
25
|
+
"prepare": "yarn build",
|
|
26
|
+
"prepare:release": "yarn release-it --ci",
|
|
27
|
+
"program:migrate": "ts-node --esm src/programs/migrateDids.ts",
|
|
28
|
+
"start": "node dist/cli",
|
|
29
|
+
"test": "vitest --run",
|
|
30
|
+
"test:authorisation": "vitest --run authorisation.spec.ts",
|
|
31
|
+
"test:did": "vitest --run did.spec.ts",
|
|
32
|
+
"test:essentials": "vitest --run essentials.spec.ts",
|
|
33
|
+
"test:ledger": "vitest --run ledger.spec.ts",
|
|
34
|
+
"test:tar": "vitest --run tar.spec.ts",
|
|
35
|
+
"test:timestamp": "vitest --run timestamp.spec.ts",
|
|
36
|
+
"test:tir": "vitest --run tir.spec.ts",
|
|
37
|
+
"test:tnt": "vitest --run tnt.spec.ts",
|
|
38
|
+
"test:tpr": "vitest --run tpr.spec.ts",
|
|
39
|
+
"test:tsr": "vitest --run tsr.spec.ts",
|
|
40
|
+
"test:accredit-and-authorize": "vitest --run accredit-and-authorize.spec.ts",
|
|
41
|
+
"test:holder-wallet": "vitest --run holder-wallet.spec.ts",
|
|
42
|
+
"test:issue-to-holder": "vitest --run issue-to-holder.spec.ts",
|
|
43
|
+
"test:verifier": "vitest --run verifier.spec.ts",
|
|
44
|
+
"test:pda1": "vitest --run pda1.spec.ts"
|
|
45
|
+
},
|
|
46
|
+
"dependencies": {
|
|
47
|
+
"@apidevtools/json-schema-ref-parser": "^11.5.4",
|
|
48
|
+
"@cef-ebsi/ebsi-did-resolver": "^4.0.1",
|
|
49
|
+
"@cef-ebsi/key-did-resolver": "^2.0.1",
|
|
50
|
+
"@cef-ebsi/key-encoder": "^2.0.0-alpha.0",
|
|
51
|
+
"@cef-ebsi/verifiable-credential": "^5.5.0",
|
|
52
|
+
"@cef-ebsi/verifiable-presentation": "^6.4.0",
|
|
53
|
+
"@cef-ebsi/wallet-lib": "^5.0.1",
|
|
54
|
+
"asn1js": "^3.0.5",
|
|
55
|
+
"axios": "^1.7.2",
|
|
56
|
+
"canonicalize": "^2.0.0",
|
|
57
|
+
"chalk": "^5.3.0",
|
|
58
|
+
"did-jwt": "^7.4.5",
|
|
59
|
+
"did-resolver": "^4.1.0",
|
|
60
|
+
"dotenv": "^16.4.5",
|
|
61
|
+
"elliptic": "^6.5.5",
|
|
62
|
+
"ethers": "^5.7.2",
|
|
63
|
+
"form-data": "^4.0.0",
|
|
64
|
+
"graphene-pk11": "^2.3.6",
|
|
65
|
+
"https-proxy-agent": "^5.0.0",
|
|
66
|
+
"joi": "^17.13.3",
|
|
67
|
+
"jose": "^4.15.5",
|
|
68
|
+
"lodash.set": "^4.3.2",
|
|
69
|
+
"multiformats": "^12.1.3",
|
|
70
|
+
"multihashes": "^4.0.3",
|
|
71
|
+
"pkijs": "^3.2.4",
|
|
72
|
+
"qs": "^6.12.1"
|
|
73
|
+
},
|
|
74
|
+
"devDependencies": {
|
|
75
|
+
"@commitlint/cli": "^18.4.3",
|
|
76
|
+
"@commitlint/config-conventional": "^18.4.3",
|
|
77
|
+
"@release-it/conventional-changelog": "^8.0.1",
|
|
78
|
+
"@tsconfig/node18": "^18.2.4",
|
|
79
|
+
"@types/elliptic": "^6.4.18",
|
|
80
|
+
"@types/lodash.set": "^4.3.9",
|
|
81
|
+
"@types/node": "^18.18.0",
|
|
82
|
+
"@types/qs": "^6.9.10",
|
|
83
|
+
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
84
|
+
"@typescript-eslint/parser": "^6.13.2",
|
|
85
|
+
"audit-ci": "^6.6.1",
|
|
86
|
+
"copyfiles": "^2.4.1",
|
|
87
|
+
"eslint": "^8.55.0",
|
|
88
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
89
|
+
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
90
|
+
"eslint-config-prettier": "^9.1.0",
|
|
91
|
+
"eslint-plugin-import": "^2.29.0",
|
|
92
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
93
|
+
"husky": "^8.0.3",
|
|
94
|
+
"lint-staged": "^15.2.0",
|
|
95
|
+
"prettier": "^3.1.1",
|
|
96
|
+
"read-pkg": "^9.0.1",
|
|
97
|
+
"release-it": "^17.0.1",
|
|
98
|
+
"rimraf": "^5.0.5",
|
|
99
|
+
"spdx-license-list": "^6.9.0",
|
|
100
|
+
"ts-node": "^10.9.2",
|
|
101
|
+
"typescript": "5.3.3",
|
|
102
|
+
"vitest": "^0.34.6"
|
|
103
|
+
},
|
|
104
|
+
"resolutions": {
|
|
105
|
+
"**/@ethersproject/providers/ws": "^7.5.10"
|
|
106
|
+
}
|
|
107
|
+
}
|