@centia-io/sdk 0.2.2 → 0.2.4

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.
@@ -2693,11 +2693,14 @@
2693
2693
  this.client = client;
2694
2694
  }
2695
2695
  async patchMetaData(body) {
2696
- return this.client.request({
2696
+ var _this = this;
2697
+ var _res$getHeader;
2698
+ return { location: (_res$getHeader = (await _this.client.requestFull({
2697
2699
  path: "api/v4/meta",
2698
2700
  method: "PATCH",
2699
- body
2700
- });
2701
+ body,
2702
+ expectedStatus: 303
2703
+ })).getHeader("Location")) !== null && _res$getHeader !== void 0 ? _res$getHeader : "" };
2701
2704
  }
2702
2705
  };
2703
2706
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@centia-io/sdk",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "Centia-io TypeScript SDK",
5
5
  "author": "Martin Høgh",
6
6
  "license": "MIT",