Skip to content

Commit 4c0450e

Browse files
committed
chore: update deps
1 parent 0475d6f commit 4c0450e

15 files changed

Lines changed: 63 additions & 107 deletions

File tree

lerna.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,6 @@
11
{
2-
"packages": [
3-
"packages/*"
4-
],
2+
"packages": ["packages/*"],
53
"version": "0.19.0",
64
"npmClient": "pnpm",
7-
"workspaces": [
8-
"packages/*"
9-
]
10-
}
5+
"workspaces": ["packages/*"]
6+
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"pnpm": ">=10"
2727
},
2828
"resolutions": {
29-
"@sphereon/ssi-types": "0.33.1-next.73",
29+
"@sphereon/ssi-types": "0.34.1-next.3",
3030
"dcql": "0.2.22",
3131
"node-fetch": "2.6.12",
3232
"typescript": "5.8.3"

packages/callback-example/package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@sphereon/oid4vci-client": "workspace:^",
3131
"@sphereon/oid4vci-common": "workspace:^",
3232
"@sphereon/oid4vci-issuer": "workspace:^",
33-
"@sphereon/ssi-types": "0.33.1-next.73",
33+
"@sphereon/ssi-types": "0.34.1-next.3",
3434
"jose": "^4.10.0"
3535
},
3636
"devDependencies": {
@@ -46,12 +46,7 @@
4646
"engines": {
4747
"node": ">=20.6"
4848
},
49-
"files": [
50-
"src",
51-
"dist",
52-
"README.md",
53-
"LICENSE.md"
54-
],
49+
"files": ["src", "dist", "README.md", "LICENSE.md"],
5550
"keywords": [
5651
"Sphereon",
5752
"Verifiable Credentials",

packages/client/lib/__tests__/CredentialRequestClient.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ describe('Credential Offer Client error handling', () => {
356356

357357
nock('https://test.example.com').get('/offer').reply(404, 'Not Found')
358358

359-
await expect(CredentialOfferClient.fromURI(IRR_URI)).rejects.toMatch(
359+
await expect(CredentialOfferClient.fromURI(IRR_URI)).rejects.toThrow(
360360
/the credential offer URI endpoint call was not successful. http code 404 - reason Not Found/,
361361
)
362362
})
@@ -366,7 +366,7 @@ describe('Credential Offer Client error handling', () => {
366366

367367
nock('https://test.example.com').get('/offer').reply(200, 'plain text response', { 'Content-Type': 'text/plain' })
368368

369-
await expect(CredentialOfferClient.fromURI(IRR_URI)).rejects.toMatch(
369+
await expect(CredentialOfferClient.fromURI(IRR_URI)).rejects.toThrow(
370370
'the credential offer URI endpoint did not return content type application/json',
371371
)
372372
})

packages/client/lib/functions/CredentialOfferCommons.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,13 @@ export async function handleCredentialOfferUri(uri: string) {
2020
const response = await fetch(decodedUri)
2121

2222
if (!(response && response.status >= 200 && response.status < 400)) {
23-
return Promise.reject(`the credential offer URI endpoint call was not successful. http code ${response.status} - reason ${response.statusText}`)
23+
return Promise.reject(
24+
Error(`the credential offer URI endpoint call was not successful. http code ${response.status} - reason ${response.statusText}`),
25+
)
2426
}
2527

2628
if (response.headers.get('Content-Type')?.startsWith('application/json') === false) {
27-
return Promise.reject('the credential offer URI endpoint did not return content type application/json')
29+
return Promise.reject(Error('the credential offer URI endpoint did not return content type application/json'))
2830
}
2931

3032
return {

packages/client/package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"dependencies": {
3030
"@sphereon/oid4vc-common": "workspace:^",
3131
"@sphereon/oid4vci-common": "workspace:^",
32-
"@sphereon/ssi-types": "0.33.1-next.73",
32+
"@sphereon/ssi-types": "0.34.1-next.3",
3333
"cross-fetch": "^4.1.0",
3434
"debug": "^4.4.0"
3535
},
@@ -55,12 +55,7 @@
5555
"engines": {
5656
"node": ">=20"
5757
},
58-
"files": [
59-
"src",
60-
"dist",
61-
"README.md",
62-
"LICENSE.md"
63-
],
58+
"files": ["src", "dist", "README.md", "LICENSE.md"],
6459
"keywords": [
6560
"Sphereon",
6661
"Verifiable Credentials",

packages/common/package.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"test": "vitest run --config ../../vitest.config.ts --coverage"
2323
},
2424
"dependencies": {
25-
"@sphereon/ssi-types": "0.33.1-next.73",
25+
"@sphereon/ssi-types": "0.34.1-next.3",
2626
"jwt-decode": "^4.0.0",
2727
"uint8arrays": "^3.1.1",
2828
"uuid": "^9.0.0"
@@ -34,12 +34,7 @@
3434
"engines": {
3535
"node": ">=20"
3636
},
37-
"files": [
38-
"src",
39-
"dist",
40-
"README.md",
41-
"LICENSE.md"
42-
],
37+
"files": ["src", "dist", "README.md", "LICENSE.md"],
4338
"keywords": [
4439
"Sphereon",
4540
"Verifiable Credentials",

packages/did-auth-siop-adapter/package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@
3636
"engines": {
3737
"node": ">=20"
3838
},
39-
"files": [
40-
"dist/**/*"
41-
],
39+
"files": ["dist/**/*"],
4240
"keywords": [
4341
"Sphereon",
4442
"SSI",

packages/issuer-rest/package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"@sphereon/oid4vc-common": "workspace:^",
2626
"@sphereon/oid4vci-common": "workspace:^",
2727
"@sphereon/oid4vci-issuer": "workspace:^",
28-
"@sphereon/ssi-express-support": "0.33.1-next.73",
29-
"@sphereon/ssi-types": "0.33.1-next.73",
28+
"@sphereon/ssi-express-support": "0.34.1-next.3",
29+
"@sphereon/ssi-types": "0.34.1-next.3",
3030
"body-parser": "^1.20.2",
3131
"cookie-parser": "^1.4.6",
3232
"cors": "^2.8.5",
@@ -65,12 +65,7 @@
6565
"engines": {
6666
"node": ">=20"
6767
},
68-
"files": [
69-
"src",
70-
"dist",
71-
"README.md",
72-
"LICENSE.md"
73-
],
68+
"files": ["src", "dist", "README.md", "LICENSE.md"],
7469
"keywords": [
7570
"Sphereon",
7671
"Verifiable Credentials",

packages/issuer/package.json

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
"dependencies": {
2424
"@sphereon/oid4vc-common": "workspace:^",
2525
"@sphereon/oid4vci-common": "workspace:^",
26-
"@sphereon/ssi-express-support": "0.33.1-next.73",
27-
"@sphereon/ssi-types": "0.33.1-next.73",
26+
"@sphereon/ssi-express-support": "0.34.1-next.3",
27+
"@sphereon/ssi-types": "0.34.1-next.3",
2828
"short-uuid": "^4.2.2",
2929
"uuid": "^9.0.0"
3030
},
@@ -49,12 +49,7 @@
4949
"engines": {
5050
"node": ">=20"
5151
},
52-
"files": [
53-
"src",
54-
"dist",
55-
"README.md",
56-
"LICENSE.md"
57-
],
52+
"files": ["src", "dist", "README.md", "LICENSE.md"],
5853
"keywords": [
5954
"Sphereon",
6055
"Verifiable Credentials",

0 commit comments

Comments
 (0)