peachsim 0.1.683 → 0.1.685

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.
Files changed (73) hide show
  1. package/cli/drivers/playwright-sim-host.ts +6 -0
  2. package/dist-lib/agent-daemon-client.cjs +1 -1
  3. package/dist-lib/agent-events.cjs +1 -1
  4. package/dist-lib/agent-identity.cjs +1 -1
  5. package/dist-lib/agent-sessions.cjs +1 -1
  6. package/dist-lib/attached-projects.cjs +1 -1
  7. package/dist-lib/auth/shared-session.cjs +1 -1
  8. package/dist-lib/backend-origin.cjs +1 -1
  9. package/dist-lib/beta.cjs +1 -1
  10. package/dist-lib/beta.mjs +1 -1
  11. package/dist-lib/bridge-constants.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.cjs +1 -1
  13. package/dist-lib/bridge-contract-input.mjs +1 -1
  14. package/dist-lib/bridge-contract.cjs +1 -1
  15. package/dist-lib/bridge-contract.mjs +1 -1
  16. package/dist-lib/capture-contract.cjs +1 -1
  17. package/dist-lib/capture-contract.mjs +1 -1
  18. package/dist-lib/cli-constants.cjs +1 -1
  19. package/dist-lib/cloud-contract.cjs +1 -1
  20. package/dist-lib/cloud-contract.mjs +1 -1
  21. package/dist-lib/cloud-test-args.cjs +1 -1
  22. package/dist-lib/cloud-test-args.mjs +1 -1
  23. package/dist-lib/cloud.cjs +1 -1
  24. package/dist-lib/cloud.mjs +1 -1
  25. package/dist-lib/config.cjs +1 -1
  26. package/dist-lib/detox/index.cjs +1 -1
  27. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  28. package/dist-lib/home-paths.cjs +1 -1
  29. package/dist-lib/host/bridge-host.cjs +39 -7
  30. package/dist-lib/host/fetch-proxy-handler.cjs +12 -4
  31. package/dist-lib/host/fetch-proxy-overrides.cjs +6 -5
  32. package/dist-lib/host/fetch-proxy-overrides.mjs +5 -4
  33. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  34. package/dist-lib/host/websocket-proxy.cjs +1 -1
  35. package/dist-lib/index.cjs +1 -1
  36. package/dist-lib/jump-to-source-babel.cjs +1 -1
  37. package/dist-lib/jump-to-source-native.cjs +1 -1
  38. package/dist-lib/kotlin-host.cjs +1 -1
  39. package/dist-lib/menu.cjs +1 -1
  40. package/dist-lib/menu.mjs +1 -1
  41. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  43. package/dist-lib/metro-production-bundle.cjs +1 -1
  44. package/dist-lib/metro-production-bundle.mjs +1 -1
  45. package/dist-lib/metro.cjs +1 -1
  46. package/dist-lib/native-app-identity.cjs +1 -1
  47. package/dist-lib/native-app-identity.mjs +1 -1
  48. package/dist-lib/native-firebase-metadata.cjs +1 -1
  49. package/dist-lib/native-firebase-metadata.mjs +1 -1
  50. package/dist-lib/plist.cjs +1 -1
  51. package/dist-lib/plist.mjs +1 -1
  52. package/dist-lib/profiles.cjs +1 -1
  53. package/dist-lib/public-brand.cjs +1 -1
  54. package/dist-lib/react-native-host-modules.cjs +1 -1
  55. package/dist-lib/react-native-host-modules.mjs +1 -1
  56. package/dist-lib/render-mode.cjs +1 -1
  57. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  58. package/dist-lib/sdk.cjs +1 -1
  59. package/dist-lib/sdk.mjs +1 -1
  60. package/dist-lib/skills.cjs +45 -13
  61. package/dist-lib/swift-compile.cjs +1 -1
  62. package/dist-lib/swift-compile.mjs +1 -1
  63. package/dist-lib/swift-package.cjs +1 -1
  64. package/dist-lib/swift-package.mjs +1 -1
  65. package/dist-lib/swift-submit.cjs +1 -1
  66. package/dist-lib/swift-submit.mjs +1 -1
  67. package/dist-lib/swift-toolchain.cjs +1 -1
  68. package/dist-lib/swift.cjs +1 -1
  69. package/dist-lib/vite-swift.cjs +1 -1
  70. package/dist-lib/vite.cjs +1 -1
  71. package/package.json +1 -1
  72. package/src/host/fetch-proxy-handler.ts +10 -1
  73. package/src/host/fetch-proxy-overrides.ts +17 -13
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/menu.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/menu.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/public-brand.ts
4
4
  var name = "Peach";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/metro-production-bundle.ts
4
4
  var RNXSIM_METRO_MODULE_PATHS_PREFIX = "globalThis.__sootsimModulePaths=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-app-identity.ts
4
4
  var NATIVE_APP_IDENTITY_PREFIX = "globalThis.__sootsimNativeAppIdentity=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/native-firebase-metadata.ts
4
4
  var PREFIX = "globalThis.__peachNativeFirebaseConfig=";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/plist.ts
4
4
  import plistModule from "@expo/plist";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/react-native-host-modules.ts
4
4
  var REACT_NATIVE_PASSTHROUGH_SPECIFIERS = [
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/sdk.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
4
4
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -5849,7 +5849,7 @@ var init_registry = __esm({
5849
5849
  usage: 3,
5850
5850
  importance: 3,
5851
5851
  estimate: 0.9,
5852
- rationale: "local page lifecycle, messaging and injection work. scripting an arbitrary remote frame cannot cross origin in any browser and is intentionally out of reach here"
5852
+ rationale: "local page lifecycle, messaging and injection work, and remote cross-origin pages get the document-start bridge and injection through the playwright-driven sim's browser host. the desktop app and a plain browser tab cannot script a remote frame, and eval-based injection stops at a strict page CSP"
5853
5853
  },
5854
5854
  {
5855
5855
  id: "navigation-controls",
@@ -5883,8 +5883,8 @@ var init_registry = __esm({
5883
5883
  capabilityCoverage: CAPABILITY_INVENTORY_PACKAGE_COVERAGE["react-native-webview"],
5884
5884
  strictCoverage: REACT_NATIVE_WEBVIEW_STRICT_COVERAGE,
5885
5885
  note: "native-seam only: the published package runs unchanged and routes RNCWebView through the tenant-to-shell hosted iframe surface. the implementation estimate uses reviewed feature weights; the separate equal-surface strict diagnostic includes the shared, iOS, and Android public prop and ref surface. paired native and Peach runtime conformance covers local HTML, base URL, URI loading, load and navigation callbacks, both injection phases, two-way messaging, imperative URI reload and injection, local HTML fragment navigation and link-request decisions, initial-load and form request decisions, local stopLoading cancellation, refused-host and restricted-port onError with renderError, content scrolling, parent translation, and onOpenWindow target delivery. same-origin onHttpError follows RNCWebViewImpl but runs on Peach only, since no local HTTP error source is reachable from both targets.",
5886
- working: "source.uri/source.html/source.baseUrl, Chromium cross-origin URI loading under the shell COEP, same-origin URI cookies, source.html persistent localStorage, document-start ReactNativeWebView bootstrap and injectedJavaScriptBeforeContentLoaded/injectedJavaScript on source.html, strict ReactNativeWebView.postMessage bridge envelope in both directions, onMessage synthetic event with navigation fields, onOpenWindow target delivery for source.html, successful onLoad/Start/End and onNavigationStateChange, ref.reload on URI pages, ref.injectJavaScript/postMessage, local HTML fragment URL/callback behavior, onShouldStartLoadWithRequest for local link clicks with native-shaped request and loading payloads, initial-load onShouldStartLoadWithRequest for http(s) documents with the native other/top-frame/lockIdentifier payload allowed or denied through the lock callback, form-submit onShouldStartLoadWithRequest with navigationType formsubmit and, for a get form, the form data as the url query, resumed in place, ref.stopLoading cancelling an in-flight reload with no following callbacks, onError with the native NSURLErrorDomain code/description for a refused local connection and WebKitErrorDomain 103 for a port on the WebKit blocked list, each plus onLoadEnd and renderError(domain, code, description), onHttpError with the native url/statusCode for a same-origin local HTTP error, internal content scrolling, renderLoading, javaScriptEnabled sandbox, layout, inherited clipping and visibility, parked/live presentation",
5887
- missing: "Safari/WebKit cross-origin URI pages without COEP-compatible response headers remain permanently loading because WebKit ignores iframe credentialless; Chromium credentialless cross-origin URI frames send no credentials, including cookies set by their own origin, and use ephemeral storage; iframe pixels in canvas screenshots; script injection, ReactNativeWebView bootstrap, and onOpenWindow for remote pages, which get no bridge at all because a browser cannot script a cross-origin frame; cross-origin history truthfulness (goBack/goForward across documents, truthful canGoBack/canGoForward) plus reload and history-traversal policy decisions; initial-load decisions for data:/about:/file documents, which stay ungated with no paired native ask observed; remote HTTP error statuses and refused remote connections, which a cross-origin frame never exposes to the browser, and the HTTP status of a non-get form submit; allowsBackForwardNavigationGestures, userAgent, dataDetectorTypes, cacheEnabled, incognito, scalesPageToFit, originWhitelist enforcement"
5886
+ working: "source.uri/source.html/source.baseUrl, Chromium cross-origin URI loading under the shell COEP, same-origin URI cookies, source.html persistent localStorage, document-start ReactNativeWebView bootstrap and injectedJavaScriptBeforeContentLoaded/injectedJavaScript on source.html, and on remote cross-origin source.uri pages in a playwright-driven sim, main frame only as on iOS, strict ReactNativeWebView.postMessage bridge envelope in both directions, onMessage synthetic event with navigation fields, onOpenWindow target delivery for source.html, successful onLoad/Start/End and onNavigationStateChange, ref.reload on URI pages, ref.injectJavaScript/postMessage, local HTML fragment URL/callback behavior, onShouldStartLoadWithRequest for local link clicks with native-shaped request and loading payloads, initial-load onShouldStartLoadWithRequest for http(s) documents with the native other/top-frame/lockIdentifier payload allowed or denied through the lock callback, form-submit onShouldStartLoadWithRequest with navigationType formsubmit and, for a get form, the form data as the url query, resumed in place, ref.stopLoading cancelling an in-flight reload with no following callbacks, onError with the native NSURLErrorDomain code/description for a refused local connection and WebKitErrorDomain 103 for a port on the WebKit blocked list, each plus onLoadEnd and renderError(domain, code, description), onHttpError with the native url/statusCode for a same-origin local HTTP error, internal content scrolling, renderLoading, javaScriptEnabled sandbox, layout, inherited clipping and visibility, parked/live presentation",
5887
+ missing: "Safari/WebKit cross-origin URI pages without COEP-compatible response headers remain permanently loading because WebKit ignores iframe credentialless; Chromium credentialless cross-origin URI frames send no credentials, including cookies set by their own origin, and use ephemeral storage; iframe pixels in canvas screenshots; script injection, ReactNativeWebView bootstrap, and onOpenWindow for remote pages outside a playwright-driven sim (the desktop app or a plain browser tab), because only the sim browser host reaches a cross-origin frame at document start; injection into a remote page whose Content-Security-Policy forbids eval, which a WKUserScript bypasses; source.headers on the initial load of a remote page; cross-origin history truthfulness (goBack/goForward across documents, truthful canGoBack/canGoForward) plus reload and history-traversal policy decisions; initial-load decisions for data:/about:/file documents, which stay ungated with no paired native ask observed; remote HTTP error statuses and refused remote connections, which a cross-origin frame never exposes to the browser, and the HTTP status of a non-get form submit; allowsBackForwardNavigationGestures, userAgent, dataDetectorTypes, cacheEnabled, incognito, scalesPageToFit, originWhitelist enforcement"
5888
5888
  }
5889
5889
  ]
5890
5890
  },
@@ -5911,14 +5911,14 @@ var init_registry = __esm({
5911
5911
  coverage: 0.3,
5912
5912
  note: "native-seam only: the published Expo wrapper resolves ExpoDomWebViewModule to the shared hosted webview implementation.",
5913
5913
  working: "DomWebView/WebView exports, source.uri rendering, document-start ReactNativeWebView bootstrap on percent-encoded data: URI pages, onMessage, ref.injectJavaScript and ref.scrollTo, layout and parked/live presentation",
5914
- missing: "reload and injectedJavaScriptObject, Expo modules bridge, any bridge at all on a remote page because a browser cannot script a cross-origin frame, cross-origin scrolling, the re-encoded data: URI a page reports as its own location.href, exact native scroll physics and native-only media/keyboard props, iframe pixels in canvas screenshots"
5914
+ missing: "reload and injectedJavaScriptObject, Expo modules bridge, any bridge on a remote page outside a playwright-driven sim, whose browser host is the only thing that reaches a cross-origin frame at document start, cross-origin scrolling, the re-encoded data: URI a page reports as its own location.href, exact native scroll physics and native-only media/keyboard props, iframe pixels in canvas screenshots"
5915
5915
  },
5916
5916
  {
5917
5917
  range: ">=56.0.0 <58.0.0",
5918
5918
  coverage: 0.5,
5919
5919
  note: 'native-seam only: the published Expo 57.0.1 wrapper and an Expo "use dom" component pass the same paired library case on a native iPhone 16 and in Peach (ExpoDomWebViewLibraryCase).',
5920
5920
  working: 'DomWebView/WebView exports, source.uri rendering, onMessage data/url/title, ref.reload/injectJavaScript/scrollTo, document-start ReactNativeWebView bootstrap and injectedJavaScriptBeforeContentLoaded, injectedJavaScriptObject, reload-on-update behavior for injectedJavaScriptObject/injectedJavaScript, "use dom" components (mount with initial props, prop updates, native actions that resolve or reject, useDOMImperativeHandle methods, reload), layout and parked/live presentation',
5921
- missing: "Expo modules bridge (unstable_useExpoModulesBridge is accepted and ignored), any bridge or script injection on a remote page because a browser cannot script a cross-origin frame, cross-origin scrolling, the re-encoded data: URI a page reports as its own location.href, exact native scroll physics and native-only media/keyboard props, iframe pixels in canvas screenshots"
5921
+ missing: "Expo modules bridge (unstable_useExpoModulesBridge is accepted and ignored), any bridge on a remote page outside a playwright-driven sim, whose browser host is the only thing that reaches a cross-origin frame at document start, cross-origin scrolling, the re-encoded data: URI a page reports as its own location.href, exact native scroll physics and native-only media/keyboard props, iframe pixels in canvas screenshots"
5922
5922
  }
5923
5923
  ]
5924
5924
  },
@@ -25593,17 +25593,19 @@ function resolveFetchProxyTargetUrl(requested) {
25593
25593
  const replacement = PUBLIC_RPC_BY_QUICKNODE_CHAIN[chain];
25594
25594
  return replacement ? new URL(replacement) : requested;
25595
25595
  }
25596
- function getFetchProxyTargetHeaders(targetUrl) {
25596
+ function getFetchProxyTargetHeaders(targetUrl, nativeUserAgent) {
25597
25597
  const hostOverrides = headerOverridesFor(targetUrl.hostname);
25598
25598
  return {
25599
25599
  "accept-encoding": "identity",
25600
+ ...nativeUserAgent ? { "user-agent": nativeUserAgent } : {},
25600
25601
  ...hostOverrides?.headers
25601
25602
  };
25602
25603
  }
25603
- var HOST_HEADER_OVERRIDES, PUBLIC_RPC_TENANT, QUICKNODE_HOST_SUFFIX, PUBLIC_RPC_BY_QUICKNODE_CHAIN;
25604
+ var FETCH_PROXY_NATIVE_USER_AGENT_HEADER, HOST_HEADER_OVERRIDES, PUBLIC_RPC_TENANT, QUICKNODE_HOST_SUFFIX, PUBLIC_RPC_BY_QUICKNODE_CHAIN;
25604
25605
  var init_fetch_proxy_overrides = __esm({
25605
25606
  "src/host/fetch-proxy-overrides.ts"() {
25606
25607
  "use strict";
25608
+ FETCH_PROXY_NATIVE_USER_AGENT_HEADER = "x-sootsim-native-user-agent";
25607
25609
  HOST_HEADER_OVERRIDES = [
25608
25610
  {
25609
25611
  hostSuffix: "uniswap.org",
@@ -25651,7 +25653,12 @@ function buildFetchProxyHeaders(reqHeaders, targetUrl) {
25651
25653
  if (STRIP_FETCH_PROXY_HEADERS.has(key.toLowerCase())) continue;
25652
25654
  headers[key] = Array.isArray(value) ? value.join(", ") : value;
25653
25655
  }
25654
- Object.assign(headers, targetUrl ? getFetchProxyTargetHeaders(targetUrl) : {});
25656
+ const rawNativeUserAgent = reqHeaders[FETCH_PROXY_NATIVE_USER_AGENT_HEADER];
25657
+ const nativeUserAgent = Array.isArray(rawNativeUserAgent) ? rawNativeUserAgent[0] : rawNativeUserAgent;
25658
+ Object.assign(
25659
+ headers,
25660
+ targetUrl ? getFetchProxyTargetHeaders(targetUrl, nativeUserAgent) : {}
25661
+ );
25655
25662
  return headers;
25656
25663
  }
25657
25664
  function buildAppApiProxyHeaders(reqHeaders, targetUrl) {
@@ -25922,7 +25929,8 @@ var init_fetch_proxy_handler = __esm({
25922
25929
  "sec-fetch-dest",
25923
25930
  "sec-ch-ua",
25924
25931
  "sec-ch-ua-mobile",
25925
- "sec-ch-ua-platform"
25932
+ "sec-ch-ua-platform",
25933
+ FETCH_PROXY_NATIVE_USER_AGENT_HEADER
25926
25934
  ]);
25927
25935
  FETCH_PROXY_CORS_HEADERS = {
25928
25936
  "access-control-allow-origin": "*",
@@ -27398,7 +27406,7 @@ function rotateDevice(device, side) {
27398
27406
  left: device.safeAreaInsets.top,
27399
27407
  right: device.safeAreaInsets.top
27400
27408
  } : device.platform === "ios" ? { top: 0, bottom: 0, left: 0, right: 0 } : {
27401
- top: device.safeAreaInsets.top,
27409
+ top: device.landscapeStatusBarHeight,
27402
27410
  bottom: device.safeAreaInsets.bottom,
27403
27411
  left: 0,
27404
27412
  right: device.displayCutout.top
@@ -27427,7 +27435,7 @@ function rotateDevice(device, side) {
27427
27435
  // the bars stay on the interface's top and bottom; a cutout's inset moves
27428
27436
  // to whichever side the cutout turned to.
27429
27437
  safeAreaInsets: side === "left" ? safeArea : { ...safeArea, left: safeArea.right, right: safeArea.left },
27430
- statusBarHeight: device.platform === "ios" && device.model !== "ipad-pro-11" ? 0 : device.statusBarHeight,
27438
+ statusBarHeight: device.landscapeStatusBarHeight,
27431
27439
  // the indicator's band is the landscape bottom inset
27432
27440
  homeIndicatorHeight: device.platform === "ios" && device.homeIndicatorHeight > 0 ? safeArea.bottom : device.homeIndicatorHeight
27433
27441
  };
@@ -27484,7 +27492,7 @@ function listDeviceModels() {
27484
27492
  function getRuntimePlatform(model) {
27485
27493
  return getDevice(model).platform;
27486
27494
  }
27487
- var LEGACY_HARDWARE_BUTTONS, PIXEL_HARDWARE_BUTTONS, GALAXY_HARDWARE_BUTTONS, ANDROID_GESTURE_NAV_BAR_HEIGHT, ANDROID_OS_VERSION, ANDROID_API_LEVEL, PIXEL_8_WIDTH, PIXEL_8_HEIGHT, PIXEL_8_STATUS_BAR_HEIGHT, DUO_DIVISION_REGION_WIDTH, devices, DEFAULT_DEVICE, DEFAULT_DEVICE_BY_PLATFORM;
27495
+ var LEGACY_HARDWARE_BUTTONS, PIXEL_HARDWARE_BUTTONS, GALAXY_HARDWARE_BUTTONS, ANDROID_GESTURE_NAV_BAR_HEIGHT, ANDROID_OS_VERSION, ANDROID_API_LEVEL, PIXEL_8_WIDTH, PIXEL_8_HEIGHT, PIXEL_8_STATUS_BAR_HEIGHT, PIXEL_8_LANDSCAPE_STATUS_BAR_HEIGHT, DUO_DIVISION_REGION_WIDTH, devices, DEFAULT_DEVICE, DEFAULT_DEVICE_BY_PLATFORM;
27488
27496
  var init_devices = __esm({
27489
27497
  "../peach-engine/src/settings/devices.ts"() {
27490
27498
  "use strict";
@@ -27518,6 +27526,7 @@ var init_devices = __esm({
27518
27526
  PIXEL_8_WIDTH = 1080 / 2.625;
27519
27527
  PIXEL_8_HEIGHT = 2400 / 2.625;
27520
27528
  PIXEL_8_STATUS_BAR_HEIGHT = 132 / 2.625;
27529
+ PIXEL_8_LANDSCAPE_STATUS_BAR_HEIGHT = Math.round(28 * 2.625) / 2.625;
27521
27530
  DUO_DIVISION_REGION_WIDTH = 40;
27522
27531
  devices = {
27523
27532
  "canvas-workspace": iosDevice({
@@ -27527,6 +27536,7 @@ var init_devices = __esm({
27527
27536
  height: 900,
27528
27537
  scale: 1,
27529
27538
  statusBarHeight: 0,
27539
+ landscapeStatusBarHeight: 0,
27530
27540
  homeIndicatorHeight: 0,
27531
27541
  cornerRadius: cornerRadii(0),
27532
27542
  continuousCornerRadius: cornerRadii(0),
@@ -27553,6 +27563,7 @@ var init_devices = __esm({
27553
27563
  height: 667,
27554
27564
  scale: 2,
27555
27565
  statusBarHeight: 20,
27566
+ landscapeStatusBarHeight: 0,
27556
27567
  homeIndicatorHeight: 0,
27557
27568
  cornerRadius: cornerRadii(0),
27558
27569
  continuousCornerRadius: cornerRadii(0),
@@ -27574,6 +27585,7 @@ var init_devices = __esm({
27574
27585
  height: 844,
27575
27586
  scale: 3,
27576
27587
  statusBarHeight: 47,
27588
+ landscapeStatusBarHeight: 0,
27577
27589
  homeIndicatorHeight: 34,
27578
27590
  cornerRadius: cornerRadii(46.2),
27579
27591
  continuousCornerRadius: cornerRadii(67.462),
@@ -27597,6 +27609,7 @@ var init_devices = __esm({
27597
27609
  height: 852,
27598
27610
  scale: 3,
27599
27611
  statusBarHeight: 59,
27612
+ landscapeStatusBarHeight: 0,
27600
27613
  homeIndicatorHeight: 34,
27601
27614
  cornerRadius: cornerRadii(53.9),
27602
27615
  continuousCornerRadius: cornerRadii(73.402),
@@ -27621,6 +27634,7 @@ var init_devices = __esm({
27621
27634
  height: 932,
27622
27635
  scale: 3,
27623
27636
  statusBarHeight: 59,
27637
+ landscapeStatusBarHeight: 0,
27624
27638
  homeIndicatorHeight: 34,
27625
27639
  cornerRadius: cornerRadii(53.9),
27626
27640
  continuousCornerRadius: cornerRadii(74.654),
@@ -27645,6 +27659,7 @@ var init_devices = __esm({
27645
27659
  height: 852,
27646
27660
  scale: 3,
27647
27661
  statusBarHeight: 59,
27662
+ landscapeStatusBarHeight: 0,
27648
27663
  homeIndicatorHeight: 34,
27649
27664
  cornerRadius: cornerRadii(53.9),
27650
27665
  continuousCornerRadius: cornerRadii(73.402),
@@ -27669,6 +27684,7 @@ var init_devices = __esm({
27669
27684
  height: 932,
27670
27685
  scale: 3,
27671
27686
  statusBarHeight: 59,
27687
+ landscapeStatusBarHeight: 0,
27672
27688
  homeIndicatorHeight: 34,
27673
27689
  cornerRadius: cornerRadii(53.9),
27674
27690
  continuousCornerRadius: cornerRadii(74.654),
@@ -27693,6 +27709,7 @@ var init_devices = __esm({
27693
27709
  height: 852,
27694
27710
  scale: 3,
27695
27711
  statusBarHeight: 59,
27712
+ landscapeStatusBarHeight: 0,
27696
27713
  homeIndicatorHeight: 34,
27697
27714
  // 2026-07-10: cornerRadius corrected 58 → 53.9 to Apple's own framebuffer
27698
27715
  // mask (extracted from the simdevicetype bundle PDF; see
@@ -27721,6 +27738,7 @@ var init_devices = __esm({
27721
27738
  height: 932,
27722
27739
  scale: 3,
27723
27740
  statusBarHeight: 59,
27741
+ landscapeStatusBarHeight: 0,
27724
27742
  homeIndicatorHeight: 34,
27725
27743
  cornerRadius: cornerRadii(53.9),
27726
27744
  continuousCornerRadius: cornerRadii(74.654),
@@ -27747,6 +27765,7 @@ var init_devices = __esm({
27747
27765
  // ios 26.4 screenshots on the 402x874 dynamic island pro profile place
27748
27766
  // app content at y=186px, i.e. 62 logical pt at 3x.
27749
27767
  statusBarHeight: 62,
27768
+ landscapeStatusBarHeight: 0,
27750
27769
  homeIndicatorHeight: 34,
27751
27770
  cornerRadius: cornerRadii(61),
27752
27771
  continuousCornerRadius: cornerRadii(84.661),
@@ -27774,6 +27793,7 @@ var init_devices = __esm({
27774
27793
  // on the 440x956 dynamic island max profile. the 393x852 iphone 16 oracle
27775
27794
  // remains at the 59pt profile.
27776
27795
  statusBarHeight: 62,
27796
+ landscapeStatusBarHeight: 0,
27777
27797
  homeIndicatorHeight: 34,
27778
27798
  cornerRadius: cornerRadii(61.3),
27779
27799
  continuousCornerRadius: cornerRadii(85.163),
@@ -27798,6 +27818,7 @@ var init_devices = __esm({
27798
27818
  height: 874,
27799
27819
  scale: 3,
27800
27820
  statusBarHeight: 59,
27821
+ landscapeStatusBarHeight: 0,
27801
27822
  homeIndicatorHeight: 34,
27802
27823
  cornerRadius: cornerRadii(61),
27803
27824
  continuousCornerRadius: cornerRadii(84.661),
@@ -27826,6 +27847,7 @@ var init_devices = __esm({
27826
27847
  height: 912,
27827
27848
  scale: 3,
27828
27849
  statusBarHeight: 59,
27850
+ landscapeStatusBarHeight: 0,
27829
27851
  homeIndicatorHeight: 34,
27830
27852
  cornerRadius: cornerRadii(64.6),
27831
27853
  continuousCornerRadius: cornerRadii(88.313),
@@ -27869,6 +27891,7 @@ var init_devices = __esm({
27869
27891
  // the same 402x874 panel and the 17 pro max the same island, and both
27870
27892
  // already say 62; this entry was the table's only 59.
27871
27893
  statusBarHeight: 62,
27894
+ landscapeStatusBarHeight: 0,
27872
27895
  homeIndicatorHeight: 34,
27873
27896
  cornerRadius: cornerRadii(61),
27874
27897
  continuousCornerRadius: cornerRadii(84.661),
@@ -27899,6 +27922,7 @@ var init_devices = __esm({
27899
27922
  // same ios 26.4 440x956 dynamic island max profile as the measured
27900
27923
  // iphone 16 pro max screens proof oracle.
27901
27924
  statusBarHeight: 62,
27925
+ landscapeStatusBarHeight: 0,
27902
27926
  homeIndicatorHeight: 34,
27903
27927
  cornerRadius: cornerRadii(61.3),
27904
27928
  continuousCornerRadius: cornerRadii(85.163),
@@ -27928,6 +27952,7 @@ var init_devices = __esm({
27928
27952
  height: 678,
27929
27953
  scale: 3,
27930
27954
  statusBarHeight: 66,
27955
+ landscapeStatusBarHeight: 0,
27931
27956
  // the ios 27.1 duo simulator draws the gesture home indicator in both
27932
27957
  // postures: a 167pt x 5pt pill 8pt above the display bottom on the
27933
27958
  // cover, sized by the same rule as the other iphones (HomeIndicator).
@@ -27996,6 +28021,7 @@ var init_devices = __esm({
27996
28021
  // was 32. landscape statusBarFrame stayed 32 tall while safeAreaInsets.top
27997
28022
  // was 10; this field is the portrait bar.
27998
28023
  statusBarHeight: 32,
28024
+ landscapeStatusBarHeight: 32,
27999
28025
  // portrait and landscape safeAreaInsets.bottom were both 20. the probe
28000
28026
  // has no separate home-indicator height.
28001
28027
  homeIndicatorHeight: 20,
@@ -28026,6 +28052,7 @@ var init_devices = __esm({
28026
28052
  height: PIXEL_8_HEIGHT,
28027
28053
  scale: 2.625,
28028
28054
  statusBarHeight: PIXEL_8_STATUS_BAR_HEIGHT,
28055
+ landscapeStatusBarHeight: PIXEL_8_LANDSCAPE_STATUS_BAR_HEIGHT,
28029
28056
  homeIndicatorHeight: 0,
28030
28057
  navigationBarHeight: ANDROID_GESTURE_NAV_BAR_HEIGHT,
28031
28058
  // not measured on an android emulator yet: this is the iphone 16 figure
@@ -28075,6 +28102,7 @@ var init_devices = __esm({
28075
28102
  height: PIXEL_8_HEIGHT,
28076
28103
  scale: 2.625,
28077
28104
  statusBarHeight: PIXEL_8_STATUS_BAR_HEIGHT,
28105
+ landscapeStatusBarHeight: PIXEL_8_LANDSCAPE_STATUS_BAR_HEIGHT,
28078
28106
  homeIndicatorHeight: 0,
28079
28107
  navigationBarHeight: 48,
28080
28108
  // not measured on an android emulator yet: this is the iphone 16 figure
@@ -28121,6 +28149,7 @@ var init_devices = __esm({
28121
28149
  height: 997,
28122
28150
  scale: 3,
28123
28151
  statusBarHeight: 40,
28152
+ landscapeStatusBarHeight: 40,
28124
28153
  homeIndicatorHeight: 0,
28125
28154
  navigationBarHeight: ANDROID_GESTURE_NAV_BAR_HEIGHT,
28126
28155
  // not measured on an android emulator yet: this is the iphone 16 figure
@@ -28158,6 +28187,7 @@ var init_devices = __esm({
28158
28187
  height: 808,
28159
28188
  scale: 3,
28160
28189
  statusBarHeight: 40,
28190
+ landscapeStatusBarHeight: 40,
28161
28191
  homeIndicatorHeight: 0,
28162
28192
  navigationBarHeight: ANDROID_GESTURE_NAV_BAR_HEIGHT,
28163
28193
  // not measured on an android emulator yet: this is the iphone 16 figure
@@ -28196,6 +28226,7 @@ var init_devices = __esm({
28196
28226
  height: 780,
28197
28227
  scale: 3,
28198
28228
  statusBarHeight: 36,
28229
+ landscapeStatusBarHeight: 36,
28199
28230
  homeIndicatorHeight: 0,
28200
28231
  navigationBarHeight: ANDROID_GESTURE_NAV_BAR_HEIGHT,
28201
28232
  // not measured on an android emulator yet: this is the iphone 16 figure
@@ -28235,6 +28266,7 @@ var init_devices = __esm({
28235
28266
  height: 832,
28236
28267
  scale: 3.75,
28237
28268
  statusBarHeight: 36,
28269
+ landscapeStatusBarHeight: 36,
28238
28270
  homeIndicatorHeight: 0,
28239
28271
  navigationBarHeight: ANDROID_GESTURE_NAV_BAR_HEIGHT,
28240
28272
  // not measured on an android emulator yet: this is the iphone 16 figure
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import { execFile as execFile2 } from "node:child_process";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function isSwiftManifestFile(file) {
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
 
3
3
  // src/swift-submit.ts
4
4
  var SWIFT_COMPILE_PATH = "/api/swift-compile";
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! rnx v0.1.683 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
1
+ /*! rnx v0.1.685 | (c) 2026 Tamagui LLC | Proprietary — see LICENSE */
2
2
  let __sootsim_import_meta_url = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.683",
3
+ "version": "0.1.685",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -28,6 +28,7 @@ import https from 'https'
28
28
  import { finished, pipeline } from 'stream/promises'
29
29
  import { isLoopbackHost, normalizeHostname } from '../backend-origin.ts'
30
30
  import {
31
+ FETCH_PROXY_NATIVE_USER_AGENT_HEADER,
31
32
  getFetchProxyTargetHeaders,
32
33
  resolveFetchProxyTargetUrl,
33
34
  } from './fetch-proxy-overrides.ts'
@@ -67,6 +68,7 @@ const STRIP_FETCH_PROXY_HEADERS = new Set([
67
68
  'sec-ch-ua',
68
69
  'sec-ch-ua-mobile',
69
70
  'sec-ch-ua-platform',
71
+ FETCH_PROXY_NATIVE_USER_AGENT_HEADER,
70
72
  ])
71
73
 
72
74
  const FETCH_PROXY_CORS_HEADERS: Record<string, string> = {
@@ -112,7 +114,14 @@ export function buildFetchProxyHeaders(
112
114
  if (STRIP_FETCH_PROXY_HEADERS.has(key.toLowerCase())) continue
113
115
  headers[key] = Array.isArray(value) ? value.join(', ') : value
114
116
  }
115
- Object.assign(headers, targetUrl ? getFetchProxyTargetHeaders(targetUrl) : {})
117
+ const rawNativeUserAgent = reqHeaders[FETCH_PROXY_NATIVE_USER_AGENT_HEADER]
118
+ const nativeUserAgent = Array.isArray(rawNativeUserAgent)
119
+ ? rawNativeUserAgent[0]
120
+ : rawNativeUserAgent
121
+ Object.assign(
122
+ headers,
123
+ targetUrl ? getFetchProxyTargetHeaders(targetUrl, nativeUserAgent) : {},
124
+ )
116
125
  return headers
117
126
  }
118
127