@stacksjs/tunnel 0.63.0 → 0.64.0

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
@@ -1,21 +1,5 @@
1
1
  // @bun
2
- // src/tunnel.ts
3
- async function localTunnel(options) {
4
- const port = 3000;
5
- if (!options?.port)
6
- options = { port };
7
- console.log("Creating local tunnel", options.port);
8
- return "localTunnel";
9
- }
2
+ async function r(n){if(!n?.port)n={port:3000};return console.log("Creating local tunnel",n.port),"localTunnel"}async function t(n){return await r({port:n})}export{r as localTunnel,t as createLocalTunnel};
10
3
 
11
- // src/index.ts
12
- async function createLocalTunnel(port) {
13
- return await localTunnel({ port });
14
- }
15
- export {
16
- localTunnel,
17
- createLocalTunnel
18
- };
19
-
20
- //# debugId=90DE5DC212011F8764756E2164756E21
4
+ //# debugId=C0155D8C9DB3B68C64756E2164756E21
21
5
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -5,7 +5,7 @@
5
5
  "export async function localTunnel(options?: { port: number }) {\n const port = 3000\n\n if (!options?.port) options = { port }\n\n console.log('Creating local tunnel', options.port)\n\n return 'localTunnel'\n}\n",
6
6
  "import { localTunnel } from './tunnel'\n\nexport async function createLocalTunnel(port: number) {\n return await localTunnel({ port })\n}\n\nexport { localTunnel }\n"
7
7
  ],
8
- "mappings": ";;AAAA,eAAsB,WAAW,CAAC,SAA4B;AAC5D,QAAM,OAAO;AAEb,OAAK,SAAS;AAAM,cAAU,EAAE,KAAK;AAErC,UAAQ,IAAI,yBAAyB,QAAQ,IAAI;AAEjD,SAAO;AAAA;;;ACLT,eAAsB,iBAAiB,CAAC,MAAc;AACpD,SAAO,MAAM,YAAY,EAAE,KAAK,CAAC;AAAA;",
9
- "debugId": "90DE5DC212011F8764756E2164756E21",
8
+ "mappings": ";AAAA,eAAsB,CAAW,CAAC,EAA4B,CAG5D,IAAK,GAAS,KAAM,EAAU,CAAE,KAFnB,IAEwB,EAIrC,OAFA,QAAQ,IAAI,wBAAyB,EAAQ,IAAI,EAE1C,cCLT,eAAsB,CAAiB,CAAC,EAAc,CACpD,OAAO,MAAM,EAAY,CAAE,MAAK,CAAC",
9
+ "debugId": "C0155D8C9DB3B68C64756E2164756E21",
10
10
  "names": []
11
11
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stacksjs/tunnel",
3
3
  "type": "module",
4
- "version": "0.63.0",
4
+ "version": "0.64.0",
5
5
  "description": "Local development tunnel.",
6
6
  "author": "Chris Breuer",
7
7
  "license": "MIT",