@learncard/vc-api-plugin 1.0.44 → 1.0.47
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/vc-api-plugin.cjs.development.js +18 -3
- package/dist/vc-api-plugin.cjs.development.js.map +2 -2
- package/dist/vc-api-plugin.cjs.production.min.js +1 -1
- package/dist/vc-api-plugin.cjs.production.min.js.map +3 -3
- package/dist/vc-api-plugin.esm.js +18 -3
- package/dist/vc-api-plugin.esm.js.map +2 -2
- package/package.json +3 -3
|
@@ -4490,6 +4490,7 @@ var LCNProfileValidator = z.object({
|
|
|
4490
4490
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
4491
4491
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
4492
4492
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
4493
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
4493
4494
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
4494
4495
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
4495
4496
|
});
|
|
@@ -4633,6 +4634,16 @@ var BoostRecipientValidator = z.object({
|
|
|
4633
4634
|
var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
|
|
4634
4635
|
records: BoostRecipientValidator.array()
|
|
4635
4636
|
});
|
|
4637
|
+
var BoostRecipientWithChildrenValidator = z.object({
|
|
4638
|
+
to: LCNProfileValidator,
|
|
4639
|
+
from: z.string(),
|
|
4640
|
+
received: z.string().optional(),
|
|
4641
|
+
boostUris: z.array(z.string()),
|
|
4642
|
+
credentialUris: z.array(z.string()).optional()
|
|
4643
|
+
});
|
|
4644
|
+
var PaginatedBoostRecipientsWithChildrenValidator = PaginationResponseValidator.extend({
|
|
4645
|
+
records: BoostRecipientWithChildrenValidator.array()
|
|
4646
|
+
});
|
|
4636
4647
|
var LCNBoostClaimLinkSigningAuthorityValidator = z.object({
|
|
4637
4648
|
endpoint: z.string(),
|
|
4638
4649
|
name: z.string(),
|
|
@@ -4835,7 +4846,8 @@ var LCNNotificationTypeEnumValidator = z.enum([
|
|
|
4835
4846
|
"PRESENTATION_RECEIVED",
|
|
4836
4847
|
"CONSENT_FLOW_TRANSACTION",
|
|
4837
4848
|
"ISSUANCE_CLAIMED",
|
|
4838
|
-
"ISSUANCE_DELIVERED"
|
|
4849
|
+
"ISSUANCE_DELIVERED",
|
|
4850
|
+
"ISSUANCE_ERROR"
|
|
4839
4851
|
]);
|
|
4840
4852
|
var LCNNotificationMessageValidator = z.object({
|
|
4841
4853
|
title: z.string().optional(),
|
|
@@ -4952,8 +4964,10 @@ var InboxCredentialValidator = z.object({
|
|
|
4952
4964
|
createdAt: z.string(),
|
|
4953
4965
|
issuerDid: z.string(),
|
|
4954
4966
|
webhookUrl: z.string().optional(),
|
|
4955
|
-
|
|
4956
|
-
|
|
4967
|
+
signingAuthority: z.object({
|
|
4968
|
+
endpoint: z.string().optional(),
|
|
4969
|
+
name: z.string().optional()
|
|
4970
|
+
}).optional()
|
|
4957
4971
|
});
|
|
4958
4972
|
var PaginatedInboxCredentialsValidator = z.object({
|
|
4959
4973
|
hasMore: z.boolean(),
|
|
@@ -5008,6 +5022,7 @@ var IssueInboxCredentialResponseValidator = z.object({
|
|
|
5008
5022
|
var ClaimTokenValidator = z.object({
|
|
5009
5023
|
token: z.string(),
|
|
5010
5024
|
contactMethodId: z.string(),
|
|
5025
|
+
autoVerifyContactMethod: z.boolean().optional().default(false),
|
|
5011
5026
|
createdAt: z.string(),
|
|
5012
5027
|
expiresAt: z.string(),
|
|
5013
5028
|
used: z.boolean()
|