Skip to content

Commit

Permalink
chore: update deps
Browse files Browse the repository at this point in the history
  • Loading branch information
nklomp committed Apr 24, 2024
1 parent dc70d52 commit dc056b9
Show file tree
Hide file tree
Showing 11 changed files with 3,495 additions and 3,115 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-test-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@ jobs:
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.18.0'
- uses: pnpm/action-setup@v2
node-version: '20.x'
- uses: pnpm/action-setup@v3
with:
version: 8
version: 8.15.7
- run: pnpm install
- run: pnpm build
- name: run CI tests
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/build-test-publish-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,16 +30,16 @@ jobs:
- 5432:5432
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: '18.18.0'
- uses: pnpm/action-setup@v2
node-version: '20.x'
- uses: pnpm/action-setup@v3
with:
version: 8
version: 8.15.7
# - name: Get yarn cache directory path
# id: yarn-cache-dir-path
# run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,13 @@
"@types/node": "^18.17.3",
"codecov": "^3.8.3",
"jest": "^29.6.2",
"lerna": "^7.1.4",
"lerna": "^8.1.2",
"lerna-changelog": "^2.2.0",
"npm-run-all": "^4.1.5",
"prettier": "^3.0.1",
"rimraf": "^5.0.1",
"ts-jest": "^29.1.1",
"typescript": "5.3.3"
"prettier": "^3.2.5",
"rimraf": "^5.0.5",
"ts-jest": "^29.1.2",
"typescript": "5.4.5"
},
"keywords": [
"Sphereon",
Expand Down
4 changes: 2 additions & 2 deletions packages/client/lib/AccessTokenClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,8 @@ export class AccessTokenClient {
metadata: metadata
? metadata
: issuerOpts?.fetchMetadata
? await MetadataClient.retrieveAllMetadata(issuerOpts.issuer, { errorOnNotFound: false })
: undefined,
? await MetadataClient.retrieveAllMetadata(issuerOpts.issuer, { errorOnNotFound: false })
: undefined,
});

return this.sendAuthCode(requestTokenURL, accessTokenRequest);
Expand Down
4 changes: 2 additions & 2 deletions packages/client/lib/CredentialOfferClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ export class CredentialOfferClient {
uriTypeProperties: isUri
? ['credential_offer_uri']
: version >= OpenId4VCIVersion.VER_1_0_11
? ['credential_issuer', 'credential_type']
: ['issuer', 'credential_type'],
? ['credential_issuer', 'credential_type']
: ['issuer', 'credential_type'],
param,
version,
});
Expand Down
10 changes: 6 additions & 4 deletions packages/client/lib/OpenID4VCIClient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,9 @@ export class OpenID4VCIClient {
} else if (!response.successBody) {
debug(`Access token error. No success body`);
throw Error(
`Retrieving an access token from ${this._state.endpointMetadata
?.token_endpoint} for issuer ${this.getIssuer()} failed as there was no success response body`,
`Retrieving an access token from ${
this._state.endpointMetadata?.token_endpoint
} for issuer ${this.getIssuer()} failed as there was no success response body`,
);
}
this._state.accessTokenResponse = response.successBody;
Expand Down Expand Up @@ -428,8 +429,9 @@ export class OpenID4VCIClient {
} else if (!response.successBody) {
debug(`Credential request error. No success body`);
throw Error(
`Retrieving a credential from ${this._state.endpointMetadata
?.credential_endpoint} for issuer ${this.getIssuer()} failed as there was no success response body`,
`Retrieving a credential from ${
this._state.endpointMetadata?.credential_endpoint
} for issuer ${this.getIssuer()} failed as there was no success response body`,
);
}
return response.successBody;
Expand Down
4 changes: 2 additions & 2 deletions packages/client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
"dependencies": {
"@sphereon/oid4vci-common": "workspace:*",
"@sphereon/ssi-types": "^0.18.1",
"@sphereon/ssi-types": "^0.23.0",
"cross-fetch": "^3.1.8",
"debug": "^4.3.4"
},
"devDependencies": {
"@sphereon/ssi-sdk-ext.key-utils": "^0.16.0",
"@sphereon/ssi-sdk-ext.key-utils": "^0.18.2",
"@transmute/did-key.js": "^0.3.0-unstable.10",
"@trust/keyto": "^2.0.0-alpha1",
"@types/jest": "^29.5.3",
Expand Down
4 changes: 2 additions & 2 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"build:clean": "tsc --build --clean && tsc --build"
},
"dependencies": {
"@sphereon/ssi-types": "^0.18.1",
"@sphereon/ssi-types": "^0.23.0",
"cross-fetch": "^3.1.8",
"jwt-decode": "^3.1.2",
"sha.js": "^2.4.11",
Expand All @@ -19,7 +19,7 @@
"devDependencies": {
"@types/jest": "^29.5.3",
"@types/sha.js": "^2.4.4",
"typescript": "5.3.3"
"typescript": "5.4.5"
},
"peerDependencies": {
"msrcrypto": "^1.5.8"
Expand Down
10 changes: 5 additions & 5 deletions packages/issuer-rest/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"dependencies": {
"@sphereon/oid4vci-common": "workspace:*",
"@sphereon/oid4vci-issuer": "workspace:*",
"@sphereon/ssi-express-support": "^0.18.1",
"@sphereon/ssi-types": "^0.18.1",
"@sphereon/ssi-express-support": "^0.23.0",
"@sphereon/ssi-types": "^0.23.0",
"body-parser": "^1.20.2",
"cookie-parser": "^1.4.6",
"cors": "^2.8.5",
"dotenv-flow": "^3.2.0",
"express": "^4.18.2",
"dotenv-flow": "^3.3.0",
"express": "^4.19.2",
"http-terminator": "^3.2.0",
"typescript": "5.3.3",
"typescript": "5.4.5",
"uuid": "^9.0.0"
},
"devDependencies": {
Expand Down
6 changes: 3 additions & 3 deletions packages/issuer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
},
"dependencies": {
"@sphereon/oid4vci-common": "workspace:*",
"@sphereon/ssi-types": "^0.18.1",
"@sphereon/ssi-types": "^0.23.0",
"uuid": "^9.0.0"
},
"peerDependencies": {
Expand All @@ -28,10 +28,10 @@
"devDependencies": {
"@sphereon/oid4vci-client": "workspace:*",
"@types/jest": "^29.5.3",
"@types/node": "^18.17.3",
"@types/node": "^18.19.31",
"@types/uuid": "^9.0.2",
"did-resolver": "^4.1.0",
"typescript": "5.3.3"
"typescript": "5.4.5"
},
"engines": {
"node": ">=18"
Expand Down
Loading

0 comments on commit dc056b9

Please sign in to comment.