@quantcdn/quant-client 2.0.9 → 2.0.10

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.
@@ -244,9 +244,10 @@ class QuantClient {
244
244
  * The repsonse object.
245
245
  */
246
246
  delete: (payload) => __awaiter(this, void 0, void 0, function* () {
247
- return yield this._project.delete('delete/all', {}, {
247
+ const response = yield this._project.delete('delete/all', {}, {
248
248
  'Quant-Url': payload.url
249
249
  });
250
+ return yield response.first();
250
251
  }),
251
252
  /**
252
253
  * Get a revision from the API.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quantcdn/quant-client",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "Client library for API connectivity",
5
5
  "main": "dist/src/index.js",
6
6
  "types": "dist/src/index.d.ts",