@openid4vc/oauth2 0.3.0-alpha-20250511132052 → 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
@@ -3454,7 +3454,7 @@ declare function jwtHeaderFromJwtSigner(signer: JwtSigner): {
3454
3454
  'x5t#S256': z__default.ZodOptional<z__default.ZodString>;
3455
3455
  x5u: z__default.ZodOptional<z__default.ZodString>;
3456
3456
  }, z__default.ZodTypeAny, "passthrough">;
3457
- readonly kid: string | undefined;
3457
+ readonly kid?: undefined;
3458
3458
  readonly trust_chain?: undefined;
3459
3459
  readonly x5c?: undefined;
3460
3460
  } | {
package/dist/index.d.ts CHANGED
@@ -3454,7 +3454,7 @@ declare function jwtHeaderFromJwtSigner(signer: JwtSigner): {
3454
3454
  'x5t#S256': z__default.ZodOptional<z__default.ZodString>;
3455
3455
  x5u: z__default.ZodOptional<z__default.ZodString>;
3456
3456
  }, z__default.ZodTypeAny, "passthrough">;
3457
- readonly kid: string | undefined;
3457
+ readonly kid?: undefined;
3458
3458
  readonly trust_chain?: undefined;
3459
3459
  readonly x5c?: undefined;
3460
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") {