@learncard/learn-card-plugin 1.1.56 → 1.1.58
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/learn-card-plugin.cjs.development.js +8 -2
- package/dist/learn-card-plugin.cjs.development.js.map +2 -2
- package/dist/learn-card-plugin.cjs.production.min.js +1 -1
- package/dist/learn-card-plugin.cjs.production.min.js.map +2 -2
- package/dist/learn-card-plugin.esm.js +8 -2
- package/dist/learn-card-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -4184,6 +4184,7 @@ var VerificationMethodValidator = z.string().or(
|
|
|
4184
4184
|
controller: z.string(),
|
|
4185
4185
|
publicKeyJwk: JWKValidator.optional(),
|
|
4186
4186
|
publicKeyBase58: z.string().optional(),
|
|
4187
|
+
publicKeyMultibase: z.string().optional(),
|
|
4187
4188
|
blockChainAccountId: z.string().optional()
|
|
4188
4189
|
}).catchall(z.any())
|
|
4189
4190
|
);
|
|
@@ -4492,7 +4493,8 @@ var LCNProfileValidator = z.object({
|
|
|
4492
4493
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
4493
4494
|
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
4494
4495
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
4495
|
-
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
4496
|
+
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),
|
|
4497
|
+
country: z.string().optional().describe("Country for the profile.")
|
|
4496
4498
|
});
|
|
4497
4499
|
var LCNProfileQueryValidator = z.object({
|
|
4498
4500
|
profileId: StringQuery,
|
|
@@ -4574,7 +4576,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
4574
4576
|
canManageChildrenProfiles: z.boolean(),
|
|
4575
4577
|
canViewAnalytics: z.boolean()
|
|
4576
4578
|
}).partial();
|
|
4577
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
4579
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
4578
4580
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
4579
4581
|
z.object({
|
|
4580
4582
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -4587,6 +4589,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
4587
4589
|
z.object({
|
|
4588
4590
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
4589
4591
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4592
|
+
}),
|
|
4593
|
+
z.object({
|
|
4594
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
4595
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4590
4596
|
})
|
|
4591
4597
|
]);
|
|
4592
4598
|
var ClaimHookQueryValidator = z.object({
|