@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
|
@@ -4160,6 +4160,7 @@ var VerificationMethodValidator = z.string().or(
|
|
|
4160
4160
|
controller: z.string(),
|
|
4161
4161
|
publicKeyJwk: JWKValidator.optional(),
|
|
4162
4162
|
publicKeyBase58: z.string().optional(),
|
|
4163
|
+
publicKeyMultibase: z.string().optional(),
|
|
4163
4164
|
blockChainAccountId: z.string().optional()
|
|
4164
4165
|
}).catchall(z.any())
|
|
4165
4166
|
);
|
|
@@ -4468,7 +4469,8 @@ var LCNProfileValidator = z.object({
|
|
|
4468
4469
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
4469
4470
|
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
4470
4471
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
4471
|
-
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
4472
|
+
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),
|
|
4473
|
+
country: z.string().optional().describe("Country for the profile.")
|
|
4472
4474
|
});
|
|
4473
4475
|
var LCNProfileQueryValidator = z.object({
|
|
4474
4476
|
profileId: StringQuery,
|
|
@@ -4550,7 +4552,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
4550
4552
|
canManageChildrenProfiles: z.boolean(),
|
|
4551
4553
|
canViewAnalytics: z.boolean()
|
|
4552
4554
|
}).partial();
|
|
4553
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
4555
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
4554
4556
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
4555
4557
|
z.object({
|
|
4556
4558
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -4563,6 +4565,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
4563
4565
|
z.object({
|
|
4564
4566
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
4565
4567
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4568
|
+
}),
|
|
4569
|
+
z.object({
|
|
4570
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
4571
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
4566
4572
|
})
|
|
4567
4573
|
]);
|
|
4568
4574
|
var ClaimHookQueryValidator = z.object({
|