mobbdev 1.0.25 → 1.0.26

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.mjs +4 -2
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -4486,6 +4486,8 @@ var SubmitFixesBaseResponseMessageZ = z15.object({
4486
4486
  type: z15.enum([
4487
4487
  "InitialRepoAccessError",
4488
4488
  "PushBranchError",
4489
+ "AllFixesConflictWithTargetBranchError",
4490
+ "InternalFixConflictError",
4489
4491
  "UnknownError"
4490
4492
  ]),
4491
4493
  info: z15.object({
@@ -7570,8 +7572,8 @@ var GQLClient = class {
7570
7572
  params.subscribeToAnalysisParams,
7571
7573
  async (resolve, reject, data) => {
7572
7574
  if (!data.analysis?.state || data.analysis?.state === "Failed" /* Failed */) {
7573
- reject(data);
7574
- throw new Error(`Analysis failed with id: ${data.analysis?.id}`);
7575
+ reject(new Error(`Analysis failed with id: ${data.analysis?.id}`));
7576
+ return;
7575
7577
  }
7576
7578
  if (callbackStates.includes(data.analysis?.state)) {
7577
7579
  await params.callback(data.analysis.id);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "1.0.25",
3
+ "version": "1.0.26",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "git+https://github.com/mobb-dev/bugsy.git",
6
6
  "main": "dist/index.js",