File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,16 +16,16 @@ jobs:
1616 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
1717
1818 steps :
19- - uses : actions/checkout@v3
19+ - uses : actions/checkout@v4
2020 with :
2121 fetch-depth : 0
2222 - name : Use Node.js
2323 uses : actions/setup-node@v4
2424 with :
25- node-version : ' 18.18.0 '
26- - uses : pnpm/action-setup@v2
25+ node-version : ' 20.x '
26+ - uses : pnpm/action-setup@v3
2727 with :
28- version : 8
28+ version : 8.15.7
2929 - run : pnpm install
3030 - run : pnpm build
3131 - name : run CI tests
Original file line number Diff line number Diff line change @@ -30,16 +30,16 @@ jobs:
3030 - 5432:5432
3131 options : --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
3232 steps :
33- - uses : actions/checkout@v3
33+ - uses : actions/checkout@v4
3434 with :
3535 fetch-depth : 0
3636 - name : Use Node.js
3737 uses : actions/setup-node@v4
3838 with :
39- node-version : ' 18.18.0 '
40- - uses : pnpm/action-setup@v2
39+ node-version : ' 20.x '
40+ - uses : pnpm/action-setup@v3
4141 with :
42- version : 8
42+ version : 8.15.7
4343# - name: Get yarn cache directory path
4444# id: yarn-cache-dir-path
4545# run: echo "::set-output name=dir::$(yarn cache dir)"
Original file line number Diff line number Diff line change 3737 "@types/node" : " ^18.17.3" ,
3838 "codecov" : " ^3.8.3" ,
3939 "jest" : " ^29.6.2" ,
40- "lerna" : " ^7 .1.4 " ,
40+ "lerna" : " ^8 .1.2 " ,
4141 "lerna-changelog" : " ^2.2.0" ,
4242 "npm-run-all" : " ^4.1.5" ,
43- "prettier" : " ^3.0.1 " ,
44- "rimraf" : " ^5.0.1 " ,
45- "ts-jest" : " ^29.1.1 " ,
46- "typescript" : " 5.3.3 "
43+ "prettier" : " ^3.2.5 " ,
44+ "rimraf" : " ^5.0.5 " ,
45+ "ts-jest" : " ^29.1.2 " ,
46+ "typescript" : " 5.4.5 "
4747 },
4848 "keywords" : [
4949 " Sphereon" ,
Original file line number Diff line number Diff line change @@ -77,8 +77,8 @@ export class AccessTokenClient {
7777 metadata : metadata
7878 ? metadata
7979 : issuerOpts ?. fetchMetadata
80- ? await MetadataClient . retrieveAllMetadata ( issuerOpts . issuer , { errorOnNotFound : false } )
81- : undefined ,
80+ ? await MetadataClient . retrieveAllMetadata ( issuerOpts . issuer , { errorOnNotFound : false } )
81+ : undefined ,
8282 } ) ;
8383
8484 return this . sendAuthCode ( requestTokenURL , accessTokenRequest ) ;
Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ export class CredentialOfferClient {
102102 uriTypeProperties : isUri
103103 ? [ 'credential_offer_uri' ]
104104 : version >= OpenId4VCIVersion . VER_1_0_11
105- ? [ 'credential_issuer' , 'credential_type' ]
106- : [ 'issuer' , 'credential_type' ] ,
105+ ? [ 'credential_issuer' , 'credential_type' ]
106+ : [ 'issuer' , 'credential_type' ] ,
107107 param,
108108 version,
109109 } ) ;
Original file line number Diff line number Diff line change @@ -306,8 +306,9 @@ export class OpenID4VCIClient {
306306 } else if ( ! response . successBody ) {
307307 debug ( `Access token error. No success body` ) ;
308308 throw Error (
309- `Retrieving an access token from ${ this . _state . endpointMetadata
310- ?. token_endpoint } for issuer ${ this . getIssuer ( ) } failed as there was no success response body`,
309+ `Retrieving an access token from ${
310+ this . _state . endpointMetadata ?. token_endpoint
311+ } for issuer ${ this . getIssuer ( ) } failed as there was no success response body`,
311312 ) ;
312313 }
313314 this . _state . accessTokenResponse = response . successBody ;
@@ -428,8 +429,9 @@ export class OpenID4VCIClient {
428429 } else if ( ! response . successBody ) {
429430 debug ( `Credential request error. No success body` ) ;
430431 throw Error (
431- `Retrieving a credential from ${ this . _state . endpointMetadata
432- ?. credential_endpoint } for issuer ${ this . getIssuer ( ) } failed as there was no success response body`,
432+ `Retrieving a credential from ${
433+ this . _state . endpointMetadata ?. credential_endpoint
434+ } for issuer ${ this . getIssuer ( ) } failed as there was no success response body`,
433435 ) ;
434436 }
435437 return response . successBody ;
Original file line number Diff line number Diff line change 1616 },
1717 "dependencies" : {
1818 "@sphereon/oid4vci-common" : " workspace:*" ,
19- "@sphereon/ssi-types" : " ^0.18.1 " ,
19+ "@sphereon/ssi-types" : " ^0.23.0 " ,
2020 "cross-fetch" : " ^3.1.8" ,
2121 "debug" : " ^4.3.4"
2222 },
2323 "devDependencies" : {
24- "@sphereon/ssi-sdk-ext.key-utils" : " ^0.16.0 " ,
24+ "@sphereon/ssi-sdk-ext.key-utils" : " ^0.18.2 " ,
2525 "@transmute/did-key.js" : " ^0.3.0-unstable.10" ,
2626 "@trust/keyto" : " ^2.0.0-alpha1" ,
2727 "@types/jest" : " ^29.5.3" ,
Original file line number Diff line number Diff line change 1010 "build:clean" : " tsc --build --clean && tsc --build"
1111 },
1212 "dependencies" : {
13- "@sphereon/ssi-types" : " ^0.18.1 " ,
13+ "@sphereon/ssi-types" : " ^0.23.0 " ,
1414 "cross-fetch" : " ^3.1.8" ,
1515 "jwt-decode" : " ^3.1.2" ,
1616 "sha.js" : " ^2.4.11" ,
1919 "devDependencies" : {
2020 "@types/jest" : " ^29.5.3" ,
2121 "@types/sha.js" : " ^2.4.4" ,
22- "typescript" : " 5.3.3 "
22+ "typescript" : " 5.4.5 "
2323 },
2424 "peerDependencies" : {
2525 "msrcrypto" : " ^1.5.8"
Original file line number Diff line number Diff line change 1313 "dependencies" : {
1414 "@sphereon/oid4vci-common" : " workspace:*" ,
1515 "@sphereon/oid4vci-issuer" : " workspace:*" ,
16- "@sphereon/ssi-express-support" : " ^0.18.1 " ,
17- "@sphereon/ssi-types" : " ^0.18.1 " ,
16+ "@sphereon/ssi-express-support" : " ^0.23.0 " ,
17+ "@sphereon/ssi-types" : " ^0.23.0 " ,
1818 "body-parser" : " ^1.20.2" ,
1919 "cookie-parser" : " ^1.4.6" ,
2020 "cors" : " ^2.8.5" ,
21- "dotenv-flow" : " ^3.2 .0" ,
22- "express" : " ^4.18 .2" ,
21+ "dotenv-flow" : " ^3.3 .0" ,
22+ "express" : " ^4.19 .2" ,
2323 "http-terminator" : " ^3.2.0" ,
24- "typescript" : " 5.3.3 " ,
24+ "typescript" : " 5.4.5 " ,
2525 "uuid" : " ^9.0.0"
2626 },
2727 "devDependencies" : {
Original file line number Diff line number Diff line change 1111 },
1212 "dependencies" : {
1313 "@sphereon/oid4vci-common" : " workspace:*" ,
14- "@sphereon/ssi-types" : " ^0.18.1 " ,
14+ "@sphereon/ssi-types" : " ^0.23.0 " ,
1515 "uuid" : " ^9.0.0"
1616 },
1717 "peerDependencies" : {
2828 "devDependencies" : {
2929 "@sphereon/oid4vci-client" : " workspace:*" ,
3030 "@types/jest" : " ^29.5.3" ,
31- "@types/node" : " ^18.17.3 " ,
31+ "@types/node" : " ^18.19.31 " ,
3232 "@types/uuid" : " ^9.0.2" ,
3333 "did-resolver" : " ^4.1.0" ,
34- "typescript" : " 5.3.3 "
34+ "typescript" : " 5.4.5 "
3535 },
3636 "engines" : {
3737 "node" : " >=18"
You can’t perform that action at this time.
0 commit comments