titanpl-sdk 1.0.7 → 1.0.9

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "titanpl-sdk",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "Development SDK for Titan Planet. Provides TypeScript type definitions for the global 't' runtime object and a 'lite' test-harness runtime for building and verifying extensions.",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -7,4 +7,4 @@ t.post("/hello").action("hello") // pass a json payload { "name": "titan" }
7
7
 
8
8
  t.get("/").reply("Ready to land on Titan Planet 🚀");
9
9
 
10
- t.start(3000, "Titan Running!");
10
+ t.start(5100, "Titan Running!");
@@ -155,7 +155,7 @@ export async function bundleFile(options) {
155
155
  * RULE: After printing error box, throws Error("__TITAN_BUNDLE_FAILED__")
156
156
  * @returns {Promise<void>}
157
157
  */
158
- export default async function bundle() {
158
+ export async function bundle() {
159
159
  const root = process.cwd();
160
160
  const actionsDir = path.join(root, 'app', 'actions');
161
161
  const bundleDir = path.join(root, 'server', 'actions');
@@ -6,7 +6,7 @@
6
6
 
7
7
  import fs from "fs";
8
8
  import path from "path";
9
- import bundle from "./bundle.js";
9
+ import { bundle } from "./bundle.js";
10
10
 
11
11
  const cyan = (t) => `\x1b[36m${t}\x1b[0m`;
12
12
  const green = (t) => `\x1b[32m${t}\x1b[0m`;