@discordjs/builders 2.0.0-dev.1752321904-591668099 → 2.0.0-dev.1752452146-7e3d4e536

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
@@ -41,7 +41,7 @@ var EmojiOrLabelButtonMixin = class {
41
41
  };
42
42
 
43
43
  // src/util/ValidationError.ts
44
- import { z } from "zod/v4";
44
+ import { z } from "zod";
45
45
  var ValidationError = class extends Error {
46
46
  static {
47
47
  __name(this, "ValidationError");
@@ -88,11 +88,11 @@ __name(validate, "validate");
88
88
 
89
89
  // src/components/Assertions.ts
90
90
  import { ButtonStyle, ChannelType, ComponentType, SelectMenuDefaultValueType } from "discord-api-types/v10";
91
- import { z as z3 } from "zod/v4";
91
+ import { z as z3 } from "zod";
92
92
 
93
93
  // src/Assertions.ts
94
94
  import { Locale } from "discord-api-types/v10";
95
- import { z as z2 } from "zod/v4";
95
+ import { z as z2 } from "zod";
96
96
  var customIdPredicate = z2.string().min(1).max(100);
97
97
  var memberPermissionsPredicate = z2.coerce.bigint();
98
98
  var localeMapPredicate = z2.strictObject(
@@ -1028,7 +1028,7 @@ import { ComponentType as ComponentType11 } from "discord-api-types/v10";
1028
1028
 
1029
1029
  // src/components/textInput/Assertions.ts
1030
1030
  import { ComponentType as ComponentType10, TextInputStyle } from "discord-api-types/v10";
1031
- import { z as z4 } from "zod/v4";
1031
+ import { z as z4 } from "zod";
1032
1032
  var textInputPredicate = z4.object({
1033
1033
  type: z4.literal(ComponentType10.TextInput),
1034
1034
  custom_id: customIdPredicate,
@@ -1198,7 +1198,7 @@ import { ComponentType as ComponentType19 } from "discord-api-types/v10";
1198
1198
 
1199
1199
  // src/components/v2/Assertions.ts
1200
1200
  import { ComponentType as ComponentType12, SeparatorSpacingSize } from "discord-api-types/v10";
1201
- import { z as z5 } from "zod/v4";
1201
+ import { z as z5 } from "zod";
1202
1202
  var unfurledMediaItemPredicate = z5.object({
1203
1203
  url: z5.url({ protocol: /^(?:https?|attachment)$/ })
1204
1204
  });
@@ -2605,7 +2605,7 @@ import {
2605
2605
  InteractionContextType,
2606
2606
  ApplicationCommandOptionType
2607
2607
  } from "discord-api-types/v10";
2608
- import { z as z6 } from "zod/v4";
2608
+ import { z as z6 } from "zod";
2609
2609
  var namePredicate = z6.string().min(1).max(32).regex(/^[\p{Ll}\p{Lm}\p{Lo}\p{N}\p{sc=Devanagari}\p{sc=Thai}_-]+$/u);
2610
2610
  var descriptionPredicate = z6.string().min(1).max(100);
2611
2611
  var sharedNameAndDescriptionPredicate = z6.object({
@@ -3258,7 +3258,7 @@ var ChatInputCommandBuilder = class extends Mixin8(
3258
3258
 
3259
3259
  // src/interactions/commands/contextMenu/Assertions.ts
3260
3260
  import { ApplicationCommandType as ApplicationCommandType2, ApplicationIntegrationType as ApplicationIntegrationType2, InteractionContextType as InteractionContextType2 } from "discord-api-types/v10";
3261
- import { z as z7 } from "zod/v4";
3261
+ import { z as z7 } from "zod";
3262
3262
  var namePredicate2 = z7.string().min(1).max(32).regex(/^(?:(?: *[\p{P}\p{L}\p{N}\p{sc=Devanagari}\p{sc=Thai}\p{Extended_Pictographic}\p{Emoji_Component}]) *)+$/u);
3263
3263
  var contextsPredicate = z7.array(z7.enum(InteractionContextType2));
3264
3264
  var integrationTypesPredicate = z7.array(z7.enum(ApplicationIntegrationType2));
@@ -3337,7 +3337,7 @@ var UserContextCommandBuilder = class extends ContextMenuCommandBuilder {
3337
3337
 
3338
3338
  // src/interactions/modals/Assertions.ts
3339
3339
  import { ComponentType as ComponentType22 } from "discord-api-types/v10";
3340
- import { z as z8 } from "zod/v4";
3340
+ import { z as z8 } from "zod";
3341
3341
  var titlePredicate = z8.string().min(1).max(45);
3342
3342
  var modalPredicate = z8.object({
3343
3343
  title: titlePredicate,
@@ -3467,7 +3467,7 @@ var ModalBuilder = class {
3467
3467
  };
3468
3468
 
3469
3469
  // src/messages/embed/Assertions.ts
3470
- import { z as z9 } from "zod/v4";
3470
+ import { z as z9 } from "zod";
3471
3471
 
3472
3472
  // src/util/componentUtil.ts
3473
3473
  function embedLength(data) {
@@ -3989,7 +3989,7 @@ var EmbedBuilder = class {
3989
3989
 
3990
3990
  // src/messages/poll/Assertions.ts
3991
3991
  import { PollLayoutType } from "discord-api-types/v10";
3992
- import { z as z10 } from "zod/v4";
3992
+ import { z as z10 } from "zod";
3993
3993
  var pollQuestionPredicate = z10.object({ text: z10.string().min(1).max(300) });
3994
3994
  var pollAnswerMediaPredicate = z10.object({
3995
3995
  text: z10.string().min(1).max(55),
@@ -4331,7 +4331,7 @@ var PollBuilder = class {
4331
4331
 
4332
4332
  // src/messages/Assertions.ts
4333
4333
  import { AllowedMentionsTypes, ComponentType as ComponentType23, MessageFlags, MessageReferenceType } from "discord-api-types/v10";
4334
- import { z as z11 } from "zod/v4";
4334
+ import { z as z11 } from "zod";
4335
4335
  var attachmentPredicate = z11.object({
4336
4336
  id: z11.union([z11.string(), z11.number()]),
4337
4337
  description: z11.string().max(1024).optional(),
@@ -5308,7 +5308,7 @@ var MessageBuilder = class {
5308
5308
  };
5309
5309
 
5310
5310
  // src/index.ts
5311
- var version = "2.0.0-dev.1752321904-591668099";
5311
+ var version = "2.0.0-dev.1752452146-7e3d4e536";
5312
5312
  export {
5313
5313
  ActionRowBuilder,
5314
5314
  AllowedMentionsBuilder,