apiblaze 0.17.9 → 0.17.11

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.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -699,7 +699,7 @@ var import_commander = require("commander");
699
699
  var import_chalk37 = __toESM(require("chalk"));
700
700
 
701
701
  // package.json
702
- var version = "0.17.9";
702
+ var version = "0.17.11";
703
703
 
704
704
  // src/index.ts
705
705
  init_types();
@@ -5026,7 +5026,7 @@ async function provision(spec2, target, opts) {
5026
5026
  }
5027
5027
  if (!base && spec2.info && typeof spec2.info.title === "string") base = normalizeName2(spec2.info.title);
5028
5028
  if (!base || base.length < 3) base = "apichat";
5029
- let name = opts.name ? base : `${base}-${salt()}`;
5029
+ let name = opts.name ? base : `${base}${salt()}`;
5030
5030
  const spinner = (0, import_ora16.default)("Provisioning an api_key proxy...").start();
5031
5031
  let result;
5032
5032
  for (let attempt = 0; attempt < 4; attempt++) {
@@ -5063,7 +5063,7 @@ async function provision(spec2, target, opts) {
5063
5063
  const status = err instanceof ApiError ? err.status : void 0;
5064
5064
  const collision = err instanceof ApiError && (err.status === 409 || /exist|taken|available/i.test(err.message));
5065
5065
  if (collision && attempt < 3) {
5066
- name = `${base}-${salt()}`;
5066
+ name = `${base}${salt()}`;
5067
5067
  continue;
5068
5068
  }
5069
5069
  if (status === 401) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "apiblaze",
3
- "version": "0.17.9",
3
+ "version": "0.17.11",
4
4
  "description": "APIblaze CLI — Chat with your APIs, Manage your API keys, users and groups with the APIblaze serverless proxy",
5
5
  "keywords": [
6
6
  "apiblaze",