@mx-space/api-client 1.14.3 → 1.15.0
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.cjs +1 -1
- package/dist/index.global.js +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -999,7 +999,7 @@ var HTTPClient = class {
|
|
|
999
999
|
this._endpoint = _endpoint;
|
|
1000
1000
|
this._adaptor = _adaptor;
|
|
1001
1001
|
this.options = options;
|
|
1002
|
-
this._endpoint = _endpoint.replace(/\/*$/, "")
|
|
1002
|
+
this._endpoint = _endpoint.replace(/\/*$/, "");
|
|
1003
1003
|
this._proxy = this.buildRoute(this)();
|
|
1004
1004
|
options.transformResponse || (options.transformResponse = (data) => camelcaseKeys(data));
|
|
1005
1005
|
options.getDataFromResponse || (options.getDataFromResponse = (res) => res.data);
|
package/dist/index.global.js
CHANGED
|
@@ -934,7 +934,7 @@
|
|
|
934
934
|
this._endpoint = _endpoint;
|
|
935
935
|
this._adaptor = _adaptor;
|
|
936
936
|
this.options = options;
|
|
937
|
-
this._endpoint = _endpoint.replace(/\/*$/, "")
|
|
937
|
+
this._endpoint = _endpoint.replace(/\/*$/, "");
|
|
938
938
|
this._proxy = this.buildRoute(this)();
|
|
939
939
|
options.transformResponse || (options.transformResponse = (data) => camelcaseKeys(data));
|
|
940
940
|
options.getDataFromResponse || (options.getDataFromResponse = (res) => res.data);
|
package/dist/index.js
CHANGED
|
@@ -932,7 +932,7 @@ var HTTPClient = class {
|
|
|
932
932
|
this._endpoint = _endpoint;
|
|
933
933
|
this._adaptor = _adaptor;
|
|
934
934
|
this.options = options;
|
|
935
|
-
this._endpoint = _endpoint.replace(/\/*$/, "")
|
|
935
|
+
this._endpoint = _endpoint.replace(/\/*$/, "");
|
|
936
936
|
this._proxy = this.buildRoute(this)();
|
|
937
937
|
options.transformResponse || (options.transformResponse = (data) => camelcaseKeys(data));
|
|
938
938
|
options.getDataFromResponse || (options.getDataFromResponse = (res) => res.data);
|