@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
@@ -4416,6 +4416,7 @@ var require_types_cjs_development = __commonJS({
|
|
4416
4416
|
controller: z.string(),
|
4417
4417
|
publicKeyJwk: JWKValidator.optional(),
|
4418
4418
|
publicKeyBase58: z.string().optional(),
|
4419
|
+
publicKeyMultibase: z.string().optional(),
|
4419
4420
|
blockChainAccountId: z.string().optional()
|
4420
4421
|
}).catchall(z.any())
|
4421
4422
|
);
|
@@ -4724,7 +4725,8 @@ var require_types_cjs_development = __commonJS({
|
|
4724
4725
|
display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
|
4725
4726
|
highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
|
4726
4727
|
role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
|
4727
|
-
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
|
4728
|
+
dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),
|
4729
|
+
country: z.string().optional().describe("Country for the profile.")
|
4728
4730
|
});
|
4729
4731
|
var LCNProfileQueryValidator = z.object({
|
4730
4732
|
profileId: StringQuery,
|
@@ -4806,7 +4808,7 @@ var require_types_cjs_development = __commonJS({
|
|
4806
4808
|
canManageChildrenProfiles: z.boolean(),
|
4807
4809
|
canViewAnalytics: z.boolean()
|
4808
4810
|
}).partial();
|
4809
|
-
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
|
4811
|
+
var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
|
4810
4812
|
var ClaimHookValidator = z.discriminatedUnion("type", [
|
4811
4813
|
z.object({
|
4812
4814
|
type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
|
@@ -4819,6 +4821,10 @@ var require_types_cjs_development = __commonJS({
|
|
4819
4821
|
z.object({
|
4820
4822
|
type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
|
4821
4823
|
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
4824
|
+
}),
|
4825
|
+
z.object({
|
4826
|
+
type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
|
4827
|
+
data: z.object({ claimUri: z.string(), targetUri: z.string() })
|
4822
4828
|
})
|
4823
4829
|
]);
|
4824
4830
|
var ClaimHookQueryValidator = z.object({
|