@learncard/network-brain-client 2.2.4 → 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.
- package/CHANGELOG.md +14 -0
- package/dist/brain-client.cjs.development.js +4 -1
- package/dist/brain-client.cjs.development.js.map +2 -2
- package/dist/brain-client.cjs.production.min.js +1 -1
- package/dist/brain-client.cjs.production.min.js.map +3 -3
- package/dist/brain-client.esm.js +4 -1
- package/dist/brain-client.esm.js.map +2 -2
- package/package.json +4 -4
package/dist/brain-client.esm.js
CHANGED
|
@@ -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(),
|
|
@@ -4128,6 +4130,7 @@ var require_helpers_cjs_development = __commonJS({
|
|
|
4128
4130
|
image: mod.string().optional(),
|
|
4129
4131
|
uri: mod.string(),
|
|
4130
4132
|
needsGuardianConsent: mod.boolean().optional(),
|
|
4133
|
+
redirectUrl: mod.string().optional(),
|
|
4131
4134
|
createdAt: mod.string(),
|
|
4132
4135
|
updatedAt: mod.string(),
|
|
4133
4136
|
expiresAt: mod.string().optional()
|