@openid4vc/openid4vp 0.3.0-alpha-20251017122507 → 0.3.0-alpha-20251021082313

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.
package/dist/index.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _openid4vc_oauth20 from "@openid4vc/oauth2";
2
- import { CallbackContext, HashAlgorithm, JweEncryptor, Jwk, JwkSet, JwtPayload, JwtSigner, JwtSignerWithJwk, decodeJwt } from "@openid4vc/oauth2";
2
+ import { CallbackContext, DecodeJwtResult, HashAlgorithm, JweEncryptor, Jwk, JwkSet, JwtPayload, JwtSigner, JwtSignerWithJwk } from "@openid4vc/oauth2";
3
3
  import { NonEmptyArray } from "@openid4vc/utils";
4
4
  import z$1, { z } from "zod";
5
5
 
@@ -1103,7 +1103,7 @@ interface VerifiedJarRequest {
1103
1103
  sendBy: 'value' | 'reference';
1104
1104
  decryptionJwk?: Jwk;
1105
1105
  signer: JwtSignerWithJwk;
1106
- jwt: ReturnType<typeof decodeJwt<undefined, typeof zJarRequestObjectPayload>>;
1106
+ jwt: DecodeJwtResult<undefined, typeof zJarRequestObjectPayload>;
1107
1107
  }
1108
1108
  //#endregion
1109
1109
  //#region src/models/z-client-metadata.d.ts
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _openid4vc_oauth20 from "@openid4vc/oauth2";
2
- import { CallbackContext, HashAlgorithm, JweEncryptor, Jwk, JwkSet, JwtPayload, JwtSigner, JwtSignerWithJwk, decodeJwt } from "@openid4vc/oauth2";
2
+ import { CallbackContext, DecodeJwtResult, HashAlgorithm, JweEncryptor, Jwk, JwkSet, JwtPayload, JwtSigner, JwtSignerWithJwk } from "@openid4vc/oauth2";
3
3
  import z$1, { z } from "zod";
4
4
  import { NonEmptyArray } from "@openid4vc/utils";
5
5
 
@@ -1103,7 +1103,7 @@ interface VerifiedJarRequest {
1103
1103
  sendBy: 'value' | 'reference';
1104
1104
  decryptionJwk?: Jwk;
1105
1105
  signer: JwtSignerWithJwk;
1106
- jwt: ReturnType<typeof decodeJwt<undefined, typeof zJarRequestObjectPayload>>;
1106
+ jwt: DecodeJwtResult<undefined, typeof zJarRequestObjectPayload>;
1107
1107
  }
1108
1108
  //#endregion
1109
1109
  //#region src/models/z-client-metadata.d.ts