@aloma.io/integration-sdk 3.0.8 → 3.0.10
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/build/internal/index.mjs
CHANGED
@@ -73,7 +73,7 @@ class Fetcher {
|
|
73
73
|
}
|
74
74
|
catch (e) {
|
75
75
|
--retries;
|
76
|
-
console.log(e);
|
76
|
+
console.log(url, e);
|
77
77
|
if (retries <= 0)
|
78
78
|
throw e;
|
79
79
|
return local.onError(e, url, options, retries, args);
|
@@ -120,6 +120,7 @@ class OAuthFetcher extends Fetcher {
|
|
120
120
|
});
|
121
121
|
}
|
122
122
|
async customize(options, args = {}) {
|
123
|
+
const local = this;
|
123
124
|
const token = await local.getToken(args.forceTokenRefresh);
|
124
125
|
options = { ...options };
|
125
126
|
options.headers = {
|
package/package.json
CHANGED
package/src/controller/index.mts
CHANGED
package/src/internal/index.mjs
CHANGED
@@ -94,7 +94,7 @@ class Fetcher {
|
|
94
94
|
} catch (e) {
|
95
95
|
--retries;
|
96
96
|
|
97
|
-
console.log(e);
|
97
|
+
console.log(url, e);
|
98
98
|
|
99
99
|
if (retries <= 0) throw e;
|
100
100
|
|
@@ -153,6 +153,7 @@ class OAuthFetcher extends Fetcher {
|
|
153
153
|
}
|
154
154
|
|
155
155
|
async customize(options, args = {}) {
|
156
|
+
const local = this;
|
156
157
|
const token = await local.getToken(args.forceTokenRefresh);
|
157
158
|
|
158
159
|
options = { ...options };
|