@learncard/helpers 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- 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
package/dist/helpers.d.ts
CHANGED
@@ -19,7 +19,7 @@ declare const JWEValidator: z.ZodObject<{
|
|
19
19
|
x: z.ZodOptional<z.ZodString>;
|
20
20
|
y: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
21
21
|
n: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
22
|
-
d: z.ZodOptional<z.ZodString
|
22
|
+
d: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
23
23
|
}, "strip", z.ZodTypeAny, {
|
24
24
|
kty?: string | undefined;
|
25
25
|
crv?: string | undefined;
|
package/dist/helpers.esm.js
CHANGED
@@ -91,6 +91,7 @@ var require_types_cjs_development = __commonJS({
|
|
91
91
|
JWERecipientValidator: () => JWERecipientValidator,
|
92
92
|
JWEValidator: () => JWEValidator2,
|
93
93
|
JWKValidator: () => JWKValidator,
|
94
|
+
JWKWithPrivateKeyValidator: () => JWKWithPrivateKeyValidator,
|
94
95
|
KnownAchievementTypeValidator: () => KnownAchievementTypeValidator,
|
95
96
|
LCNBoostClaimLinkOptionsValidator: () => LCNBoostClaimLinkOptionsValidator,
|
96
97
|
LCNBoostClaimLinkSigningAuthorityValidator: () => LCNBoostClaimLinkSigningAuthorityValidator,
|
@@ -3601,8 +3602,9 @@ var require_types_cjs_development = __commonJS({
|
|
3601
3602
|
x: mod.string(),
|
3602
3603
|
y: mod.string().optional(),
|
3603
3604
|
n: mod.string().optional(),
|
3604
|
-
d: mod.string()
|
3605
|
+
d: mod.string().optional()
|
3605
3606
|
});
|
3607
|
+
var JWKWithPrivateKeyValidator = JWKValidator.omit({ d: true }).extend({ d: mod.string() });
|
3606
3608
|
var JWERecipientHeaderValidator = mod.object({
|
3607
3609
|
alg: mod.string(),
|
3608
3610
|
iv: mod.string(),
|