@sphereon/oid4vci-client 0.10.4-unstable.37 → 0.10.4-unstable.39

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.
@@ -223,8 +223,8 @@ describe('AccessTokenClient should', () => {
223
223
  const response: OpenIDResponse<AccessTokenResponse> = await accessTokenClient.acquireAccessToken({
224
224
  credentialOffer: INITIATION_TEST,
225
225
  pin: '1234',
226
- })
227
- expect(response.successBody).toBeDefined()
226
+ });
227
+ expect(response.successBody).toBeDefined();
228
228
  });
229
229
 
230
230
  it('get error if no as, issuer and metadata values are present', async () => {
@@ -108,9 +108,9 @@ describe('sd-jwt vc', () => {
108
108
  'urn:ietf:params:oauth:grant-type:pre-authorized_code': {
109
109
  'pre-authorized_code': '123',
110
110
  tx_code: {
111
- input_mode: "text",
111
+ input_mode: 'text',
112
112
  length: 3,
113
- },
113
+ },
114
114
  },
115
115
  },
116
116
  });
@@ -869,12 +869,24 @@ const mockData: VciMockDataStructure = {
869
869
  text_color: '#00526e',
870
870
  },
871
871
  {
872
+ background_color: '#e6f2f5',
873
+ background_image: {
874
+ alt_text: 'KvK gestylede achtergrond',
875
+ url: 'https://mijnkvk.acc.credenco.com/kvk_card_background.png',
876
+ },
872
877
  locale: 'nl-NL',
873
878
  name: 'Bevoegdheid uittreksel',
879
+ text_color: '#00526e',
874
880
  },
875
881
  {
882
+ background_color: '#e6f2f5',
883
+ background_image: {
884
+ alt_text: 'KvK styled card Background',
885
+ url: 'https://mijnkvk.acc.credenco.com/kvk_card_background.png',
886
+ },
876
887
  locale: 'en-US',
877
888
  name: 'Authorized representative',
889
+ text_color: '#00526e',
878
890
  },
879
891
  ],
880
892
  format: 'jwt_vc_json',
@@ -976,12 +988,24 @@ const mockData: VciMockDataStructure = {
976
988
  text_color: '#00526e',
977
989
  },
978
990
  {
991
+ background_color: '#e6f2f5',
992
+ background_image: {
993
+ alt_text: 'KvK gestylede achtergrond',
994
+ url: 'https://mijnkvk.acc.credenco.com/kvk_card_background.png',
995
+ },
979
996
  locale: 'nl-NL',
980
997
  name: 'KVK Registratie',
998
+ text_color: '#00526e',
981
999
  },
982
1000
  {
1001
+ background_color: '#e6f2f5',
1002
+ background_image: {
1003
+ alt_text: 'KvK styled card Background',
1004
+ url: 'https://mijnkvk.acc.credenco.com/kvk_card_background.png',
1005
+ },
983
1006
  locale: 'en-US',
984
1007
  name: 'Chamber of Commerce Registration',
1008
+ text_color: '#00526e',
985
1009
  },
986
1010
  ],
987
1011
  format: 'jwt_vc_json',
@@ -1035,14 +1059,26 @@ const mockData: VciMockDataStructure = {
1035
1059
  text_color: '#00526e',
1036
1060
  },
1037
1061
  {
1062
+ background_color: '#e6f2f5',
1063
+ background_image: {
1064
+ alt_text: 'KvK gestylede achtergrond',
1065
+ url: 'https://mijnkvk.acc.credenco.com/kvk_card_background.png',
1066
+ },
1038
1067
  description: 'Rechtspersonen en Samenwerkingsverbanden Identificatienummer',
1039
1068
  locale: 'nl-NL',
1040
1069
  name: 'RSIN',
1070
+ text_color: '#00526e',
1041
1071
  },
1042
1072
  {
1073
+ background_color: '#e6f2f5',
1074
+ background_image: {
1075
+ alt_text: 'KvK styled card Background',
1076
+ url: 'https://mijnkvk.acc.credenco.com/kvk_card_background.png',
1077
+ },
1043
1078
  description: 'Identification number for legal entities and associations',
1044
1079
  locale: 'en-US',
1045
1080
  name: 'RSIN',
1081
+ text_color: '#00526e',
1046
1082
  },
1047
1083
  ],
1048
1084
  format: 'jwt_vc_json',
@@ -1331,12 +1367,24 @@ const mockData: VciMockDataStructure = {
1331
1367
  text_color: '#00526e',
1332
1368
  },
1333
1369
  {
1370
+ background_color: '#e6f2f5',
1371
+ background_image: {
1372
+ alt_text: 'KvK gestylede achtergrond',
1373
+ url: 'https://mijnkvk.acc.credenco.com/kvk_card_background.png',
1374
+ },
1334
1375
  locale: 'nl-NL',
1335
1376
  name: 'Bevoegdheid uittreksel',
1377
+ text_color: '#00526e',
1336
1378
  },
1337
1379
  {
1380
+ background_color: '#e6f2f5',
1381
+ background_image: {
1382
+ alt_text: 'KvK styled card Background',
1383
+ url: 'https://mijnkvk.acc.credenco.com/kvk_card_background.png',
1384
+ },
1338
1385
  locale: 'en-US',
1339
- name: 'Power of Attorney',
1386
+ name: 'Authorized representative',
1387
+ text_color: '#00526e',
1340
1388
  },
1341
1389
  ],
1342
1390
  format: 'jwt_vc_json',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/oid4vci-client",
3
- "version": "0.10.4-unstable.37+b8bb359",
3
+ "version": "0.10.4-unstable.39+8a6c16f",
4
4
  "description": "OpenID for Verifiable Credential Issuance (OpenID4VCI) client",
5
5
  "source": "lib/index.ts",
6
6
  "main": "dist/index.js",
@@ -15,7 +15,7 @@
15
15
  "build": "tsc"
16
16
  },
17
17
  "dependencies": {
18
- "@sphereon/oid4vci-common": "0.10.4-unstable.37+b8bb359",
18
+ "@sphereon/oid4vci-common": "0.10.4-unstable.39+8a6c16f",
19
19
  "@sphereon/ssi-types": "^0.23.0",
20
20
  "cross-fetch": "^3.1.8",
21
21
  "debug": "^4.3.4"
@@ -69,5 +69,5 @@
69
69
  "OIDC4VCI",
70
70
  "OID4VCI"
71
71
  ],
72
- "gitHead": "b8bb3591ea704a777cfe057920edc8cd61faf3ef"
72
+ "gitHead": "8a6c16f39fdee838d935edbc46c6842b628f08b7"
73
73
  }