@qite/tide-client 1.1.15 → 1.1.16
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/build/index.js +2 -1
- package/build/index.js.map +1 -1
- package/package.json +6 -2
- package/src/utils/api.ts +1 -0
- package/src/utils/web-agent-client.ts +3 -2
package/build/index.js
CHANGED
|
@@ -275,6 +275,7 @@ var get$1 = function (url, apiKey, signal) {
|
|
|
275
275
|
fetch(url, {
|
|
276
276
|
method: "GET",
|
|
277
277
|
headers: {
|
|
278
|
+
"Content-Type": "application/json",
|
|
278
279
|
"Api-Key": apiKey,
|
|
279
280
|
},
|
|
280
281
|
credentials: "include",
|
|
@@ -6438,7 +6439,7 @@ var print = function (config, request, signal) {
|
|
|
6438
6439
|
var url = "" + config.host + ENDPOINT_PRINT;
|
|
6439
6440
|
var apiKey = config.apiKey;
|
|
6440
6441
|
var body = JSON.stringify(request);
|
|
6441
|
-
return post(url, apiKey, body, signal
|
|
6442
|
+
return post$1(url, apiKey, body, signal);
|
|
6442
6443
|
};
|
|
6443
6444
|
|
|
6444
6445
|
var ENDPOINT$2 = "/api/web";
|