itrm-tools 1.0.30 → 1.0.31
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.
|
@@ -15,7 +15,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
15
15
|
exports.RequestAxiosCall = void 0;
|
|
16
16
|
const axios_1 = __importDefault(require("axios"));
|
|
17
17
|
const axios_retry_1 = __importDefault(require("axios-retry"));
|
|
18
|
-
(0, axios_retry_1.default)(axios_1.default, { retries: 3 });
|
|
18
|
+
(0, axios_retry_1.default)(axios_1.default, { retries: 3, retryDelay: (retryCount) => { return 2000; } });
|
|
19
19
|
class RequestAxiosCall {
|
|
20
20
|
static get(url, config) {
|
|
21
21
|
return __awaiter(this, void 0, void 0, function* () {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestAxiosCall.js","sourceRoot":"","sources":["../../../src/api/request/RequestAxiosCall.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAkD;AAClD,8DAAqC;AAErC,IAAA,qBAAU,EAAC,eAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"RequestAxiosCall.js","sourceRoot":"","sources":["../../../src/api/request/RequestAxiosCall.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,kDAAkD;AAClD,8DAAqC;AAErC,IAAA,qBAAU,EAAC,eAAK,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,UAAU,EAAE,CAAC,UAAU,EAAE,EAAE,GAAG,OAAO,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AAEhF,MAAa,gBAAgB;IAClB,MAAM,CAAO,GAAG,CAAC,GAAW,EAAE,MAAgC;;YACjE,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACnC,eAAK,CAAC,GAAG,CAAC,GAAG,EAAE,MAAM,aAAN,MAAM,cAAN,MA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AC;qBAC5C,KAAK,CAAC,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA,CAAC,CAAC,CAAC,CAAC;YACnC,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;IAEM,MAAM,CAAO,MAAM,CAAC,GAAW,EAAE,MAA2B;;YAC/D,OAAO,IAAI,OAAO,CAAC,CAAC,OAAO,EAAE,MAAM,EAAE,EAAE;gBACnC,eAAK,CAAC,MAAM,CAAC,GAAG,EAAE,MAAM,aAAN,MAAM,cAAN,MAAM,GAAI,EAAE,OAAO,EAAE,EAAE,cAAc,EAAE,kBAAkB,EAAE,EAAE,CAAC;qBAC/E,IAAI,CAAC,QAAQ,CAAC,EAAE,GAAG,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAA,CAAC,CAAC,CAAC;qBAC5C,KAAK,CAAC,GAAG,CAAC,EAAE,GAAG,MAAM,CAAC,GAAG,CAAC,CAAA,CAAC,CAAC,CAAC,CAAC;YACnC,CAAC,CAAC,CAAC;QACP,CAAC;KAAA;CACJ;AAhCD,4CAgCC"}
|
package/package.json
CHANGED
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "itrm-tools",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
5
|
-
"main": "dist/index.js",
|
|
6
|
-
"types": "dist/index.d.ts",
|
|
7
|
-
"files": [
|
|
8
|
-
"/dist"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"build": "rimraf ./dist && tsc --skipLibCheck",
|
|
12
|
-
"publish-lib": "npm run build && npm publish",
|
|
13
|
-
"publish-beta": "npm run build && npm publish --tag beta",
|
|
14
|
-
"publish-dryrun": "npm run build && npm publish --dry-run",
|
|
15
|
-
"link": "npm run build && npm link",
|
|
16
|
-
"test": "npm run build && jest --runInBand --detectOpenHandles",
|
|
17
|
-
"test-silent": "npm run build && jest --runInBand --detectOpenHandles --silent",
|
|
18
|
-
"test-coverage": "npm run build && jest --runInBand --detectOpenHandles --silent --coverage"
|
|
19
|
-
},
|
|
20
|
-
"repository": {
|
|
21
|
-
"type": "git",
|
|
22
|
-
"url": "git+https://github.com/ITRMachines/itrm-tools.git"
|
|
23
|
-
},
|
|
24
|
-
"keywords": [],
|
|
25
|
-
"author": "",
|
|
26
|
-
"license": "ISC",
|
|
27
|
-
"bugs": {
|
|
28
|
-
"url": "https://github.com/ITRMachines/itrm-tools/issues"
|
|
29
|
-
},
|
|
30
|
-
"homepage": "https://github.com/ITRMachines/itrm-tools#readme",
|
|
31
|
-
"devDependencies": {
|
|
32
|
-
"@types/jest": "^29.2.5",
|
|
33
|
-
"@types/node": "^18.11.18",
|
|
34
|
-
"@types/uuid": "^9.0.0",
|
|
35
|
-
"axios-mock-adapter": "^1.21.2",
|
|
36
|
-
"jest": "^29.3.1",
|
|
37
|
-
"mongodb-memory-server": "^8.11.1",
|
|
38
|
-
"rimraf": "^3.0.2",
|
|
39
|
-
"sqlite3": "^5.1.4",
|
|
40
|
-
"ts-jest": "^29.0.3",
|
|
41
|
-
"typescript": "^4.9.4",
|
|
42
|
-
"uuid": "^9.0.0"
|
|
43
|
-
},
|
|
44
|
-
"dependencies": {
|
|
45
|
-
"@sequelize/core": "^7.0.0-alpha.10",
|
|
46
|
-
"@types/cors": "^2.8.13",
|
|
47
|
-
"@types/express": "^4.17.15",
|
|
48
|
-
"@types/ws": "^8.5.4",
|
|
49
|
-
"axios": "^1.2.2",
|
|
50
|
-
"axios-retry": "^3.4.0",
|
|
51
|
-
"cors": "^2.8.5",
|
|
52
|
-
"express": "^4.18.2",
|
|
53
|
-
"https": "^1.0.0",
|
|
54
|
-
"mongoose": "^6.9.1",
|
|
55
|
-
"pg": "^8.8.0",
|
|
56
|
-
"pg-hstore": "^2.3.4",
|
|
57
|
-
"redis": "^4.5.1",
|
|
58
|
-
"ws": "^8.12.0"
|
|
59
|
-
}
|
|
60
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "itrm-tools",
|
|
3
|
+
"version": "1.0.31",
|
|
4
|
+
"description": "",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"files": [
|
|
8
|
+
"/dist"
|
|
9
|
+
],
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "rimraf ./dist && tsc --skipLibCheck",
|
|
12
|
+
"publish-lib": "npm run build && npm publish",
|
|
13
|
+
"publish-beta": "npm run build && npm publish --tag beta",
|
|
14
|
+
"publish-dryrun": "npm run build && npm publish --dry-run",
|
|
15
|
+
"link": "npm run build && npm link",
|
|
16
|
+
"test": "npm run build && jest --runInBand --detectOpenHandles",
|
|
17
|
+
"test-silent": "npm run build && jest --runInBand --detectOpenHandles --silent",
|
|
18
|
+
"test-coverage": "npm run build && jest --runInBand --detectOpenHandles --silent --coverage"
|
|
19
|
+
},
|
|
20
|
+
"repository": {
|
|
21
|
+
"type": "git",
|
|
22
|
+
"url": "git+https://github.com/ITRMachines/itrm-tools.git"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [],
|
|
25
|
+
"author": "",
|
|
26
|
+
"license": "ISC",
|
|
27
|
+
"bugs": {
|
|
28
|
+
"url": "https://github.com/ITRMachines/itrm-tools/issues"
|
|
29
|
+
},
|
|
30
|
+
"homepage": "https://github.com/ITRMachines/itrm-tools#readme",
|
|
31
|
+
"devDependencies": {
|
|
32
|
+
"@types/jest": "^29.2.5",
|
|
33
|
+
"@types/node": "^18.11.18",
|
|
34
|
+
"@types/uuid": "^9.0.0",
|
|
35
|
+
"axios-mock-adapter": "^1.21.2",
|
|
36
|
+
"jest": "^29.3.1",
|
|
37
|
+
"mongodb-memory-server": "^8.11.1",
|
|
38
|
+
"rimraf": "^3.0.2",
|
|
39
|
+
"sqlite3": "^5.1.4",
|
|
40
|
+
"ts-jest": "^29.0.3",
|
|
41
|
+
"typescript": "^4.9.4",
|
|
42
|
+
"uuid": "^9.0.0"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@sequelize/core": "^7.0.0-alpha.10",
|
|
46
|
+
"@types/cors": "^2.8.13",
|
|
47
|
+
"@types/express": "^4.17.15",
|
|
48
|
+
"@types/ws": "^8.5.4",
|
|
49
|
+
"axios": "^1.2.2",
|
|
50
|
+
"axios-retry": "^3.4.0",
|
|
51
|
+
"cors": "^2.8.5",
|
|
52
|
+
"express": "^4.18.2",
|
|
53
|
+
"https": "^1.0.0",
|
|
54
|
+
"mongoose": "^6.9.1",
|
|
55
|
+
"pg": "^8.8.0",
|
|
56
|
+
"pg-hstore": "^2.3.4",
|
|
57
|
+
"redis": "^4.5.1",
|
|
58
|
+
"ws": "^8.12.0"
|
|
59
|
+
}
|
|
60
|
+
}
|