ch-api-client-typescript2 5.1.7 → 5.1.8
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/lib/base.d.ts.map +1 -1
- package/lib/base.js +1 -1
- package/package.json +1 -1
- package/src/base.ts +1 -1
package/lib/base.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAoB,EAAgB,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAErF,eAAO,MAAM,SAAS,
|
|
1
|
+
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../src/base.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAGhD,OAAoB,EAAgB,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AAErF,eAAO,MAAM,SAAS,QAAyC,CAAC;AAEhE;;;GAGG;AACH,eAAO,MAAM,kBAAkB;;;;;CAK9B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,WAAW;IACxB,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,kBAAkB,CAAC;CAC/B;AAED;;;;GAIG;AACH,qBAAa,OAAO;IAG2B,SAAS,CAAC,QAAQ,EAAE,MAAM;IAAc,SAAS,CAAC,KAAK,EAAE,aAAa;IAFjH,SAAS,CAAC,aAAa,EAAE,aAAa,GAAG,SAAS,CAAC;gBAEvC,aAAa,CAAC,EAAE,aAAa,EAAY,QAAQ,GAAE,MAAkB,EAAY,KAAK,GAAE,aAA2B;CAMlI;AAED;;;;;GAKG;AACH,qBAAa,aAAc,SAAQ,KAAK;IAEjB,KAAK,EAAE,MAAM;IADhC,IAAI,EAAE,eAAe,CAAmB;gBACrB,KAAK,EAAE,MAAM,EAAE,GAAG,CAAC,EAAE,MAAM;CAGjD"}
|
package/lib/base.js
CHANGED
|
@@ -35,7 +35,7 @@ exports.RequiredError = exports.BaseAPI = exports.COLLECTION_FORMATS = exports.B
|
|
|
35
35
|
// Some imports not used depending on template conditions
|
|
36
36
|
// @ts-ignore
|
|
37
37
|
var axios_1 = __importDefault(require("axios"));
|
|
38
|
-
exports.BASE_PATH = "
|
|
38
|
+
exports.BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
39
39
|
/**
|
|
40
40
|
*
|
|
41
41
|
* @export
|
package/package.json
CHANGED
package/src/base.ts
CHANGED
|
@@ -18,7 +18,7 @@ import { Configuration } from "./configuration";
|
|
|
18
18
|
// @ts-ignore
|
|
19
19
|
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
20
20
|
|
|
21
|
-
export const BASE_PATH = "
|
|
21
|
+
export const BASE_PATH = "http://localhost".replace(/\/+$/, "");
|
|
22
22
|
|
|
23
23
|
/**
|
|
24
24
|
*
|