chayns-api 1.0.63 → 1.0.64

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.
@@ -573,7 +573,11 @@ class AppWrapper {
573
573
  window[callbackName] = ({
574
574
  retVal: value
575
575
  }) => {
576
- this.mapOldApiToNew(value);
576
+ if ('tobitAccessToken' in value) {
577
+ this.accessToken = value.tobitAccessToken;
578
+ } else {
579
+ this.mapOldApiToNew(value);
580
+ }
577
581
  };
578
582
  this.appCall(66, {
579
583
  enabled: true,
@@ -572,7 +572,11 @@ export class AppWrapper {
572
572
  let {
573
573
  retVal: value
574
574
  } = _ref2;
575
- this.mapOldApiToNew(value);
575
+ if ('tobitAccessToken' in value) {
576
+ this.accessToken = value.tobitAccessToken;
577
+ } else {
578
+ this.mapOldApiToNew(value);
579
+ }
576
580
  };
577
581
  this.appCall(66, {
578
582
  enabled: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "chayns-api",
3
- "version": "1.0.63",
3
+ "version": "1.0.64",
4
4
  "description": "new chayns api",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",