@moneylion/engine-api 1.3.0 → 1.3.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/dist/client.d.ts CHANGED
@@ -1,3 +1,4 @@
1
+ /// <reference types="node" />
1
2
  type HttpMethod = "GET" | "POST" | "PATCH" | "DELETE";
2
3
  /**
3
4
  * The base HTTP client that the API clients depend on.
package/dist/client.js CHANGED
@@ -21,7 +21,7 @@ export class Client {
21
21
  * @param host - The API host URL. Example: https://www.example.com. Should not include a trailing slash.
22
22
  * @param auth_token - The auth token used for authenticating with the API.
23
23
  */
24
- constructor(host = "https://api.evenfinancial.com", auth_token, timeout_ms = 10 * 1000, fetch_impl = fetch) {
24
+ constructor(host = "https://api.evenfinancial.com", auth_token, timeout_ms = 15 * 1000, fetch_impl = fetch) {
25
25
  this.host = host;
26
26
  this.auth_token = auth_token;
27
27
  this.fetch_impl = fetch_impl;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@moneylion/engine-api",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Interface to engine.tech API",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",