@learncard/ceramic-plugin 1.0.47 → 1.0.49
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 +8 -2
- 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 +8 -2
- package/dist/ceramic-plugin.esm.js.map +2 -2
- package/package.json +4 -4
|
@@ -54081,6 +54081,7 @@ var VerificationMethodValidator = z.string().or(
|
|
|
54081
54081
|
controller: z.string(),
|
|
54082
54082
|
publicKeyJwk: JWKValidator.optional(),
|
|
54083
54083
|
publicKeyBase58: z.string().optional(),
|
|
54084
|
+
publicKeyMultibase: z.string().optional(),
|
|
54084
54085
|
blockChainAccountId: z.string().optional()
|
|
54085
54086
|
}).catchall(z.any())
|
|
54086
54087
|
);
|
|
@@ -54389,7 +54390,8 @@ var LCNProfileValidator = z.object({
|
|
|
54389
54390
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
54390
54391
|
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
54391
54392
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
54392
|
-
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
54393
|
+
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),
|
|
54394
|
+
country: z.string().optional().describe("Country for the profile.")
|
|
54393
54395
|
});
|
|
54394
54396
|
var LCNProfileQueryValidator = z.object({
|
|
54395
54397
|
profileId: StringQuery,
|
|
@@ -54471,7 +54473,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
54471
54473
|
canManageChildrenProfiles: z.boolean(),
|
|
54472
54474
|
canViewAnalytics: z.boolean()
|
|
54473
54475
|
}).partial();
|
|
54474
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
54476
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
54475
54477
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
54476
54478
|
z.object({
|
|
54477
54479
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -54484,6 +54486,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
54484
54486
|
z.object({
|
|
54485
54487
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
54486
54488
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
54489
|
+
}),
|
|
54490
|
+
z.object({
|
|
54491
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
54492
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
54487
54493
|
})
|
|
54488
54494
|
]);
|
|
54489
54495
|
var ClaimHookQueryValidator = z.object({
|