@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.
@@ -4359,6 +4359,7 @@ var require_types_cjs_development = __commonJS({
4359
4359
  controller: z.string(),
4360
4360
  publicKeyJwk: JWKValidator.optional(),
4361
4361
  publicKeyBase58: z.string().optional(),
4362
+ publicKeyMultibase: z.string().optional(),
4362
4363
  blockChainAccountId: z.string().optional()
4363
4364
  }).catchall(z.any())
4364
4365
  );
@@ -4667,7 +4668,8 @@ var require_types_cjs_development = __commonJS({
4667
4668
  display: LCNProfileDisplayValidator.optional().describe("Display settings for the profile."),
4668
4669
  highlightedCredentials: z.array(z.string()).max(5).optional().describe("Up to 5 unique boost URIs to highlight on the profile."),
4669
4670
  role: z.string().default("").optional().describe('Role of the profile: e.g. "teacher", "student".'),
4670
- dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".')
4671
+ dob: z.string().default("").optional().describe('Date of birth of the profile: e.g. "1990-01-01".'),
4672
+ country: z.string().optional().describe("Country for the profile.")
4671
4673
  });
4672
4674
  var LCNProfileQueryValidator = z.object({
4673
4675
  profileId: StringQuery,
@@ -4749,7 +4751,7 @@ var require_types_cjs_development = __commonJS({
4749
4751
  canManageChildrenProfiles: z.boolean(),
4750
4752
  canViewAnalytics: z.boolean()
4751
4753
  }).partial();
4752
- var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN"]);
4754
+ var ClaimHookTypeValidator = z.enum(["GRANT_PERMISSIONS", "ADD_ADMIN", "AUTO_CONNECT"]);
4753
4755
  var ClaimHookValidator = z.discriminatedUnion("type", [
4754
4756
  z.object({
4755
4757
  type: z.literal(ClaimHookTypeValidator.Values.GRANT_PERMISSIONS),
@@ -4762,6 +4764,10 @@ var require_types_cjs_development = __commonJS({
4762
4764
  z.object({
4763
4765
  type: z.literal(ClaimHookTypeValidator.Values.ADD_ADMIN),
4764
4766
  data: z.object({ claimUri: z.string(), targetUri: z.string() })
4767
+ }),
4768
+ z.object({
4769
+ type: z.literal(ClaimHookTypeValidator.Values.AUTO_CONNECT),
4770
+ data: z.object({ claimUri: z.string(), targetUri: z.string() })
4765
4771
  })
4766
4772
  ]);
4767
4773
  var ClaimHookQueryValidator = z.object({