Skip to content

Commit

Permalink
Return tunnel URL from cjs shim
Browse files Browse the repository at this point in the history
  • Loading branch information
mcheshkov authored Sep 20, 2023
1 parent dd6ca71 commit ac3f49b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cjs/index.d.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
import { Options } from '../options.js';
export default function tunnelmole(options: Options): Promise<void>
export default function tunnelmole(options: Options): Promise<string>
2 changes: 1 addition & 1 deletion cjs/tunnelmole.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

const tunnelmole = async function(options) {
const tunnelmole = await import('../dist/src/index.js');
tunnelmole.tunnelmole(options);
return tunnelmole.tunnelmole(options);
};

module.exports = tunnelmole;

0 comments on commit ac3f49b

Please sign in to comment.