bdy 1.18.9-master → 1.18.10-dev

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.18.9-master",
4
+ "version": "1.18.10-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {
@@ -127,8 +127,8 @@ const interactive = async (client, workspace, prompt, tlds, onOwnerBehalf) => {
127
127
  added[domain] = true;
128
128
  }
129
129
  });
130
- if (items.length > 10)
131
- items = items.filter((_, i) => i < 10);
130
+ if (items.length > 20)
131
+ items = items.filter((_, i) => i < 20);
132
132
  items.unshift(output_1.default.createMenuSeparator('Matched'));
133
133
  }
134
134
  }
@@ -26,7 +26,7 @@ const browsersListSchema = zod_1.z
26
26
  : 'WEBKIT'))));
27
27
  const optionsSchema = zod_1.z.object({
28
28
  follow: zod_1.z.boolean(),
29
- respectRobots: zod_1.z.boolean(),
29
+ respectRobots: zod_1.z.boolean().optional(),
30
30
  outputType: zod_1.z.enum(['jpeg', 'png', 'md', 'html']).optional(),
31
31
  outputTypes: zod_1.z.string().optional(),
32
32
  quality: zod_1.z.coerce.number().min(1).max(100).optional(),
@@ -15,7 +15,7 @@ const promises_2 = require("node:fs/promises");
15
15
  const commandScrape = (0, utils_1.newCommand)('scrape', texts_1.DESC_COMMAND_VT_SCRAPE);
16
16
  commandScrape.argument('[url]', texts_1.OPTION_SCRAPE_URL);
17
17
  commandScrape.option('--follow', texts_1.OPTION_SCRAPE_FOLLOW, false);
18
- commandScrape.option('--respectRobots', texts_1.OPTION_COMPARE_RESPECT_ROBOTS, false);
18
+ commandScrape.option('--respectRobots', texts_1.OPTION_COMPARE_RESPECT_ROBOTS);
19
19
  commandScrape.addOption(new commander_1.Option('--outputType <type>', texts_1.OPTION_SCRAPE_OUTPUT_TYPE).choices([
20
20
  'jpeg',
21
21
  'png',
@@ -303,13 +303,13 @@ class Output {
303
303
  const sign = price.currency === 'USD' ? '$' : '€';
304
304
  const value = price.price * price.min_duration;
305
305
  const duration = price.min_duration === 1 ? '1yr' : `${price.min_duration}yrs`;
306
- return `${sign}${value.toFixed(2)} (${duration})`;
306
+ return `${sign}${value.toFixed(2)}/${duration}`;
307
307
  }
308
308
  static formatDomain(domain) {
309
309
  if (!domain.available || domain.premium) {
310
310
  return this.getDimColor(`${domain.name} (Unavailable)`);
311
311
  }
312
- return `${this.getGreenColor(domain.name)} ${this.formatDomainPrice(domain.prices.create)} / ${this.formatDomainPrice(domain.prices.renew)}`;
312
+ return `${this.getGreenColor(domain.name)} ${this.formatDomainPrice(domain.prices.create)} (renew: ${this.formatDomainPrice(domain.prices.renew)})`;
313
313
  }
314
314
  static formatDomainClaim(domain, available) {
315
315
  if (available) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "bdy",
3
3
  "preferGlobal": false,
4
- "version": "1.18.9-master",
4
+ "version": "1.18.10-dev",
5
5
  "type": "commonjs",
6
6
  "license": "MIT",
7
7
  "scripts": {