@forvibe/cli 1.0.1 → 1.0.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.
Files changed (2) hide show
  1. package/dist/index.js +6 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1896,10 +1896,14 @@ var ForvibeClient = class {
1896
1896
  } catch {
1897
1897
  }
1898
1898
  if (response.status === 401) {
1899
- throw new Error("Session expired. Please generate a new connection code.");
1899
+ throw new Error(
1900
+ errorMessage || "Session expired. Please generate a new connection code."
1901
+ );
1900
1902
  }
1901
1903
  if (response.status === 409) {
1902
- throw new Error("Report has already been submitted for this session.");
1904
+ throw new Error(
1905
+ errorMessage || "Report has already been submitted for this session."
1906
+ );
1903
1907
  }
1904
1908
  if (response.status === 413) {
1905
1909
  throw new Error("Report too large. Try reducing the number of screenshots.");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@forvibe/cli",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "Forvibe CLI - AI-powered project analyzer for App Store automation",
5
5
  "type": "module",
6
6
  "bin": {