@sphereon/ssi-sdk-ext.jwt-service 0.24.1-unstable.119 → 0.24.1-unstable.121
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/types/IJwtService.js +1 -1
- package/package.json +10 -10
- package/src/types/IJwtService.ts +1 -1
|
@@ -20,5 +20,5 @@ function isJwsJsonGeneral(jws) {
|
|
|
20
20
|
return typeof jws === 'object' && 'signatures' in jws;
|
|
21
21
|
}
|
|
22
22
|
exports.isJwsJsonGeneral = isJwsJsonGeneral;
|
|
23
|
-
exports.COMPACT_JWS_REGEX = /^([a-zA-Z0-9_=-]+)\.([a-zA-Z0-9_=-]+)
|
|
23
|
+
exports.COMPACT_JWS_REGEX = /^([a-zA-Z0-9_=-]+)\.([a-zA-Z0-9_=-]+)(?:\.([a-zA-Z0-9_=-]+))?\.?$/;
|
|
24
24
|
//# sourceMappingURL=IJwtService.js.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sphereon/ssi-sdk-ext.jwt-service",
|
|
3
|
-
"version": "0.24.1-unstable.
|
|
3
|
+
"version": "0.24.1-unstable.121+6c46ad3",
|
|
4
4
|
"source": "src/index.ts",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -15,11 +15,11 @@
|
|
|
15
15
|
"generate-plugin-schema": "sphereon dev generate-plugin-schema"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@sphereon/ssi-sdk-ext.did-utils": "0.24.1-unstable.
|
|
19
|
-
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.24.1-unstable.
|
|
20
|
-
"@sphereon/ssi-sdk-ext.key-manager": "0.24.1-unstable.
|
|
21
|
-
"@sphereon/ssi-sdk-ext.key-utils": "0.24.1-unstable.
|
|
22
|
-
"@sphereon/ssi-sdk-ext.x509-utils": "0.24.1-unstable.
|
|
18
|
+
"@sphereon/ssi-sdk-ext.did-utils": "0.24.1-unstable.121+6c46ad3",
|
|
19
|
+
"@sphereon/ssi-sdk-ext.identifier-resolution": "0.24.1-unstable.121+6c46ad3",
|
|
20
|
+
"@sphereon/ssi-sdk-ext.key-manager": "0.24.1-unstable.121+6c46ad3",
|
|
21
|
+
"@sphereon/ssi-sdk-ext.key-utils": "0.24.1-unstable.121+6c46ad3",
|
|
22
|
+
"@sphereon/ssi-sdk-ext.x509-utils": "0.24.1-unstable.121+6c46ad3",
|
|
23
23
|
"@sphereon/ssi-sdk.agent-config": "0.29.1-unstable.161",
|
|
24
24
|
"@sphereon/ssi-types": "0.29.1-unstable.161",
|
|
25
25
|
"@veramo/core": "4.2.0",
|
|
@@ -29,9 +29,9 @@
|
|
|
29
29
|
"uint8arrays": "^3.1.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@sphereon/ssi-sdk-ext.did-provider-jwk": "0.24.1-unstable.
|
|
33
|
-
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-unstable.
|
|
34
|
-
"@sphereon/ssi-sdk-ext.kms-local": "0.24.1-unstable.
|
|
32
|
+
"@sphereon/ssi-sdk-ext.did-provider-jwk": "0.24.1-unstable.121+6c46ad3",
|
|
33
|
+
"@sphereon/ssi-sdk-ext.did-resolver-jwk": "0.24.1-unstable.121+6c46ad3",
|
|
34
|
+
"@sphereon/ssi-sdk-ext.kms-local": "0.24.1-unstable.121+6c46ad3",
|
|
35
35
|
"@sphereon/ssi-sdk.dev": "0.29.1-unstable.161",
|
|
36
36
|
"@veramo/data-store": "4.2.0",
|
|
37
37
|
"@veramo/did-manager": "4.2.0",
|
|
@@ -66,5 +66,5 @@
|
|
|
66
66
|
"X.509 Certificates",
|
|
67
67
|
"ARF"
|
|
68
68
|
],
|
|
69
|
-
"gitHead": "
|
|
69
|
+
"gitHead": "6c46ad3fba019973e030e558bae64e512f3cb395"
|
|
70
70
|
}
|
package/src/types/IJwtService.ts
CHANGED
|
@@ -164,4 +164,4 @@ export function isJwsJsonGeneral(jws: Jws): jws is JwsJsonGeneral {
|
|
|
164
164
|
return typeof jws === 'object' && 'signatures' in jws
|
|
165
165
|
}
|
|
166
166
|
|
|
167
|
-
export const COMPACT_JWS_REGEX = /^([a-zA-Z0-9_=-]+)\.([a-zA-Z0-9_=-]+)
|
|
167
|
+
export const COMPACT_JWS_REGEX = /^([a-zA-Z0-9_=-]+)\.([a-zA-Z0-9_=-]+)(?:\.([a-zA-Z0-9_=-]+))?\.?$/
|