@learncard/react 2.9.19 → 2.9.21
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/{BoostGenericCard-e74ad406.js → BoostGenericCard-7fadd6af.js} +2 -2
- package/dist/cjs/{BoostGenericCard-e74ad406.js.map → BoostGenericCard-7fadd6af.js.map} +1 -1
- package/dist/cjs/{CertificateDisplayCard-02ee7fb6.js → CertificateDisplayCard-3dd9a3f8.js} +4 -4
- package/dist/cjs/{CertificateDisplayCard-02ee7fb6.js.map → CertificateDisplayCard-3dd9a3f8.js.map} +1 -1
- package/dist/cjs/{MeritBadgeDisplayCard-9a1d2078.js → MeritBadgeDisplayCard-2a690a63.js} +4 -4
- package/dist/cjs/{MeritBadgeDisplayCard-9a1d2078.js.map → MeritBadgeDisplayCard-2a690a63.js.map} +1 -1
- package/dist/cjs/{MeritBadgeSkillsCount-4105265d.js → MeritBadgeSkillsCount-ae6e8ed4.js} +2 -2
- package/dist/cjs/{MeritBadgeSkillsCount-4105265d.js.map → MeritBadgeSkillsCount-ae6e8ed4.js.map} +1 -1
- package/dist/cjs/{SchoolIDCard-e22d0d80.js → SchoolIDCard-dddb3b1d.js} +3 -1184
- package/dist/cjs/SchoolIDCard-dddb3b1d.js.map +1 -0
- package/dist/cjs/{VCCard-d1ee45a6.js → VCCard-7473b581.js} +3 -3
- package/dist/cjs/{VCCard-d1ee45a6.js.map → VCCard-7473b581.js.map} +1 -1
- package/dist/cjs/{VCDisplayBackFace-68951070.js → VCDisplayBackFace-a05e4046.js} +3 -3
- package/dist/cjs/{VCDisplayBackFace-68951070.js.map → VCDisplayBackFace-a05e4046.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard-35b6ac61.js → VCDisplayCard-3346d2f9.js} +3 -3
- package/dist/cjs/{VCDisplayCard-35b6ac61.js.map → VCDisplayCard-3346d2f9.js.map} +1 -1
- package/dist/cjs/{VCDisplayCard2-647afa9d.js → VCDisplayCard2-d713808f.js} +7 -6
- package/dist/{esm/VCDisplayCard2-a257e712.js.map → cjs/VCDisplayCard2-d713808f.js.map} +1 -1
- package/dist/cjs/{VCVerificationPill-e09ac85c.js → VCVerificationPill-08b37c5d.js} +2 -2
- package/dist/cjs/{VCVerificationPill-e09ac85c.js.map → VCVerificationPill-08b37c5d.js.map} +1 -1
- package/dist/cjs/{VerifierStateBadgeAndText-f10bce4b.js → VerifierStateBadgeAndText-af68fd70.js} +47 -6
- package/dist/cjs/{VerifierStateBadgeAndText-f10bce4b.js.map → VerifierStateBadgeAndText-af68fd70.js.map} +1 -1
- package/dist/cjs/{credential.helpers-3b2260ce.js → credential.helpers-f060ee96.js} +2 -2
- package/dist/cjs/{credential.helpers-3b2260ce.js.map → credential.helpers-f060ee96.js.map} +1 -1
- package/dist/cjs/index-838fa72c.js +1186 -0
- package/dist/cjs/index-838fa72c.js.map +1 -0
- package/dist/cjs/index.js +14 -13
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index13.js +14 -13
- package/dist/cjs/index13.js.map +1 -1
- package/dist/cjs/index21.js +5 -5
- package/dist/cjs/index3.js +3 -3
- package/dist/cjs/index30.js +2 -1
- package/dist/cjs/index30.js.map +1 -1
- package/dist/cjs/index38.js +11 -10
- package/dist/cjs/index38.js.map +1 -1
- package/dist/cjs/index39.js +4 -4
- package/dist/cjs/index40.js +5 -5
- package/dist/cjs/index41.js +7 -6
- package/dist/cjs/index41.js.map +1 -1
- package/dist/cjs/index42.js +1 -1
- package/dist/cjs/index45.js +2 -2
- package/dist/cjs/index6.js +4 -4
- package/dist/cjs/{types.esm-f12b1f6a.js → types.esm-4a1c2fcd.js} +39 -5
- package/dist/cjs/types.esm-4a1c2fcd.js.map +1 -0
- package/dist/esm/{BoostGenericCard-2360264e.js → BoostGenericCard-39cf631c.js} +2 -2
- package/dist/esm/{BoostGenericCard-2360264e.js.map → BoostGenericCard-39cf631c.js.map} +1 -1
- package/dist/esm/{CertificateDisplayCard-ccb532e1.js → CertificateDisplayCard-110ddfae.js} +4 -4
- package/dist/esm/{CertificateDisplayCard-ccb532e1.js.map → CertificateDisplayCard-110ddfae.js.map} +1 -1
- package/dist/esm/{MeritBadgeDisplayCard-0d347147.js → MeritBadgeDisplayCard-8a1cb8fb.js} +4 -4
- package/dist/esm/{MeritBadgeDisplayCard-0d347147.js.map → MeritBadgeDisplayCard-8a1cb8fb.js.map} +1 -1
- package/dist/esm/{MeritBadgeSkillsCount-8442e73d.js → MeritBadgeSkillsCount-0d7bec55.js} +2 -2
- package/dist/esm/{MeritBadgeSkillsCount-8442e73d.js.map → MeritBadgeSkillsCount-0d7bec55.js.map} +1 -1
- package/dist/esm/{SchoolIDCard-8b151cd3.js → SchoolIDCard-4e51671c.js} +2 -1183
- package/dist/esm/SchoolIDCard-4e51671c.js.map +1 -0
- package/dist/esm/{VCCard-66dc72d8.js → VCCard-e89d7a98.js} +3 -3
- package/dist/esm/{VCCard-66dc72d8.js.map → VCCard-e89d7a98.js.map} +1 -1
- package/dist/esm/{VCDisplayBackFace-fa960ec0.js → VCDisplayBackFace-eeaa642e.js} +3 -3
- package/dist/esm/{VCDisplayBackFace-fa960ec0.js.map → VCDisplayBackFace-eeaa642e.js.map} +1 -1
- package/dist/esm/{VCDisplayCard-13bec264.js → VCDisplayCard-fb1b7706.js} +3 -3
- package/dist/esm/{VCDisplayCard-13bec264.js.map → VCDisplayCard-fb1b7706.js.map} +1 -1
- package/dist/esm/{VCDisplayCard2-a257e712.js → VCDisplayCard2-325d6536.js} +7 -6
- package/dist/{cjs/VCDisplayCard2-647afa9d.js.map → esm/VCDisplayCard2-325d6536.js.map} +1 -1
- package/dist/esm/{VCVerificationPill-fb6f2231.js → VCVerificationPill-ba90b49b.js} +2 -2
- package/dist/esm/{VCVerificationPill-fb6f2231.js.map → VCVerificationPill-ba90b49b.js.map} +1 -1
- package/dist/esm/{VerifierStateBadgeAndText-b1002358.js → VerifierStateBadgeAndText-6d33089b.js} +47 -6
- package/dist/esm/{VerifierStateBadgeAndText-b1002358.js.map → VerifierStateBadgeAndText-6d33089b.js.map} +1 -1
- package/dist/esm/{credential.helpers-5702db34.js → credential.helpers-30058000.js} +2 -2
- package/dist/esm/{credential.helpers-5702db34.js.map → credential.helpers-30058000.js.map} +1 -1
- package/dist/esm/index-4fa491c1.js +1184 -0
- package/dist/esm/index-4fa491c1.js.map +1 -0
- package/dist/esm/index.js +14 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index13.js +14 -13
- package/dist/esm/index13.js.map +1 -1
- package/dist/esm/index21.js +5 -5
- package/dist/esm/index3.js +3 -3
- package/dist/esm/index30.js +2 -1
- package/dist/esm/index30.js.map +1 -1
- package/dist/esm/index38.js +11 -10
- package/dist/esm/index38.js.map +1 -1
- package/dist/esm/index39.js +4 -4
- package/dist/esm/index40.js +5 -5
- package/dist/esm/index41.js +7 -6
- package/dist/esm/index41.js.map +1 -1
- package/dist/esm/index42.js +1 -1
- package/dist/esm/index45.js +2 -2
- package/dist/esm/index6.js +4 -4
- package/dist/esm/{types.esm-03e56815.js → types.esm-f58818d5.js} +39 -5
- package/dist/esm/types.esm-f58818d5.js.map +1 -0
- package/package.json +3 -3
- package/dist/cjs/SchoolIDCard-e22d0d80.js.map +0 -1
- package/dist/cjs/types.esm-f12b1f6a.js.map +0 -1
- package/dist/esm/SchoolIDCard-8b151cd3.js.map +0 -1
- package/dist/esm/types.esm-03e56815.js.map +0 -1
|
@@ -4417,6 +4417,8 @@ var LCNProfileDisplayValidator = object({
|
|
|
4417
4417
|
idBackgroundColor: string().optional(),
|
|
4418
4418
|
repeatIdBackgroundImage: boolean().optional()
|
|
4419
4419
|
});
|
|
4420
|
+
var ProfileVisibilityEnum = _enum(["public", "connections_only", "private"]);
|
|
4421
|
+
var AllowConnectionRequestsEnum = _enum(["anyone", "invite_only"]);
|
|
4420
4422
|
var LCNProfileValidator = object({
|
|
4421
4423
|
profileId: string().min(3).max(40).describe("Unique, URL-safe identifier for the profile."),
|
|
4422
4424
|
displayName: string().default("").describe("Human-readable display name for the profile."),
|
|
@@ -4424,6 +4426,9 @@ var LCNProfileValidator = object({
|
|
|
4424
4426
|
bio: string().default("").describe("Longer bio for the profile."),
|
|
4425
4427
|
did: string().describe("Decentralized Identifier for the profile. (auto-assigned)"),
|
|
4426
4428
|
isPrivate: boolean().optional().describe("Whether the profile is private or not and shows up in search results."),
|
|
4429
|
+
profileVisibility: ProfileVisibilityEnum.default("public").optional().describe("Profile visibility: 'public', 'connections_only', or 'private'."),
|
|
4430
|
+
showEmail: boolean().default(false).optional().describe("Whether to show email to connections."),
|
|
4431
|
+
allowConnectionRequests: AllowConnectionRequestsEnum.default("anyone").optional().describe("Who can send connection requests: 'anyone' or 'invite_only'."),
|
|
4427
4432
|
email: string().optional().describe("Contact email address for the profile. (deprecated)"),
|
|
4428
4433
|
image: string().optional().describe("Profile image URL for the profile."),
|
|
4429
4434
|
heroImage: string().optional().describe("Hero image URL for the profile."),
|
|
@@ -4438,6 +4443,32 @@ var LCNProfileValidator = object({
|
|
|
4438
4443
|
country: string().optional().describe("Country for the profile."),
|
|
4439
4444
|
approved: boolean().optional().describe("Approval status for the profile.")
|
|
4440
4445
|
});
|
|
4446
|
+
var LCNPublicProfileValidator = LCNProfileValidator.pick({
|
|
4447
|
+
profileId: true,
|
|
4448
|
+
displayName: true,
|
|
4449
|
+
shortBio: true,
|
|
4450
|
+
image: true,
|
|
4451
|
+
heroImage: true,
|
|
4452
|
+
type: true,
|
|
4453
|
+
isServiceProfile: true,
|
|
4454
|
+
display: true
|
|
4455
|
+
});
|
|
4456
|
+
var LCNAuthedProfileValidator = LCNPublicProfileValidator.extend({
|
|
4457
|
+
bio: LCNProfileValidator.shape.bio,
|
|
4458
|
+
websiteLink: LCNProfileValidator.shape.websiteLink,
|
|
4459
|
+
role: LCNProfileValidator.shape.role,
|
|
4460
|
+
highlightedCredentials: LCNProfileValidator.shape.highlightedCredentials,
|
|
4461
|
+
did: LCNProfileValidator.shape.did
|
|
4462
|
+
});
|
|
4463
|
+
var LCNConnectionProfileValidator = LCNAuthedProfileValidator.extend({
|
|
4464
|
+
email: LCNProfileValidator.shape.email
|
|
4465
|
+
});
|
|
4466
|
+
var LCNVisibleProfileValidator = union([
|
|
4467
|
+
LCNConnectionProfileValidator.strict(),
|
|
4468
|
+
LCNAuthedProfileValidator.strict(),
|
|
4469
|
+
LCNPublicProfileValidator.strict(),
|
|
4470
|
+
LCNProfileValidator
|
|
4471
|
+
]);
|
|
4441
4472
|
object({
|
|
4442
4473
|
profileId: StringQuery,
|
|
4443
4474
|
displayName: StringQuery,
|
|
@@ -4451,6 +4482,9 @@ object({
|
|
|
4451
4482
|
PaginationResponseValidator.extend({
|
|
4452
4483
|
records: LCNProfileValidator.array()
|
|
4453
4484
|
});
|
|
4485
|
+
PaginationResponseValidator.extend({
|
|
4486
|
+
records: LCNVisibleProfileValidator.array()
|
|
4487
|
+
});
|
|
4454
4488
|
_enum([
|
|
4455
4489
|
"CONNECTED",
|
|
4456
4490
|
"PENDING_REQUEST_SENT",
|
|
@@ -4584,7 +4618,7 @@ PaginationResponseValidator.extend({
|
|
|
4584
4618
|
records: BoostValidator.array()
|
|
4585
4619
|
});
|
|
4586
4620
|
var BoostRecipientValidator = object({
|
|
4587
|
-
to:
|
|
4621
|
+
to: LCNVisibleProfileValidator,
|
|
4588
4622
|
from: string(),
|
|
4589
4623
|
received: string().optional(),
|
|
4590
4624
|
uri: string().optional()
|
|
@@ -4593,7 +4627,7 @@ PaginationResponseValidator.extend({
|
|
|
4593
4627
|
records: BoostRecipientValidator.array()
|
|
4594
4628
|
});
|
|
4595
4629
|
var BoostRecipientWithChildrenValidator = object({
|
|
4596
|
-
to:
|
|
4630
|
+
to: LCNVisibleProfileValidator,
|
|
4597
4631
|
from: string(),
|
|
4598
4632
|
received: string().optional(),
|
|
4599
4633
|
boostUris: array(string()),
|
|
@@ -4665,8 +4699,8 @@ var SendBoostInputValidator = object({
|
|
|
4665
4699
|
),
|
|
4666
4700
|
templateData: record(string(), unknown()).optional(),
|
|
4667
4701
|
integrationId: string().optional().describe("Integration ID for activity tracking")
|
|
4668
|
-
}).refine((data) => data.templateUri || data.template, {
|
|
4669
|
-
message: "Either templateUri
|
|
4702
|
+
}).refine((data) => data.templateUri || data.template || data.signedCredential, {
|
|
4703
|
+
message: "Either templateUri, template, or signedCredential must be provided.",
|
|
4670
4704
|
path: ["templateUri"]
|
|
4671
4705
|
});
|
|
4672
4706
|
var SendInboxResponseValidator = object({
|
|
@@ -5597,4 +5631,4 @@ object({
|
|
|
5597
5631
|
}, __name(_a, "AuthSessionError"), _a);
|
|
5598
5632
|
|
|
5599
5633
|
export { VerificationStatusEnum as V, literal as l, number as n, object as o, string as s, union as u };
|
|
5600
|
-
//# sourceMappingURL=types.esm-
|
|
5634
|
+
//# sourceMappingURL=types.esm-f58818d5.js.map
|