@seamapi/http 1.13.0 → 1.14.0

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/connect.cjs CHANGED
@@ -523,7 +523,7 @@ var isApiErrorResponse = (response) => {
523
523
  return false;
524
524
  }
525
525
  if (typeof data === "object" && data != null) {
526
- return "error" in data && typeof data.error === "object" && data.error != null && "type" in data.error && typeof data.error.type === "string";
526
+ return "error" in data && typeof data.error === "object" && data.error != null && "type" in data.error && typeof data.error.type === "string" && "message" in data.error && typeof data.error.message === "string";
527
527
  }
528
528
  return false;
529
529
  };
@@ -2546,7 +2546,7 @@ var SeamHttpAcsEncoders = class _SeamHttpAcsEncoders {
2546
2546
  path: "/acs/encoders/list",
2547
2547
  method: "post",
2548
2548
  body,
2549
- responseKey: "devices"
2549
+ responseKey: "acs_encoders"
2550
2550
  });
2551
2551
  }
2552
2552
  scanCredential(body, options = {}) {