@learncard/react 2.3.29 → 2.3.31
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/cjs/{VCCard-54c4bbb1.js → VCCard-b63f75fc.js} +2 -2
- package/dist/cjs/{VCCard-54c4bbb1.js.map → VCCard-b63f75fc.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-2b07618f.js → VCDisplayBackFace-4ae2b5c5.js} +2 -2
- package/dist/cjs/{VCDisplayBackFace-2b07618f.js.map → VCDisplayBackFace-4ae2b5c5.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-032054ae.js → VCDisplayCard-b67f991b.js} +2 -2
- package/dist/cjs/{VCDisplayCard-032054ae.js.map → VCDisplayCard-b67f991b.js.map} +1 -1
- package/dist/cjs/{VCVerificationPill-8d594a81.js → VCVerificationPill-1d535a72.js} +6 -6
- package/dist/cjs/VCVerificationPill-1d535a72.js.map +1 -0
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index20.js +4 -4
- package/dist/cjs/index21.js +2 -2
- package/dist/cjs/index22.js +3 -3
- package/dist/cjs/index26.js +1 -1
- package/dist/cjs/index6.js +4 -4
- package/dist/esm/{VCCard-3dea427b.js → VCCard-271ef60d.js} +2 -2
- package/dist/esm/{VCCard-3dea427b.js.map → VCCard-271ef60d.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-2c07d996.js → VCDisplayBackFace-1bc89b3c.js} +2 -2
- package/dist/esm/{VCDisplayBackFace-2c07d996.js.map → VCDisplayBackFace-1bc89b3c.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-24e24b49.js → VCDisplayCard-07dc6715.js} +2 -2
- package/dist/esm/{VCDisplayCard-24e24b49.js.map → VCDisplayCard-07dc6715.js.map} +1 -1
- package/dist/esm/{VCVerificationPill-b7cf30ac.js → VCVerificationPill-a35e1dad.js} +6 -6
- package/dist/esm/VCVerificationPill-a35e1dad.js.map +1 -0
- package/dist/esm/index.js +4 -4
- package/dist/esm/index20.js +4 -4
- package/dist/esm/index21.js +2 -2
- package/dist/esm/index22.js +3 -3
- package/dist/esm/index26.js +1 -1
- package/dist/esm/index6.js +4 -4
- package/package.json +3 -3
- package/dist/cjs/VCVerificationPill-8d594a81.js.map +0 -1
- package/dist/esm/VCVerificationPill-b7cf30ac.js.map +0 -1
|
@@ -2945,12 +2945,12 @@ var ImageValidator = mod.string().or(mod.object({
|
|
|
2945
2945
|
caption: mod.string().optional()
|
|
2946
2946
|
}));
|
|
2947
2947
|
var GeoCoordinatesValidator = mod.object({
|
|
2948
|
-
type: mod.string().array().nonempty(),
|
|
2948
|
+
type: mod.string().min(1).or(mod.string().array().nonempty()),
|
|
2949
2949
|
latitude: mod.number(),
|
|
2950
2950
|
longitude: mod.number()
|
|
2951
2951
|
});
|
|
2952
2952
|
var AddressValidator = mod.object({
|
|
2953
|
-
type: mod.string().array().nonempty(),
|
|
2953
|
+
type: mod.string().min(1).or(mod.string().array().nonempty()),
|
|
2954
2954
|
addressCountry: mod.string().optional(),
|
|
2955
2955
|
addressCountryCode: mod.string().optional(),
|
|
2956
2956
|
addressRegion: mod.string().optional(),
|
|
@@ -2981,7 +2981,7 @@ var IdentifierTypeValidator = mod.enum([
|
|
|
2981
2981
|
"identifier"
|
|
2982
2982
|
]).or(mod.string());
|
|
2983
2983
|
var IdentifierEntryValidator = mod.object({
|
|
2984
|
-
type: mod.string().array().nonempty(),
|
|
2984
|
+
type: mod.string().min(1).or(mod.string().array().nonempty()),
|
|
2985
2985
|
identifier: mod.string(),
|
|
2986
2986
|
identifierType: IdentifierTypeValidator
|
|
2987
2987
|
});
|
|
@@ -3201,7 +3201,7 @@ var AchievementSubjectValidator = mod.object({
|
|
|
3201
3201
|
activityStartDate: mod.string().optional(),
|
|
3202
3202
|
creditsEarned: mod.number().optional(),
|
|
3203
3203
|
achievement: AchievementValidator.optional(),
|
|
3204
|
-
identifier: IdentityObjectValidator.optional(),
|
|
3204
|
+
identifier: IdentityObjectValidator.array().optional(),
|
|
3205
3205
|
image: ImageValidator.optional(),
|
|
3206
3206
|
licenseNumber: mod.string().optional(),
|
|
3207
3207
|
narrative: mod.string().optional(),
|
|
@@ -3222,7 +3222,7 @@ var EvidenceValidator = mod.object({
|
|
|
3222
3222
|
var UnsignedAchievementCredentialValidator = UnsignedVCValidator.extend({
|
|
3223
3223
|
name: mod.string().optional(),
|
|
3224
3224
|
description: mod.string().optional(),
|
|
3225
|
-
image:
|
|
3225
|
+
image: ImageValidator.optional(),
|
|
3226
3226
|
credentialSubject: AchievementSubjectValidator.or(AchievementSubjectValidator.array()),
|
|
3227
3227
|
endorsement: UnsignedVCValidator.array().optional(),
|
|
3228
3228
|
evidence: EvidenceValidator.array().optional()
|
|
@@ -3317,4 +3317,4 @@ const VCVerificationPill = ({
|
|
|
3317
3317
|
|
|
3318
3318
|
exports.VCVerificationPill = VCVerificationPill;
|
|
3319
3319
|
exports.ValidationStateIndicator = ValidationStateIndicator;
|
|
3320
|
-
//# sourceMappingURL=VCVerificationPill-
|
|
3320
|
+
//# sourceMappingURL=VCVerificationPill-1d535a72.js.map
|