@learncard/didkey-plugin 1.0.19 → 1.0.21

Sign up to get free protection for your applications and to get access to all the features.
@@ -115,6 +115,7 @@ var require_types_cjs_development = __commonJS({
115
115
  LCNNotificationTypeEnumValidator: () => LCNNotificationTypeEnumValidator,
116
116
  LCNNotificationValidator: () => LCNNotificationValidator,
117
117
  LCNProfileConnectionStatusEnum: () => LCNProfileConnectionStatusEnum,
118
+ LCNProfileDisplayValidator: () => LCNProfileDisplayValidator,
118
119
  LCNProfileQueryValidator: () => LCNProfileQueryValidator,
119
120
  LCNProfileValidator: () => LCNProfileValidator,
120
121
  LCNSigningAuthorityForUserValidator: () => LCNSigningAuthorityForUserValidator,
@@ -3935,6 +3936,19 @@ var require_types_cjs_development = __commonJS({
3935
3936
  })
3936
3937
  );
3937
3938
  var StringQuery = mod.string().or(mod.object({ $in: mod.string().array() })).or(mod.object({ $regex: RegExpValidator }));
3939
+ var LCNProfileDisplayValidator = mod.object({
3940
+ backgroundColor: mod.string().optional(),
3941
+ backgroundImage: mod.string().optional(),
3942
+ fadeBackgroundImage: mod.boolean().optional(),
3943
+ repeatBackgroundImage: mod.boolean().optional(),
3944
+ fontColor: mod.string().optional(),
3945
+ accentColor: mod.string().optional(),
3946
+ accentFontColor: mod.string().optional(),
3947
+ idBackgroundImage: mod.string().optional(),
3948
+ fadeIdBackgroundImage: mod.boolean().optional(),
3949
+ idBackgroundColor: mod.string().optional(),
3950
+ repeatIdBackgroundImage: mod.boolean().optional()
3951
+ });
3938
3952
  var LCNProfileValidator = mod.object({
3939
3953
  profileId: mod.string().min(3).max(40),
3940
3954
  displayName: mod.string().default(""),
@@ -3947,7 +3961,8 @@ var require_types_cjs_development = __commonJS({
3947
3961
  websiteLink: mod.string().optional(),
3948
3962
  isServiceProfile: mod.boolean().default(false).optional(),
3949
3963
  type: mod.string().optional(),
3950
- notificationsWebhook: mod.string().url().startsWith("http").optional()
3964
+ notificationsWebhook: mod.string().url().startsWith("http").optional(),
3965
+ display: LCNProfileDisplayValidator.optional()
3951
3966
  });
3952
3967
  var LCNProfileQueryValidator = mod.object({
3953
3968
  profileId: StringQuery,
@@ -4014,7 +4029,8 @@ var require_types_cjs_development = __commonJS({
4014
4029
  var BoostRecipientValidator = mod.object({
4015
4030
  to: LCNProfileValidator,
4016
4031
  from: mod.string(),
4017
- received: mod.string().optional()
4032
+ received: mod.string().optional(),
4033
+ uri: mod.string().optional()
4018
4034
  });
4019
4035
  var PaginatedBoostRecipientsValidator = PaginationResponseValidator.extend({
4020
4036
  records: BoostRecipientValidator.array()