sailpoint-api-client 1.3.3 → 1.3.5

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/v3/common.ts CHANGED
@@ -134,8 +134,12 @@ export const toPathString = function (url: URL) {
134
134
  export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxios: AxiosInstance, BASE_PATH: string, configuration?: Configuration) {
135
135
  return <T = unknown, R = AxiosResponse<T>>(axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
136
136
  axiosRetry(globalAxios, configuration.retriesConfig)
137
- axiosArgs.axiosOptions.headers['X-SailPoint-SDK'] = 'typescript-1.3.3'
138
- axiosArgs.axiosOptions.headers['User-Agent'] = 'OpenAPI-Generator/1.3.3/ts'
137
+ const headers = {
138
+ ...{'User-Agent':'OpenAPI-Generator/1.3.5/ts'},
139
+ ...axiosArgs.axiosOptions.headers,
140
+ ...{'X-SailPoint-SDK':'typescript-1.3.5'}
141
+ }
142
+ axiosArgs.axiosOptions.headers = headers
139
143
  const axiosRequestArgs = {...axiosArgs.axiosOptions, url: (configuration?.basePath + "/v3" || basePath) + axiosArgs.url};
140
144
  return axios.request<T, R>(axiosRequestArgs);
141
145
  };
package/v3/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sailpoint-sdk",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "OpenAPI client for sailpoint-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {