@sphereon/oid4vci-client 0.12.1-unstable.7 → 0.12.1-unstable.9

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.
@@ -391,21 +391,6 @@ describe('OIDVCI-Client for v1_0_13 should', () => {
391
391
  nock.cleanAll();
392
392
  });
393
393
 
394
- /*function succeedWithAFullFlowWithClientSetup() {
395
- nock(IDENTIPROOF_ISSUER_URL).get('/.well-known/openid-credential-issuer').reply(200, JSON.stringify(IDENTIPROOF_OID4VCI_METADATA));
396
- nock(IDENTIPROOF_AS_URL).get('/.well-known/oauth-authorization-server').reply(200, JSON.stringify(IDENTIPROOF_AS_METADATA));
397
- nock(IDENTIPROOF_AS_URL).get(WellKnownEndpoints.OPENID_CONFIGURATION).reply(404, {});
398
- nock(IDENTIPROOF_AS_URL)
399
- .post(/oauth2\/token.*!/)
400
- .reply(200, JSON.stringify(mockedAccessTokenResponse));
401
- nock(ISSUER_URL)
402
- .post(/credential/)
403
- .reply(200, {
404
- format: 'jwt-vc',
405
- credential: mockedVC,
406
- });
407
- }*/
408
-
409
394
  it('should successfully resolve the credential offer URI', async () => {
410
395
  const uri = 'https://mijnkvk.acc.credenco.com/openid4vc/credentialOffer?id=32fc4ebf-9e31-4149-9877-e3c0b602d559';
411
396
 
@@ -457,10 +442,6 @@ describe('OIDVCI-Client for v1_0_13 should', () => {
457
442
  .withTokenFromResponse(accessTokenResponse.successBody!)
458
443
  .build();
459
444
 
460
- //TS2322: Type '(args: ProofOfPossessionCallbackArgs) => Promise<string>'
461
- // is not assignable to type 'ProofOfPossessionCallback'.
462
- // Types of parameters 'args' and 'args' are incompatible.
463
- // Property 'kid' is missing in type '{ header: unknown; payload: unknown; }' but required in type 'ProofOfPossessionCallbackArgs'.
464
445
  const proof: ProofOfPossession = await ProofOfPossessionBuilder.fromJwt({
465
446
  jwt: jwtWithoutDid,
466
447
  callbacks: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sphereon/oid4vci-client",
3
- "version": "0.12.1-unstable.7+f655bf0",
3
+ "version": "0.12.1-unstable.9+9db2c63",
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.12.1-unstable.7+f655bf0",
18
+ "@sphereon/oid4vci-common": "0.12.1-unstable.9+9db2c63",
19
19
  "@sphereon/ssi-types": "0.25.1-unstable.87",
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": "f655bf063128e94e0f6e4b54a2437ea975bc0d34"
72
+ "gitHead": "9db2c63ee201cd6569caa668c82b9a00dedc89fd"
73
73
  }