@livx.cc/appwrap 0.61.5 → 0.61.6

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.5",
3
+ "version": "0.61.6",
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 buildBootstrapJs(): string {
38
38
  * class it synthesizes for `extend({...})` keyed by the methods-object shape, so calling
39
39
  * extend() again per-webview REUSES the first invocation's class — including its captured
40
40
  * closure. A per-instance `owner` WeakRef baked into the closure therefore cross-wires every
41
- * later webview's prompt() transport to the FIRST instance (device-proven in the feedox
41
+ * later webview's prompt() transport to the FIRST instance (device-proven in a multi-webview
42
42
  * mini-app spike: webview-2's bridge request was answered as webview-1). Route by the native
43
43
  * view the callback is given instead, resolved against a per-view registry.
44
44
  */
@@ -641,7 +641,8 @@ function registerActionCategory(buttons: NotifAction[]): string {
641
641
  /**
642
642
  * Build an iOS-15+ communication notification: an INSendMessageIntent whose sender IS
643
643
  * the mini-app (name + INImage avatar), donated, then `content.updating(from:)` so the
644
- * banner renders with the sender's identity. Mirrors feedox's NotificationService.swift.
644
+ * banner renders with the sender's identity. Mirrors the NotificationService.swift pattern a
645
+ * downstream consumer ships.
645
646
  * Returns null pre-iOS-15 or if any step declines (caller falls back to plain content).
646
647
  */
647
648
  function communicationContent(content: UNMutableNotificationContent, id: string, ident: NotifIdentity): UNNotificationContent | null {
@@ -143,7 +143,7 @@ export interface DeclaredCaps {
143
143
  * WKWebView, injected at document-start. Takes the build's declared-capability snapshot and, for every
144
144
  * capability the build did NOT declare, prevents the app-killing (camera/mic) or hanging (geolocation)
145
145
  * failure while letting DECLARED capabilities pass straight through to their native prompt. Composes the
146
- * individual guards so every consumer's foreign webview (shell + feedox mini-app views) is covered from
146
+ * individual guards so every consumer's foreign webview (shell + embedded mini-app views) is covered from
147
147
  * one call site. Other TCC-gated surfaces (getDisplayMedia, SpeechRecognition, WebMIDI/BT/NFC/USB) are
148
148
  * simply UNIMPLEMENTED by WKWebView — they resolve to `undefined`, so feature-detection degrades cleanly
149
149
  * and there is nothing to guard.