@leapdev/app-platform 0.1.0-beta.20 → 0.1.0-beta.21
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/package.json +1 -1
- package/src/lib/app-platform.js +11 -5
- package/README.md +0 -7
package/package.json
CHANGED
package/src/lib/app-platform.js
CHANGED
|
@@ -35,12 +35,18 @@ class AppPlatform {
|
|
|
35
35
|
if (data) {
|
|
36
36
|
this._openViaLEAP = true;
|
|
37
37
|
this.loggerService.log(`[INIT] Setup LEAP Events and set token in custom xml part`);
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
38
|
+
try {
|
|
39
|
+
if (!skipLeapEventsSetup) {
|
|
40
|
+
yield this.setupLeapEvents();
|
|
41
|
+
yield this.setTokenInCustomXml();
|
|
42
|
+
}
|
|
43
|
+
tslib_1.__classPrivateFieldSet(this, _AppPlatform_initialized, true, "f");
|
|
44
|
+
return { done: true, openViaLEAP: true };
|
|
45
|
+
}
|
|
46
|
+
catch (_) {
|
|
47
|
+
tslib_1.__classPrivateFieldSet(this, _AppPlatform_initialized, true, "f");
|
|
48
|
+
return { done: true, openViaLEAP: true };
|
|
41
49
|
}
|
|
42
|
-
tslib_1.__classPrivateFieldSet(this, _AppPlatform_initialized, true, "f");
|
|
43
|
-
return { done: true, openViaLEAP: true };
|
|
44
50
|
}
|
|
45
51
|
else {
|
|
46
52
|
this.loggerService.log(`[INIT] Document not open via LEAP`);
|