@cef-ebsi/cli 0.2.0 → 0.3.0
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/LICENSE +189 -189
- package/README.md +55 -54
- package/bin/cli.js +13 -13
- package/dist/commands/compute.js +10 -9
- package/dist/commands/compute.js.map +1 -1
- package/dist/scripts/accreditAndAuthorize/conformance/step1 +34 -34
- package/dist/scripts/accreditAndAuthorize/conformance/step2 +17 -17
- package/dist/scripts/accreditAndAuthorize/conformance/step3 +8 -8
- package/dist/scripts/accreditAndAuthorize/conformance/step4 +26 -26
- package/dist/scripts/accreditAndAuthorize/conformance/step5 +12 -12
- package/dist/scripts/accreditAndAuthorize/conformance/step6 +13 -13
- package/dist/scripts/accreditAndAuthorize/conformance/step7 +6 -6
- package/dist/scripts/accreditAndAuthorize/test/step1 +34 -34
- package/dist/scripts/accreditAndAuthorize/test/step2 +17 -17
- package/dist/scripts/accreditAndAuthorize/test/step3 +8 -8
- package/dist/scripts/accreditAndAuthorize/test/step4 +26 -26
- package/dist/scripts/accreditAndAuthorize/test/step5 +12 -12
- package/dist/scripts/accreditAndAuthorize/test/step6 +13 -13
- package/dist/scripts/accreditAndAuthorize/test/step7 +6 -6
- package/dist/scripts/accreditTI +20 -20
- package/dist/scripts/assets/CTRevocableCredential.json +29 -29
- package/dist/scripts/assets/CredentialToAttestVerifiableAuthorisationForTrustChain.json +28 -28
- package/dist/scripts/assets/VerifiableAccreditationToAccredit.json +35 -35
- package/dist/scripts/assets/VerifiableAccreditationToAttest.json +32 -32
- package/dist/scripts/assets/VerifiableAuthorisationForTrustChain.json +21 -21
- package/dist/scripts/assets/VerifiableAuthorisationToOnboard.json +23 -23
- package/dist/scripts/bootstrap/0a-loadTPROperator +5 -5
- package/dist/scripts/bootstrap/0b-loadAdmin +7 -7
- package/dist/scripts/bootstrap/1-populateTPR +115 -115
- package/dist/scripts/bootstrap/2-populateDID +21 -21
- package/dist/scripts/bootstrap/3-populateTAR +72 -72
- package/dist/scripts/bootstrap/4-populateTimestamp +9 -9
- package/dist/scripts/bootstrap/5-populateTIR +9 -9
- package/dist/scripts/bootstrap/6-populateTSR +22 -22
- package/dist/scripts/bootstrap/7-setupConformanceIssuer +34 -34
- package/dist/scripts/initializeContracts +5 -5
- package/dist/scripts/issueVcOnboard +8 -8
- package/dist/scripts/issueVcRootTAO +10 -10
- package/dist/scripts/issueVcTAO +11 -11
- package/dist/scripts/issueVcTI +11 -11
- package/dist/scripts/issue_CTRevocableCredential +12 -12
- package/dist/scripts/issue_SelfAttestationSupportOffice +10 -10
- package/dist/scripts/issue_VerifiableAccreditationToAccredit +11 -11
- package/dist/scripts/issue_VerifiableAccreditationToAttest +11 -11
- package/dist/scripts/issue_VerifiableAuthorisationForTrustChain +10 -10
- package/dist/scripts/issue_VerifiableAuthorisationToOnboard +9 -9
- package/dist/scripts/preregisterIssuer +5 -5
- package/dist/scripts/registerDidDocument_ES256K_ES256 +13 -13
- package/dist/scripts/registerIssuer +5 -5
- package/dist/scripts/wctv3/accreditAndAuthorize +105 -105
- package/dist/scripts/wctv3/holderWallet +29 -29
- package/dist/scripts/wctv3/issueToHolder +26 -26
- package/dist/scripts/wctv3/pda1 +1 -1
- package/dist/scripts/wctv3/verifier +6 -6
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +98 -98
package/package.json
CHANGED
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@cef-ebsi/cli",
|
|
3
|
-
"version": "0.
|
|
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",
|
|
18
|
-
"build": "rimraf dist && tsc --build && copyfiles -u 1 \"src/scripts/**/*\" dist",
|
|
19
|
-
"lint-staged": "lint-staged",
|
|
20
|
-
"lint": "yarn lint:eslint && yarn lint:tsc && yarn lint:prettier",
|
|
21
|
-
"lint:eslint": "eslint . --ext .js,.ts",
|
|
22
|
-
"lint:tsc": "tsc --noEmit --incremental false",
|
|
23
|
-
"lint:prettier": "prettier . --check",
|
|
24
|
-
"prepare": "yarn build",
|
|
25
|
-
"prepare:release": "yarn release-it --ci",
|
|
26
|
-
"program:appRegistration": "node dist/programs/appRegistration",
|
|
27
|
-
"start": "node dist/cli",
|
|
28
|
-
"test": "NO_CHALK=true vitest --run",
|
|
29
|
-
"test:essentials": "NO_CHALK=true vitest --run essentials.spec.ts",
|
|
30
|
-
"test:did": "NO_CHALK=true vitest --run did.spec.ts",
|
|
31
|
-
"test:timestamp": "NO_CHALK=true vitest --run timestamp.spec.ts",
|
|
32
|
-
"test:tsr": "NO_CHALK=true vitest --run tsr.spec.ts",
|
|
33
|
-
"test:tir": "NO_CHALK=true vitest --run tir.spec.ts",
|
|
34
|
-
"test:tar": "NO_CHALK=true vitest --run tar.spec.ts",
|
|
35
|
-
"test:tpr": "NO_CHALK=true vitest --run tpr.spec.ts",
|
|
36
|
-
"test:ledger": "NO_CHALK=true vitest --run ledger.spec.ts",
|
|
37
|
-
"test:authorisation": "NO_CHALK=true vitest --run authorisation.spec.ts",
|
|
38
|
-
"test:authorisation-old": "NO_CHALK=true vitest --run authorisation-old.spec.ts",
|
|
39
|
-
"test:accredit-and-authorize": "NO_CHALK=true vitest --run accredit-and-authorize.spec.ts",
|
|
40
|
-
"test:holder-wallet": "NO_CHALK=true vitest --run holder-wallet.spec.ts",
|
|
41
|
-
"test:issue-to-holder": "NO_CHALK=true vitest --run issue-to-holder.spec.ts",
|
|
42
|
-
"test:verifier": "NO_CHALK=true vitest --run verifier.spec.ts",
|
|
43
|
-
"test:pda1": "NO_CHALK=true vitest --run pda1.spec.ts"
|
|
44
|
-
},
|
|
45
|
-
"dependencies": {
|
|
46
|
-
"@apidevtools/json-schema-ref-parser": "^11.1.0",
|
|
47
|
-
"@cef-ebsi/ebsi-did-resolver": "^4.0.0",
|
|
48
|
-
"@cef-ebsi/oauth2-auth": "^3.0.0",
|
|
49
|
-
"@cef-ebsi/siop-auth": "^4.0.0",
|
|
50
|
-
"@cef-ebsi/verifiable-credential": "^5.0.0",
|
|
51
|
-
"@cef-ebsi/verifiable-presentation": "^6.
|
|
52
|
-
"@cef-ebsi/wallet-lib": "^5.0.0",
|
|
53
|
-
"axios": "^1.6.2",
|
|
54
|
-
"canonicalize": "^2.0.0",
|
|
55
|
-
"chalk": "^5.3.0",
|
|
56
|
-
"did-jwt": "^7.4.5",
|
|
57
|
-
"did-resolver": "^4.1.0",
|
|
58
|
-
"dotenv": "^16.3.1",
|
|
59
|
-
"elliptic": "^6.5.4",
|
|
60
|
-
"ethers": "^5.7.2",
|
|
61
|
-
"form-data": "^4.0.0",
|
|
62
|
-
"https-proxy-agent": "^5.0.0",
|
|
63
|
-
"joi": "^17.11.0",
|
|
64
|
-
"jose": "^4.14.4",
|
|
65
|
-
"lodash.set": "^4.3.2",
|
|
66
|
-
"multiformats": "^12.1.3",
|
|
67
|
-
"multihashes": "^4.0.3",
|
|
68
|
-
"qs": "^6.11.2"
|
|
69
|
-
},
|
|
70
|
-
"devDependencies": {
|
|
71
|
-
"@commitlint/cli": "^18.4.3",
|
|
72
|
-
"@commitlint/config-conventional": "^18.4.3",
|
|
73
|
-
"@release-it/conventional-changelog": "^8.0.1",
|
|
74
|
-
"@tsconfig/node18": "^18.2.2",
|
|
75
|
-
"@types/elliptic": "^6.4.18",
|
|
76
|
-
"@types/lodash.set": "^4.3.9",
|
|
77
|
-
"@types/node": "^18.18.0",
|
|
78
|
-
"@types/qs": "^6.9.10",
|
|
79
|
-
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
80
|
-
"@typescript-eslint/parser": "^6.13.2",
|
|
81
|
-
"audit-ci": "^6.6.1",
|
|
82
|
-
"copyfiles": "^2.4.1",
|
|
83
|
-
"eslint": "^8.55.0",
|
|
84
|
-
"eslint-config-airbnb-base": "^15.0.0",
|
|
85
|
-
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
86
|
-
"eslint-config-prettier": "^9.1.0",
|
|
87
|
-
"eslint-plugin-import": "^2.29.0",
|
|
88
|
-
"eslint-plugin-prettier": "^5.0.1",
|
|
89
|
-
"husky": "^8.0.3",
|
|
90
|
-
"lint-staged": "^15.2.0",
|
|
91
|
-
"prettier": "^3.1.1",
|
|
92
|
-
"release-it": "^17.0.1",
|
|
93
|
-
"rimraf": "^5.0.5",
|
|
94
|
-
"ts-node": "^10.9.2",
|
|
95
|
-
"typescript": "5.3.3",
|
|
96
|
-
"vitest": "^0.34.6"
|
|
97
|
-
}
|
|
98
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@cef-ebsi/cli",
|
|
3
|
+
"version": "0.3.0",
|
|
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
|
+
"lint-staged": "lint-staged",
|
|
20
|
+
"lint": "yarn lint:eslint && yarn lint:tsc && yarn lint:prettier",
|
|
21
|
+
"lint:eslint": "eslint . --ext .js,.ts",
|
|
22
|
+
"lint:tsc": "tsc --noEmit --incremental false",
|
|
23
|
+
"lint:prettier": "prettier . --check",
|
|
24
|
+
"prepare": "yarn build",
|
|
25
|
+
"prepare:release": "yarn release-it --ci",
|
|
26
|
+
"program:appRegistration": "node dist/programs/appRegistration",
|
|
27
|
+
"start": "node dist/cli",
|
|
28
|
+
"test": "NO_CHALK=true vitest --run",
|
|
29
|
+
"test:essentials": "NO_CHALK=true vitest --run essentials.spec.ts",
|
|
30
|
+
"test:did": "NO_CHALK=true vitest --run did.spec.ts",
|
|
31
|
+
"test:timestamp": "NO_CHALK=true vitest --run timestamp.spec.ts",
|
|
32
|
+
"test:tsr": "NO_CHALK=true vitest --run tsr.spec.ts",
|
|
33
|
+
"test:tir": "NO_CHALK=true vitest --run tir.spec.ts",
|
|
34
|
+
"test:tar": "NO_CHALK=true vitest --run tar.spec.ts",
|
|
35
|
+
"test:tpr": "NO_CHALK=true vitest --run tpr.spec.ts",
|
|
36
|
+
"test:ledger": "NO_CHALK=true vitest --run ledger.spec.ts",
|
|
37
|
+
"test:authorisation": "NO_CHALK=true vitest --run authorisation.spec.ts",
|
|
38
|
+
"test:authorisation-old": "NO_CHALK=true vitest --run authorisation-old.spec.ts",
|
|
39
|
+
"test:accredit-and-authorize": "NO_CHALK=true vitest --run accredit-and-authorize.spec.ts",
|
|
40
|
+
"test:holder-wallet": "NO_CHALK=true vitest --run holder-wallet.spec.ts",
|
|
41
|
+
"test:issue-to-holder": "NO_CHALK=true vitest --run issue-to-holder.spec.ts",
|
|
42
|
+
"test:verifier": "NO_CHALK=true vitest --run verifier.spec.ts",
|
|
43
|
+
"test:pda1": "NO_CHALK=true vitest --run pda1.spec.ts"
|
|
44
|
+
},
|
|
45
|
+
"dependencies": {
|
|
46
|
+
"@apidevtools/json-schema-ref-parser": "^11.1.0",
|
|
47
|
+
"@cef-ebsi/ebsi-did-resolver": "^4.0.0",
|
|
48
|
+
"@cef-ebsi/oauth2-auth": "^3.0.0",
|
|
49
|
+
"@cef-ebsi/siop-auth": "^4.0.0",
|
|
50
|
+
"@cef-ebsi/verifiable-credential": "^5.2.0-alpha.0",
|
|
51
|
+
"@cef-ebsi/verifiable-presentation": "^6.1.1-alpha.0",
|
|
52
|
+
"@cef-ebsi/wallet-lib": "^5.0.0",
|
|
53
|
+
"axios": "^1.6.2",
|
|
54
|
+
"canonicalize": "^2.0.0",
|
|
55
|
+
"chalk": "^5.3.0",
|
|
56
|
+
"did-jwt": "^7.4.5",
|
|
57
|
+
"did-resolver": "^4.1.0",
|
|
58
|
+
"dotenv": "^16.3.1",
|
|
59
|
+
"elliptic": "^6.5.4",
|
|
60
|
+
"ethers": "^5.7.2",
|
|
61
|
+
"form-data": "^4.0.0",
|
|
62
|
+
"https-proxy-agent": "^5.0.0",
|
|
63
|
+
"joi": "^17.11.0",
|
|
64
|
+
"jose": "^4.14.4",
|
|
65
|
+
"lodash.set": "^4.3.2",
|
|
66
|
+
"multiformats": "^12.1.3",
|
|
67
|
+
"multihashes": "^4.0.3",
|
|
68
|
+
"qs": "^6.11.2"
|
|
69
|
+
},
|
|
70
|
+
"devDependencies": {
|
|
71
|
+
"@commitlint/cli": "^18.4.3",
|
|
72
|
+
"@commitlint/config-conventional": "^18.4.3",
|
|
73
|
+
"@release-it/conventional-changelog": "^8.0.1",
|
|
74
|
+
"@tsconfig/node18": "^18.2.2",
|
|
75
|
+
"@types/elliptic": "^6.4.18",
|
|
76
|
+
"@types/lodash.set": "^4.3.9",
|
|
77
|
+
"@types/node": "^18.18.0",
|
|
78
|
+
"@types/qs": "^6.9.10",
|
|
79
|
+
"@typescript-eslint/eslint-plugin": "^6.13.2",
|
|
80
|
+
"@typescript-eslint/parser": "^6.13.2",
|
|
81
|
+
"audit-ci": "^6.6.1",
|
|
82
|
+
"copyfiles": "^2.4.1",
|
|
83
|
+
"eslint": "^8.55.0",
|
|
84
|
+
"eslint-config-airbnb-base": "^15.0.0",
|
|
85
|
+
"eslint-config-airbnb-typescript": "^17.1.0",
|
|
86
|
+
"eslint-config-prettier": "^9.1.0",
|
|
87
|
+
"eslint-plugin-import": "^2.29.0",
|
|
88
|
+
"eslint-plugin-prettier": "^5.0.1",
|
|
89
|
+
"husky": "^8.0.3",
|
|
90
|
+
"lint-staged": "^15.2.0",
|
|
91
|
+
"prettier": "^3.1.1",
|
|
92
|
+
"release-it": "^17.0.1",
|
|
93
|
+
"rimraf": "^5.0.5",
|
|
94
|
+
"ts-node": "^10.9.2",
|
|
95
|
+
"typescript": "5.3.3",
|
|
96
|
+
"vitest": "^0.34.6"
|
|
97
|
+
}
|
|
98
|
+
}
|