peachsim 0.1.2274 → 0.1.2276
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/cli/outbound-endpoints.ts +12 -0
- package/detox/index.ts +109 -29
- package/dist-lib/agent-daemon-client.cjs +1 -1
- package/dist-lib/agent-events.cjs +1 -1
- package/dist-lib/attached-projects.cjs +1 -1
- package/dist-lib/auth/shared-session.cjs +1 -1
- package/dist-lib/backend-origin.cjs +1 -1
- package/dist-lib/beta.cjs +1 -1
- package/dist-lib/beta.mjs +1 -1
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +1 -1
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +1 -1
- package/dist-lib/bundle-channel.cjs +11 -8
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +1 -1
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +1 -1
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +1 -1
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +1 -1
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +1 -1
- package/dist-lib/detox/index.cjs +63 -10
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +5 -5
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +1 -1
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +11 -8
- package/dist-lib/host/fetch-proxy-handler.cjs +4 -5
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +4 -5
- package/dist-lib/jump-to-source-babel.cjs +1 -1
- package/dist-lib/jump-to-source-native.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +1 -1
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +1 -1
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +1 -1
- package/dist-lib/metro.cjs +4 -5
- package/dist-lib/native-app-identity-project.cjs +2 -2
- package/dist-lib/native-app-identity-project.mjs +2 -2
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +1 -1
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +1 -1
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +1 -1
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +1 -1
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +24 -24
- package/dist-lib/public-origins-lib.json +53 -53
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +1 -1
- package/dist-lib/reap-browser.cjs +1 -1
- package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
- package/dist-lib/sdk.cjs +1 -1
- package/dist-lib/sdk.mjs +1 -1
- package/dist-lib/skills.cjs +18 -12
- package/dist-lib/swift-compile.cjs +3 -3
- package/dist-lib/swift-compile.mjs +3 -3
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +1 -1
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +1 -1
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +4 -4
- package/dist-lib/vite.cjs +4 -5
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/image-loader.d.ts +2 -0
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +14 -2
- package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +41 -0
- package/dist-types/packages/peach-engine/src/platform/personality.d.ts +32 -1
- package/dist-types/packages/peach-engine/src/render-worker/compositor-protocol.d.ts +4 -0
- package/dist-types/packages/peach-engine/src/render-worker/native-ui-protocol.d.ts +3 -28
- package/dist-types/packages/peach-globals/src/lockstepCaptureBridgeContract.d.ts +9 -0
- package/dist-types/packages/peach-globals/src/testBridgeContract.d.ts +12 -5
- package/dist-types/packages/peach-globals/src/webViewBridgeContract.d.ts +7 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKSourceRevision.h +3 -3
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteBuilder.h +2 -1
- package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteQuery.h +3 -2
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h +1 -1
- package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIResponder.h +1 -1
- package/src/nitro-compile.ts +4 -0
- package/src/swift-compile.ts +5 -4
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84","file":"node/cli-6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84.cjs"}
|
|
@@ -48,7 +48,7 @@ API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
|
48
48
|
@discussion iOS versions after 8.0 but prior to 8.2 are saved as 8.0, and iOS version after 8.2 but prior to 9.0
|
|
49
49
|
are saved as 8.2.
|
|
50
50
|
*/
|
|
51
|
-
@property (readonly, assign) NSOperatingSystemVersion operatingSystemVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
|
|
51
|
+
@property (readonly, assign) NSOperatingSystemVersion operatingSystemVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0)) NS_REFINED_FOR_SWIFT;
|
|
52
52
|
|
|
53
53
|
/*!
|
|
54
54
|
@method initWithSource:version:productType:operatingSystemVersion:
|
|
@@ -58,7 +58,7 @@ API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
|
58
58
|
- (instancetype)initWithSource:(HKSource *)source
|
|
59
59
|
version:(nullable NSString *)version
|
|
60
60
|
productType:(nullable NSString *)productType
|
|
61
|
-
operatingSystemVersion:(NSOperatingSystemVersion)operatingSystemVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
|
|
61
|
+
operatingSystemVersion:(NSOperatingSystemVersion)operatingSystemVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0)) NS_REFINED_FOR_SWIFT;
|
|
62
62
|
|
|
63
63
|
/*!
|
|
64
64
|
@method initWithSource:version:
|
|
@@ -73,6 +73,6 @@ API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0))
|
|
|
73
73
|
// Constants to match on any value of that property when querying for samples from an HKSourceRevision
|
|
74
74
|
HK_EXTERN NSString * const HKSourceRevisionAnyVersion API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
|
|
75
75
|
HK_EXTERN NSString * const HKSourceRevisionAnyProductType API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
|
|
76
|
-
HK_EXTERN NSOperatingSystemVersion const HKSourceRevisionAnyOperatingSystem API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));
|
|
76
|
+
HK_EXTERN NSOperatingSystemVersion const HKSourceRevisionAnyOperatingSystem API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0)) NS_REFINED_FOR_SWIFT;
|
|
77
77
|
|
|
78
78
|
NS_ASSUME_NONNULL_END
|
package/sdk/ios/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteBuilder.h
CHANGED
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
//
|
|
7
7
|
|
|
8
8
|
#import <Foundation/Foundation.h>
|
|
9
|
+
#import <CoreLocation/CLLocation.h>
|
|
9
10
|
#import <HealthKit/HKDefines.h>
|
|
10
11
|
#import <HealthKit/HKSeriesBuilder.h>
|
|
11
12
|
|
|
@@ -57,7 +58,7 @@ API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0))
|
|
|
57
58
|
finishRouteWithMetadata: method.
|
|
58
59
|
*/
|
|
59
60
|
- (void)insertRouteData:(NSArray<CLLocation *> *)routeData
|
|
60
|
-
completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
|
|
61
|
+
completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) NS_REFINED_FOR_SWIFT;
|
|
61
62
|
|
|
62
63
|
/*!
|
|
63
64
|
@method addMetadata:completion:
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
//
|
|
7
7
|
|
|
8
8
|
#import <Foundation/Foundation.h>
|
|
9
|
+
#import <CoreLocation/CLLocation.h>
|
|
9
10
|
#import <HealthKit/HKDefines.h>
|
|
10
11
|
#import <HealthKit/HKQuery.h>
|
|
11
12
|
|
|
@@ -41,7 +42,7 @@ API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0))
|
|
|
41
42
|
stopQuery called, the query is complete and no more calls to the handler will be made.
|
|
42
43
|
*/
|
|
43
44
|
- (instancetype)initWithRoute:(HKWorkoutRoute *)workoutRoute
|
|
44
|
-
dataHandler:(void(^NS_SWIFT_SENDABLE)(HKWorkoutRouteQuery *query, NSArray<CLLocation *> * _Nullable routeData, BOOL done, NSError * _Nullable error))dataHandler;
|
|
45
|
+
dataHandler:(void(^NS_SWIFT_SENDABLE)(HKWorkoutRouteQuery *query, NSArray<CLLocation *> * _Nullable routeData, BOOL done, NSError * _Nullable error))dataHandler NS_REFINED_FOR_SWIFT;
|
|
45
46
|
|
|
46
47
|
/*!
|
|
47
48
|
@method initWithRoute:dateInterval:dataHandler:
|
|
@@ -60,7 +61,7 @@ API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0))
|
|
|
60
61
|
*/
|
|
61
62
|
- (instancetype)initWithRoute:(HKWorkoutRoute *)workoutRoute
|
|
62
63
|
dateInterval:(NSDateInterval *)dateInterval
|
|
63
|
-
dataHandler:(void(^NS_SWIFT_SENDABLE)(HKWorkoutRouteQuery *query, NSArray<CLLocation *> * _Nullable routeData, BOOL done, NSError * _Nullable error))dataHandler API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
|
|
64
|
+
dataHandler:(void(^NS_SWIFT_SENDABLE)(HKWorkoutRouteQuery *query, NSArray<CLLocation *> * _Nullable routeData, BOOL done, NSError * _Nullable error))dataHandler API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0)) NS_REFINED_FOR_SWIFT;
|
|
64
65
|
|
|
65
66
|
@end
|
|
66
67
|
|
package/sdk/ios/System/Library/Frameworks/UIKit.framework/Headers/UIPasteConfigurationSupporting.h
CHANGED
|
@@ -14,7 +14,7 @@ NS_HEADER_AUDIT_BEGIN(nullability, sendability)
|
|
|
14
14
|
@class UIPasteConfiguration;
|
|
15
15
|
|
|
16
16
|
UIKIT_EXTERN API_AVAILABLE(ios(11.0)) API_UNAVAILABLE(tvos, watchos) NS_SWIFT_UI_ACTOR
|
|
17
|
-
@protocol UIPasteConfigurationSupporting <NSObject>
|
|
17
|
+
PEACH_SWIFT_CLASS(UIKitCore) @protocol UIPasteConfigurationSupporting <NSObject>
|
|
18
18
|
|
|
19
19
|
@property (nonatomic, copy, nullable) UIPasteConfiguration *pasteConfiguration;
|
|
20
20
|
|
|
@@ -212,7 +212,7 @@ UIKIT_EXTERN NSString *const UIKeyInputDelete API_AVAILABLE(ios(15.0),
|
|
|
212
212
|
@end
|
|
213
213
|
|
|
214
214
|
#if TARGET_OS_IOS
|
|
215
|
-
@interface UIResponder (UIPasteConfigurationSupporting) <UIPasteConfigurationSupporting>
|
|
215
|
+
PEACH_SWIFT_CLASS(UIKitCore) @interface UIResponder (UIPasteConfigurationSupporting) <UIPasteConfigurationSupporting>
|
|
216
216
|
@end
|
|
217
217
|
#endif
|
|
218
218
|
|
package/src/nitro-compile.ts
CHANGED
|
@@ -208,6 +208,10 @@ export function collectNitroCompileInput(
|
|
|
208
208
|
...target,
|
|
209
209
|
swiftFlags: [
|
|
210
210
|
'-enable-bare-slash-regex',
|
|
211
|
+
'-Xfrontend',
|
|
212
|
+
'-import-module',
|
|
213
|
+
'-Xfrontend',
|
|
214
|
+
'Foundation',
|
|
211
215
|
...ndebug.flatMap((flag) => ['-Xcc', flag]),
|
|
212
216
|
...(target.swiftFlags ?? []),
|
|
213
217
|
],
|
package/src/swift-compile.ts
CHANGED
|
@@ -4992,12 +4992,13 @@ export function writeSwiftProject(
|
|
|
4992
4992
|
}
|
|
4993
4993
|
const accessorFlags = accessor ? ['-include', accessorHeader] : []
|
|
4994
4994
|
const nativeC = !entries.some(([file]) => file.endsWith('.swift'))
|
|
4995
|
+
// an app target's overlay carries every pod's framework products, so
|
|
4996
|
+
// the target's own map is the one that defines its module
|
|
4995
4997
|
const originalModuleMap = Object.entries(settings.productHeaders).find(
|
|
4996
4998
|
([product, file]) =>
|
|
4997
|
-
product.endsWith('/Modules/module.modulemap') ||
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
swiftTargetModuleName(target.name)),
|
|
4999
|
+
(product.endsWith('/Modules/module.modulemap') ||
|
|
5000
|
+
file.endsWith('.modulemap')) &&
|
|
5001
|
+
moduleMapName(input.files[file] ?? '') === swiftTargetModuleName(target.name),
|
|
5001
5002
|
)
|
|
5002
5003
|
const packageModuleMap = entries.find(
|
|
5003
5004
|
([file]) => file === includes + 'module.modulemap',
|