@livx.cc/appwrap 0.61.9 → 0.61.10

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": "@livx.cc/appwrap",
3
- "version": "0.61.9",
3
+ "version": "0.61.10",
4
4
  "description": "Wrap any PWA into a native app with native capabilities (appwrap runtime + @livx.cc/native-kit).",
5
5
  "license": "MIT",
6
6
  "author": "Elya Livshitz",
@@ -38,7 +38,7 @@ function presentShareSheet(items: NSMutableArray<any>): Promise<ShareOutcome> {
38
38
  done = true;
39
39
  resolve(o);
40
40
  };
41
- const presented = () => !!controller.presentingViewController && !controller.isBeingDismissed;
41
+ const presented = () => !!controller.presentingViewController && !controller.beingDismissed;
42
42
  controller.completionWithItemsHandler = (activityType: string, completed: boolean) => {
43
43
  // Recover the WebView on dismiss — a presented sheet can orphan a touch-stealing window / leave
44
44
  // the renderer throttled (see CustomWebView.recoverAfterNativeSurface).