sdk-triggerx 0.1.21 → 0.1.22

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.
Files changed (2) hide show
  1. package/dist/client.js +1 -1
  2. package/package.json +1 -1
package/dist/client.js CHANGED
@@ -12,7 +12,7 @@ class TriggerXClient {
12
12
  this.client = axios_1.default.create({
13
13
  baseURL: 'https://data.triggerx.network', //'http://localhost:9002', //'https://data.triggerx.network',
14
14
  headers: { 'Authorization': `Bearer ${this.apiKey}` }, // Set the API key here
15
- timeout: 30000, // 30 second timeout
15
+ timeout: 120000, // 120 second timeout
16
16
  ...config,
17
17
  });
18
18
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sdk-triggerx",
3
- "version": "0.1.21",
3
+ "version": "0.1.22",
4
4
  "description": "SDK for interacting with the TriggerX backend and smart contracts.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",