@learncard/didkey-plugin 1.0.25 → 1.0.26

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.
@@ -106,6 +106,7 @@ var require_types_cjs_development = __commonJS({
106
106
  JWERecipientValidator: () => JWERecipientValidator,
107
107
  JWEValidator: () => JWEValidator2,
108
108
  JWKValidator: () => JWKValidator,
109
+ JWKWithPrivateKeyValidator: () => JWKWithPrivateKeyValidator,
109
110
  KnownAchievementTypeValidator: () => KnownAchievementTypeValidator,
110
111
  LCNBoostClaimLinkOptionsValidator: () => LCNBoostClaimLinkOptionsValidator,
111
112
  LCNBoostClaimLinkSigningAuthorityValidator: () => LCNBoostClaimLinkSigningAuthorityValidator,
@@ -3631,8 +3632,9 @@ var require_types_cjs_development = __commonJS({
3631
3632
  x: mod.string(),
3632
3633
  y: mod.string().optional(),
3633
3634
  n: mod.string().optional(),
3634
- d: mod.string()
3635
+ d: mod.string().optional()
3635
3636
  });
3637
+ var JWKWithPrivateKeyValidator = JWKValidator.omit({ d: true }).extend({ d: mod.string() });
3636
3638
  var JWERecipientHeaderValidator = mod.object({
3637
3639
  alg: mod.string(),
3638
3640
  iv: mod.string(),