@sphereon/ssi-sdk.mdl-mdoc 0.34.1-fix.80 → 0.34.1-next.278
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/index.cjs +8 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.js.map +1 -1
- package/package.json +15 -16
- package/plugin.schema.json +1 -1
- package/src/functions/index.ts +8 -7
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk.mdl-mdoc",
|
|
3
|
-
"version": "0.34.1-
|
|
3
|
+
"version": "0.34.1-next.278+0eacb25b",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -26,15 +26,15 @@
|
|
|
26
26
|
"build": "tsup --config ../../tsup.config.ts --tsconfig ../../tsconfig.tsup.json"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@sphereon/did-auth-siop-adapter": "0.19.1-
|
|
29
|
+
"@sphereon/did-auth-siop-adapter": "0.19.1-next.220",
|
|
30
30
|
"@sphereon/kmp-mdoc-core": "0.2.0-SNAPSHOT.26",
|
|
31
31
|
"@sphereon/pex": "5.0.0-unstable.28",
|
|
32
32
|
"@sphereon/pex-models": "^2.3.2",
|
|
33
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.34.1-
|
|
34
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.34.1-
|
|
35
|
-
"@sphereon/ssi-sdk-ext.x509-utils": "0.34.1-
|
|
36
|
-
"@sphereon/ssi-sdk.core": "0.34.1-
|
|
37
|
-
"@sphereon/ssi-types": "0.34.1-
|
|
33
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.34.1-next.278+0eacb25b",
|
|
34
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.34.1-next.278+0eacb25b",
|
|
35
|
+
"@sphereon/ssi-sdk-ext.x509-utils": "0.34.1-next.278+0eacb25b",
|
|
36
|
+
"@sphereon/ssi-sdk.core": "0.34.1-next.278+0eacb25b",
|
|
37
|
+
"@sphereon/ssi-types": "0.34.1-next.278+0eacb25b",
|
|
38
38
|
"@veramo/core": "4.2.0",
|
|
39
39
|
"@veramo/did-manager": "4.2.0",
|
|
40
40
|
"@veramo/utils": "4.2.0",
|
|
@@ -47,14 +47,13 @@
|
|
|
47
47
|
"uuid": "^9.0.1"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|
|
50
|
-
"@sphereon/oid4vci-client": "0.19.1-
|
|
51
|
-
"@sphereon/oid4vci-common": "0.19.1-
|
|
52
|
-
"@sphereon/ssi-express-support": "0.34.1-
|
|
53
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.34.1-
|
|
54
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.34.1-
|
|
55
|
-
"@sphereon/ssi-sdk.agent-config": "0.34.1-
|
|
56
|
-
"@sphereon/ssi-sdk.
|
|
57
|
-
"@sphereon/ssi-sdk.public-key-hosting": "0.34.1-fix.80+f71b3901",
|
|
50
|
+
"@sphereon/oid4vci-client": "0.19.1-next.220",
|
|
51
|
+
"@sphereon/oid4vci-common": "0.19.1-next.220",
|
|
52
|
+
"@sphereon/ssi-express-support": "0.34.1-next.278+0eacb25b",
|
|
53
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.34.1-next.278+0eacb25b",
|
|
54
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.34.1-next.278+0eacb25b",
|
|
55
|
+
"@sphereon/ssi-sdk.agent-config": "0.34.1-next.278+0eacb25b",
|
|
56
|
+
"@sphereon/ssi-sdk.public-key-hosting": "0.34.1-next.278+0eacb25b",
|
|
58
57
|
"@transmute/json-web-signature": "0.7.0-unstable.81",
|
|
59
58
|
"@types/cors": "^2.8.17",
|
|
60
59
|
"@types/express": "^4.17.21",
|
|
@@ -89,5 +88,5 @@
|
|
|
89
88
|
"EBSI",
|
|
90
89
|
"EBSI Authorization Client"
|
|
91
90
|
],
|
|
92
|
-
"gitHead": "
|
|
91
|
+
"gitHead": "0eacb25b6e38cef88d04d696d84e3c2ebcf89ede"
|
|
93
92
|
}
|
package/plugin.schema.json
CHANGED
package/src/functions/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import mdocPkg from '@sphereon/kmp-mdoc-core'
|
|
2
2
|
const { com } = mdocPkg
|
|
3
3
|
import { Nullable } from '@sphereon/kmp-mdoc-core'
|
|
4
|
+
|
|
4
5
|
import { calculateJwkThumbprint, globalCrypto, verifyRawSignature } from '@sphereon/ssi-sdk-ext.key-utils'
|
|
5
6
|
import {
|
|
6
7
|
CertificateInfo,
|
|
@@ -27,15 +28,15 @@ type ICoseCryptoCallbackJS = mdocPkg.com.sphereon.crypto.ICoseCryptoCallbackJS
|
|
|
27
28
|
type IKey = mdocPkg.com.sphereon.crypto.IKey
|
|
28
29
|
type IX509ServiceJS = mdocPkg.com.sphereon.crypto.IX509ServiceJS
|
|
29
30
|
type Jwk = mdocPkg.com.sphereon.crypto.jose.Jwk
|
|
30
|
-
const KeyInfo = com.sphereon.crypto.KeyInfo
|
|
31
|
+
const KeyInfo = mdocPkg.com.sphereon.crypto.KeyInfo
|
|
31
32
|
type X509VerificationProfile = mdocPkg.com.sphereon.crypto.X509VerificationProfile
|
|
32
|
-
const DateTimeUtils = com.sphereon.kmp.DateTimeUtils
|
|
33
|
-
const decodeFrom = com.sphereon.kmp.decodeFrom
|
|
34
|
-
const encodeTo = com.sphereon.kmp.encodeTo
|
|
35
|
-
const Encoding = com.sphereon.kmp.Encoding
|
|
33
|
+
const DateTimeUtils = mdocPkg.com.sphereon.kmp.DateTimeUtils
|
|
34
|
+
const decodeFrom = mdocPkg.com.sphereon.kmp.decodeFrom
|
|
35
|
+
const encodeTo = mdocPkg.com.sphereon.kmp.encodeTo
|
|
36
|
+
const Encoding = mdocPkg.com.sphereon.kmp.Encoding
|
|
36
37
|
type LocalDateTimeKMP = mdocPkg.com.sphereon.kmp.LocalDateTimeKMP
|
|
37
|
-
const SignatureAlgorithm = com.sphereon.crypto.generic.SignatureAlgorithm
|
|
38
|
-
const DefaultCallbacks = com.sphereon.crypto.DefaultCallbacks
|
|
38
|
+
const SignatureAlgorithm = mdocPkg.com.sphereon.crypto.generic.SignatureAlgorithm
|
|
39
|
+
const DefaultCallbacks = mdocPkg.com.sphereon.crypto.DefaultCallbacks
|
|
39
40
|
|
|
40
41
|
export class CoseCryptoService implements ICoseCryptoCallbackJS {
|
|
41
42
|
constructor(private context?: IRequiredContext) {}
|