@aloma.io/integration-sdk 3.0.13 → 3.0.14

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.
@@ -74,7 +74,7 @@ class Fetcher {
74
74
  }
75
75
  catch (e) {
76
76
  --retries;
77
- console.log(theURL, e, this);
77
+ console.log(theURL, e);
78
78
  if (retries <= 0)
79
79
  throw e;
80
80
  return local.onError(e, url, options, retries, args);
@@ -123,7 +123,6 @@ class OAuthFetcher extends Fetcher {
123
123
  async customize(options, args = {}) {
124
124
  const local = this;
125
125
  const token = await local.getToken(args.forceTokenRefresh);
126
- options = { ...options };
127
126
  options.headers = {
128
127
  ...options.headers,
129
128
  Authorization: `Bearer ${token}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.0.13",
3
+ "version": "3.0.14",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",