@learncard/helpers 1.1.24 → 1.1.26

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.
@@ -4354,6 +4354,7 @@ var require_types_cjs_development = __commonJS({
4354
4354
  controller: z.string(),
4355
4355
  publicKeyJwk: JWKValidator.optional(),
4356
4356
  publicKeyBase58: z.string().optional(),
4357
+ publicKeyMultibase: z.string().optional(),
4357
4358
  blockChainAccountId: z.string().optional()
4358
4359
  }).catchall(z.any())
4359
4360
  );
@@ -4662,7 +4663,8 @@ var require_types_cjs_development = __commonJS({
4662
4663
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
4663
4664
  highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
4664
4665
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
4665
- dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
4666
+ dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),
4667
+ country: z.string().optional().describe("Country for the profile.")
4666
4668
  });
4667
4669
  var LCNProfileQueryValidator = z.object({
4668
4670
  profileId: StringQuery,
@@ -4744,7 +4746,7 @@ var require_types_cjs_development = __commonJS({
4744
4746
  canManageChildrenProfiles: z.boolean(),
4745
4747
  canViewAnalytics: z.boolean()
4746
4748
  }).partial();
4747
- var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
4749
+ var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
4748
4750
  var ClaimHookValidator = z.discriminatedUnion("type", [
4749
4751
  z.object({
4750
4752
  type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -4757,6 +4759,10 @@ var require_types_cjs_development = __commonJS({
4757
4759
  z.object({
4758
4760
  type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
4759
4761
  data: z.object({ claimUri: z.string(), targetUri: z.string() })
4762
+ }),
4763
+ z.object({
4764
+ type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
4765
+ data: z.object({ claimUri: z.string(), targetUri: z.string() })
4760
4766
  })
4761
4767
  ]);
4762
4768
  var ClaimHookQueryValidator = z.object({