@learncard/react 2.3.28 → 2.3.30
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/README.md +2 -1
- 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
|
@@ -2936,12 +2936,12 @@ var ImageValidator = mod.string().or(mod.object({
|
|
|
2936
2936
|
caption: mod.string().optional()
|
|
2937
2937
|
}));
|
|
2938
2938
|
var GeoCoordinatesValidator = mod.object({
|
|
2939
|
-
type: mod.string().array().nonempty(),
|
|
2939
|
+
type: mod.string().min(1).or(mod.string().array().nonempty()),
|
|
2940
2940
|
latitude: mod.number(),
|
|
2941
2941
|
longitude: mod.number()
|
|
2942
2942
|
});
|
|
2943
2943
|
var AddressValidator = mod.object({
|
|
2944
|
-
type: mod.string().array().nonempty(),
|
|
2944
|
+
type: mod.string().min(1).or(mod.string().array().nonempty()),
|
|
2945
2945
|
addressCountry: mod.string().optional(),
|
|
2946
2946
|
addressCountryCode: mod.string().optional(),
|
|
2947
2947
|
addressRegion: mod.string().optional(),
|
|
@@ -2972,7 +2972,7 @@ var IdentifierTypeValidator = mod.enum([
|
|
|
2972
2972
|
"identifier"
|
|
2973
2973
|
]).or(mod.string());
|
|
2974
2974
|
var IdentifierEntryValidator = mod.object({
|
|
2975
|
-
type: mod.string().array().nonempty(),
|
|
2975
|
+
type: mod.string().min(1).or(mod.string().array().nonempty()),
|
|
2976
2976
|
identifier: mod.string(),
|
|
2977
2977
|
identifierType: IdentifierTypeValidator
|
|
2978
2978
|
});
|
|
@@ -3192,7 +3192,7 @@ var AchievementSubjectValidator = mod.object({
|
|
|
3192
3192
|
activityStartDate: mod.string().optional(),
|
|
3193
3193
|
creditsEarned: mod.number().optional(),
|
|
3194
3194
|
achievement: AchievementValidator.optional(),
|
|
3195
|
-
identifier: IdentityObjectValidator.optional(),
|
|
3195
|
+
identifier: IdentityObjectValidator.array().optional(),
|
|
3196
3196
|
image: ImageValidator.optional(),
|
|
3197
3197
|
licenseNumber: mod.string().optional(),
|
|
3198
3198
|
narrative: mod.string().optional(),
|
|
@@ -3213,7 +3213,7 @@ var EvidenceValidator = mod.object({
|
|
|
3213
3213
|
var UnsignedAchievementCredentialValidator = UnsignedVCValidator.extend({
|
|
3214
3214
|
name: mod.string().optional(),
|
|
3215
3215
|
description: mod.string().optional(),
|
|
3216
|
-
image:
|
|
3216
|
+
image: ImageValidator.optional(),
|
|
3217
3217
|
credentialSubject: AchievementSubjectValidator.or(AchievementSubjectValidator.array()),
|
|
3218
3218
|
endorsement: UnsignedVCValidator.array().optional(),
|
|
3219
3219
|
evidence: EvidenceValidator.array().optional()
|
|
@@ -3307,4 +3307,4 @@ const VCVerificationPill = ({
|
|
|
3307
3307
|
};
|
|
3308
3308
|
|
|
3309
3309
|
export { ValidationStateIndicator as V, VCVerificationPill as a };
|
|
3310
|
-
//# sourceMappingURL=VCVerificationPill-
|
|
3310
|
+
//# sourceMappingURL=VCVerificationPill-a35e1dad.js.map
|