website-api 1.1.8 → 1.1.9

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.
@@ -88,6 +88,10 @@ export function parseArgsForWebsite(positionalDefs = [], parameterDefs = [], arg
88
88
  else if (matchedParam.type === "string") {
89
89
  const nextVal = argv[i + 1];
90
90
  if (nextVal === undefined || nextVal.startsWith("-")) {
91
+ if (matchedParam.name === "proxy") {
92
+ options[camelName] = true;
93
+ continue;
94
+ }
91
95
  throw new Error(`Option ${arg} requires a value`);
92
96
  }
93
97
  options[camelName] = nextVal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "website-api",
3
- "version": "1.1.8",
3
+ "version": "1.1.9",
4
4
  "description": "CLI and library to query website private APIs with your real logged-in Chrome session",
5
5
  "main": "./dist/src/website-api.js",
6
6
  "types": "./dist/src/website-api.d.ts",