wispctl 1.1.1 → 1.1.2

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
@@ -150367,7 +150367,6 @@ var DEFAULT_IGNORE_PATTERNS = [
150367
150367
  "env/**",
150368
150368
  "*.swp",
150369
150369
  "*.swo",
150370
- "*~",
150371
150370
  ".tangled",
150372
150371
  ".tangled/**",
150373
150372
  ".wispignore"
@@ -151405,7 +151404,7 @@ async function deleteOldSubfsRecords(agent, did, oldRecord, newSubfsRkeys) {
151405
151404
  }
151406
151405
  async function deploy(agent, did, options) {
151407
151406
  const siteDir = options.path;
151408
- const siteName = options.site || basename(siteDir);
151407
+ const siteName = (options.site || basename(siteDir)).toLowerCase();
151409
151408
  if (!/^[a-zA-Z0-9._~:-]{1,512}$/.test(siteName)) {
151410
151409
  throw new Error(`Invalid site name: ${siteName}. Must be 1-512 chars of [a-zA-Z0-9._~:-]`);
151411
151410
  }
@@ -159797,5 +159796,5 @@ program2.command("logout").description("Clear the stored session for the current
159797
159796
  });
159798
159797
  program2.parse();
159799
159798
 
159800
- //# debugId=FB106F94312419FA64756E2164756E21
159799
+ //# debugId=4D0876B014A40E6364756E2164756E21
159801
159800
  //# sourceMappingURL=index.js.map