fied 0.2.10 → 0.2.11

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/dist/bin.js +7 -0
  2. package/package.json +1 -1
package/dist/bin.js CHANGED
@@ -811,6 +811,13 @@ async function main() {
811
811
  allowInsecureRelay,
812
812
  showReadonlyLink,
813
813
  onShareUrl: async (url) => {
814
+ const startNow = await confirm("Start sharing this session now?", true);
815
+ if (!startNow) {
816
+ console.error("");
817
+ console.error(" Share cancelled.");
818
+ console.error("");
819
+ process.exit(0);
820
+ }
814
821
  const background = await confirm("Run in background?");
815
822
  if (!background) {
816
823
  return;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fied",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "Share your tmux session in the browser with end-to-end encryption",
5
5
  "type": "module",
6
6
  "bin": "dist/bin.js",