@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
|
@@ -54387,6 +54387,7 @@ var LCNProfileValidator = z.object({
|
|
|
54387
54387
|
type: z.string().optional().describe('Profile type: e.g. "person", "organization", "service".'),
|
|
54388
54388
|
notificationsWebhook: z.string().url().startsWith("http").optional().describe("URL to send notifications to."),
|
|
54389
54389
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
54390
|
+
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
54390
54391
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
54391
54392
|
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
54392
54393
|
});
|
|
@@ -54470,7 +54471,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
54470
54471
|
canManageChildrenProfiles: z.boolean(),
|
|
54471
54472
|
canViewAnalytics: z.boolean()
|
|
54472
54473
|
}).partial();
|
|
54473
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
54474
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
54474
54475
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
54475
54476
|
z.object({
|
|
54476
54477
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -54483,6 +54484,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
54483
54484
|
z.object({
|
|
54484
54485
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
54485
54486
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
54487
|
+
}),
|
|
54488
|
+
z.object({
|
|
54489
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
54490
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
54486
54491
|
})
|
|
54487
54492
|
]);
|
|
54488
54493
|
var ClaimHookQueryValidator = z.object({
|
|
@@ -54742,7 +54747,8 @@ var LCNNotificationTypeEnumValidator = z.enum([
|
|
|
54742
54747
|
"PRESENTATION_RECEIVED",
|
|
54743
54748
|
"CONSENT_FLOW_TRANSACTION",
|
|
54744
54749
|
"ISSUANCE_CLAIMED",
|
|
54745
|
-
"ISSUANCE_DELIVERED"
|
|
54750
|
+
"ISSUANCE_DELIVERED",
|
|
54751
|
+
"ISSUANCE_ERROR"
|
|
54746
54752
|
]);
|
|
54747
54753
|
var LCNNotificationMessageValidator = z.object({
|
|
54748
54754
|
title: z.string().optional(),
|
|
@@ -54859,8 +54865,10 @@ var InboxCredentialValidator = z.object({
|
|
|
54859
54865
|
createdAt: z.string(),
|
|
54860
54866
|
issuerDid: z.string(),
|
|
54861
54867
|
webhookUrl: z.string().optional(),
|
|
54862
|
-
|
|
54863
|
-
|
|
54868
|
+
signingAuthority: z.object({
|
|
54869
|
+
endpoint: z.string().optional(),
|
|
54870
|
+
name: z.string().optional()
|
|
54871
|
+
}).optional()
|
|
54864
54872
|
});
|
|
54865
54873
|
var PaginatedInboxCredentialsValidator = z.object({
|
|
54866
54874
|
hasMore: z.boolean(),
|
|
@@ -54915,6 +54923,7 @@ var IssueInboxCredentialResponseValidator = z.object({
|
|
|
54915
54923
|
var ClaimTokenValidator = z.object({
|
|
54916
54924
|
token: z.string(),
|
|
54917
54925
|
contactMethodId: z.string(),
|
|
54926
|
+
autoVerifyContactMethod: z.boolean().optional().default(false),
|
|
54918
54927
|
createdAt: z.string(),
|
|
54919
54928
|
expiresAt: z.string(),
|
|
54920
54929
|
used: z.boolean()
|