@openid4vc/oauth2 0.3.0-alpha-20250511130123 → 0.3.0-alpha-20250511195407

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
@@ -816,7 +816,13 @@ type JwtSignerWithJwk = JwtSigner & {
816
816
  };
817
817
  type JweEncryptor = JwtSignerJwk & {
818
818
  enc: string;
819
+ /**
820
+ * base64-url encoded apu
821
+ */
819
822
  apu?: string;
823
+ /**
824
+ * base64-url encoded apv
825
+ */
820
826
  apv?: string;
821
827
  };
822
828
  declare const zCompactJwt: z__default.ZodString;
@@ -3448,7 +3454,7 @@ declare function jwtHeaderFromJwtSigner(signer: JwtSigner): {
3448
3454
  'x5t#S256': z__default.ZodOptional<z__default.ZodString>;
3449
3455
  x5u: z__default.ZodOptional<z__default.ZodString>;
3450
3456
  }, z__default.ZodTypeAny, "passthrough">;
3451
- readonly kid: string | undefined;
3457
+ readonly kid?: undefined;
3452
3458
  readonly trust_chain?: undefined;
3453
3459
  readonly x5c?: undefined;
3454
3460
  } | {
package/dist/index.d.ts CHANGED
@@ -816,7 +816,13 @@ type JwtSignerWithJwk = JwtSigner & {
816
816
  };
817
817
  type JweEncryptor = JwtSignerJwk & {
818
818
  enc: string;
819
+ /**
820
+ * base64-url encoded apu
821
+ */
819
822
  apu?: string;
823
+ /**
824
+ * base64-url encoded apv
825
+ */
820
826
  apv?: string;
821
827
  };
822
828
  declare const zCompactJwt: z__default.ZodString;
@@ -3448,7 +3454,7 @@ declare function jwtHeaderFromJwtSigner(signer: JwtSigner): {
3448
3454
  'x5t#S256': z__default.ZodOptional<z__default.ZodString>;
3449
3455
  x5u: z__default.ZodOptional<z__default.ZodString>;
3450
3456
  }, z__default.ZodTypeAny, "passthrough">;
3451
- readonly kid: string | undefined;
3457
+ readonly kid?: undefined;
3452
3458
  readonly trust_chain?: undefined;
3453
3459
  readonly x5c?: undefined;
3454
3460
  } | {
package/dist/index.js CHANGED
@@ -388,8 +388,7 @@ function jwtHeaderFromJwtSigner(signer) {
388
388
  if (signer.method === "jwk") {
389
389
  return {
390
390
  alg: signer.alg,
391
- jwk: signer.publicJwk,
392
- kid: signer.publicJwk.kid
391
+ jwk: signer.publicJwk
393
392
  };
394
393
  }
395
394
  if (signer.method === "x5c") {