@aloma.io/integration-sdk 3.7.39 → 3.7.41

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.
@@ -289,7 +289,7 @@ ${text}
289
289
  throw new Error("could not get refresh token " + status + " " + text);
290
290
  }
291
291
  };
292
- const theOAuth = decrypted.oauthResult
292
+ const theOAuth = that._oauth
293
293
  ? new OAuth(decrypted.oauthResult, saveOAuthResult, getRefreshToken)
294
294
  : null;
295
295
  if (theOAuth) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aloma.io/integration-sdk",
3
- "version": "3.7.39",
3
+ "version": "3.7.41",
4
4
  "description": "",
5
5
  "author": "aloma.io",
6
6
  "license": "Apache-2.0",
@@ -351,8 +351,8 @@ ${text}
351
351
  );
352
352
  }
353
353
  };
354
-
355
- const theOAuth = decrypted.oauthResult
354
+
355
+ const theOAuth = that._oauth
356
356
  ? new OAuth(decrypted.oauthResult, saveOAuthResult, getRefreshToken)
357
357
  : null;
358
358