@petezah-games/scramjet-controller 0.1.2 → 0.1.4

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/lib/index.d.ts ADDED
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @fileoverview
3
+ * Scramjet path export for routing functionality
4
+ */
5
+
6
+ declare const path: string;
7
+
8
+ export default path;
package/lib/index.js ADDED
@@ -0,0 +1,8 @@
1
+ import { resolve, dirname } from "node:path";
2
+ import { fileURLToPath } from "node:url";
3
+
4
+ const __dirname = dirname(fileURLToPath(import.meta.url));
5
+
6
+ const path = resolve(__dirname, "..", "dist");
7
+
8
+ export default path;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@petezah-games/scramjet-controller",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Controller for Scramjet proxy, it manages coordination between application, service workers, and proxy transports",
5
5
  "type": "module",
6
6
  "license": "AGPL-3.0-only",
@@ -40,7 +40,8 @@
40
40
  }
41
41
  },
42
42
  "files": [
43
- "dist"
43
+ "dist",
44
+ "lib"
44
45
  ],
45
46
  "dependencies": {
46
47
  "@mercuryworkshop/proxy-transports": "1.0.2",