@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@leapdev/app-platform",
3
- "version": "0.1.0-beta.20",
3
+ "version": "0.1.0-beta.21",
4
4
  "dependencies": {
5
5
  "tslib": "^2.3.0",
6
6
  "vkbeautify": "^0.99.3",
@@ -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
- if (!skipLeapEventsSetup) {
39
- yield this.setupLeapEvents();
40
- yield this.setTokenInCustomXml();
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`);
package/README.md DELETED
@@ -1,7 +0,0 @@
1
- # app-platform
2
-
3
- This library was generated with [Nx](https://nx.dev).
4
-
5
- ## Building
6
-
7
- Run `nx build app-platform` to build the library.