@discordjs/builders 2.0.0-dev.1739059979-af3ab2211 → 2.0.0-dev.1739275514-58a111d6f

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/index.mjs CHANGED
@@ -2469,18 +2469,18 @@ function embedLength(data) {
2469
2469
  __name(embedLength, "embedLength");
2470
2470
 
2471
2471
  // src/messages/embed/Assertions.ts
2472
- var namePredicate3 = z7.string().min(1).max(256);
2472
+ var namePredicate3 = z7.string().max(256);
2473
2473
  var iconURLPredicate = z7.string().url().refine(refineURLPredicate(["http:", "https:", "attachment:"]), {
2474
2474
  message: "Invalid protocol for icon URL. Must be http:, https:, or attachment:"
2475
2475
  });
2476
2476
  var URLPredicate = z7.string().url().refine(refineURLPredicate(["http:", "https:"]), { message: "Invalid protocol for URL. Must be http: or https:" });
2477
2477
  var embedFieldPredicate = z7.object({
2478
2478
  name: namePredicate3,
2479
- value: z7.string().min(1).max(1024),
2479
+ value: z7.string().max(1024),
2480
2480
  inline: z7.boolean().optional()
2481
2481
  });
2482
2482
  var embedAuthorPredicate = z7.object({
2483
- name: namePredicate3,
2483
+ name: namePredicate3.min(1),
2484
2484
  icon_url: iconURLPredicate.optional(),
2485
2485
  url: URLPredicate.optional()
2486
2486
  });
@@ -2489,7 +2489,7 @@ var embedFooterPredicate = z7.object({
2489
2489
  icon_url: iconURLPredicate.optional()
2490
2490
  });
2491
2491
  var embedPredicate = z7.object({
2492
- title: namePredicate3.optional(),
2492
+ title: namePredicate3.min(1).optional(),
2493
2493
  description: z7.string().min(1).max(4096).optional(),
2494
2494
  url: URLPredicate.optional(),
2495
2495
  timestamp: z7.string().optional(),
@@ -2980,7 +2980,7 @@ var EmbedBuilder = class {
2980
2980
  };
2981
2981
 
2982
2982
  // src/index.ts
2983
- var version = "2.0.0-dev.1739059979-af3ab2211";
2983
+ var version = "2.0.0-dev.1739275514-58a111d6f";
2984
2984
  export {
2985
2985
  ActionRowBuilder,
2986
2986
  ApplicationCommandNumericOptionMinMaxValueMixin,