@evlop/commons 1.0.294 → 1.0.296
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/cjs/src/constants/index.d.ts +2 -2
- package/dist/cjs/src/constants/index.d.ts.map +1 -1
- package/dist/cjs/src/constants/index.js +2 -1
- package/dist/cjs/src/constants/index.js.map +1 -1
- package/dist/cjs/src/constants/platformSpecific.d.ts +4 -0
- package/dist/cjs/src/constants/platformSpecific.d.ts.map +1 -1
- package/dist/cjs/src/constants/platformSpecific.js +5 -1
- package/dist/cjs/src/constants/platformSpecific.js.map +1 -1
- package/dist/cjs/src/constants/platformSpecific.native.d.ts +4 -0
- package/dist/cjs/src/constants/platformSpecific.native.d.ts.map +1 -1
- package/dist/cjs/src/constants/platformSpecific.native.js +5 -1
- package/dist/cjs/src/constants/platformSpecific.native.js.map +1 -1
- package/dist/cjs/src/helpers/axiosClient.d.ts +5 -0
- package/dist/cjs/src/helpers/axiosClient.d.ts.map +1 -1
- package/dist/cjs/src/helpers/axiosClient.js +8 -7
- package/dist/cjs/src/helpers/axiosClient.js.map +1 -1
- package/dist/esm/src/constants/index.d.ts +2 -2
- package/dist/esm/src/constants/index.d.ts.map +1 -1
- package/dist/esm/src/constants/index.js +2 -2
- package/dist/esm/src/constants/index.js.map +1 -1
- package/dist/esm/src/constants/platformSpecific.d.ts +4 -0
- package/dist/esm/src/constants/platformSpecific.d.ts.map +1 -1
- package/dist/esm/src/constants/platformSpecific.js +4 -0
- package/dist/esm/src/constants/platformSpecific.js.map +1 -1
- package/dist/esm/src/constants/platformSpecific.native.d.ts +4 -0
- package/dist/esm/src/constants/platformSpecific.native.d.ts.map +1 -1
- package/dist/esm/src/constants/platformSpecific.native.js +4 -0
- package/dist/esm/src/constants/platformSpecific.native.js.map +1 -1
- package/dist/esm/src/helpers/axiosClient.d.ts +5 -0
- package/dist/esm/src/helpers/axiosClient.d.ts.map +1 -1
- package/dist/esm/src/helpers/axiosClient.js +7 -6
- package/dist/esm/src/helpers/axiosClient.js.map +1 -1
- package/dist/types/src/constants/index.d.ts +2 -2
- package/dist/types/src/constants/index.d.ts.map +1 -1
- package/dist/types/src/constants/platformSpecific.d.ts +4 -0
- package/dist/types/src/constants/platformSpecific.d.ts.map +1 -1
- package/dist/types/src/constants/platformSpecific.native.d.ts +4 -0
- package/dist/types/src/constants/platformSpecific.native.d.ts.map +1 -1
- package/dist/types/src/helpers/axiosClient.d.ts +5 -0
- package/dist/types/src/helpers/axiosClient.d.ts.map +1 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
1
|
+
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
2
2
|
import { CLIENT_TYPE } from './clientSpecific.app';
|
3
3
|
export declare const isNode: boolean;
|
4
4
|
export declare const IS_SSR: boolean;
|
@@ -10,6 +10,6 @@ export declare const VERTICAL_LAYOUT = "layout/vertical";
|
|
10
10
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
11
11
|
export declare const TYPE_COMPONENT = "type/component";
|
12
12
|
export declare const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
|
13
|
-
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
13
|
+
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
14
14
|
export { default as iconInfo, IconIdentifier, getIconInfo } from './iconInfo';
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,eAAO,MAAM,MAAM,SAAiC,CAAC;AAErD,eAAO,MAAM,MAAM,SAA0E,CAAC;AAE9F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAC,CAAA;AAE7G,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
@@ -3,12 +3,13 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.getIconInfo = exports.iconInfo = exports.CLIENT_TYPE = exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUILD_VERSION = exports.SOCKET_URL = exports.API_BASE_URL = exports.DATA_SOURCE_KEY_NAMESPACE = exports.TYPE_COMPONENT = exports.HORIZONTAL_LAYOUT = exports.VERTICAL_LAYOUT = exports.DIRECTION_LEFT = exports.DIRECTION_BOTTOM = exports.DIRECTION_RIGHT = exports.DIRECTION_TOP = exports.IS_SSR = exports.isNode = void 0;
|
6
|
+
exports.getIconInfo = exports.iconInfo = exports.CLIENT_TYPE = exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUNDLE_VERSION = exports.BUILD_VERSION = exports.SOCKET_URL = exports.API_BASE_URL = exports.DATA_SOURCE_KEY_NAMESPACE = exports.TYPE_COMPONENT = exports.HORIZONTAL_LAYOUT = exports.VERTICAL_LAYOUT = exports.DIRECTION_LEFT = exports.DIRECTION_BOTTOM = exports.DIRECTION_RIGHT = exports.DIRECTION_TOP = exports.IS_SSR = exports.isNode = void 0;
|
7
7
|
const platformSpecific_1 = require("./platformSpecific");
|
8
8
|
Object.defineProperty(exports, "PLATFORM_OS", { enumerable: true, get: function () { return platformSpecific_1.PLATFORM_OS; } });
|
9
9
|
Object.defineProperty(exports, "API_BASE_URL", { enumerable: true, get: function () { return platformSpecific_1.API_BASE_URL; } });
|
10
10
|
Object.defineProperty(exports, "SOCKET_URL", { enumerable: true, get: function () { return platformSpecific_1.SOCKET_URL; } });
|
11
11
|
Object.defineProperty(exports, "BUILD_VERSION", { enumerable: true, get: function () { return platformSpecific_1.BUILD_VERSION; } });
|
12
|
+
Object.defineProperty(exports, "BUNDLE_VERSION", { enumerable: true, get: function () { return platformSpecific_1.BUNDLE_VERSION; } });
|
12
13
|
Object.defineProperty(exports, "AXIOS_RETRY_COUNT", { enumerable: true, get: function () { return platformSpecific_1.AXIOS_RETRY_COUNT; } });
|
13
14
|
const clientSpecific_app_1 = require("./clientSpecific.app");
|
14
15
|
Object.defineProperty(exports, "CLIENT_TYPE", { enumerable: true, get: function () { return clientSpecific_app_1.CLIENT_TYPE; } });
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;AAAA,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":";;;;;;AAAA,yDAA6H;AAqBzC,4FArB3E,8BAAW,OAqB2E;AAAvF,6FArBc,+BAAY,OAqBd;AAAE,2FArBc,6BAAU,OAqBd;AAAE,8FArBc,gCAAa,OAqBd;AAAE,+FArBc,iCAAc,OAqBd;AAAE,kGArBc,oCAAiB,OAqBd;AApBlF,6DAAmD;AAoB8C,4FApBxF,gCAAW,OAoBwF;AAhB/F,QAAA,MAAM,GAAG,OAAO,OAAO,KAAK,WAAW,CAAC;AAExC,QAAA,MAAM,GAAG,cAAM,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAEjF,QAAA,aAAa,GAAG,eAAe,CAAC;AAChC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,gBAAgB,GAAG,kBAAkB,CAAC;AACtC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAGlC,QAAA,eAAe,GAAG,iBAAiB,CAAC;AACpC,QAAA,iBAAiB,GAAG,mBAAmB,CAAC;AAExC,QAAA,cAAc,GAAG,gBAAgB,CAAC;AAElC,QAAA,yBAAyB,GAAG,sCAAsC,CAAC;AAGhF,uCAA8E;AAArE,qHAAA,OAAO,OAAY;AAAkB,uGAAA,WAAW,OAAA"}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
export declare const API_BASE_URL: string;
|
2
2
|
export declare const SOCKET_URL: string;
|
3
|
+
/**
|
4
|
+
* @deprecated Use BUNDLE_VERSION instead
|
5
|
+
*/
|
3
6
|
export declare const BUILD_VERSION: string;
|
7
|
+
export declare const BUNDLE_VERSION: string;
|
4
8
|
export declare const AXIOS_RETRY_COUNT = 0;
|
5
9
|
export declare const PLATFORM_OS = "web";
|
6
10
|
//# sourceMappingURL=platformSpecific.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
1
|
+
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -1,9 +1,13 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUILD_VERSION = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
3
|
+
exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUNDLE_VERSION = exports.BUILD_VERSION = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
4
4
|
exports.API_BASE_URL = process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL;
|
5
5
|
exports.SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || exports.API_BASE_URL;
|
6
|
+
/**
|
7
|
+
* @deprecated Use BUNDLE_VERSION instead
|
8
|
+
*/
|
6
9
|
exports.BUILD_VERSION = process.env.BUILD_VERSION_CODE;
|
10
|
+
exports.BUNDLE_VERSION = process.env.BUILD_VERSION_CODE;
|
7
11
|
exports.AXIOS_RETRY_COUNT = 0;
|
8
12
|
exports.PLATFORM_OS = 'web';
|
9
13
|
//# sourceMappingURL=platformSpecific.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC9E,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":";;;AAAa,QAAA,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC9E,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AACrG;;GAEG;AACU,QAAA,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC/C,QAAA,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAChD,QAAA,iBAAiB,GAAG,CAAC,CAAC;AACtB,QAAA,WAAW,GAAG,KAAK,CAAC"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
export declare const API_BASE_URL: any;
|
2
2
|
export declare const SOCKET_URL: any;
|
3
3
|
export declare const APP_NAME: any;
|
4
|
+
/**
|
5
|
+
* @deprecated Use BUNDLE_VERSION instead
|
6
|
+
*/
|
4
7
|
export declare const BUILD_VERSION: string;
|
8
|
+
export declare const BUNDLE_VERSION: string;
|
5
9
|
export declare const AXIOS_RETRY_COUNT: number;
|
6
10
|
export declare const PLATFORM_OS: "web" | "android" | "windows" | "ios" | "macos";
|
7
11
|
//# sourceMappingURL=platformSpecific.native.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,QAAW,CAAC;AAC1C,eAAO,MAAM,WAAW,iDAAc,CAAC"}
|
@@ -1,12 +1,16 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUILD_VERSION = exports.APP_NAME = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
3
|
+
exports.PLATFORM_OS = exports.AXIOS_RETRY_COUNT = exports.BUNDLE_VERSION = exports.BUILD_VERSION = exports.APP_NAME = exports.SOCKET_URL = exports.API_BASE_URL = void 0;
|
4
4
|
const react_native_1 = require("react-native");
|
5
5
|
const { AppConstants } = react_native_1.NativeModules;
|
6
6
|
exports.API_BASE_URL = AppConstants.getApiBaseUrl() || (process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL);
|
7
7
|
exports.SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || exports.API_BASE_URL;
|
8
8
|
exports.APP_NAME = AppConstants.getAppName();
|
9
|
+
/**
|
10
|
+
* @deprecated Use BUNDLE_VERSION instead
|
11
|
+
*/
|
9
12
|
exports.BUILD_VERSION = process.env.BUILD_VERSION_CODE;
|
13
|
+
exports.BUNDLE_VERSION = process.env.BUILD_VERSION_CODE;
|
10
14
|
exports.AXIOS_RETRY_COUNT = Infinity;
|
11
15
|
exports.PLATFORM_OS = react_native_1.Platform.OS;
|
12
16
|
//# sourceMappingURL=platformSpecific.native.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":";;;AAAA,+CAAqD;AACrD,MAAM,EAAC,YAAY,EAAC,GAAG,4BAAa,CAAC;AAExB,QAAA,YAAY,GAAG,YAAY,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAChH,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AACxF,QAAA,QAAQ,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":";;;AAAA,+CAAqD;AACrD,MAAM,EAAC,YAAY,EAAC,GAAG,4BAAa,CAAC;AAExB,QAAA,YAAY,GAAG,YAAY,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAChH,QAAA,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,oBAAY,CAAC;AACxF,QAAA,QAAQ,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;AAElD;;GAEG;AACU,QAAA,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC/C,QAAA,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAChD,QAAA,iBAAiB,GAAG,QAAQ,CAAC;AAC7B,QAAA,WAAW,GAAG,uBAAQ,CAAC,EAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+
|
1
|
+
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,eAAO,MAAM,WAAW,+BAGtB,CAAC;AAOF,eAAe,WAAW,CAAC"}
|
@@ -3,17 +3,18 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
3
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
4
4
|
};
|
5
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
6
|
-
exports.axiosClient = void 0;
|
6
|
+
exports.axiosClient = exports.httpHeaders = void 0;
|
7
7
|
const axios_1 = __importDefault(require("axios"));
|
8
|
-
const constants_1 = require("../constants");
|
9
8
|
const axios_retry_1 = __importDefault(require("axios-retry"));
|
9
|
+
const constants_1 = require("../constants");
|
10
|
+
exports.httpHeaders = {
|
11
|
+
'x-platform-os': constants_1.PLATFORM_OS,
|
12
|
+
'x-bundle-version': constants_1.BUNDLE_VERSION,
|
13
|
+
'x-client-type': constants_1.CLIENT_TYPE
|
14
|
+
};
|
10
15
|
exports.axiosClient = axios_1.default.create({
|
11
16
|
baseURL: constants_1.API_BASE_URL || '/api',
|
12
|
-
headers:
|
13
|
-
'x-platform-os': constants_1.PLATFORM_OS,
|
14
|
-
'x-bundle-version': constants_1.BUILD_VERSION,
|
15
|
-
'x-client-type': constants_1.CLIENT_TYPE
|
16
|
-
}
|
17
|
+
headers: exports.httpHeaders,
|
17
18
|
});
|
18
19
|
axios_retry_1.default(exports.axiosClient, {
|
19
20
|
retries: constants_1.AXIOS_RETRY_COUNT,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,
|
1
|
+
{"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":";;;;;;AAAA,kDAA0B;AAC1B,8DAAqC;AACrC,4CAAyG;AAE5F,QAAA,WAAW,GAAG;IACvB,eAAe,EAAE,uBAAW;IAC5B,kBAAkB,EAAE,0BAAc;IAClC,eAAe,EAAE,uBAAW;CAC/B,CAAA;AAEY,QAAA,WAAW,GAAG,eAAK,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,wBAAY,IAAI,MAAM;IAC/B,OAAO,EAAE,mBAAW;CACvB,CAAC,CAAC;AAEH,qBAAU,CAAC,mBAAW,EAAE;IACpB,OAAO,EAAE,6BAAiB;IAC1B,UAAU,EAAE,CAAC,WAAW,EAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,qBAAU,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;CACvF,CAAC,CAAC;AAEH,kBAAe,mBAAW,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
1
|
+
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
2
2
|
import { CLIENT_TYPE } from './clientSpecific.app';
|
3
3
|
export declare const isNode: boolean;
|
4
4
|
export declare const IS_SSR: boolean;
|
@@ -10,6 +10,6 @@ export declare const VERTICAL_LAYOUT = "layout/vertical";
|
|
10
10
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
11
11
|
export declare const TYPE_COMPONENT = "type/component";
|
12
12
|
export declare const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
|
13
|
-
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
13
|
+
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
14
14
|
export { default as iconInfo, IconIdentifier, getIconInfo } from './iconInfo';
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,eAAO,MAAM,MAAM,SAAiC,CAAC;AAErD,eAAO,MAAM,MAAM,SAA0E,CAAC;AAE9F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAC,CAAA;AAE7G,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
1
|
+
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
2
2
|
import { CLIENT_TYPE } from './clientSpecific.app';
|
3
3
|
export const isNode = typeof process !== 'undefined';
|
4
4
|
export const IS_SSR = isNode && ['true', '1'].includes(String(process.env.SSR).toLowerCase());
|
@@ -10,6 +10,6 @@ export const VERTICAL_LAYOUT = 'layout/vertical';
|
|
10
10
|
export const HORIZONTAL_LAYOUT = 'layout/horizontal';
|
11
11
|
export const TYPE_COMPONENT = "type/component";
|
12
12
|
export const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
|
13
|
-
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
13
|
+
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
14
14
|
export { default as iconInfo, getIconInfo } from './iconInfo';
|
15
15
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,MAAM,CAAC,MAAM,MAAM,GAAG,OAAO,OAAO,KAAK,WAAW,CAAC;AAErD,MAAM,CAAC,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,QAAQ,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;AAE9F,MAAM,CAAC,MAAM,aAAa,GAAG,eAAe,CAAC;AAC7C,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,gBAAgB,GAAG,kBAAkB,CAAC;AACnD,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAG/C,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AACjD,MAAM,CAAC,MAAM,iBAAiB,GAAG,mBAAmB,CAAC;AAErD,MAAM,CAAC,MAAM,cAAc,GAAG,gBAAgB,CAAC;AAE/C,MAAM,CAAC,MAAM,yBAAyB,GAAG,sCAAsC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAC,CAAA;AAE7G,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAkB,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
export declare const API_BASE_URL: string;
|
2
2
|
export declare const SOCKET_URL: string;
|
3
|
+
/**
|
4
|
+
* @deprecated Use BUNDLE_VERSION instead
|
5
|
+
*/
|
3
6
|
export declare const BUILD_VERSION: string;
|
7
|
+
export declare const BUNDLE_VERSION: string;
|
4
8
|
export declare const AXIOS_RETRY_COUNT = 0;
|
5
9
|
export declare const PLATFORM_OS = "web";
|
6
10
|
//# sourceMappingURL=platformSpecific.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
1
|
+
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
export const API_BASE_URL = process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL;
|
2
2
|
export const SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || API_BASE_URL;
|
3
|
+
/**
|
4
|
+
* @deprecated Use BUNDLE_VERSION instead
|
5
|
+
*/
|
3
6
|
export const BUILD_VERSION = process.env.BUILD_VERSION_CODE;
|
7
|
+
export const BUNDLE_VERSION = process.env.BUILD_VERSION_CODE;
|
4
8
|
export const AXIOS_RETRY_COUNT = 0;
|
5
9
|
export const PLATFORM_OS = 'web';
|
6
10
|
//# sourceMappingURL=platformSpecific.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC3F,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,YAAY,CAAC;AACrG,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC5D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AACnC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC"}
|
1
|
+
{"version":3,"file":"platformSpecific.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,MAAM,YAAY,GAAG,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC;AAC3F,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,YAAY,CAAC;AACrG;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC5D,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,CAAC;AACnC,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
export declare const API_BASE_URL: any;
|
2
2
|
export declare const SOCKET_URL: any;
|
3
3
|
export declare const APP_NAME: any;
|
4
|
+
/**
|
5
|
+
* @deprecated Use BUNDLE_VERSION instead
|
6
|
+
*/
|
4
7
|
export declare const BUILD_VERSION: string;
|
8
|
+
export declare const BUNDLE_VERSION: string;
|
5
9
|
export declare const AXIOS_RETRY_COUNT: number;
|
6
10
|
export declare const PLATFORM_OS: "web" | "android" | "windows" | "ios" | "macos";
|
7
11
|
//# sourceMappingURL=platformSpecific.native.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,QAAW,CAAC;AAC1C,eAAO,MAAM,WAAW,iDAAc,CAAC"}
|
@@ -3,7 +3,11 @@ const { AppConstants } = NativeModules;
|
|
3
3
|
export const API_BASE_URL = AppConstants.getApiBaseUrl() || (process.env.API_BASE_URL || process.env.REACT_APP_API_BASE_URL);
|
4
4
|
export const SOCKET_URL = process.env.SOCKET_URL || process.env.REACT_APP_SOCKET_URL || API_BASE_URL;
|
5
5
|
export const APP_NAME = AppConstants.getAppName();
|
6
|
+
/**
|
7
|
+
* @deprecated Use BUNDLE_VERSION instead
|
8
|
+
*/
|
6
9
|
export const BUILD_VERSION = process.env.BUILD_VERSION_CODE;
|
10
|
+
export const BUNDLE_VERSION = process.env.BUILD_VERSION_CODE;
|
7
11
|
export const AXIOS_RETRY_COUNT = Infinity;
|
8
12
|
export const PLATFORM_OS = Platform.OS;
|
9
13
|
//# sourceMappingURL=platformSpecific.native.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAC;AACrD,MAAM,EAAC,YAAY,EAAC,GAAG,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAC7H,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,YAAY,CAAC;AACrG,MAAM,CAAC,MAAM,QAAQ,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.js","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAE,QAAQ,EAAC,MAAM,cAAc,CAAC;AACrD,MAAM,EAAC,YAAY,EAAC,GAAG,aAAa,CAAC;AAErC,MAAM,CAAC,MAAM,YAAY,GAAG,YAAY,CAAC,aAAa,EAAE,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,YAAY,IAAI,OAAO,CAAC,GAAG,CAAC,sBAAsB,CAAC,CAAC;AAC7H,MAAM,CAAC,MAAM,UAAU,GAAG,OAAO,CAAC,GAAG,CAAC,UAAU,IAAI,OAAO,CAAC,GAAG,CAAC,oBAAoB,IAAI,YAAY,CAAC;AACrG,MAAM,CAAC,MAAM,QAAQ,GAAG,YAAY,CAAC,UAAU,EAAE,CAAC;AAElD;;GAEG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC5D,MAAM,CAAC,MAAM,cAAc,GAAG,OAAO,CAAC,GAAG,CAAC,kBAAkB,CAAC;AAC7D,MAAM,CAAC,MAAM,iBAAiB,GAAG,QAAQ,CAAC;AAC1C,MAAM,CAAC,MAAM,WAAW,GAAG,QAAQ,CAAC,EAAE,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+
|
1
|
+
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,eAAO,MAAM,WAAW,+BAGtB,CAAC;AAOF,eAAe,WAAW,CAAC"}
|
@@ -1,13 +1,14 @@
|
|
1
1
|
import Axios from "axios";
|
2
|
-
import { API_BASE_URL, AXIOS_RETRY_COUNT, BUILD_VERSION, CLIENT_TYPE, PLATFORM_OS } from "../constants";
|
3
2
|
import axiosRetry from "axios-retry";
|
3
|
+
import { API_BASE_URL, AXIOS_RETRY_COUNT, BUNDLE_VERSION, CLIENT_TYPE, PLATFORM_OS } from "../constants";
|
4
|
+
export const httpHeaders = {
|
5
|
+
'x-platform-os': PLATFORM_OS,
|
6
|
+
'x-bundle-version': BUNDLE_VERSION,
|
7
|
+
'x-client-type': CLIENT_TYPE
|
8
|
+
};
|
4
9
|
export const axiosClient = Axios.create({
|
5
10
|
baseURL: API_BASE_URL || '/api',
|
6
|
-
headers:
|
7
|
-
'x-platform-os': PLATFORM_OS,
|
8
|
-
'x-bundle-version': BUILD_VERSION,
|
9
|
-
'x-client-type': CLIENT_TYPE
|
10
|
-
}
|
11
|
+
headers: httpHeaders,
|
11
12
|
});
|
12
13
|
axiosRetry(axiosClient, {
|
13
14
|
retries: AXIOS_RETRY_COUNT,
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,
|
1
|
+
{"version":3,"file":"axiosClient.js","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,UAAU,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,YAAY,EAAE,iBAAiB,EAAE,cAAc,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAEzG,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,eAAe,EAAE,WAAW;IAC5B,kBAAkB,EAAE,cAAc;IAClC,eAAe,EAAE,WAAW;CAC/B,CAAA;AAED,MAAM,CAAC,MAAM,WAAW,GAAG,KAAK,CAAC,MAAM,CAAC;IACpC,OAAO,EAAE,YAAY,IAAI,MAAM;IAC/B,OAAO,EAAE,WAAW;CACvB,CAAC,CAAC;AAEH,UAAU,CAAC,WAAW,EAAE;IACpB,OAAO,EAAE,iBAAiB;IAC1B,UAAU,EAAE,CAAC,WAAW,EAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,KAAK,EAAE,UAAU,CAAC,gBAAgB,CAAC,WAAW,CAAC,CAAC;CACvF,CAAC,CAAC;AAEH,eAAe,WAAW,CAAC"}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
1
|
+
import { PLATFORM_OS, API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT } from './platformSpecific';
|
2
2
|
import { CLIENT_TYPE } from './clientSpecific.app';
|
3
3
|
export declare const isNode: boolean;
|
4
4
|
export declare const IS_SSR: boolean;
|
@@ -10,6 +10,6 @@ export declare const VERTICAL_LAYOUT = "layout/vertical";
|
|
10
10
|
export declare const HORIZONTAL_LAYOUT = "layout/horizontal";
|
11
11
|
export declare const TYPE_COMPONENT = "type/component";
|
12
12
|
export declare const DATA_SOURCE_KEY_NAMESPACE = "a0aec1c8-4fed-4d5d-b399-504887b3b8e4";
|
13
|
-
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
13
|
+
export { API_BASE_URL, SOCKET_URL, BUILD_VERSION, BUNDLE_VERSION, AXIOS_RETRY_COUNT, PLATFORM_OS, CLIENT_TYPE };
|
14
14
|
export { default as iconInfo, IconIdentifier, getIconInfo } from './iconInfo';
|
15
15
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/constants/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AAC7H,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAInD,eAAO,MAAM,MAAM,SAAiC,CAAC;AAErD,eAAO,MAAM,MAAM,SAA0E,CAAC;AAE9F,eAAO,MAAM,aAAa,kBAAkB,CAAC;AAC7C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,gBAAgB,qBAAqB,CAAC;AACnD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAG/C,eAAO,MAAM,eAAe,oBAAoB,CAAC;AACjD,eAAO,MAAM,iBAAiB,sBAAsB,CAAC;AAErD,eAAO,MAAM,cAAc,mBAAmB,CAAC;AAE/C,eAAO,MAAM,yBAAyB,yCAAyC,CAAC;AAChF,OAAO,EAAC,YAAY,EAAE,UAAU,EAAE,aAAa,EAAE,cAAc,EAAE,iBAAiB,EAAE,WAAW,EAAE,WAAW,EAAC,CAAA;AAE7G,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC"}
|
@@ -1,6 +1,10 @@
|
|
1
1
|
export declare const API_BASE_URL: string;
|
2
2
|
export declare const SOCKET_URL: string;
|
3
|
+
/**
|
4
|
+
* @deprecated Use BUNDLE_VERSION instead
|
5
|
+
*/
|
3
6
|
export declare const BUILD_VERSION: string;
|
7
|
+
export declare const BUNDLE_VERSION: string;
|
4
8
|
export declare const AXIOS_RETRY_COUNT = 0;
|
5
9
|
export declare const PLATFORM_OS = "web";
|
6
10
|
//# sourceMappingURL=platformSpecific.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
1
|
+
{"version":3,"file":"platformSpecific.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,YAAY,QAAiE,CAAC;AAC3F,eAAO,MAAM,UAAU,QAA6E,CAAC;AACrG;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,IAAI,CAAC;AACnC,eAAO,MAAM,WAAW,QAAQ,CAAC"}
|
@@ -1,7 +1,11 @@
|
|
1
1
|
export declare const API_BASE_URL: any;
|
2
2
|
export declare const SOCKET_URL: any;
|
3
3
|
export declare const APP_NAME: any;
|
4
|
+
/**
|
5
|
+
* @deprecated Use BUNDLE_VERSION instead
|
6
|
+
*/
|
4
7
|
export declare const BUILD_VERSION: string;
|
8
|
+
export declare const BUNDLE_VERSION: string;
|
5
9
|
export declare const AXIOS_RETRY_COUNT: number;
|
6
10
|
export declare const PLATFORM_OS: "web" | "android" | "windows" | "ios" | "macos";
|
7
11
|
//# sourceMappingURL=platformSpecific.native.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;
|
1
|
+
{"version":3,"file":"platformSpecific.native.d.ts","sourceRoot":"","sources":["../../../../src/constants/platformSpecific.native.ts"],"names":[],"mappings":"AAGA,eAAO,MAAM,YAAY,KAAmG,CAAC;AAC7H,eAAO,MAAM,UAAU,KAA6E,CAAC;AACrG,eAAO,MAAM,QAAQ,KAA4B,CAAC;AAElD;;GAEG;AACH,eAAO,MAAM,aAAa,QAAiC,CAAC;AAC5D,eAAO,MAAM,cAAc,QAAiC,CAAC;AAC7D,eAAO,MAAM,iBAAiB,QAAW,CAAC;AAC1C,eAAO,MAAM,WAAW,iDAAc,CAAC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW,+
|
1
|
+
{"version":3,"file":"axiosClient.d.ts","sourceRoot":"","sources":["../../../../src/helpers/axiosClient.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,WAAW;;;;CAIvB,CAAA;AAED,eAAO,MAAM,WAAW,+BAGtB,CAAC;AAOF,eAAe,WAAW,CAAC"}
|