fied 0.1.2 → 0.1.3

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 +2 -1
  2. package/package.json +2 -2
package/dist/bin.js CHANGED
@@ -94,11 +94,12 @@ function listSessions() {
94
94
  }
95
95
  }
96
96
  function attachSession(sessionName, cols, rows) {
97
+ const { TMUX: _, TMUX_PANE: __, ...env } = process.env;
97
98
  return spawn("tmux", ["attach-session", "-t", sessionName], {
98
99
  name: "xterm-256color",
99
100
  cols,
100
101
  rows,
101
- env: process.env
102
+ env
102
103
  });
103
104
  }
104
105
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fied",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "description": "Share your tmux session in the browser with end-to-end encryption",
5
5
  "type": "module",
6
6
  "bin": {
@@ -14,7 +14,7 @@
14
14
  "dev": "tsc --watch"
15
15
  },
16
16
  "dependencies": {
17
- "node-pty": "^1.0.0",
17
+ "node-pty": "^1.2.0-beta.11",
18
18
  "ws": "^8.18.0"
19
19
  },
20
20
  "devDependencies": {