@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.
- package/dist/centia-io-sdk.cjs +6 -3
- package/dist/centia-io-sdk.d.cts +7 -3
- package/dist/centia-io-sdk.d.cts.map +1 -1
- package/dist/centia-io-sdk.d.ts +7 -3
- package/dist/centia-io-sdk.d.ts.map +1 -1
- package/dist/centia-io-sdk.js +6 -3
- package/dist/centia-io-sdk.js.map +1 -1
- package/dist/centia-io-sdk.umd.js +6 -3
- package/package.json +1 -1
|
@@ -2693,11 +2693,14 @@
|
|
|
2693
2693
|
this.client = client;
|
|
2694
2694
|
}
|
|
2695
2695
|
async patchMetaData(body) {
|
|
2696
|
-
|
|
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
|
|