@discordjs/builders 2.0.0-dev.1752624902-d03cacbde → 2.0.0-dev.1752711324-1dfc511e4
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.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -3384,7 +3384,9 @@ var ChatInputCommandBuilder = class extends (0, import_ts_mixer8.Mixin)(
|
|
|
3384
3384
|
// src/interactions/commands/contextMenu/Assertions.ts
|
|
3385
3385
|
var import_v1036 = require("discord-api-types/v10");
|
|
3386
3386
|
var import_zod7 = require("zod");
|
|
3387
|
-
var namePredicate2 = import_zod7.z.string().min(1).max(32).
|
|
3387
|
+
var namePredicate2 = import_zod7.z.string().min(1).max(32).refine((val) => val.trim().length > 0, {
|
|
3388
|
+
error: "Must not consist of only whitespace."
|
|
3389
|
+
});
|
|
3388
3390
|
var contextsPredicate = import_zod7.z.array(import_zod7.z.enum(import_v1036.InteractionContextType));
|
|
3389
3391
|
var integrationTypesPredicate = import_zod7.z.array(import_zod7.z.enum(import_v1036.ApplicationIntegrationType));
|
|
3390
3392
|
var baseContextMenuCommandPredicate = import_zod7.z.object({
|
|
@@ -5433,7 +5435,7 @@ var MessageBuilder = class {
|
|
|
5433
5435
|
};
|
|
5434
5436
|
|
|
5435
5437
|
// src/index.ts
|
|
5436
|
-
var version = "2.0.0-dev.
|
|
5438
|
+
var version = "2.0.0-dev.1752711324-1dfc511e4";
|
|
5437
5439
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5438
5440
|
0 && (module.exports = {
|
|
5439
5441
|
ActionRowBuilder,
|