@learncard/ceramic-plugin 1.0.46 → 1.0.48
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/ceramic-plugin.cjs.development.js +13 -4
- package/dist/ceramic-plugin.cjs.development.js.map +2 -2
- package/dist/ceramic-plugin.cjs.production.min.js +25 -25
- package/dist/ceramic-plugin.cjs.production.min.js.map +2 -2
- package/dist/ceramic-plugin.esm.js +13 -4
- package/dist/ceramic-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -54391,6 +54391,7 @@ var LCNProfileValidator = z.object({
|
|
|
54391
54391
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
54392
54392
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
54393
54393
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
54394
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
54394
54395
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
54395
54396
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
54396
54397
|
});
|
|
@@ -54474,7 +54475,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
54474
54475
|
canManageChildrenProfiles: z.boolean(),
|
|
54475
54476
|
canViewAnalytics: z.boolean()
|
|
54476
54477
|
}).partial();
|
|
54477
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
54478
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
54478
54479
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
54479
54480
|
z.object({
|
|
54480
54481
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -54487,6 +54488,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
54487
54488
|
z.object({
|
|
54488
54489
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
54489
54490
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
54491
|
+
}),
|
|
54492
|
+
z.object({
|
|
54493
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
54494
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
54490
54495
|
})
|
|
54491
54496
|
]);
|
|
54492
54497
|
var ClaimHookQueryValidator = z.object({
|
|
@@ -54746,7 +54751,8 @@ var LCNNotificationTypeEnumValidator = z.enum([
|
|
|
54746
54751
|
"PRESENTATION_RECEIVED",
|
|
54747
54752
|
"CONSENT_FLOW_TRANSACTION",
|
|
54748
54753
|
"ISSUANCE_CLAIMED",
|
|
54749
|
-
"ISSUANCE_DELIVERED"
|
|
54754
|
+
"ISSUANCE_DELIVERED",
|
|
54755
|
+
"ISSUANCE_ERROR"
|
|
54750
54756
|
]);
|
|
54751
54757
|
var LCNNotificationMessageValidator = z.object({
|
|
54752
54758
|
title: z.string().optional(),
|
|
@@ -54863,8 +54869,10 @@ var InboxCredentialValidator = z.object({
|
|
|
54863
54869
|
createdAt: z.string(),
|
|
54864
54870
|
issuerDid: z.string(),
|
|
54865
54871
|
webhookUrl: z.string().optional(),
|
|
54866
|
-
|
|
54867
|
-
|
|
54872
|
+
signingAuthority: z.object({
|
|
54873
|
+
endpoint: z.string().optional(),
|
|
54874
|
+
name: z.string().optional()
|
|
54875
|
+
}).optional()
|
|
54868
54876
|
});
|
|
54869
54877
|
var PaginatedInboxCredentialsValidator = z.object({
|
|
54870
54878
|
hasMore: z.boolean(),
|
|
@@ -54919,6 +54927,7 @@ var IssueInboxCredentialResponseValidator = z.object({
|
|
|
54919
54927
|
var ClaimTokenValidator = z.object({
|
|
54920
54928
|
token: z.string(),
|
|
54921
54929
|
contactMethodId: z.string(),
|
|
54930
|
+
autoVerifyContactMethod: z.boolean().optional().default(false),
|
|
54922
54931
|
createdAt: z.string(),
|
|
54923
54932
|
expiresAt: z.string(),
|
|
54924
54933
|
used: z.boolean()
|