@learncard/helpers 1.1.4 → 1.1.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.
@@ -96,6 +96,7 @@ var require_types_cjs_development = __commonJS({
96
96
  JWERecipientValidator: () => JWERecipientValidator,
97
97
  JWEValidator: () => JWEValidator2,
98
98
  JWKValidator: () => JWKValidator,
99
+ JWKWithPrivateKeyValidator: () => JWKWithPrivateKeyValidator,
99
100
  KnownAchievementTypeValidator: () => KnownAchievementTypeValidator,
100
101
  LCNBoostClaimLinkOptionsValidator: () => LCNBoostClaimLinkOptionsValidator,
101
102
  LCNBoostClaimLinkSigningAuthorityValidator: () => LCNBoostClaimLinkSigningAuthorityValidator,
@@ -3606,8 +3607,9 @@ var require_types_cjs_development = __commonJS({
3606
3607
  x: mod.string(),
3607
3608
  y: mod.string().optional(),
3608
3609
  n: mod.string().optional(),
3609
- d: mod.string()
3610
+ d: mod.string().optional()
3610
3611
  });
3612
+ var JWKWithPrivateKeyValidator = JWKValidator.omit({ d: true }).extend({ d: mod.string() });
3611
3613
  var JWERecipientHeaderValidator = mod.object({
3612
3614
  alg: mod.string(),
3613
3615
  iv: mod.string(),
@@ -4085,6 +4087,7 @@ var require_types_cjs_development = __commonJS({
4085
4087
  image: mod.string().optional(),
4086
4088
  uri: mod.string(),
4087
4089
  needsGuardianConsent: mod.boolean().optional(),
4090
+ redirectUrl: mod.string().optional(),
4088
4091
  createdAt: mod.string(),
4089
4092
  updatedAt: mod.string(),
4090
4093
  expiresAt: mod.string().optional()