peachsim 0.1.1893 → 0.1.1894

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 (86) hide show
  1. package/dist-lib/agent-daemon-client.cjs +1 -1
  2. package/dist-lib/agent-events.cjs +1 -1
  3. package/dist-lib/attached-projects.cjs +1 -1
  4. package/dist-lib/auth/shared-session.cjs +1 -1
  5. package/dist-lib/backend-origin.cjs +1 -1
  6. package/dist-lib/beta.cjs +1 -1
  7. package/dist-lib/beta.mjs +1 -1
  8. package/dist-lib/bridge-constants.cjs +1 -1
  9. package/dist-lib/bridge-contract-input.cjs +1 -1
  10. package/dist-lib/bridge-contract-input.mjs +1 -1
  11. package/dist-lib/bridge-contract.cjs +1 -1
  12. package/dist-lib/bridge-contract.mjs +1 -1
  13. package/dist-lib/bundle-channel.cjs +20 -10
  14. package/dist-lib/capture-contract.cjs +1 -1
  15. package/dist-lib/capture-contract.mjs +1 -1
  16. package/dist-lib/cloud-contract.cjs +1 -1
  17. package/dist-lib/cloud-contract.mjs +1 -1
  18. package/dist-lib/cloud-test-args.cjs +1 -1
  19. package/dist-lib/cloud-test-args.mjs +1 -1
  20. package/dist-lib/cloud.cjs +1 -1
  21. package/dist-lib/cloud.mjs +1 -1
  22. package/dist-lib/config.cjs +1 -1
  23. package/dist-lib/config.mjs +1 -1
  24. package/dist-lib/detox/index.cjs +1 -1
  25. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  26. package/dist-lib/expo-swift-bundle.cjs +18 -8
  27. package/dist-lib/expo-swift-metadata.cjs +1 -1
  28. package/dist-lib/expo-swift-metadata.mjs +1 -1
  29. package/dist-lib/home-paths.cjs +1 -1
  30. package/dist-lib/host/bridge-host.cjs +19 -9
  31. package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
  32. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  33. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  34. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  35. package/dist-lib/host/websocket-proxy.cjs +1 -1
  36. package/dist-lib/index.cjs +2 -2
  37. package/dist-lib/jump-to-source-babel.cjs +1 -1
  38. package/dist-lib/jump-to-source-native.cjs +1 -1
  39. package/dist-lib/kotlin-host.cjs +1 -1
  40. package/dist-lib/menu.cjs +1 -1
  41. package/dist-lib/menu.mjs +1 -1
  42. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  43. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  44. package/dist-lib/metro-production-bundle.cjs +1 -1
  45. package/dist-lib/metro-production-bundle.mjs +1 -1
  46. package/dist-lib/metro.cjs +2 -2
  47. package/dist-lib/native-app-identity-project.cjs +2 -2
  48. package/dist-lib/native-app-identity-project.mjs +2 -2
  49. package/dist-lib/native-app-identity.cjs +1 -1
  50. package/dist-lib/native-app-identity.mjs +1 -1
  51. package/dist-lib/native-firebase-metadata.cjs +1 -1
  52. package/dist-lib/native-firebase-metadata.mjs +1 -1
  53. package/dist-lib/pdfium-raster.cjs +1 -1
  54. package/dist-lib/pdfium-raster.mjs +1 -1
  55. package/dist-lib/plist.cjs +1 -1
  56. package/dist-lib/plist.mjs +1 -1
  57. package/dist-lib/profiles.cjs +1 -1
  58. package/dist-lib/public-brand.cjs +1 -1
  59. package/dist-lib/public-origins-lib-esm.json +24 -24
  60. package/dist-lib/public-origins-lib.json +53 -53
  61. package/dist-lib/react-native-host-modules.cjs +1 -1
  62. package/dist-lib/react-native-host-modules.mjs +1 -1
  63. package/dist-lib/reap-browser.cjs +1 -1
  64. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  65. package/dist-lib/sdk.cjs +1 -1
  66. package/dist-lib/sdk.mjs +1 -1
  67. package/dist-lib/skills.cjs +19 -9
  68. package/dist-lib/swift-compile.cjs +16 -6
  69. package/dist-lib/swift-compile.mjs +16 -6
  70. package/dist-lib/swift-package.cjs +1 -1
  71. package/dist-lib/swift-package.mjs +1 -1
  72. package/dist-lib/swift-submit.cjs +1 -1
  73. package/dist-lib/swift-submit.mjs +1 -1
  74. package/dist-lib/swift-toolchain.cjs +1 -1
  75. package/dist-lib/swift.cjs +1 -1
  76. package/dist-lib/vite-swift.cjs +17 -7
  77. package/dist-lib/vite.cjs +1 -1
  78. package/dist-lib/worklet-executable.cjs +1 -1
  79. package/dist-lib/worklet-executable.mjs +1 -1
  80. package/dist-types/packages/peach-engine/src/engine/node.d.ts +2 -0
  81. package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +2 -0
  82. package/dist-types/packages/peach-engine/src/render-worker/shell-tree-wire.d.ts +2 -0
  83. package/package.json +1 -1
  84. package/src/bundle-channel.mjs +1 -1
  85. package/src/swift-shared-sdk.ts +7 -2
  86. package/src/swift-wasm-prune.ts +5 -0
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-compile.ts
4
4
  import {
@@ -3906,7 +3906,12 @@ function readULEB(b, o) {
3906
3906
  var WEAKEN_BUNDLE_SYMS = /* @__PURE__ */ new Set([
3907
3907
  "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
3908
3908
  "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
3909
- "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg"
3909
+ "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
3910
+ "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
3911
+ "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
3912
+ "$s10Foundation16NSSortDescriptorC3keySSSgvg",
3913
+ "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC",
3914
+ "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc"
3910
3915
  ]);
3911
3916
  function weakenBundleSymbolsInWasmObj(buf) {
3912
3917
  let pos = 8;
@@ -4004,7 +4009,7 @@ function weakenBundleInArchive(arBuf) {
4004
4009
  } else if (name2.endsWith("/")) {
4005
4010
  name2 = name2.slice(0, -1);
4006
4011
  }
4007
- if (name2.endsWith("Bundle.o")) {
4012
+ if (name2.endsWith("Bundle.o") || name2.endsWith("NSSortDescriptor.o")) {
4008
4013
  weakenBundleSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
4009
4014
  }
4010
4015
  pos = bodyEnd + (size & 1);
@@ -4057,7 +4062,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
4057
4062
  const overlay = path8.join(swiftSharedSdkRoot(moduleRoot, distribution), "wasm/include");
4058
4063
  const overlayFiles = readdirSync4(overlay, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => path8.join(entry.parentPath, entry.name)).sort();
4059
4064
  const key = JSON.stringify([
4060
- "v16",
4065
+ "v17",
4061
4066
  toolchainBin,
4062
4067
  sdk,
4063
4068
  frameworks,
@@ -6013,7 +6018,12 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
6013
6018
  "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
6014
6019
  "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
6015
6020
  "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZTf4nnd_n",
6016
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n"
6021
+ "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n",
6022
+ "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
6023
+ "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
6024
+ "$s10Foundation16NSSortDescriptorC3keySSSgvg",
6025
+ "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC",
6026
+ "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc"
6017
6027
  ]);
6018
6028
  while (workQueue.length > 0) {
6019
6029
  const item = workQueue.pop();
@@ -12047,7 +12057,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
12047
12057
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
12048
12058
  var MULTI_MANIFEST_VERSION = 66;
12049
12059
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
12050
- var compilerSourceDigest = true ? "4f75152d1dc28713cff3f67f364f34122685cc0bbaca7fd0a59ca8e7cdf390dd" : swiftCompilerSourceDigest(import.meta.dirname);
12060
+ var compilerSourceDigest = true ? "fb6a032a99e0f0deb726fd333c29f2af53ae64083280ada6f9b9a922e1bbe3b6" : swiftCompilerSourceDigest(import.meta.dirname);
12051
12061
  function swiftArtifactHash(input, release, moduleRoot) {
12052
12062
  const hash = createHash13("sha256");
12053
12063
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (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
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -8313,7 +8313,12 @@ function readULEB(b, o) {
8313
8313
  var WEAKEN_BUNDLE_SYMS = /* @__PURE__ */ new Set([
8314
8314
  "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ",
8315
8315
  "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
8316
- "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg"
8316
+ "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
8317
+ "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
8318
+ "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
8319
+ "$s10Foundation16NSSortDescriptorC3keySSSgvg",
8320
+ "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC",
8321
+ "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc"
8317
8322
  ]);
8318
8323
  function weakenBundleSymbolsInWasmObj(buf) {
8319
8324
  let pos = 8;
@@ -8411,7 +8416,7 @@ function weakenBundleInArchive(arBuf) {
8411
8416
  } else if (name3.endsWith("/")) {
8412
8417
  name3 = name3.slice(0, -1);
8413
8418
  }
8414
- if (name3.endsWith("Bundle.o")) {
8419
+ if (name3.endsWith("Bundle.o") || name3.endsWith("NSSortDescriptor.o")) {
8415
8420
  weakenBundleSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd));
8416
8421
  }
8417
8422
  pos = bodyEnd + (size & 1);
@@ -8464,7 +8469,7 @@ function swiftSharedSdkViewOptions(moduleRoot, distribution, toolchainBin, sdk)
8464
8469
  const overlay = import_node_path8.default.join(swiftSharedSdkRoot(moduleRoot, distribution), "wasm/include");
8465
8470
  const overlayFiles = (0, import_node_fs8.readdirSync)(overlay, { recursive: true, withFileTypes: true }).filter((entry) => entry.isFile()).map((entry) => import_node_path8.default.join(entry.parentPath, entry.name)).sort();
8466
8471
  const key2 = JSON.stringify([
8467
- "v16",
8472
+ "v17",
8468
8473
  toolchainBin,
8469
8474
  sdk,
8470
8475
  frameworks,
@@ -10497,7 +10502,12 @@ function pruneSwiftWasmLink(directory, toolchainBin, moduleRoot, staticClangTarg
10497
10502
  "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ",
10498
10503
  "$s10Foundation6BundleC22preferredLocalizationsSaySSGvg",
10499
10504
  "$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZTf4nnd_n",
10500
- "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n"
10505
+ "$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n",
10506
+ "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC",
10507
+ "$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc",
10508
+ "$s10Foundation16NSSortDescriptorC3keySSSgvg",
10509
+ "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC",
10510
+ "$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc"
10501
10511
  ]);
10502
10512
  while (workQueue.length > 0) {
10503
10513
  const item = workQueue.pop();
@@ -16384,7 +16394,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
16384
16394
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
16385
16395
  var MULTI_MANIFEST_VERSION = 66;
16386
16396
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
16387
- var compilerSourceDigest = true ? "4f75152d1dc28713cff3f67f364f34122685cc0bbaca7fd0a59ca8e7cdf390dd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
16397
+ var compilerSourceDigest = true ? "fb6a032a99e0f0deb726fd333c29f2af53ae64083280ada6f9b9a922e1bbe3b6" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
16388
16398
  function swiftArtifactHash(input, release, moduleRoot) {
16389
16399
  const hash = (0, import_node_crypto12.createHash)("sha256");
16390
16400
  hash.update(`swift-compile
@@ -29517,7 +29527,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
29517
29527
  return hash.digest("hex");
29518
29528
  }
29519
29529
  var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
29520
- var STANDIN_SOURCE_DIGEST = true ? "74401557c03cc7fdfc06f244155e4de22d701bcff0bbab61854b8105f7b45343" : standinSourceDigest();
29530
+ var STANDIN_SOURCE_DIGEST = true ? "4957c25c42feca435356d8b43953f66b2a690c2f08fdf3813aebb0fbb90b01a7" : standinSourceDigest();
29521
29531
 
29522
29532
  // src/swift-standins.ts
29523
29533
  init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __create = Object.create;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
3
3
  "use strict";
4
4
  var __defProp = Object.defineProperty;
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.1893 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.1894 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/worklet-executable.ts
4
4
  import { parse } from "acorn";
@@ -230,6 +230,8 @@ export declare class SootSimNode {
230
230
  _animatedDriveInputs: ReadonlySet<object>;
231
231
  _laneStyle: Record<string, unknown> | null;
232
232
  _layoutSlot?: number;
233
+ _treeContentShiftX?: number;
234
+ _treeContentShiftY?: number;
233
235
  private _previousLayout;
234
236
  private _nativeYogaFrame;
235
237
  get hasPrevLayout(): boolean;
@@ -1447,6 +1447,8 @@ export interface CompositorScrollRegistryEntry {
1447
1447
  slotSampleTime: number;
1448
1448
  slotDragStartTime: number;
1449
1449
  slotPresentationDisplacementY: number;
1450
+ slotContentShiftX: number;
1451
+ slotContentShiftY: number;
1450
1452
  }
1451
1453
  export declare const SCREEN_TRANSITION_DONE_OUTCOMES: readonly ['stale-generation', 'unbound-generation', 'no-claim', 'claim-mismatch', 'no-active-transition', 'completed'];
1452
1454
  export interface ScreenTransitionDriveStats {
@@ -26,6 +26,8 @@ export interface WireElementNode {
26
26
  sharedTransitionBoundary?: true;
27
27
  scrollX?: number;
28
28
  scrollY?: number;
29
+ contentShiftX?: number;
30
+ contentShiftY?: number;
29
31
  zoom?: number;
30
32
  selectionStart?: number;
31
33
  selectionEnd?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.1893",
3
+ "version": "0.1.1894",
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",
@@ -32,7 +32,7 @@ function packagedAssetDirectory(location) {
32
32
  const channelKey = (platform) =>
33
33
  platform === 'ios' ? 'peach/channels/prod' : `peach/channels/${platform}/prod`
34
34
  const nativeAssetPath = {
35
- ios: /^__peach\/(swift|swift-icu)\/[a-f0-9]{64}(\.wasm)?$/,
35
+ ios: /^__peach\/(swift\/[a-f0-9]{64}\.wasm|swift-icu\/[a-f0-9]{64}\.picu[0-9]+)$/,
36
36
  android: /^__peach\/kotlin\/[a-f0-9]+\/[A-Za-z0-9._-]+\.(mjs|wasm)$/,
37
37
  }
38
38
 
@@ -74,6 +74,11 @@ const WEAKEN_BUNDLE_SYMS = new Set([
74
74
  '$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZ',
75
75
  '$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZ',
76
76
  '$s10Foundation6BundleC22preferredLocalizationsSaySSGvg',
77
+ '$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC',
78
+ '$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc',
79
+ '$s10Foundation16NSSortDescriptorC3keySSSgvg',
80
+ '$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC',
81
+ '$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc',
77
82
  ])
78
83
 
79
84
  function weakenBundleSymbolsInWasmObj(buf: Uint8Array): void {
@@ -181,7 +186,7 @@ export function weakenBundleInArchive(arBuf: Uint8Array): void {
181
186
  } else if (name.endsWith('/')) {
182
187
  name = name.slice(0, -1)
183
188
  }
184
- if (name.endsWith('Bundle.o')) {
189
+ if (name.endsWith('Bundle.o') || name.endsWith('NSSortDescriptor.o')) {
185
190
  weakenBundleSymbolsInWasmObj(arBuf.subarray(bodyStart, bodyEnd))
186
191
  }
187
192
  pos = bodyEnd + (size & 1)
@@ -255,7 +260,7 @@ export function swiftSharedSdkViewOptions(
255
260
  .map((entry) => path.join(entry.parentPath, entry.name))
256
261
  .sort()
257
262
  const key = JSON.stringify([
258
- 'v16',
263
+ 'v17',
259
264
  toolchainBin,
260
265
  sdk,
261
266
  frameworks,
@@ -1616,6 +1616,11 @@ export function pruneSwiftWasmLink(
1616
1616
  '$s10Foundation6BundleC22preferredLocalizationsSaySSGvg',
1617
1617
  '$s10Foundation6BundleC22preferredLocalizations4from14forPreferencesSaySSGAG_AGSgtFZTf4nnd_n',
1618
1618
  '$s10Foundation6BundleC22preferredLocalizations4fromSaySSGAF_tFZTf4nd_n',
1619
+ '$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_SbtcfC',
1620
+ '$s10Foundation16NSSortDescriptorC3key9ascendingACSSSg_Sbtcfc',
1621
+ '$s10Foundation16NSSortDescriptorC3keySSSgvg',
1622
+ '$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufC',
1623
+ '$s10Foundation16NSSortDescriptorC7keyPath9ascendingACs03KeyE0Cyxq_G_SbtcSLR_r0_lufc',
1619
1624
  ])
1620
1625
 
1621
1626
  while (workQueue.length > 0) {