@snapshot-labs/snapshot.js 0.11.12 → 0.11.13

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.
@@ -394,7 +394,7 @@ var Client = /** @class */ (function () {
394
394
  return resolve(res.json());
395
395
  throw res;
396
396
  })
397
- .catch(function (e) { return e.json().then(function (json) { return reject(json); }); });
397
+ .catch(function (e) { return reject(e); });
398
398
  })];
399
399
  });
400
400
  });
@@ -384,7 +384,7 @@ var Client = /** @class */ (function () {
384
384
  return resolve(res.json());
385
385
  throw res;
386
386
  })
387
- .catch(function (e) { return e.json().then(function (json) { return reject(json); }); });
387
+ .catch(function (e) { return reject(e); });
388
388
  })];
389
389
  });
390
390
  });