@fluxo-dev/api-client-base 0.0.15 → 0.0.17

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/index.cjs.js +2 -1
  2. package/package.json +2 -2
package/index.cjs.js CHANGED
@@ -1695,7 +1695,8 @@ class HttpClient {
1695
1695
  return HttpClient._instance;
1696
1696
  }
1697
1697
  static Init(authenticationType, baseUrl, apiKeyOrAccessToken) {
1698
- if (HttpClient._instance) throw new Error('HttpClient is already initialized. Please call HttpClient.Instance() to get current instance.');
1698
+ if (HttpClient._instance) return;
1699
+ //throw new Error('HttpClient is already initialized. Please call HttpClient.Instance() to get current instance.');
1699
1700
  HttpClient._instance = new HttpClient(authenticationType, baseUrl);
1700
1701
  }
1701
1702
  }
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@fluxo-dev/api-client-base",
3
- "version": "0.0.15",
3
+ "version": "0.0.17",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {
6
- "@fluxo-dev/state": "0.0.15"
6
+ "@fluxo-dev/state": "0.0.16"
7
7
  },
8
8
  "main": "./index.cjs.js"
9
9
  }