@webitel/chat-web-sdk 0.0.1 → 0.0.2
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/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
package/dist/index.js
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import * as qs2 from 'qs-esm';
|
|
1
2
|
import axios from 'axios';
|
|
2
3
|
import mitt from 'mitt';
|
|
3
4
|
|
|
@@ -7237,7 +7238,8 @@ var ServiceConfig = class {
|
|
|
7237
7238
|
this.baseUrl = baseUrl;
|
|
7238
7239
|
this.accessToken = accessToken;
|
|
7239
7240
|
this.axiosInstance = axios.create({
|
|
7240
|
-
baseURL: this.baseUrl
|
|
7241
|
+
baseURL: this.baseUrl,
|
|
7242
|
+
paramsSerializer: (params) => qs2.stringify(params, { allowDots: true })
|
|
7241
7243
|
});
|
|
7242
7244
|
this.setupAxiosTokenHandler();
|
|
7243
7245
|
}
|