@verii/server-credentialagent 1.1.0-pre.1771979304 → 1.1.0-pre.1772015553
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@verii/server-credentialagent",
|
|
3
|
-
"version": "1.1.0-pre.
|
|
3
|
+
"version": "1.1.0-pre.1772015553",
|
|
4
4
|
"description": "Credential Agent application",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"repository": "https://github.com/LFDT-Verii/core",
|
|
@@ -40,31 +40,31 @@
|
|
|
40
40
|
"@fastify/view": "^11.0.0",
|
|
41
41
|
"@spencejs/spence-factories": "^0.10.2",
|
|
42
42
|
"@spencejs/spence-mongo-repos": "^0.10.2",
|
|
43
|
-
"@verii/auth": "1.1.0-pre.
|
|
44
|
-
"@verii/base-contract-io": "1.1.0-pre.
|
|
45
|
-
"@verii/blockchain-functions": "1.1.0-pre.
|
|
46
|
-
"@verii/common-fetchers": "1.1.0-pre.
|
|
47
|
-
"@verii/common-functions": "1.1.0-pre.
|
|
48
|
-
"@verii/common-schemas": "1.1.0-pre.
|
|
49
|
-
"@verii/config": "1.1.0-pre.
|
|
50
|
-
"@verii/contract-permissions": "1.1.0-pre.
|
|
51
|
-
"@verii/crypto": "1.1.0-pre.
|
|
52
|
-
"@verii/csv-parser": "1.1.0-pre.
|
|
53
|
-
"@verii/db-kms": "1.1.0-pre.
|
|
54
|
-
"@verii/did-doc": "1.1.0-pre.
|
|
55
|
-
"@verii/fastify-plugins": "1.1.0-pre.
|
|
56
|
-
"@verii/http-client": "1.1.0-pre.
|
|
57
|
-
"@verii/jwt": "1.1.0-pre.
|
|
58
|
-
"@verii/metadata-registration": "1.1.0-pre.
|
|
59
|
-
"@verii/organizations-registry": "1.1.0-pre.
|
|
60
|
-
"@verii/rest-queries": "1.1.0-pre.
|
|
61
|
-
"@verii/server-provider": "1.1.0-pre.
|
|
62
|
-
"@verii/spencer-mongo-extensions": "1.1.0-pre.
|
|
63
|
-
"@verii/test-regexes": "1.1.0-pre.
|
|
64
|
-
"@verii/validation": "1.1.0-pre.
|
|
65
|
-
"@verii/vc-checks": "1.1.0-pre.
|
|
66
|
-
"@verii/verii-issuing": "1.1.0-pre.
|
|
67
|
-
"@verii/verii-verification": "1.1.0-pre.
|
|
43
|
+
"@verii/auth": "1.1.0-pre.1772015553",
|
|
44
|
+
"@verii/base-contract-io": "1.1.0-pre.1772015553",
|
|
45
|
+
"@verii/blockchain-functions": "1.1.0-pre.1772015553",
|
|
46
|
+
"@verii/common-fetchers": "1.1.0-pre.1772015553",
|
|
47
|
+
"@verii/common-functions": "1.1.0-pre.1772015553",
|
|
48
|
+
"@verii/common-schemas": "1.1.0-pre.1772015553",
|
|
49
|
+
"@verii/config": "1.1.0-pre.1772015553",
|
|
50
|
+
"@verii/contract-permissions": "1.1.0-pre.1772015553",
|
|
51
|
+
"@verii/crypto": "1.1.0-pre.1772015553",
|
|
52
|
+
"@verii/csv-parser": "1.1.0-pre.1772015553",
|
|
53
|
+
"@verii/db-kms": "1.1.0-pre.1772015553",
|
|
54
|
+
"@verii/did-doc": "1.1.0-pre.1772015553",
|
|
55
|
+
"@verii/fastify-plugins": "1.1.0-pre.1772015553",
|
|
56
|
+
"@verii/http-client": "1.1.0-pre.1772015553",
|
|
57
|
+
"@verii/jwt": "1.1.0-pre.1772015553",
|
|
58
|
+
"@verii/metadata-registration": "1.1.0-pre.1772015553",
|
|
59
|
+
"@verii/organizations-registry": "1.1.0-pre.1772015553",
|
|
60
|
+
"@verii/rest-queries": "1.1.0-pre.1772015553",
|
|
61
|
+
"@verii/server-provider": "1.1.0-pre.1772015553",
|
|
62
|
+
"@verii/spencer-mongo-extensions": "1.1.0-pre.1772015553",
|
|
63
|
+
"@verii/test-regexes": "1.1.0-pre.1772015553",
|
|
64
|
+
"@verii/validation": "1.1.0-pre.1772015553",
|
|
65
|
+
"@verii/vc-checks": "1.1.0-pre.1772015553",
|
|
66
|
+
"@verii/verii-issuing": "1.1.0-pre.1772015553",
|
|
67
|
+
"@verii/verii-verification": "1.1.0-pre.1772015553",
|
|
68
68
|
"ajv": "8.18.0",
|
|
69
69
|
"canonicalize": "^2.1.0",
|
|
70
70
|
"date-fns": "~4.1.0",
|
|
@@ -83,10 +83,10 @@
|
|
|
83
83
|
},
|
|
84
84
|
"devDependencies": {
|
|
85
85
|
"@spencejs/spence-config": "0.10.2",
|
|
86
|
-
"@verii/endpoints-organizations-registrar": "1.1.0-pre.
|
|
87
|
-
"@verii/sample-data": "1.1.0-pre.
|
|
86
|
+
"@verii/endpoints-organizations-registrar": "1.1.0-pre.1772015553",
|
|
87
|
+
"@verii/sample-data": "1.1.0-pre.1772015553",
|
|
88
88
|
"@verii/test-regexes": "0.5.0-build",
|
|
89
|
-
"@verii/tests-helpers": "1.1.0-pre.
|
|
89
|
+
"@verii/tests-helpers": "1.1.0-pre.1772015553",
|
|
90
90
|
"cheerio": "1.2.0",
|
|
91
91
|
"dotenv": "16.6.1",
|
|
92
92
|
"eslint": "9.39.3",
|
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
"nanoid-dictionary": "5.0.0",
|
|
107
107
|
"nodemon": "3.1.14",
|
|
108
108
|
"prettier": "3.8.1",
|
|
109
|
-
"qs": "6.
|
|
109
|
+
"qs": "6.15.0"
|
|
110
110
|
},
|
|
111
|
-
"gitHead": "
|
|
111
|
+
"gitHead": "2fd4c70fd8c019c405743143867234f76090aab6"
|
|
112
112
|
}
|
|
@@ -52,9 +52,15 @@ const transformKeyToJwk = (privateKey) => {
|
|
|
52
52
|
});
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
55
|
+
if (!isString(privateKey)) {
|
|
56
|
+
return privateKey;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
try {
|
|
60
|
+
return jwkFromSecp256k1Key(privateKey, true);
|
|
61
|
+
} catch {
|
|
62
|
+
return throwErrorPrivateKeyNotMatched();
|
|
63
|
+
}
|
|
58
64
|
};
|
|
59
65
|
|
|
60
66
|
const throwErrorKidFragment = (kidFragment) => {
|