@nexgencloud/hyperstack-sdk-typescript 1.55.1-alpha → 1.55.6-alpha
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/README.md +2 -2
- package/api.ts +109 -1697
- package/common.ts +2 -2
- package/dist/api.d.ts +66 -1039
- package/dist/api.js +3100 -4191
- package/dist/common.js +2 -0
- package/dist/esm/api.d.ts +66 -1039
- package/dist/esm/api.js +2983 -4062
- package/dist/esm/common.js +2 -0
- package/dist/esm/hyperstackHeaders.d.ts +24 -0
- package/dist/esm/hyperstackHeaders.js +68 -0
- package/dist/hyperstackHeaders.d.ts +24 -0
- package/dist/hyperstackHeaders.js +72 -0
- package/hyperstackHeaders.ts +78 -0
- package/package.json +1 -1
package/dist/common.js
CHANGED
|
@@ -24,6 +24,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
25
|
exports.createRequestFunction = exports.toPathString = exports.serializeDataIfNeeded = exports.setSearchParams = exports.setOAuthToObject = exports.setBearerAuthToObject = exports.setBasicAuthToObject = exports.setApiKeyToObject = exports.assertParamExists = exports.DUMMY_BASE_URL = void 0;
|
|
26
26
|
const base_1 = require("./base");
|
|
27
|
+
const hyperstackHeaders_1 = require("./hyperstackHeaders");
|
|
27
28
|
/**
|
|
28
29
|
*
|
|
29
30
|
* @export
|
|
@@ -155,6 +156,7 @@ const createRequestFunction = function (axiosArgs, globalAxios, BASE_PATH, confi
|
|
|
155
156
|
return (axios = globalAxios, basePath = BASE_PATH) => {
|
|
156
157
|
var _a;
|
|
157
158
|
const axiosRequestArgs = Object.assign(Object.assign({}, axiosArgs.options), { url: (axios.defaults.baseURL ? '' : (_a = configuration === null || configuration === void 0 ? void 0 : configuration.basePath) !== null && _a !== void 0 ? _a : basePath) + axiosArgs.url });
|
|
159
|
+
(0, hyperstackHeaders_1.applyHyperstackHeaders)(axiosRequestArgs);
|
|
158
160
|
return axios.request(axiosRequestArgs);
|
|
159
161
|
};
|
|
160
162
|
};
|