@pioneer-platform/thor-network 8.4.0 → 8.4.1
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/CHANGELOG.md +8 -0
- package/lib/index.d.ts +1 -0
- package/lib/index.js +2 -1
- package/package.json +11 -11
- package/tsconfig.json +2 -1
package/CHANGELOG.md
CHANGED
package/lib/index.d.ts
CHANGED
package/lib/index.js
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
const TAG = " | thorchain-api | ";
|
|
18
18
|
const prettyjson = require('prettyjson');
|
|
19
19
|
require("dotenv").config({ path: '../../../.env' });
|
|
20
|
-
const
|
|
20
|
+
const axiosLib = require('axios');
|
|
21
|
+
const Axios = axiosLib.default || axiosLib;
|
|
21
22
|
const https = require('https');
|
|
22
23
|
const axios = Axios.create({
|
|
23
24
|
httpsAgent: new https.Agent({
|
package/package.json
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pioneer-platform/thor-network",
|
|
3
|
-
"version": "8.4.
|
|
3
|
+
"version": "8.4.1",
|
|
4
4
|
"main": "./lib/index.js",
|
|
5
5
|
"types": "./lib/index.d.ts",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"create": "pnpm run build && pnpm run test",
|
|
8
|
+
"build": "tsc -p .",
|
|
9
|
+
"test": "pnpm run build && node __tests__/test-module.js",
|
|
10
|
+
"prepublish": "rm -R lib && pnpm run build",
|
|
11
|
+
"refresh": "rm -rf ./node_modules ./package-lock.json && pnpm install"
|
|
12
|
+
},
|
|
6
13
|
"dependencies": {
|
|
7
|
-
"@pioneer-platform/loggerdog": "^8.4.
|
|
14
|
+
"@pioneer-platform/loggerdog": "^8.4.1",
|
|
8
15
|
"axios": "^1.9.0",
|
|
9
16
|
"axios-retry": "^3.3.1",
|
|
10
17
|
"bech32": "^1.1.4",
|
|
@@ -21,12 +28,5 @@
|
|
|
21
28
|
"ts-node": "^8.10.2",
|
|
22
29
|
"typescript": "^5.0.4"
|
|
23
30
|
},
|
|
24
|
-
"gitHead": "aeae28273014ab69b42f22abec159c6693a56c40"
|
|
25
|
-
|
|
26
|
-
"create": "pnpm run build && pnpm run test",
|
|
27
|
-
"build": "tsc -p .",
|
|
28
|
-
"test": "pnpm run build && node __tests__/test-module.js",
|
|
29
|
-
"prepublish": "rm -R lib && pnpm run build",
|
|
30
|
-
"refresh": "rm -rf ./node_modules ./package-lock.json && pnpm install"
|
|
31
|
-
}
|
|
32
|
-
}
|
|
31
|
+
"gitHead": "aeae28273014ab69b42f22abec159c6693a56c40"
|
|
32
|
+
}
|
package/tsconfig.json
CHANGED
|
@@ -17,7 +17,8 @@
|
|
|
17
17
|
"esModuleInterop": true,
|
|
18
18
|
"resolveJsonModule": true,
|
|
19
19
|
"skipLibCheck": true,
|
|
20
|
-
"forceConsistentCasingInFileNames": true
|
|
20
|
+
"forceConsistentCasingInFileNames": true,
|
|
21
|
+
"types": ["node"]
|
|
21
22
|
},
|
|
22
23
|
"include": ["src"],
|
|
23
24
|
"exclude": ["node_modules", "**/__tests__/*"]
|