peachsim 0.1.1830 → 0.1.1832

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 (130) 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 -9
  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 +3 -3
  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 +20 -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 +20 -9
  68. package/dist-lib/swift-compile.cjs +2 -2
  69. package/dist-lib/swift-compile.mjs +2 -2
  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 +3 -3
  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/render-worker/resilient-frame-clock.d.ts +1 -0
  81. package/package.json +1 -1
  82. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAdjustmentData.h +28 -0
  83. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAsset.h +129 -0
  84. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetChangeRequest.h +143 -0
  85. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetCollection.h +67 -0
  86. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetCollectionChangeRequest.h +60 -0
  87. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetCreationRequest.h +55 -0
  88. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetExtendedMetadata.h +33 -0
  89. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetResource.h +67 -0
  90. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetResourceManager.h +55 -0
  91. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetResourceUploadJob.h +79 -0
  92. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetResourceUploadJobChangeRequest.h +94 -0
  93. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHAssetResourceUploadJobOptions.h +23 -0
  94. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHChange.h +91 -0
  95. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHChangeRequest.h +12 -0
  96. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHCloudIdentifier.h +133 -0
  97. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHCollection.h +68 -0
  98. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHCollectionList.h +59 -0
  99. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHCollectionListChangeRequest.h +95 -0
  100. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHContentEditingInput.h +55 -0
  101. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHContentEditingOutput.h +37 -0
  102. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHError.h +56 -0
  103. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHFetchOptions.h +48 -0
  104. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHFetchResult.h +43 -0
  105. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHImageManager.h +251 -0
  106. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHLivePhoto.h +52 -0
  107. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHLivePhotoEditingContext.h +131 -0
  108. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHObject.h +32 -0
  109. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHPersistentChange.h +29 -0
  110. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHPersistentChangeFetchResult.h +26 -0
  111. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHPersistentChangeToken.h +21 -0
  112. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHPersistentObjectChangeDetails.h +30 -0
  113. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHPhotoLibrary.h +174 -0
  114. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHProject.h +35 -0
  115. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PHProjectChangeRequest.h +66 -0
  116. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/Photos.apinotes +12 -0
  117. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/Photos.h +58 -0
  118. package/sdk/ios/System/Library/Frameworks/Photos.framework/Headers/PhotosTypes.h +332 -0
  119. package/sdk/ios/System/Library/Frameworks/Photos.framework/Modules/module.modulemap +5 -0
  120. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Headers/PHContentEditingController.h +48 -0
  121. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Headers/PHLivePhotoView.h +117 -0
  122. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Headers/PHPhotoLibrary+PhotosUISupport.h +56 -0
  123. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Headers/PHPicker.h +311 -0
  124. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Headers/PHSharedAlbumCreationViewController.h +112 -0
  125. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Headers/PHSharedAlbumCustomizationViewController.h +76 -0
  126. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Headers/PHSharedAlbumPostingViewController.h +72 -0
  127. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Headers/PhotosUI.h +38 -0
  128. package/sdk/ios/System/Library/Frameworks/PhotosUI.framework/Modules/module.modulemap +6 -0
  129. package/src/nitro-dependencies.ts +3 -3
  130. package/src/turbo-source.ts +15 -2
@@ -194,6 +194,7 @@ const REACT_NATIVE_OBJC_UNITS = [
194
194
  'React/Base/RCTModuleRegistry.m',
195
195
  'React/Base/RCTParserUtils.m',
196
196
  'React/Base/RCTRedBoxSetEnabled.m',
197
+ 'React/Base/RCTUtilsUIOverride.m',
197
198
  'React/Base/RCTViewRegistry.m',
198
199
  'React/Modules/RCTEventEmitter.m',
199
200
  ]
@@ -1913,6 +1914,7 @@ export async function collectTurboSources(options: {
1913
1914
  `module ${TURBO_CORE_TARGET} { header "${TURBO_ENTRY_HEADER}" export * }\n`,
1914
1915
  )
1915
1916
  let decoratorHasPerformanceLogger = false
1917
+ let managerHasDevMenuDecorator = false
1916
1918
  if (objc || fabric) {
1917
1919
  // both the module manager and Fabric renderer reach the configured glog pod.
1918
1920
  for (const { relative, source, text, sha256, configured } of glogSources()) {
@@ -1960,6 +1962,16 @@ export async function collectTurboSources(options: {
1960
1962
  throw new Error(
1961
1963
  `react-native ${reactNative.version}: unsupported RCTBridgeModuleDecorator initializer`,
1962
1964
  )
1965
+ managerHasDevMenuDecorator =
1966
+ /initWithBridgeProxy\s*:[^;]*devMenuConfigurationDecorator\s*:/.test(
1967
+ fs.readFileSync(
1968
+ path.join(
1969
+ reactNative.root,
1970
+ 'ReactCommon/react/nativemodule/core/platform/ios/ReactCommon/RCTTurboModuleManager.h',
1971
+ ),
1972
+ 'utf8',
1973
+ ),
1974
+ )
1963
1975
  // Apple's Foundation.h transitively includes <ctype.h>, and CF_OPTIONS
1964
1976
  // typedefs NSUInteger under __cplusplus so RCTParserUtils.m and
1965
1977
  // RCTConvert.mm compile unchanged against the published distribution.
@@ -2093,6 +2105,7 @@ export async function collectTurboSources(options: {
2093
2105
  [...objcClasses].sort(),
2094
2106
  [...unregisteredObjcClasses].sort(),
2095
2107
  decoratorHasPerformanceLogger,
2108
+ managerHasDevMenuDecorator,
2096
2109
  )
2097
2110
  : turboHostSource(withRuntime),
2098
2111
  )
@@ -2234,6 +2247,7 @@ function turboObjCHostSource(
2234
2247
  objcClasses: readonly string[],
2235
2248
  unregisteredClasses: readonly string[],
2236
2249
  decoratorHasPerformanceLogger: boolean,
2250
+ managerHasDevMenuDecorator: boolean,
2237
2251
  ): string {
2238
2252
  const classNamesList = objcClasses.map((name) => `@${JSON.stringify(name)}`).join(', ')
2239
2253
  const unregisteredList = unregisteredClasses
@@ -2513,8 +2527,7 @@ extern "C" void peachTurboInitialize() {
2513
2527
  manager = [[RCTTurboModuleManager alloc] initWithBridgeProxy:nil
2514
2528
  bridgeModuleDecorator:decorator
2515
2529
  delegate:delegate
2516
- jsInvoker:invoker
2517
- devMenuConfigurationDecorator:nil];
2530
+ jsInvoker:invoker${managerHasDevMenuDecorator ? '\n devMenuConfigurationDecorator:nil' : ''}];
2518
2531
  // native's RCTInstance routes a module's callFunctionOnModule into React
2519
2532
  // Native's callable-module registry; here the guest's evaluation answers it,
2520
2533
  // so a module's RCTEventEmitter events reach the guest's RCTDeviceEventEmitter.