@campfiire/spark-cli 0.1.1 → 0.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.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -437,7 +437,7 @@ async function statusCommand(sparkId, _options) {
437
437
  console.log(kleur6.bold().cyan("\n\u{1F525} Campfire Spark \u2014 status\n"));
438
438
  const spinner = ora5("Fetching submissions...").start();
439
439
  try {
440
- const url = sparkId ? `${creds.apiUrl}/api/custom-sparks/${sparkId}` : `${creds.apiUrl}/api/custom-sparks/registry/custom?author=me`;
440
+ const url = sparkId ? `${creds.apiUrl}/api/custom-sparks/${sparkId}` : `${creds.apiUrl}/api/custom-sparks/mine`;
441
441
  const res = await fetch(url, {
442
442
  headers: { Authorization: `Bearer ${creds.token}` }
443
443
  });
@@ -512,7 +512,7 @@ async function requestDomainCommand(domain) {
512
512
 
513
513
  // src/index.ts
514
514
  var program = new Command();
515
- program.name("campfire-spark").description("CLI for developing custom Campfire sparks").version("0.1.0");
515
+ program.name("campfire-spark").description("CLI for developing custom Campfire sparks").version("0.1.2");
516
516
  program.command("init").description("Scaffold a new spark project").argument("[name]", "Project name").action(initCommand);
517
517
  program.command("dev").description("Start local development server with mock SDK").option("-p, --port <number>", "Dev server port", "4321").action(devCommand);
518
518
  program.command("build").description("Build the spark bundle for production").action(buildCommand);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@campfiire/spark-cli",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "description": "CLI for developing custom Campfire sparks",
5
5
  "type": "module",
6
6
  "bin": {