@learncard/didkey-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/didkey-plugin.cjs.development.js +8 -2
- package/dist/didkey-plugin.cjs.development.js.map +2 -2
- package/dist/didkey-plugin.cjs.production.min.js +1 -1
- package/dist/didkey-plugin.cjs.production.min.js.map +2 -2
- package/dist/didkey-plugin.esm.js +8 -2
- package/dist/didkey-plugin.esm.js.map +2 -2
- package/package.json +4 -4
@@ -4392,6 +4392,7 @@ var require_types_cjs_development = __commonJS({
|
|
4392
4392
|
controller: z.string(),
|
4393
4393
|
publicKeyJwk: JWKValidator.optional(),
|
4394
4394
|
publicKeyBase58: z.string().optional(),
|
4395
|
+
publicKeyMultibase: z.string().optional(),
|
4395
4396
|
blockChainAccountId: z.string().optional()
|
4396
4397
|
}).catchall(z.any())
|
4397
4398
|
);
|
@@ -4700,7 +4701,8 @@ var require_types_cjs_development = __commonJS({
|
|
4700
4701
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
4701
4702
|
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
4702
4703
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
4703
|
-
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
4704
|
+
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),
|
4705
|
+
country: z.string().optional().describe("Country for the profile.")
|
4704
4706
|
});
|
4705
4707
|
var LCNProfileQueryValidator = z.object({
|
4706
4708
|
profileId: StringQuery,
|
@@ -4782,7 +4784,7 @@ var require_types_cjs_development = __commonJS({
|
|
4782
4784
|
canManageChildrenProfiles: z.boolean(),
|
4783
4785
|
canViewAnalytics: z.boolean()
|
4784
4786
|
}).partial();
|
4785
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
4787
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
4786
4788
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
4787
4789
|
z.object({
|
4788
4790
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
@@ -4795,6 +4797,10 @@ var require_types_cjs_development = __commonJS({
|
|
4795
4797
|
z.object({
|
4796
4798
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
4797
4799
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
4800
|
+
}),
|
4801
|
+
z.object({
|
4802
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
4803
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
4798
4804
|
})
|
4799
4805
|
]);
|
4800
4806
|
var ClaimHookQueryValidator = z.object({
|