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/dist-lib/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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);
|
package/dist-lib/skills.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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;
|
|
@@ -2567,7 +2567,6 @@ var init_lazy_stub_patterns = __esm({
|
|
|
2567
2567
|
"@react-native-ml-kit/text-recognition",
|
|
2568
2568
|
"@react-native-segmented-control/segmented-control",
|
|
2569
2569
|
"@react-native-seoul/naver-login",
|
|
2570
|
-
"@renegades/react-native-tickle",
|
|
2571
2570
|
"@rnw-community/react-native-payments",
|
|
2572
2571
|
"@rudderstack/rudder-integration-firebase-react-native",
|
|
2573
2572
|
"@rudderstack/rudder-sdk-react-native",
|
|
@@ -5794,6 +5793,8 @@ var init_supported_native_packages = __esm({
|
|
|
5794
5793
|
// seam
|
|
5795
5794
|
"@react-native-runtimes/state",
|
|
5796
5795
|
// seam
|
|
5796
|
+
"@renegades/react-native-tickle",
|
|
5797
|
+
// compiled-nitro+coverage
|
|
5797
5798
|
"@rive-app/react-native",
|
|
5798
5799
|
// seam
|
|
5799
5800
|
"@rn-org/react-native-shortcuts",
|
|
@@ -13558,10 +13559,11 @@ var init_registry = __esm({
|
|
|
13558
13559
|
stubType: "native",
|
|
13559
13560
|
versions: [
|
|
13560
13561
|
{
|
|
13561
|
-
range: "
|
|
13562
|
-
coverage:
|
|
13563
|
-
note: "
|
|
13564
|
-
|
|
13562
|
+
range: "0.1.2",
|
|
13563
|
+
coverage: 1,
|
|
13564
|
+
note: "compiled-nitro: original package JavaScript and Swift provider (Tickle) compile to wasm unchanged and execute on the Nitro path",
|
|
13565
|
+
working: "useHapticsEnabled, getHapticsEnabled, setHapticsEnabled, initializeEngine, destroyEngine, triggerImpact, triggerNotification, triggerSelection, startHaptic, createContinuousPlayer, startContinuousPlayer, updateContinuousPlayer, stopContinuousPlayer, destroyContinuousPlayer, and stopAllHaptics execute through HybridTickleSpec against CoreHaptics without trapping on simulator",
|
|
13566
|
+
missing: "physical haptic actuation is absent on the simulator; Android remains unqualified"
|
|
13565
13567
|
}
|
|
13566
13568
|
]
|
|
13567
13569
|
},
|
|
@@ -57328,7 +57330,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
57328
57330
|
const accessorFlags = accessor ? ["-include", accessorHeader] : [];
|
|
57329
57331
|
const nativeC = !entries.some(([file]) => file.endsWith(".swift"));
|
|
57330
57332
|
const originalModuleMap = Object.entries(settings.productHeaders).find(
|
|
57331
|
-
([product, file]) => product.endsWith("/Modules/module.modulemap") || file.endsWith(".modulemap") && moduleMapName(input.files[file] ?? "") === swiftTargetModuleName(target.name)
|
|
57333
|
+
([product, file]) => (product.endsWith("/Modules/module.modulemap") || file.endsWith(".modulemap")) && moduleMapName(input.files[file] ?? "") === swiftTargetModuleName(target.name)
|
|
57332
57334
|
);
|
|
57333
57335
|
const packageModuleMap = entries.find(
|
|
57334
57336
|
([file]) => file === includes + "module.modulemap"
|
|
@@ -59780,7 +59782,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
|
|
|
59780
59782
|
REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
59781
59783
|
MULTI_MANIFEST_VERSION = 68;
|
|
59782
59784
|
SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
59783
|
-
compilerSourceDigest = true ? "
|
|
59785
|
+
compilerSourceDigest = true ? "a20efac2c52e7bcc9aed9dd9f0b364d0c19ee2bbd112dcf0f29034b0f42226aa" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
59784
59786
|
nativeCxxCompilerFlags = ["-fno-cxx-modules"];
|
|
59785
59787
|
cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
|
|
59786
59788
|
cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
|
|
@@ -66251,7 +66253,7 @@ var init_swift_standin_digest = __esm({
|
|
|
66251
66253
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
66252
66254
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
66253
66255
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
66254
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
66256
|
+
STANDIN_SOURCE_DIGEST = true ? "33d7c163402f4604d26954aab9ca3dda9e1873476bd187040d131fd629635bc2" : standinSourceDigest();
|
|
66255
66257
|
}
|
|
66256
66258
|
});
|
|
66257
66259
|
|
|
@@ -66714,7 +66716,7 @@ var init_package_tree_digest = __esm({
|
|
|
66714
66716
|
|
|
66715
66717
|
// src/expo-native-prebuilt.ts
|
|
66716
66718
|
function expoNativeCompilerDigestValue() {
|
|
66717
|
-
return true ? "
|
|
66719
|
+
return true ? "85793d8dccf51ab0c5c612863919f38f87f8f77c902572f53f2192ca9d843885" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
66718
66720
|
}
|
|
66719
66721
|
function readSources(value) {
|
|
66720
66722
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -87726,6 +87728,10 @@ function collectNitroCompileInput(collection, adapter, dependencies, iosDeployme
|
|
|
87726
87728
|
...target,
|
|
87727
87729
|
swiftFlags: [
|
|
87728
87730
|
"-enable-bare-slash-regex",
|
|
87731
|
+
"-Xfrontend",
|
|
87732
|
+
"-import-module",
|
|
87733
|
+
"-Xfrontend",
|
|
87734
|
+
"Foundation",
|
|
87729
87735
|
...ndebug.flatMap((flag) => ["-Xcc", flag]),
|
|
87730
87736
|
...target.swiftFlags ?? []
|
|
87731
87737
|
]
|
|
@@ -88189,7 +88195,7 @@ var init_nitro_superset = __esm({
|
|
|
88189
88195
|
init_nitroContract();
|
|
88190
88196
|
init_swift_standin_digest();
|
|
88191
88197
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
88192
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
88198
|
+
NITRO_COMPILER_DIGEST = true ? "79ec31dd869200198ab4f6c0e7379d262d62e5d0a26f026f7bf944a4860c6111" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
88193
88199
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
88194
88200
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
88195
88201
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -88897,7 +88903,7 @@ var init_one_sdk_bundle = __esm({
|
|
|
88897
88903
|
var runtime_companion_default;
|
|
88898
88904
|
var init_runtime_companion = __esm({
|
|
88899
88905
|
"runtime-companion.json"() {
|
|
88900
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
88906
|
+
runtime_companion_default = { abi: 1, sha256: "6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84", file: "node/cli-6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84.cjs" };
|
|
88901
88907
|
}
|
|
88902
88908
|
});
|
|
88903
88909
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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;
|
|
@@ -13471,7 +13471,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13471
13471
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13472
13472
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13473
13473
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13474
|
-
var compilerSourceDigest = true ? "
|
|
13474
|
+
var compilerSourceDigest = true ? "a20efac2c52e7bcc9aed9dd9f0b364d0c19ee2bbd112dcf0f29034b0f42226aa" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13475
13475
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13476
13476
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
13477
13477
|
hash.update(`swift-compile
|
|
@@ -15808,7 +15808,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
15808
15808
|
const accessorFlags = accessor ? ["-include", accessorHeader] : [];
|
|
15809
15809
|
const nativeC = !entries.some(([file]) => file.endsWith(".swift"));
|
|
15810
15810
|
const originalModuleMap = Object.entries(settings.productHeaders).find(
|
|
15811
|
-
([product, file]) => product.endsWith("/Modules/module.modulemap") || file.endsWith(".modulemap") && moduleMapName(input.files[file] ?? "") === swiftTargetModuleName(target.name)
|
|
15811
|
+
([product, file]) => (product.endsWith("/Modules/module.modulemap") || file.endsWith(".modulemap")) && moduleMapName(input.files[file] ?? "") === swiftTargetModuleName(target.name)
|
|
15812
15812
|
);
|
|
15813
15813
|
const packageModuleMap = entries.find(
|
|
15814
15814
|
([file]) => file === includes + "module.modulemap"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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);
|
|
@@ -13457,7 +13457,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13457
13457
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13458
13458
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13459
13459
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13460
|
-
var compilerSourceDigest = true ? "
|
|
13460
|
+
var compilerSourceDigest = true ? "a20efac2c52e7bcc9aed9dd9f0b364d0c19ee2bbd112dcf0f29034b0f42226aa" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
13461
13461
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13462
13462
|
const hash = createHash13("sha256");
|
|
13463
13463
|
hash.update(`swift-compile
|
|
@@ -15794,7 +15794,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
15794
15794
|
const accessorFlags = accessor ? ["-include", accessorHeader] : [];
|
|
15795
15795
|
const nativeC = !entries.some(([file]) => file.endsWith(".swift"));
|
|
15796
15796
|
const originalModuleMap = Object.entries(settings.productHeaders).find(
|
|
15797
|
-
([product, file]) => product.endsWith("/Modules/module.modulemap") || file.endsWith(".modulemap") && moduleMapName(input.files[file] ?? "") === swiftTargetModuleName(target.name)
|
|
15797
|
+
([product, file]) => (product.endsWith("/Modules/module.modulemap") || file.endsWith(".modulemap")) && moduleMapName(input.files[file] ?? "") === swiftTargetModuleName(target.name)
|
|
15798
15798
|
);
|
|
15799
15799
|
const packageModuleMap = entries.find(
|
|
15800
15800
|
([file]) => file === includes + "module.modulemap"
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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.
|
|
1
|
+
/*! peach v0.1.2276 | (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.
|
|
1
|
+
/*! peach v0.1.2276 | (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;
|
package/dist-lib/swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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;
|
package/dist-lib/vite-swift.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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;
|
|
@@ -18284,7 +18284,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18284
18284
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18285
18285
|
var MULTI_MANIFEST_VERSION = 68;
|
|
18286
18286
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18287
|
-
var compilerSourceDigest = true ? "
|
|
18287
|
+
var compilerSourceDigest = true ? "a20efac2c52e7bcc9aed9dd9f0b364d0c19ee2bbd112dcf0f29034b0f42226aa" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18288
18288
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18289
18289
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
18290
18290
|
hash.update(`swift-compile
|
|
@@ -20528,7 +20528,7 @@ ${swiftProjectFilesProblems(input.projectFiles).join("\n")}`
|
|
|
20528
20528
|
const accessorFlags = accessor ? ["-include", accessorHeader] : [];
|
|
20529
20529
|
const nativeC = !entries.some(([file]) => file.endsWith(".swift"));
|
|
20530
20530
|
const originalModuleMap = Object.entries(settings.productHeaders).find(
|
|
20531
|
-
([product, file]) => product.endsWith("/Modules/module.modulemap") || file.endsWith(".modulemap") && moduleMapName(input.files[file] ?? "") === swiftTargetModuleName(target.name)
|
|
20531
|
+
([product, file]) => (product.endsWith("/Modules/module.modulemap") || file.endsWith(".modulemap")) && moduleMapName(input.files[file] ?? "") === swiftTargetModuleName(target.name)
|
|
20532
20532
|
);
|
|
20533
20533
|
const packageModuleMap = entries.find(
|
|
20534
20534
|
([file]) => file === includes + "module.modulemap"
|
|
@@ -32462,7 +32462,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32462
32462
|
return hash.digest("hex");
|
|
32463
32463
|
}
|
|
32464
32464
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32465
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32465
|
+
var STANDIN_SOURCE_DIGEST = true ? "33d7c163402f4604d26954aab9ca3dda9e1873476bd187040d131fd629635bc2" : standinSourceDigest();
|
|
32466
32466
|
|
|
32467
32467
|
// src/swift-standins.ts
|
|
32468
32468
|
var import_node_child_process31 = require("node:child_process");
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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;
|
|
@@ -2742,7 +2742,7 @@ var init_src = __esm({
|
|
|
2742
2742
|
var runtime_companion_default;
|
|
2743
2743
|
var init_runtime_companion = __esm({
|
|
2744
2744
|
"runtime-companion.json"() {
|
|
2745
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
2745
|
+
runtime_companion_default = { abi: 1, sha256: "6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84", file: "node/cli-6a03f19d3f1cc74ffb32c491c983f6961cb6e11a559fa4943655bbcc786cda84.cjs" };
|
|
2746
2746
|
}
|
|
2747
2747
|
});
|
|
2748
2748
|
|
|
@@ -3100,7 +3100,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3100
3100
|
var init_swift_standin_digest = __esm({
|
|
3101
3101
|
"src/swift-standin-digest.ts"() {
|
|
3102
3102
|
"use strict";
|
|
3103
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3103
|
+
STANDIN_SOURCE_DIGEST = true ? "33d7c163402f4604d26954aab9ca3dda9e1873476bd187040d131fd629635bc2" : standinSourceDigest();
|
|
3104
3104
|
}
|
|
3105
3105
|
});
|
|
3106
3106
|
|
|
@@ -4753,7 +4753,7 @@ var init_swift_compile = __esm({
|
|
|
4753
4753
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4754
4754
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4755
4755
|
).join("");
|
|
4756
|
-
compilerSourceDigest = true ? "
|
|
4756
|
+
compilerSourceDigest = true ? "a20efac2c52e7bcc9aed9dd9f0b364d0c19ee2bbd112dcf0f29034b0f42226aa" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4757
4757
|
CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
4758
4758
|
"CFAllocator",
|
|
4759
4759
|
"CFArray",
|
|
@@ -11627,7 +11627,6 @@ var LAZY_STUB_PATTERNS = [
|
|
|
11627
11627
|
"@react-native-ml-kit/text-recognition",
|
|
11628
11628
|
"@react-native-segmented-control/segmented-control",
|
|
11629
11629
|
"@react-native-seoul/naver-login",
|
|
11630
|
-
"@renegades/react-native-tickle",
|
|
11631
11630
|
"@rnw-community/react-native-payments",
|
|
11632
11631
|
"@rudderstack/rudder-integration-firebase-react-native",
|
|
11633
11632
|
"@rudderstack/rudder-sdk-react-native",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2276 | (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;
|
|
@@ -62,6 +62,7 @@ export interface SharedDeviceImageBridge {
|
|
|
62
62
|
decodeStaticPixels(bytes: Uint8Array, size: ImagePixelDecodeSize, signal?: AbortSignal, urgency?: AbortSignal): Promise<DecodedImagePixels>;
|
|
63
63
|
resolveStaticPixelsImage(sourceKey: string, decoded: DecodedImagePixels, discard: () => void): SkImage | null;
|
|
64
64
|
hasOpenTransaction(): boolean;
|
|
65
|
+
takeOwedUpload(): boolean;
|
|
65
66
|
releaseDecodedPixels(decoded: DecodedImagePixels): void;
|
|
66
67
|
resolveSnapshotImage(appId: string): SkImage | null;
|
|
67
68
|
releaseSnapshotImage(appId: string): void;
|
|
@@ -245,6 +246,7 @@ export declare function getStoredSnapshotImage(appId: string, ctx?: RenderContex
|
|
|
245
246
|
export declare function liveFrameUri(channelId: string): string;
|
|
246
247
|
export declare function setLiveFrameSink(sink: ((channelId: string, bitmap: ImageFrameSource | null) => boolean) | null): void;
|
|
247
248
|
export declare function setSharedDeviceImageBridge(bridge: SharedDeviceImageBridge | null): void;
|
|
249
|
+
export declare function takeOwedBitmapUpload(): boolean;
|
|
248
250
|
export declare function setLiveFrameUploadHold(hold: boolean): void;
|
|
249
251
|
export declare function hasActiveLiveFrameChannels(): boolean;
|
|
250
252
|
export declare function setLiveFrameAnimating(channelId: string, inputEpoch: number | null): void;
|
|
@@ -151,6 +151,17 @@ export interface SceneNativeBinding {
|
|
|
151
151
|
_peach_classic_layout_sample(slot: number, timestamp: number): number;
|
|
152
152
|
peachExtentParameters?: (slot: number) => void;
|
|
153
153
|
_peach_scene_set_buffers(integers: number, doubles: number, floats: number, layoutMatrices: number): void;
|
|
154
|
+
_peach_scene_slots_adopt(next: number, generations: number, free: number, freeCount: number): void;
|
|
155
|
+
_peach_scene_slot_allocate(): number;
|
|
156
|
+
_peach_scene_slot_generation(slot: number): number;
|
|
157
|
+
_peach_scene_slot_release(slot: number, generation: number): number;
|
|
158
|
+
_peach_scene_slots_publish(): void;
|
|
159
|
+
_peach_scene_slots_lanes(which: number): number;
|
|
160
|
+
_peach_scene_link(parent: number, parentGeneration: number, previous: number, previousGeneration: number, slot: number, generation: number): number;
|
|
161
|
+
_peach_scene_unlink(slot: number, generation: number, previous: number, previousGeneration: number): number;
|
|
162
|
+
_peach_scene_unlink_children(parent: number): number;
|
|
163
|
+
_malloc(bytes: number): number;
|
|
164
|
+
_free(pointer: number): void;
|
|
154
165
|
_peach_paint_walk(canvas: number, slot: number, self: number, childX: number, childY: number, flags: number, txOffX: number, txOffY: number, hasClip: number, clipLeft: number, clipTop: number, clipRight: number, clipBottom: number, dpr: number, surfaceWidth: number, surfaceHeight: number, layoutVersion: number, paintFloor: number, paintEpoch: number, fontGeneration: number, android: number, hasDamage: number, damageLeft: number, damageTop: number, damageRight: number, damageBottom: number, damageId: number, frameMs: number, swiftUIOpacity: number): number;
|
|
155
166
|
_peach_glass_capture_clips_input(count: number): number;
|
|
156
167
|
_peach_paint_excluded_input(count: number): number;
|
|
@@ -289,7 +300,7 @@ export declare class SceneTable {
|
|
|
289
300
|
constructor(memory: SceneMemory, capacity?: number);
|
|
290
301
|
static byteLength(capacity: number): number;
|
|
291
302
|
get capacity(): number;
|
|
292
|
-
migrate(memory: SceneMemory, native
|
|
303
|
+
migrate(memory: SceneMemory, native: SceneNativeBinding): void;
|
|
293
304
|
replaySceneSlots(): NativeReplaySceneSlot[];
|
|
294
305
|
nativeIn(module: object): SceneNativeBinding | undefined;
|
|
295
306
|
i32(): Int32Array;
|
|
@@ -322,7 +333,8 @@ export declare class SceneTable {
|
|
|
322
333
|
dropLeaf(slot: number): void;
|
|
323
334
|
writeParent(slot: number, parentSlot: number): void;
|
|
324
335
|
linkChild(parentSlot: number, previous: number, slot: number, next: number): void;
|
|
325
|
-
unlinkChild(parentSlot: number, previous: number, next: number): void;
|
|
336
|
+
unlinkChild(parentSlot: number, previous: number, slot: number, next: number): void;
|
|
337
|
+
unlinkChildren(parentSlot: number): void;
|
|
326
338
|
markChildOrderChanged(parentSlot: number): void;
|
|
327
339
|
markPaintChanged(slot: number): void;
|
|
328
340
|
markOwnPaintChanged(slot: number): void;
|
|
@@ -39,6 +39,7 @@ declare function iosDecelerationRate(decelerationRate: unknown): number;
|
|
|
39
39
|
export declare const IOS_SCROLL: {
|
|
40
40
|
refreshHoldOffset: (hasTitle: boolean, titleFontSize?: number | undefined) => number;
|
|
41
41
|
refreshTriggerThreshold: (viewportHeight: number, hasTitle: boolean, titleFontSize?: number | undefined) => number;
|
|
42
|
+
refreshControl: "ui-refresh-control";
|
|
42
43
|
refreshPullHoldsContent: false;
|
|
43
44
|
touchSlop: (primaryDelta: number) => number;
|
|
44
45
|
beginMoveApplies: true;
|
|
@@ -54,6 +55,29 @@ export declare const IOS_SCROLL: {
|
|
|
54
55
|
decelerationRate: number;
|
|
55
56
|
};
|
|
56
57
|
rubberBand: true;
|
|
58
|
+
scrollToOverflow: true;
|
|
59
|
+
statusBarScrollToTop: true;
|
|
60
|
+
timedScrollTo: (statusBarScrollToTop: boolean) => {
|
|
61
|
+
durationMs: number;
|
|
62
|
+
curve: "ios-status-bar-scroll-to-top";
|
|
63
|
+
} | {
|
|
64
|
+
durationMs: number;
|
|
65
|
+
curve: "ios-set-content-offset";
|
|
66
|
+
};
|
|
67
|
+
instantScrollToEndsMomentum: true;
|
|
68
|
+
stillLiftSettles: true;
|
|
69
|
+
nestedScrollChain: false;
|
|
70
|
+
edgeYieldsToAncestor: true;
|
|
71
|
+
multiTouchPan: true;
|
|
72
|
+
liftIsMove: false;
|
|
73
|
+
overscaledZoom: (rawScale: number, minScale: number, maxScale: number) => number;
|
|
74
|
+
zoomAnimation: (startScale: number, targetScale: number) => {
|
|
75
|
+
durationMs: number;
|
|
76
|
+
easing: {
|
|
77
|
+
kind: "bezier";
|
|
78
|
+
controlPoints: [number, number, number, number];
|
|
79
|
+
};
|
|
80
|
+
};
|
|
57
81
|
appliedOffset: typeof roundToIosPixel;
|
|
58
82
|
nativeEventOffset: typeof roundToIosPixel;
|
|
59
83
|
startOffset: (leadingInset: number) => number;
|
|
@@ -78,6 +102,7 @@ declare function androidAppliedOffset(value: number, scale: number): number;
|
|
|
78
102
|
export declare const ANDROID_SCROLL: {
|
|
79
103
|
refreshHoldOffset: () => number;
|
|
80
104
|
refreshTriggerThreshold: () => number;
|
|
105
|
+
refreshControl: "swipe-refresh-layout";
|
|
81
106
|
refreshPullHoldsContent: true;
|
|
82
107
|
touchSlop: () => number;
|
|
83
108
|
beginMoveApplies: false;
|
|
@@ -93,6 +118,22 @@ export declare const ANDROID_SCROLL: {
|
|
|
93
118
|
friction: number;
|
|
94
119
|
};
|
|
95
120
|
rubberBand: false;
|
|
121
|
+
scrollToOverflow: false;
|
|
122
|
+
statusBarScrollToTop: false;
|
|
123
|
+
timedScrollTo: () => null;
|
|
124
|
+
instantScrollToEndsMomentum: false;
|
|
125
|
+
stillLiftSettles: false;
|
|
126
|
+
nestedScrollChain: true;
|
|
127
|
+
edgeYieldsToAncestor: false;
|
|
128
|
+
multiTouchPan: false;
|
|
129
|
+
liftIsMove: true;
|
|
130
|
+
overscaledZoom: (rawScale: number, minScale: number, maxScale: number) => number;
|
|
131
|
+
zoomAnimation: () => {
|
|
132
|
+
durationMs: number;
|
|
133
|
+
easing: {
|
|
134
|
+
kind: "cubic-out";
|
|
135
|
+
};
|
|
136
|
+
};
|
|
96
137
|
appliedOffset: typeof androidAppliedOffset;
|
|
97
138
|
nativeEventOffset: (value: number, scale: number) => number;
|
|
98
139
|
startOffset: () => number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ScrollMomentumPhysics } from '../engine/scroll-momentum-math.d.ts';
|
|
1
|
+
import type { ScrollMomentumPhysics, TimedScrollCurve } from '../engine/scroll-momentum-math.d.ts';
|
|
2
2
|
import type { ScrollIndicatorMetrics } from '../engine/scroll-platform.d.ts';
|
|
3
3
|
import type { ScrollReleaseVelocity, ScrollVelocitySample } from '../engine/scroll-velocity.d.ts';
|
|
4
4
|
import type { DeviceSpec, RuntimePlatform, SizeClass } from '../settings/index.d.ts';
|
|
@@ -9,6 +9,12 @@ export interface PlatformPersonality {
|
|
|
9
9
|
formSheet(device: DeviceSpec): FormSheetTraits;
|
|
10
10
|
readonly scroll: ScrollPersonality;
|
|
11
11
|
}
|
|
12
|
+
export type ZoomEasing = {
|
|
13
|
+
kind: 'bezier';
|
|
14
|
+
controlPoints: readonly [number, number, number, number];
|
|
15
|
+
} | {
|
|
16
|
+
kind: 'cubic-out';
|
|
17
|
+
};
|
|
12
18
|
export interface ScrollPersonality {
|
|
13
19
|
touchSlop(primaryDelta: number): number;
|
|
14
20
|
dragMatchesAxis(primaryDelta: number, crossDelta: number): boolean;
|
|
@@ -31,9 +37,27 @@ export interface ScrollPersonality {
|
|
|
31
37
|
indicatorStyle?: unknown;
|
|
32
38
|
colorScheme?: string;
|
|
33
39
|
}): ScrollIndicatorMetrics;
|
|
40
|
+
readonly refreshControl: 'ui-refresh-control' | 'swipe-refresh-layout';
|
|
34
41
|
readonly refreshPullHoldsContent: boolean;
|
|
35
42
|
refreshHoldOffset(hasTitle: boolean, titleFontSize?: number): number;
|
|
36
43
|
refreshTriggerThreshold(viewportHeight: number, hasTitle: boolean, titleFontSize?: number): number;
|
|
44
|
+
readonly scrollToOverflow: boolean;
|
|
45
|
+
readonly statusBarScrollToTop: boolean;
|
|
46
|
+
timedScrollTo(statusBarScrollToTop: boolean): {
|
|
47
|
+
durationMs: number;
|
|
48
|
+
curve: TimedScrollCurve;
|
|
49
|
+
} | null;
|
|
50
|
+
readonly instantScrollToEndsMomentum: boolean;
|
|
51
|
+
readonly stillLiftSettles: boolean;
|
|
52
|
+
readonly nestedScrollChain: boolean;
|
|
53
|
+
readonly edgeYieldsToAncestor: boolean;
|
|
54
|
+
readonly multiTouchPan: boolean;
|
|
55
|
+
readonly liftIsMove: boolean;
|
|
56
|
+
overscaledZoom(rawScale: number, minScale: number, maxScale: number): number;
|
|
57
|
+
zoomAnimation(startScale: number, targetScale: number): {
|
|
58
|
+
durationMs: number;
|
|
59
|
+
easing: ZoomEasing;
|
|
60
|
+
};
|
|
37
61
|
}
|
|
38
62
|
export interface FormSheetTraits {
|
|
39
63
|
readonly horizontalSizeClass: SizeClass;
|
|
@@ -43,11 +67,18 @@ export interface FormSheetTraits {
|
|
|
43
67
|
readonly mixedLargeIsSystemCard: boolean;
|
|
44
68
|
readonly floatsSmallDetents: boolean;
|
|
45
69
|
readonly snapsDetentsToPixel: boolean;
|
|
70
|
+
readonly presenterRecedes: boolean;
|
|
71
|
+
readonly coverOpeningScales: boolean;
|
|
72
|
+
readonly partialDetentTravelsSettled: boolean;
|
|
46
73
|
}
|
|
47
74
|
export interface NavigationBarPersonality {
|
|
48
75
|
readonly toolbarHeight: number | null;
|
|
49
76
|
readonly compatibilityDesign: boolean;
|
|
50
77
|
readonly compactHeightBar: boolean;
|
|
78
|
+
readonly largeTitle: boolean;
|
|
79
|
+
readonly stickyTitleFontSize: boolean;
|
|
80
|
+
readonly barButtonItems: boolean;
|
|
81
|
+
readonly searchController: boolean;
|
|
51
82
|
}
|
|
52
83
|
export interface KeyboardSpring {
|
|
53
84
|
readonly stiffness: number;
|
|
@@ -2,6 +2,7 @@ import { type DriveAnimationGraph, type DriveColorAnimationGraph, type LinearLoo
|
|
|
2
2
|
import { type CollapseBand, type ScrollMomentumPhysics } from '../engine/scroll-momentum-math.d.ts';
|
|
3
3
|
import { type CSSKeyframesDrive } from './css-keyframes-drive.d.ts';
|
|
4
4
|
import { type NativeWidgetSurfaceId, type NativeWidgetIdentity, type NativeWidgetMount } from './native-widgetContract.d.ts';
|
|
5
|
+
import type { NativeScreenTransitionClock } from '../../../peach-globals/src/lockstepCaptureBridgeContract.d.ts';
|
|
5
6
|
import type { ScreenTransitionDriveDescriptor } from '../../../peach-kit/src/transitions/screen-transition-math.d.ts';
|
|
6
7
|
import type { DeviceSpec, RuntimePlatform } from '../../../../../src/device-catalog.ts';
|
|
7
8
|
import type { AndroidEdgeEffectState } from '../engine/android-stretch-effect.d.ts';
|
|
@@ -1322,6 +1323,9 @@ export type CompositorHostToWorker = {
|
|
|
1322
1323
|
} | {
|
|
1323
1324
|
type: 'setScreenBarClockLag';
|
|
1324
1325
|
lagMs: number;
|
|
1326
|
+
} | {
|
|
1327
|
+
type: 'setScreenTransitionClock';
|
|
1328
|
+
clock: NativeScreenTransitionClock;
|
|
1325
1329
|
} | {
|
|
1326
1330
|
type: 'forceRender';
|
|
1327
1331
|
captureRequestId?: number;
|
|
@@ -4,7 +4,7 @@ import type { AppPreferenceValue, AppSettingsSnapshot, SystemPermissionApp, Syst
|
|
|
4
4
|
import type { AuxAppSurfaceId } from './aux-surface-types.d.ts';
|
|
5
5
|
import type { ExpoWidgetsActivityPublication } from './expo-widgets-activityContract.d.ts';
|
|
6
6
|
import type { OneNativeContentPublication } from './one-native-contentContract.d.ts';
|
|
7
|
-
import type {
|
|
7
|
+
import type { SootSimWebViewSpec, SootSimWebViewSource, SootSimImageCropperSpec, SootSimAndroidDateTimePickerResult, SootSimAndroidDateTimePickerSpec, SootSimImagePickerOptions, SootSimPhotoLibraryAsset, SootSimPhotoLibraryPage, SootsimSettingsRoute, SootSimWebViewNavigationType, SootSimWebKitEvent, SootSimWebKitReply } from '../../../peach-globals/src/index.d.ts';
|
|
8
8
|
import type { NotifPresentation, NotifSpec, SystemNotificationSettings, SystemPermissionDescriptor, SystemPermissionLocationAccuracy, SystemPermissionState } from '../../../peach-kit/src/runtime.d.ts';
|
|
9
9
|
export type KeyboardMode = 'letters' | 'numbers' | 'symbols' | 'numeric' | 'emoji';
|
|
10
10
|
export type IOSKeyboardType = 'default' | 'ascii-capable' | 'numbers-and-punctuation' | 'url' | 'number-pad' | 'ascii-capable-number-pad' | 'phone-pad' | 'name-phone-pad' | 'email-address' | 'decimal-pad' | 'twitter' | 'web-search' | 'visible-password' | 'numeric';
|
|
@@ -345,34 +345,9 @@ export interface KeyboardPopupState {
|
|
|
345
345
|
y: number;
|
|
346
346
|
width: number;
|
|
347
347
|
}
|
|
348
|
-
export
|
|
349
|
-
|
|
350
|
-
html?: string;
|
|
351
|
-
baseUrl?: string;
|
|
352
|
-
headers?: Record<string, string>;
|
|
353
|
-
method?: string;
|
|
354
|
-
bodyBase64?: string;
|
|
355
|
-
documentData?: PeachWebViewDocumentData;
|
|
356
|
-
}
|
|
357
|
-
export interface WebViewSpec extends Partial<NativeSurfacePresentation> {
|
|
358
|
-
cookieStore?: SootSimWebViewCookieStore;
|
|
359
|
-
webKit?: SootSimWebKitConfiguration;
|
|
360
|
-
captureOwner?: {
|
|
361
|
-
surfaceId: string;
|
|
362
|
-
generation: number;
|
|
363
|
-
};
|
|
364
|
-
source?: WebViewSourceSpec;
|
|
365
|
-
injectedJavaScript?: string;
|
|
366
|
-
injectedJavaScriptBeforeContentLoaded?: string;
|
|
367
|
-
injectedJavaScriptObject?: string;
|
|
348
|
+
export type WebViewSourceSpec = SootSimWebViewSource;
|
|
349
|
+
export interface WebViewSpec extends SootSimWebViewSpec {
|
|
368
350
|
expoDomWebViewId?: number;
|
|
369
|
-
hasOnOpenWindowEvent?: boolean;
|
|
370
|
-
hasOnShouldStartLoadWithRequest?: boolean;
|
|
371
|
-
incognito?: boolean;
|
|
372
|
-
javaScriptEnabled?: boolean;
|
|
373
|
-
scrollEnabled?: boolean;
|
|
374
|
-
startInLoadingState?: boolean;
|
|
375
|
-
testID?: string;
|
|
376
351
|
}
|
|
377
352
|
export interface ImagePickerSpec extends SootSimImagePickerOptions {
|
|
378
353
|
source?: 'library' | 'camera';
|
|
@@ -67,6 +67,14 @@ export type LockstepScheduledInput = {
|
|
|
67
67
|
pointerId: number;
|
|
68
68
|
deliver: (timestampMs: number) => Promise<void>;
|
|
69
69
|
};
|
|
70
|
+
export interface NativeScreenTransitionClock {
|
|
71
|
+
startTimeMs: number;
|
|
72
|
+
headerStartTimeMs: number;
|
|
73
|
+
frames: {
|
|
74
|
+
callbackTimeMs: number;
|
|
75
|
+
timestampMs: number;
|
|
76
|
+
}[];
|
|
77
|
+
}
|
|
70
78
|
export interface SootSimLockstepCaptureController {
|
|
71
79
|
readonly initialFrame: SootSimLockstepFrameReceipt;
|
|
72
80
|
readonly inputReceipts: LockstepInputReceipt[];
|
|
@@ -86,6 +94,7 @@ export interface SootSimLockstepCaptureController {
|
|
|
86
94
|
stepToOffset(anchor: SootSimLockstepFrameReceipt, offsetMs: number): Promise<SootSimLockstepFrameReceipt>;
|
|
87
95
|
endWorkletFrameReceipt(): void;
|
|
88
96
|
setScreenBarClockLag(lagMs: number): void;
|
|
97
|
+
setScreenTransitionClock(clock: NativeScreenTransitionClock): Promise<NativeScreenTransitionClock>;
|
|
89
98
|
end(): void;
|
|
90
99
|
}
|
|
91
100
|
export interface SootSimLockstepCaptureBridge {
|
|
@@ -5,6 +5,16 @@ import type { SootSimAccessibilityState, SootSimNodeInfo, PeachAccessibilityNode
|
|
|
5
5
|
import type { SootSimScrollOffsetSample } from './performanceBridgeContract.d.ts';
|
|
6
6
|
import type { SystemPermissionApp, AppSettingsSnapshot, SystemPermissionKind, SystemPermissionMutation } from './permissionsBridgeContract.d.ts';
|
|
7
7
|
import type { SootSimReplayTarget } from './replayBridgeContract.d.ts';
|
|
8
|
+
export type FrameProducerClockSample = {
|
|
9
|
+
deliveryTimeMs: number;
|
|
10
|
+
elapsedMs: number;
|
|
11
|
+
};
|
|
12
|
+
export type FrameProducerFrameReceipt = {
|
|
13
|
+
id: number;
|
|
14
|
+
registeredMs: number;
|
|
15
|
+
firstFrameMs: number | null;
|
|
16
|
+
replayedFrames?: FrameProducerClockSample[];
|
|
17
|
+
};
|
|
8
18
|
export interface SootSimTestQueryFilter {
|
|
9
19
|
type?: string;
|
|
10
20
|
hasText?: string;
|
|
@@ -221,11 +231,8 @@ export interface SootSimTestBridge {
|
|
|
221
231
|
getAnimationTrace(id: number, limit?: number): MaybeAsync<SootSimAnimationTraceSample[]>;
|
|
222
232
|
listAnimationTraces(): MaybeAsync<SootSimAnimationTraceStatus[]>;
|
|
223
233
|
startProducerFrameCapture(kind: string): MaybeAsync<void>;
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
registeredMs: number;
|
|
227
|
-
firstFrameMs: number | null;
|
|
228
|
-
}[]>;
|
|
234
|
+
replayProducerFrameClock(id: number, frames: FrameProducerClockSample[]): MaybeAsync<void>;
|
|
235
|
+
readProducerFrameCapture(): MaybeAsync<FrameProducerFrameReceipt[]>;
|
|
229
236
|
stopProducerFrameCapture(): MaybeAsync<void>;
|
|
230
237
|
getRuntimeState(): MaybeAsync<SootSimRuntimeState>;
|
|
231
238
|
getExternalAppState?(): MaybeAsync<Record<string, unknown> | null>;
|
|
@@ -27,6 +27,8 @@ export type SootSimWebViewHostRequest = {
|
|
|
27
27
|
method?: string;
|
|
28
28
|
bodyBase64?: string;
|
|
29
29
|
documentData?: PeachWebViewDocumentData;
|
|
30
|
+
minimumFontSize?: number;
|
|
31
|
+
html?: string;
|
|
30
32
|
config: string;
|
|
31
33
|
beforeKey: string;
|
|
32
34
|
beforeContent: string;
|
|
@@ -35,6 +37,10 @@ export type SootSimWebViewHostRequest = {
|
|
|
35
37
|
} | {
|
|
36
38
|
kind: 'detach';
|
|
37
39
|
instanceId: string;
|
|
40
|
+
} | {
|
|
41
|
+
kind: 'preferences';
|
|
42
|
+
instanceId: string;
|
|
43
|
+
minimumFontSize: number;
|
|
38
44
|
} | {
|
|
39
45
|
kind: 'cookies';
|
|
40
46
|
instanceId: string;
|
|
@@ -202,6 +208,7 @@ export interface SootSimWebViewCookieStore {
|
|
|
202
208
|
policy: 0 | 1;
|
|
203
209
|
}
|
|
204
210
|
export interface SootSimWebViewSpec extends Partial<NativeSurfacePresentation> {
|
|
211
|
+
minimumFontSize?: number;
|
|
205
212
|
cookieStore?: SootSimWebViewCookieStore;
|
|
206
213
|
captureOwner?: {
|
|
207
214
|
surfaceId: string;
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|