pinggy 0.4.0 → 0.4.2

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.cjs CHANGED
@@ -3107,7 +3107,7 @@ function parseExtendedOptions(options, config, localServerTls) {
3107
3107
  case "r":
3108
3108
  if (value) {
3109
3109
  if (!config.headerModification) config.headerModification = [];
3110
- config.headerModification.push({ type: "remove", key: value });
3110
+ config.headerModification.push({ type: "remove", key: value, value: [] });
3111
3111
  } else {
3112
3112
  printer_default.warn(`Extended option "${opt}" for 'r' requires a key`);
3113
3113
  }
package/dist/index.js CHANGED
@@ -104,7 +104,7 @@ async function verifyAndLoad() {
104
104
  process.exit(1);
105
105
  }
106
106
  }
107
- await import("./main-QQGE7G67.js");
107
+ await import("./main-X7XBLBTU.js");
108
108
  }
109
109
  verifyAndLoad().catch((err) => {
110
110
  printer_default.error(`Failed to start CLI:, ${err}`);
@@ -214,7 +214,7 @@ function parseExtendedOptions(options, config, localServerTls) {
214
214
  case "r":
215
215
  if (value) {
216
216
  if (!config.headerModification) config.headerModification = [];
217
- config.headerModification.push({ type: "remove", key: value });
217
+ config.headerModification.push({ type: "remove", key: value, value: [] });
218
218
  } else {
219
219
  printer_default.warn(`Extended option "${opt}" for 'r' requires a key`);
220
220
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pinggy",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "description": "Create secure, shareable tunnels to your localhost and manage them from the command line. ",
@@ -51,7 +51,7 @@
51
51
  ]
52
52
  },
53
53
  "dependencies": {
54
- "@pinggy/pinggy": "^0.3.8",
54
+ "@pinggy/pinggy": "^0.4.1",
55
55
  "blessed": "^0.1.81",
56
56
  "clipboardy": "^5.0.0",
57
57
  "mime": "^4.1.0",