@aloma.io/integration-sdk 3.0.10 → 3.0.11
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(url, e);
|
76
|
+
console.log(url, e, this);
|
77
77
|
if (retries <= 0)
|
78
78
|
throw e;
|
79
79
|
return local.onError(e, url, options, retries, args);
|
@@ -417,7 +417,7 @@ ${text}
|
|
417
417
|
start({
|
418
418
|
config: decrypted,
|
419
419
|
oauth: theOAuth,
|
420
|
-
getClient: (arg) => theOAuth ? theOAuth.getClient(arg) : new Fetcher(
|
420
|
+
getClient: (arg) => theOAuth ? theOAuth.getClient(arg) : new Fetcher(arg),
|
421
421
|
newTask: (name, data) => {
|
422
422
|
return new Promise((resolve, reject) => {
|
423
423
|
const packet = transport.newPacket({}, (ret) => (ret?.error ? reject(ret.error) : resolve(ret)), `_req-${cuid()}`);
|
package/package.json
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(url, e);
|
97
|
+
console.log(url, e, this);
|
98
98
|
|
99
99
|
if (retries <= 0) throw e;
|
100
100
|
|
@@ -513,7 +513,7 @@ ${text}
|
|
513
513
|
config: decrypted,
|
514
514
|
oauth: theOAuth,
|
515
515
|
getClient: (arg) =>
|
516
|
-
theOAuth ? theOAuth.getClient(arg) : new Fetcher(
|
516
|
+
theOAuth ? theOAuth.getClient(arg) : new Fetcher(arg),
|
517
517
|
newTask: (name, data) => {
|
518
518
|
return new Promise((resolve, reject) => {
|
519
519
|
const packet = transport.newPacket(
|