@pioneer-platform/thor-network 8.4.0 → 8.5.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/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @pioneer-platform/thor-network
2
2
 
3
+ ## 8.5.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Automated minor version bump for all packages
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @pioneer-platform/loggerdog@8.5.0
13
+
14
+ ## 8.4.1
15
+
16
+ ### Patch Changes
17
+
18
+ - Automated patch version bump for all packages
19
+ - Updated dependencies
20
+ - @pioneer-platform/loggerdog@8.4.1
21
+
3
22
  ## 8.4.0
4
23
 
5
24
  ### Minor Changes
package/lib/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  declare const TAG = " | thorchain-api | ";
2
2
  declare const prettyjson: any;
3
+ declare const axiosLib: any;
3
4
  declare const Axios: any;
4
5
  declare const https: any;
5
6
  declare const axios: any;
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 Axios = require('axios');
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.0",
3
+ "version": "8.5.0",
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.0",
14
+ "@pioneer-platform/loggerdog": "^8.5.0",
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
- "scripts": {
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__/*"]