@learncard/network-brain-client 2.2.5 → 2.2.6

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.
@@ -124,6 +124,7 @@ var require_helpers_cjs_development = __commonJS({
124
124
  JWERecipientValidator: () => JWERecipientValidator,
125
125
  JWEValidator: () => JWEValidator2,
126
126
  JWKValidator: () => JWKValidator,
127
+ JWKWithPrivateKeyValidator: () => JWKWithPrivateKeyValidator,
127
128
  KnownAchievementTypeValidator: () => KnownAchievementTypeValidator,
128
129
  LCNBoostClaimLinkOptionsValidator: () => LCNBoostClaimLinkOptionsValidator,
129
130
  LCNBoostClaimLinkSigningAuthorityValidator: () => LCNBoostClaimLinkSigningAuthorityValidator,
@@ -3649,8 +3650,9 @@ var require_helpers_cjs_development = __commonJS({
3649
3650
  x: mod.string(),
3650
3651
  y: mod.string().optional(),
3651
3652
  n: mod.string().optional(),
3652
- d: mod.string()
3653
+ d: mod.string().optional()
3653
3654
  });
3655
+ var JWKWithPrivateKeyValidator = JWKValidator.omit({ d: true }).extend({ d: mod.string() });
3654
3656
  var JWERecipientHeaderValidator = mod.object({
3655
3657
  alg: mod.string(),
3656
3658
  iv: mod.string(),