kschema-api-gen-appjs 1.3.2 → 1.3.3

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/bin/cli.js +4 -4
  2. package/package.json +1 -1
package/bin/cli.js CHANGED
@@ -3,10 +3,10 @@
3
3
  import getLatestVersion from "./core/getLatestVersion.js";
4
4
  import loadRunner from "./core/loadRunner.js";
5
5
 
6
- const run = () => {
6
+ const run = async () => {
7
7
  const version = getLatestVersion();
8
- const runner = loadRunner(version);
9
- runner();
8
+ const runner = await loadRunner(version);
9
+ await runner();
10
10
  };
11
11
 
12
- run();
12
+ run().then();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kschema-api-gen-appjs",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "CLI to build for appjs, the endpoints",
5
5
  "keywords": [
6
6
  "cli",