@openid4vc/openid4vci 0.3.0-alpha-20251029091020 → 0.3.0-alpha-20251029102217

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +12 -12
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ContentType, Fetch, FetchHeaders, HttpMethod, InferOutputUnion, Oid4vcTsConfig, OrPromise, StringWithAutoCompletion, getGlobalConfig, setGlobalConfig } from "@openid4vc/utils";
2
- import * as _openid4vc_oauth20 from "@openid4vc/oauth2";
2
+ import * as _openid4vc_oauth28 from "@openid4vc/oauth2";
3
3
  import { AuthorizationCodeGrantIdentifier, AuthorizationServerMetadata, CallbackContext, CreateAuthorizationRequestUrlOptions, CreateClientAttestationJwtOptions, CreatePkceReturn, DecodeJwtResult, Jwk, JwtSigner, JwtSignerWithJwk, PreAuthorizedCodeGrantIdentifier, RequestDpopOptions, ResourceRequestResponseNotOk, ResourceRequestResponseOk, RetrieveAuthorizationCodeAccessTokenOptions, RetrievePreAuthorizedCodeAccessTokenOptions, authorizationCodeGrantIdentifier, preAuthorizedCodeGrantIdentifier } from "@openid4vc/oauth2";
4
4
  import * as zod0 from "zod";
5
5
  import z from "zod";
@@ -3049,7 +3049,7 @@ interface ParseKeyAttestationJwtOptions {
3049
3049
  declare function parseKeyAttestationJwt({
3050
3050
  keyAttestationJwt,
3051
3051
  use
3052
- }: ParseKeyAttestationJwtOptions): _openid4vc_oauth20.DecodeJwtResult<zod0.ZodObject<{
3052
+ }: ParseKeyAttestationJwtOptions): _openid4vc_oauth28.DecodeJwtResult<zod0.ZodObject<{
3053
3053
  typ: zod0.ZodUnion<[zod0.ZodLiteral<"keyattestation+jwt">, zod0.ZodLiteral<"key-attestation+jwt">]>;
3054
3054
  alg: zod0.ZodString;
3055
3055
  kid: zod0.ZodOptional<zod0.ZodString>;
@@ -3321,7 +3321,7 @@ declare function verifyKeyAttestationJwt(options: VerifyKeyAttestationJwtOptions
3321
3321
  status?: Record<string, any> | undefined;
3322
3322
  trust_chain?: [string, ...string[]] | undefined;
3323
3323
  };
3324
- signer: _openid4vc_oauth20.JwtSignerWithJwk;
3324
+ signer: _openid4vc_oauth28.JwtSignerWithJwk;
3325
3325
  }>;
3326
3326
  //#endregion
3327
3327
  //#region src/metadata/credential-issuer/credential-configurations.d.ts
@@ -3486,7 +3486,7 @@ declare class Openid4vciClient {
3486
3486
  };
3487
3487
  dpop: {
3488
3488
  nonce: string | undefined;
3489
- signer: _openid4vc_oauth20.JwtSignerJwk;
3489
+ signer: _openid4vc_oauth28.JwtSignerJwk;
3490
3490
  } | undefined;
3491
3491
  }>;
3492
3492
  /**
@@ -3545,7 +3545,7 @@ declare class Openid4vciClient {
3545
3545
  issuerMetadata: IssuerMetadataResult;
3546
3546
  }): Promise<{
3547
3547
  authorizationServer: string;
3548
- accessTokenResponse: _openid4vc_oauth20.AccessTokenResponse;
3548
+ accessTokenResponse: _openid4vc_oauth28.AccessTokenResponse;
3549
3549
  dpop?: RequestDpopOptions;
3550
3550
  }>;
3551
3551
  /**
@@ -3565,7 +3565,7 @@ declare class Openid4vciClient {
3565
3565
  issuerMetadata: IssuerMetadataResult;
3566
3566
  }): Promise<{
3567
3567
  authorizationServer: string;
3568
- accessTokenResponse: _openid4vc_oauth20.AccessTokenResponse;
3568
+ accessTokenResponse: _openid4vc_oauth28.AccessTokenResponse;
3569
3569
  dpop?: RequestDpopOptions;
3570
3570
  }>;
3571
3571
  /**
@@ -3620,7 +3620,7 @@ declare class Openid4vciClient {
3620
3620
  additionalRequestPayload,
3621
3621
  accessToken,
3622
3622
  dpop
3623
- }: Pick<SendNotificationOptions, 'accessToken' | 'additionalRequestPayload' | 'issuerMetadata' | 'dpop' | 'notification'>): Promise<_openid4vc_oauth20.ResourceRequestResponseOk>;
3623
+ }: Pick<SendNotificationOptions, 'accessToken' | 'additionalRequestPayload' | 'issuerMetadata' | 'dpop' | 'notification'>): Promise<_openid4vc_oauth28.ResourceRequestResponseOk>;
3624
3624
  }
3625
3625
  //#endregion
3626
3626
  //#region ../oauth2/src/common/jwk/z-jwk.d.ts
@@ -4336,7 +4336,7 @@ declare class Openid4vciIssuer {
4336
4336
  status?: Record<string, any> | undefined;
4337
4337
  trust_chain?: [string, ...string[]] | undefined;
4338
4338
  };
4339
- signer: _openid4vc_oauth20.JwtSignerWithJwk;
4339
+ signer: _openid4vc_oauth28.JwtSignerWithJwk;
4340
4340
  keyAttestation: {
4341
4341
  header: {
4342
4342
  [x: string]: unknown;
@@ -4458,7 +4458,7 @@ declare class Openid4vciIssuer {
4458
4458
  status?: Record<string, any> | undefined;
4459
4459
  trust_chain?: [string, ...string[]] | undefined;
4460
4460
  };
4461
- signer: _openid4vc_oauth20.JwtSignerWithJwk;
4461
+ signer: _openid4vc_oauth28.JwtSignerWithJwk;
4462
4462
  } | undefined;
4463
4463
  }>;
4464
4464
  /**
@@ -4588,7 +4588,7 @@ declare class Openid4vciIssuer {
4588
4588
  status?: Record<string, any> | undefined;
4589
4589
  trust_chain?: [string, ...string[]] | undefined;
4590
4590
  };
4591
- signer: _openid4vc_oauth20.JwtSignerWithJwk;
4591
+ signer: _openid4vc_oauth28.JwtSignerWithJwk;
4592
4592
  }>;
4593
4593
  /**
4594
4594
  * @throws Oauth2ServerErrorResponseError - when validation of the credential request fails
@@ -4724,7 +4724,7 @@ declare class Openid4vciIssuer {
4724
4724
  status?: Record<string, any> | undefined;
4725
4725
  trust_chain?: [string, ...string[]] | undefined;
4726
4726
  };
4727
- signer: _openid4vc_oauth20.JwtSignerWithJwk;
4727
+ signer: _openid4vc_oauth28.JwtSignerWithJwk;
4728
4728
  };
4729
4729
  clientAttestationPop: {
4730
4730
  header: {
@@ -4813,7 +4813,7 @@ declare class Openid4vciIssuer {
4813
4813
  status?: Record<string, any> | undefined;
4814
4814
  trust_chain?: [string, ...string[]] | undefined;
4815
4815
  };
4816
- signer: _openid4vc_oauth20.JwtSignerWithJwk;
4816
+ signer: _openid4vc_oauth28.JwtSignerWithJwk;
4817
4817
  };
4818
4818
  }>;
4819
4819
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openid4vc/openid4vci",
3
- "version": "0.3.0-alpha-20251029091020",
3
+ "version": "0.3.0-alpha-20251029102217",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -21,8 +21,8 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "zod": "^4.1.12",
24
- "@openid4vc/oauth2": "0.3.0-alpha-20251029091020",
25
- "@openid4vc/utils": "0.3.0-alpha-20251029091020"
24
+ "@openid4vc/oauth2": "0.3.0-alpha-20251029102217",
25
+ "@openid4vc/utils": "0.3.0-alpha-20251029102217"
26
26
  },
27
27
  "devDependencies": {
28
28
  "jose": "^6.1.0"