@learncard/helpers 1.1.5 → 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.
- package/dist/helpers.cjs.development.js +3 -1
- package/dist/helpers.cjs.development.js.map +2 -2
- package/dist/helpers.cjs.production.min.js +1 -1
- package/dist/helpers.cjs.production.min.js.map +3 -3
- package/dist/helpers.d.ts +1 -1
- package/dist/helpers.esm.js +3 -1
- package/dist/helpers.esm.js.map +2 -2
- package/package.json +2 -2
@@ -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(),
|