@discordjs/builders 1.8.0-dev.1714263079-798f28cb9 → 1.8.0-dev.1714522227-a1aeaeb9d

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 CHANGED
@@ -173,7 +173,7 @@ var titlePredicate = fieldNamePredicate.nullable.setValidationEnabled(isValidati
173
173
  // src/util/normalizeArray.ts
174
174
  function normalizeArray(arr) {
175
175
  if (Array.isArray(arr[0]))
176
- return arr[0];
176
+ return [...arr[0]];
177
177
  return arr;
178
178
  }
179
179
  __name(normalizeArray, "normalizeArray");
@@ -949,7 +949,7 @@ var MentionableSelectMenuBuilder = class extends BaseSelectMenuBuilder {
949
949
  setDefaultValues(...values) {
950
950
  const normalizedValues = normalizeArray(values);
951
951
  optionsLengthValidator.parse(normalizedValues.length);
952
- this.data.default_values = normalizedValues.slice();
952
+ this.data.default_values = normalizedValues;
953
953
  return this;
954
954
  }
955
955
  };
@@ -2744,7 +2744,7 @@ function embedLength(data) {
2744
2744
  __name(embedLength, "embedLength");
2745
2745
 
2746
2746
  // src/index.ts
2747
- var version = "1.8.0-dev.1714263079-798f28cb9";
2747
+ var version = "1.8.0-dev.1714522227-a1aeaeb9d";
2748
2748
  // Annotate the CommonJS export names for ESM import in node:
2749
2749
  0 && (module.exports = {
2750
2750
  ActionRowBuilder,