@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
|
@@ -54085,6 +54085,7 @@ var VerificationMethodValidator = z.string().or(
|
|
|
54085
54085
|
controller: z.string(),
|
|
54086
54086
|
publicKeyJwk: JWKValidator.optional(),
|
|
54087
54087
|
publicKeyBase58: z.string().optional(),
|
|
54088
|
+
publicKeyMultibase: z.string().optional(),
|
|
54088
54089
|
blockChainAccountId: z.string().optional()
|
|
54089
54090
|
}).catchall(z.any())
|
|
54090
54091
|
);
|
|
@@ -54393,7 +54394,8 @@ var LCNProfileValidator = z.object({
|
|
|
54393
54394
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
|
54394
54395
|
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
|
54395
54396
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
|
54396
|
-
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
|
54397
|
+
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),
|
|
54398
|
+
country: z.string().optional().describe("Country for the profile.")
|
|
54397
54399
|
});
|
|
54398
54400
|
var LCNProfileQueryValidator = z.object({
|
|
54399
54401
|
profileId: StringQuery,
|
|
@@ -54475,7 +54477,7 @@ var BoostPermissionsQueryValidator = z.object({
|
|
|
54475
54477
|
canManageChildrenProfiles: z.boolean(),
|
|
54476
54478
|
canViewAnalytics: z.boolean()
|
|
54477
54479
|
}).partial();
|
|
54478
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
|
54480
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
|
54479
54481
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
54480
54482
|
z.object({
|
|
54481
54483
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
|
@@ -54488,6 +54490,10 @@ var ClaimHookValidator = z.discriminatedUnion("type", [
|
|
|
54488
54490
|
z.object({
|
|
54489
54491
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
|
54490
54492
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
54493
|
+
}),
|
|
54494
|
+
z.object({
|
|
54495
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
|
54496
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
|
54491
54497
|
})
|
|
54492
54498
|
]);
|
|
54493
54499
|
var ClaimHookQueryValidator = z.object({
|