peachsim 0.1.2533 → 0.1.2534
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/detox/index.ts +16 -6
- 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 +2 -2
- package/dist-lib/bridge-constants.cjs +1 -1
- package/dist-lib/bridge-contract-input.cjs +1 -1
- package/dist-lib/bridge-contract-input.mjs +5 -5
- package/dist-lib/bridge-contract.cjs +1 -1
- package/dist-lib/bridge-contract.mjs +3 -3
- package/dist-lib/bundle-channel.cjs +46 -4
- package/dist-lib/capture-contract.cjs +1 -1
- package/dist-lib/capture-contract.mjs +3 -3
- package/dist-lib/cloud-contract.cjs +1 -1
- package/dist-lib/cloud-contract.mjs +3 -3
- package/dist-lib/cloud-test-args.cjs +1 -1
- package/dist-lib/cloud-test-args.mjs +2 -2
- package/dist-lib/cloud.cjs +1 -1
- package/dist-lib/cloud.mjs +7 -7
- package/dist-lib/config.cjs +1 -1
- package/dist-lib/config.mjs +5 -5
- package/dist-lib/detox/index.cjs +9 -6
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/esm-chunks/{acorn-HEC2EHMN.mjs → acorn-GB67SLNU.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-CANULX6T.mjs → chunk-2PUDNDU7.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-MU2KBQOY.mjs → chunk-65RCRIMW.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-HBHGOFEK.mjs → chunk-6EGZPYF5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-4BZJFQDX.mjs → chunk-75RKEQ6M.mjs} +4 -4
- package/dist-lib/esm-chunks/{chunk-PJ3A56DI.mjs → chunk-AW5DPA3H.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-DF36CSI3.mjs → chunk-CAIVF3PI.mjs} +3 -3
- package/dist-lib/esm-chunks/{chunk-2INGY6GA.mjs → chunk-EKZXXZNX.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-CNZ4D6UQ.mjs → chunk-GPA3KEFG.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6YM45CZA.mjs → chunk-GUX4YTIU.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7EOERWQR.mjs → chunk-HXSB45EC.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GSKOG7ZS.mjs → chunk-KNOHRPR5.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-GYRPS3EC.mjs → chunk-KORHX5QS.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-6AOEMSAK.mjs → chunk-LZ76GN6Q.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-AQQIFDNB.mjs → chunk-NIZ6J346.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-JO66W6XW.mjs → chunk-RUPB6BBQ.mjs} +12 -12
- package/dist-lib/esm-chunks/{chunk-3RUGIIFH.mjs → chunk-UWAHIEUH.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-UF3PRTVP.mjs → chunk-W2E3WW5J.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-KMGYTDFG.mjs → chunk-W5QP7KUQ.mjs} +5 -5
- package/dist-lib/esm-chunks/{chunk-TJWREDZY.mjs → chunk-WXRYCPQZ.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-E7DHIJAF.mjs → chunk-XPTK6MCE.mjs} +1 -1
- package/dist-lib/esm-chunks/{chunk-7OHBGPLV.mjs → chunk-YVLL46OY.mjs} +2 -2
- package/dist-lib/esm-chunks/{metro-layout-parser-5NOEATD7.mjs → metro-layout-parser-DRSCLVZZ.mjs} +3 -3
- package/dist-lib/esm-chunks/{swift-package-prebuilt-ZKOSCUWG.mjs → swift-package-prebuilt-V5BV4JOC.mjs} +10 -10
- package/dist-lib/esm-chunks/{swift-sdk-app-module-Y4FDNWPC.mjs → swift-sdk-app-module-IF4ZL6UH.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-22TNJ3UT.mjs → swift-sdk-image-L7IJHF2J.mjs} +13 -13
- package/dist-lib/esm-chunks/{swift-sdk-image-producer-7QESOQEI.mjs → swift-sdk-image-producer-NLBMGMMU.mjs} +4 -4
- package/dist-lib/expo-swift-bundle.cjs +46 -4
- package/dist-lib/expo-swift-metadata.cjs +1 -1
- package/dist-lib/expo-swift-metadata.mjs +7 -7
- package/dist-lib/home-paths.cjs +1 -1
- package/dist-lib/host/bridge-host.cjs +46 -4
- package/dist-lib/host/fetch-proxy-handler.cjs +3 -3
- package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
- package/dist-lib/host/fetch-proxy-overrides.mjs +2 -2
- package/dist-lib/host/replacement-module-handler.cjs +1 -1
- package/dist-lib/host/websocket-proxy.cjs +1 -1
- package/dist-lib/index.cjs +1 -1
- package/dist-lib/kotlin-host.cjs +1 -1
- package/dist-lib/menu.cjs +1 -1
- package/dist-lib/menu.mjs +3 -3
- package/dist-lib/metro-fingerprint-registry.cjs +1 -1
- package/dist-lib/metro-fingerprint-registry.mjs +3 -3
- package/dist-lib/metro-production-bundle.cjs +1 -1
- package/dist-lib/metro-production-bundle.mjs +4 -4
- package/dist-lib/native-app-identity-project.cjs +1 -1
- package/dist-lib/native-app-identity-project.mjs +15 -15
- package/dist-lib/native-app-identity.cjs +1 -1
- package/dist-lib/native-app-identity.mjs +6 -6
- package/dist-lib/native-firebase-metadata.cjs +1 -1
- package/dist-lib/native-firebase-metadata.mjs +3 -3
- package/dist-lib/pdfium-raster.cjs +1 -1
- package/dist-lib/pdfium-raster.mjs +2 -2
- package/dist-lib/plist.cjs +1 -1
- package/dist-lib/plist.mjs +3 -3
- package/dist-lib/profiles.cjs +1 -1
- package/dist-lib/public-brand.cjs +1 -1
- package/dist-lib/public-origins-lib-esm.json +79 -79
- package/dist-lib/public-origins-lib.json +69 -69
- package/dist-lib/react-native-host-modules.cjs +1 -1
- package/dist-lib/react-native-host-modules.mjs +2 -2
- 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 +7 -7
- package/dist-lib/skills.cjs +46 -4
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +10 -10
- package/dist-lib/swift-package.cjs +1 -1
- package/dist-lib/swift-package.mjs +3 -3
- package/dist-lib/swift-submit.cjs +1 -1
- package/dist-lib/swift-submit.mjs +5 -5
- package/dist-lib/swift-svg-raster.cjs +1 -1
- package/dist-lib/swift-svg-raster.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vendor/@peculiar/x509.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/nodes.js.cjs +1 -1
- package/dist-lib/vendor/@ruby/prism/src/parsePrism.js.cjs +1 -1
- package/dist-lib/vendor/@xmldom/xmldom.cjs +1 -1
- package/dist-lib/vendor/acorn.cjs +1 -1
- package/dist-lib/vendor/bplist-parser.cjs +1 -1
- package/dist-lib/vendor/ignore.cjs +1 -1
- package/dist-lib/vendor/magic-string.cjs +1 -1
- package/dist-lib/vendor/plist.cjs +1 -1
- package/dist-lib/vendor/smol-toml.cjs +1 -1
- package/dist-lib/vendor/stream-json.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/index.js.cjs +1 -1
- package/dist-lib/vendor/sucrase/dist/parser/tokenizer/types.js.cjs +1 -1
- package/dist-lib/vendor/sucrase.cjs +1 -1
- package/dist-lib/vendor/terser.cjs +1 -1
- package/dist-lib/vendor/valibot.cjs +1 -1
- package/dist-lib/vendor/ws.cjs +1 -1
- package/dist-lib/vendor/zod.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +3 -3
- package/dist-types/packages/peach-engine/src/engine/native-layout.d.ts +1 -0
- package/kotlin/sdk.tar.gz +0 -0
- package/package.json +1 -1
- package/src/turbo-source.ts +43 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_AUTOLINK_LINKER,
|
|
4
4
|
SWIFT_CACHE_HOLD_MARKER,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
windowAdmission,
|
|
19
19
|
withSwiftRootLock,
|
|
20
20
|
writeSwiftAutolinkLinker
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-W2E3WW5J.mjs";
|
|
22
22
|
import {
|
|
23
23
|
SWIFT_BINARY_TREES_DIR,
|
|
24
24
|
SWIFT_NATIVE_INPUT_ROOT,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
isSwiftResourcePath,
|
|
34
34
|
isSwiftSourceLinkGraph,
|
|
35
35
|
swiftProjectFilesProblems
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-HXSB45EC.mjs";
|
|
37
37
|
import {
|
|
38
38
|
OBJC_RESOURCE_ACCESSOR_BODY,
|
|
39
39
|
OBJC_RESOURCE_ACCESSOR_HEADER,
|
|
@@ -57,16 +57,16 @@ import {
|
|
|
57
57
|
swiftPackagePartition,
|
|
58
58
|
swiftTargetModuleName,
|
|
59
59
|
withoutGlogModuleMap
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-WXRYCPQZ.mjs";
|
|
61
61
|
import {
|
|
62
62
|
rnxPublicBrand
|
|
63
|
-
} from "./chunk-
|
|
63
|
+
} from "./chunk-XPTK6MCE.mjs";
|
|
64
64
|
import {
|
|
65
65
|
isRecord
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-6EGZPYF5.mjs";
|
|
67
67
|
import {
|
|
68
68
|
__publicField
|
|
69
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-AW5DPA3H.mjs";
|
|
70
70
|
|
|
71
71
|
// src/swift-compile.ts
|
|
72
72
|
import {
|
|
@@ -13454,7 +13454,7 @@ async function compileGuestLink(options) {
|
|
|
13454
13454
|
};
|
|
13455
13455
|
const sdk = options.sdkImage;
|
|
13456
13456
|
const sdkCallers = sdk?.sdkInterface.guestCallers;
|
|
13457
|
-
const sdkObjects = sdk ? (await import("./swift-sdk-image-
|
|
13457
|
+
const sdkObjects = sdk ? (await import("./swift-sdk-image-L7IJHF2J.mjs")).readSwiftSdkManifestIndex(sdk).guestObjects : void 0;
|
|
13458
13458
|
if (sdk && (!sdkCallers || !sdkObjects))
|
|
13459
13459
|
throw new Error("the SDK image has no guest link manifest");
|
|
13460
13460
|
const result = linkPrunedGuestImages({
|
|
@@ -13741,7 +13741,7 @@ async function compileGuestLink(options) {
|
|
|
13741
13741
|
finishSwiftAppModule,
|
|
13742
13742
|
linkSwiftAppModule,
|
|
13743
13743
|
readSwiftSdkUsage
|
|
13744
|
-
} = await import("./swift-sdk-app-module-
|
|
13744
|
+
} = await import("./swift-sdk-app-module-IF4ZL6UH.mjs");
|
|
13745
13745
|
const project = options.project;
|
|
13746
13746
|
const work = project ? mkdtempSync2(path24.join(directory, "app-module-")) : path24.join(directory, "app-module");
|
|
13747
13747
|
if (project) chownSync(work, project.uid, project.gid);
|
|
@@ -20810,7 +20810,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20810
20810
|
const distribution = swiftDistributionAt(moduleRoot);
|
|
20811
20811
|
const mirrorDistribution = options.linkOnly || options.project ? null : distribution;
|
|
20812
20812
|
if (distribution) refreshSwiftCacheHold(moduleRoot);
|
|
20813
|
-
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-
|
|
20813
|
+
const input = distribution && !options.intermediates ? (await import("./swift-package-prebuilt-V5BV4JOC.mjs")).useSwiftPackagePrebuilts(
|
|
20814
20814
|
sources,
|
|
20815
20815
|
moduleRoot,
|
|
20816
20816
|
options.toolchainBin
|
|
@@ -20824,7 +20824,7 @@ async function compileSwiftProjectOnce(sources, options) {
|
|
|
20824
20824
|
multi: compileTargets(input).length > 0
|
|
20825
20825
|
};
|
|
20826
20826
|
const sdkModule = options.sdkModule && !options.linkOnly;
|
|
20827
|
-
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-
|
|
20827
|
+
const sdkImage = sdkModule ? await (await import("./swift-sdk-image-L7IJHF2J.mjs")).buildSwiftSdkImage(
|
|
20828
20828
|
moduleRoot,
|
|
20829
20829
|
!!guestGraph,
|
|
20830
20830
|
distribution ? [] : linkedFrameworkTargets(moduleRoot, input).imports,
|
|
@@ -21457,7 +21457,7 @@ sdk module ${sdkImage.key}`).digest("hex") : sourceHash;
|
|
|
21457
21457
|
if (sdkImage && binding)
|
|
21458
21458
|
sdkAsset = { key: sdkImage.key, sha256: sdkImage.sha256, binding };
|
|
21459
21459
|
} else if (sdkImage) {
|
|
21460
|
-
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-
|
|
21460
|
+
const { buildSwiftAppModule } = await import("./swift-sdk-app-module-IF4ZL6UH.mjs");
|
|
21461
21461
|
const binding = await buildSwiftAppModule({
|
|
21462
21462
|
buildRoot: root,
|
|
21463
21463
|
toolchainBin: options.toolchainBin,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
LAUNCH_METADATA_KEYS,
|
|
4
4
|
LAUNCH_METADATA_KEYS_PATH
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-LZ76GN6Q.mjs";
|
|
6
6
|
import {
|
|
7
7
|
parseSwiftDistributionLock,
|
|
8
8
|
readActiveRuntime,
|
|
9
9
|
runtimeDir,
|
|
10
10
|
swiftDistributionAt,
|
|
11
11
|
swiftModuleSdk
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-RUPB6BBQ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
SWIFT_WASM_TRIPLE,
|
|
15
15
|
registerSwiftHostCompiler,
|
|
16
16
|
swiftCompiler,
|
|
17
17
|
swiftToolchain
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-W2E3WW5J.mjs";
|
|
19
19
|
import {
|
|
20
20
|
isRecord
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6EGZPYF5.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-distribution.ts
|
|
24
24
|
import fs2 from "node:fs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftModuleToolchain
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UWAHIEUH.mjs";
|
|
5
5
|
import {
|
|
6
6
|
DARWIN_RECORDS_PREFIX,
|
|
7
7
|
KEEP_WASM_NAMES,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
swiftSdkPaths,
|
|
32
32
|
unslottedFunctions,
|
|
33
33
|
wasmSections
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-RUPB6BBQ.mjs";
|
|
35
35
|
import {
|
|
36
36
|
SWIFT_WASM_TRIPLE,
|
|
37
37
|
sourceSwiftCheckout,
|
|
38
38
|
swiftCacheDir,
|
|
39
39
|
withSwiftRootLock
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-W2E3WW5J.mjs";
|
|
41
41
|
|
|
42
42
|
// src/swift-sdk-image.ts
|
|
43
43
|
import { execFile } from "node:child_process";
|
|
@@ -192,7 +192,7 @@ async function buildSwiftSdkImage(moduleRoot, scopedLookups = false, frameworkIm
|
|
|
192
192
|
const existing = cached(directory, key);
|
|
193
193
|
if (existing) return existing;
|
|
194
194
|
if (!options?.producer && !swiftDistributionAt(moduleRoot) && path.resolve(moduleRoot) === sourceSwiftCheckout() && process.platform === "linux" && process.env.TM_SESSION) {
|
|
195
|
-
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-
|
|
195
|
+
const { produceSwiftSdkImage } = await import("./swift-sdk-image-producer-NLBMGMMU.mjs");
|
|
196
196
|
await produceSwiftSdkImage({
|
|
197
197
|
moduleRoot,
|
|
198
198
|
key,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
__commonJS,
|
|
4
4
|
__toESM
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-AW5DPA3H.mjs";
|
|
6
6
|
|
|
7
7
|
// ../../node_modules/@xmldom/xmldom/lib/conventions.js
|
|
8
8
|
var require_conventions = __commonJS({
|
package/dist-lib/esm-chunks/{metro-layout-parser-5NOEATD7.mjs → metro-layout-parser-DRSCLVZZ.mjs}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
2
|
-
import "./chunk-
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
|
+
import "./chunk-AW5DPA3H.mjs";
|
|
3
3
|
|
|
4
4
|
// src/metro-layout-parser.ts
|
|
5
5
|
var whitespace = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/y;
|
|
@@ -8,7 +8,7 @@ var lineBreak = /[\r\n\u2028\u2029]/;
|
|
|
8
8
|
var metroLayoutParser;
|
|
9
9
|
async function loadMetroLayoutParser() {
|
|
10
10
|
if (metroLayoutParser) return metroLayoutParser;
|
|
11
|
-
const { Parser } = await import("./acorn-
|
|
11
|
+
const { Parser } = await import("./acorn-GB67SLNU.mjs");
|
|
12
12
|
metroLayoutParser = Parser.extend(
|
|
13
13
|
(Base) => {
|
|
14
14
|
const parseFunctionBody = Reflect.get(Base.prototype, "parseFunctionBody");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
compileTargets,
|
|
4
4
|
fetchNativeEntry,
|
|
@@ -6,19 +6,19 @@ import {
|
|
|
6
6
|
swiftAvailableModules,
|
|
7
7
|
swiftDistributionAt,
|
|
8
8
|
swiftImportNames
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-RUPB6BBQ.mjs";
|
|
10
|
+
import "./chunk-W2E3WW5J.mjs";
|
|
11
11
|
import {
|
|
12
12
|
SWIFT_REMOTE_PACKAGES_DIR
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-HXSB45EC.mjs";
|
|
14
14
|
import {
|
|
15
15
|
manifestCalls
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
16
|
+
} from "./chunk-WXRYCPQZ.mjs";
|
|
17
|
+
import "./chunk-GUX4YTIU.mjs";
|
|
18
|
+
import "./chunk-XPTK6MCE.mjs";
|
|
19
|
+
import "./chunk-2PUDNDU7.mjs";
|
|
20
|
+
import "./chunk-6EGZPYF5.mjs";
|
|
21
|
+
import "./chunk-AW5DPA3H.mjs";
|
|
22
22
|
|
|
23
23
|
// src/swift-package-prebuilt.ts
|
|
24
24
|
import { createHash } from "node:crypto";
|
package/dist-lib/esm-chunks/{swift-sdk-app-module-Y4FDNWPC.mjs → swift-sdk-app-module-IF4ZL6UH.mjs}
RENAMED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
5
5
|
SWIFT_SDK_MEMORY_BASE,
|
|
6
6
|
SWIFT_SDK_PIECE_FIELDS,
|
|
7
7
|
readSwiftSdkManifest
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-W5QP7KUQ.mjs";
|
|
9
|
+
import "./chunk-UWAHIEUH.mjs";
|
|
10
|
+
import "./chunk-LZ76GN6Q.mjs";
|
|
11
11
|
import {
|
|
12
12
|
ADDEND_RELOCATIONS,
|
|
13
13
|
KEEP_WASM_NAMES,
|
|
@@ -35,17 +35,17 @@ import {
|
|
|
35
35
|
wasmReader,
|
|
36
36
|
wasmSections,
|
|
37
37
|
writeWasmCustomSection
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-RUPB6BBQ.mjs";
|
|
39
39
|
import {
|
|
40
40
|
SWIFT_WASM_TRIPLE
|
|
41
|
-
} from "./chunk-
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
44
|
-
import "./chunk-
|
|
45
|
-
import "./chunk-
|
|
46
|
-
import "./chunk-
|
|
47
|
-
import "./chunk-
|
|
48
|
-
import "./chunk-
|
|
41
|
+
} from "./chunk-W2E3WW5J.mjs";
|
|
42
|
+
import "./chunk-HXSB45EC.mjs";
|
|
43
|
+
import "./chunk-WXRYCPQZ.mjs";
|
|
44
|
+
import "./chunk-GUX4YTIU.mjs";
|
|
45
|
+
import "./chunk-XPTK6MCE.mjs";
|
|
46
|
+
import "./chunk-2PUDNDU7.mjs";
|
|
47
|
+
import "./chunk-6EGZPYF5.mjs";
|
|
48
|
+
import "./chunk-AW5DPA3H.mjs";
|
|
49
49
|
|
|
50
50
|
// src/swift-sdk-app-module.ts
|
|
51
51
|
import { execFile } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
4
4
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -15,18 +15,18 @@ import {
|
|
|
15
15
|
swiftSdkImageFile,
|
|
16
16
|
swiftSdkImageKey,
|
|
17
17
|
swiftSdkImageProducts
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
29
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-W5QP7KUQ.mjs";
|
|
19
|
+
import "./chunk-UWAHIEUH.mjs";
|
|
20
|
+
import "./chunk-LZ76GN6Q.mjs";
|
|
21
|
+
import "./chunk-RUPB6BBQ.mjs";
|
|
22
|
+
import "./chunk-W2E3WW5J.mjs";
|
|
23
|
+
import "./chunk-HXSB45EC.mjs";
|
|
24
|
+
import "./chunk-WXRYCPQZ.mjs";
|
|
25
|
+
import "./chunk-GUX4YTIU.mjs";
|
|
26
|
+
import "./chunk-XPTK6MCE.mjs";
|
|
27
|
+
import "./chunk-2PUDNDU7.mjs";
|
|
28
|
+
import "./chunk-6EGZPYF5.mjs";
|
|
29
|
+
import "./chunk-AW5DPA3H.mjs";
|
|
30
30
|
export {
|
|
31
31
|
SWIFT_SDK_APP_MEMORY_BASE,
|
|
32
32
|
SWIFT_SDK_APP_TABLE_BASE,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
swiftCacheDir,
|
|
4
4
|
windowAdmission,
|
|
5
5
|
withSwiftRootLock
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-W2E3WW5J.mjs";
|
|
7
7
|
import {
|
|
8
8
|
isRecord
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import "./chunk-
|
|
9
|
+
} from "./chunk-6EGZPYF5.mjs";
|
|
10
|
+
import "./chunk-AW5DPA3H.mjs";
|
|
11
11
|
|
|
12
12
|
// src/swift-sdk-image-producer.ts
|
|
13
13
|
import { execFile, execFileSync } from "node:child_process";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (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;
|
|
@@ -26248,7 +26248,7 @@ var init_swift_standin_digest = __esm({
|
|
|
26248
26248
|
|
|
26249
26249
|
// src/expo-native-compiler-digest.ts
|
|
26250
26250
|
function expoNativeCompilerDigestValue() {
|
|
26251
|
-
return true ? "
|
|
26251
|
+
return true ? "7dc2dd50bdd4ad24011b4dab9032bcb7adbe0d573ffd5a0fb7110e6a0aa8c385" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
26252
26252
|
}
|
|
26253
26253
|
var import_node_crypto17;
|
|
26254
26254
|
var init_expo_native_compiler_digest = __esm({
|
|
@@ -93595,6 +93595,9 @@ struct PeachFabricView {
|
|
|
93595
93595
|
};
|
|
93596
93596
|
PeachFabricComponents *fabricComponents;
|
|
93597
93597
|
RCTComponentViewRegistry *fabricRegistry;
|
|
93598
|
+
// RCTMountingManager notifies the views that observe its transactions
|
|
93599
|
+
RCTMountingTransactionObserverCoordinator fabricObservers;
|
|
93600
|
+
react::MountingTransaction::Number fabricTransactions = 0;
|
|
93598
93601
|
std::shared_ptr<react::ContextContainer> fabricContext;
|
|
93599
93602
|
react::ComponentDescriptorRegistry::Shared fabricDescriptors;
|
|
93600
93603
|
std::shared_ptr<react::CallInvoker> fabricInvoker;
|
|
@@ -94144,6 +94147,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94144
94147
|
` : ""} family->getEventEmitter()->setEnabled(true);
|
|
94145
94148
|
UIView<RCTComponentViewProtocol> *componentView =
|
|
94146
94149
|
[fabricRegistry dequeueComponentViewWithComponentHandle:view.handle tag:tag].view;
|
|
94150
|
+
fabricObservers.registerViewComponentDescriptor([fabricRegistry componentViewDescriptorWithTag:tag], -1);
|
|
94147
94151
|
UIView *slotView = [[UIView alloc] initWithFrame:CGRectZero];
|
|
94148
94152
|
slotView.clipsToBounds = NO;
|
|
94149
94153
|
slotView.opaque = NO;
|
|
@@ -94216,6 +94220,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94216
94220
|
}
|
|
94217
94221
|
view.family->getEventEmitter()->setEnabled(false);
|
|
94218
94222
|
RCTComponentViewDescriptor descriptor = [fabricRegistry componentViewDescriptorWithTag:tag];
|
|
94223
|
+
fabricObservers.unregisterViewComponentDescriptor(descriptor, -1);
|
|
94219
94224
|
for (const auto &[hostId, viewTag] : fabricTagAliases) {
|
|
94220
94225
|
if (viewTag != tag) continue;
|
|
94221
94226
|
detachFabricChildren(hostId);
|
|
@@ -94291,6 +94296,37 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94291
94296
|
auto desired = next.find(parent);
|
|
94292
94297
|
if (desired == next.end() || previous != desired->second) changedParents.push_back(parent);
|
|
94293
94298
|
}
|
|
94299
|
+
// the mutations RCTMountingManager hands the views observing its
|
|
94300
|
+
// transactions, such as a stack that pushes the screens mounted into it
|
|
94301
|
+
react::ShadowViewMutationList mutations;
|
|
94302
|
+
auto shadow = [](UIView *view) {
|
|
94303
|
+
react::ShadowView shadow;
|
|
94304
|
+
shadow.tag = static_cast<react::Tag>(view.tag);
|
|
94305
|
+
return shadow;
|
|
94306
|
+
};
|
|
94307
|
+
for (int parent : changedParents) {
|
|
94308
|
+
const auto &previous = fabricChildren.at(parent);
|
|
94309
|
+
const auto parentTag = static_cast<react::Tag>(fabricPeers.at(parent).tag);
|
|
94310
|
+
for (size_t index = previous.size(); index > 0; --index)
|
|
94311
|
+
mutations.push_back(react::ShadowViewMutation::RemoveMutation(
|
|
94312
|
+
parentTag, shadow(fabricPeers.at(previous[index - 1])), static_cast<int>(index - 1)));
|
|
94313
|
+
}
|
|
94314
|
+
for (const auto &[id, peer] : fabricPeers)
|
|
94315
|
+
if (!active.count(id) && peer.tag) mutations.push_back(react::ShadowViewMutation::DeleteMutation(shadow(peer)));
|
|
94316
|
+
for (const auto &[id, children] : next) {
|
|
94317
|
+
auto mounted = fabricChildren.find(id);
|
|
94318
|
+
if (mounted != fabricChildren.end() && mounted->second == children) continue;
|
|
94319
|
+
const auto parentTag = static_cast<react::Tag>(fabricPeers.at(id).tag);
|
|
94320
|
+
for (size_t index = 0; index < children.size(); ++index)
|
|
94321
|
+
mutations.push_back(react::ShadowViewMutation::InsertMutation(
|
|
94322
|
+
parentTag, shadow(fabricPeers.at(children[index])), static_cast<int>(index)));
|
|
94323
|
+
}
|
|
94324
|
+
std::optional<react::MountingTransaction> transaction;
|
|
94325
|
+
const react::SurfaceTelemetry telemetry;
|
|
94326
|
+
if (!mutations.empty()) {
|
|
94327
|
+
transaction.emplace(-1, ++fabricTransactions, std::move(mutations), react::TransactionTelemetry{});
|
|
94328
|
+
fabricObservers.notifyObserversMountingTransactionWillMount(*transaction, telemetry);
|
|
94329
|
+
}
|
|
94294
94330
|
for (int parent : changedParents) detachFabricChildren(parent);
|
|
94295
94331
|
for (auto it = fabricPeers.begin(); it != fabricPeers.end();) {
|
|
94296
94332
|
if (active.count(it->first)) ++it;
|
|
@@ -94315,6 +94351,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94315
94351
|
}
|
|
94316
94352
|
fabricChildren[id] = std::move(desired->second);
|
|
94317
94353
|
}
|
|
94354
|
+
if (transaction) fabricObservers.notifyObserversMountingTransactionDidMount(*transaction, telemetry);
|
|
94318
94355
|
for (int id : roots) [fabricPeers.at(id) layoutIfNeeded];
|
|
94319
94356
|
std::vector<jsi::Value> results;
|
|
94320
94357
|
for (int hostId : active) {
|
|
@@ -94356,7 +94393,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94356
94393
|
method("readOffsets", 0, [](jsi::Runtime &rt, const jsi::Value &, const jsi::Value *, size_t) -> jsi::Value {
|
|
94357
94394
|
applyFabricFocus();
|
|
94358
94395
|
std::vector<double> packed;
|
|
94359
|
-
packed.reserve(fabricViews.size() *
|
|
94396
|
+
packed.reserve(fabricViews.size() * 4 + 4);
|
|
94360
94397
|
for (const auto &entry : fabricViews) {
|
|
94361
94398
|
int tag = entry.first;
|
|
94362
94399
|
UIView<RCTComponentViewProtocol> *componentView = [fabricRegistry componentViewDescriptorWithTag:tag].view;
|
|
@@ -94368,6 +94405,9 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94368
94405
|
packed.push_back(static_cast<double>(tag));
|
|
94369
94406
|
packed.push_back(dx);
|
|
94370
94407
|
packed.push_back(dy);
|
|
94408
|
+
// a view its native parent took out of the window draws nothing, as
|
|
94409
|
+
// UINavigationController does to a covered screen
|
|
94410
|
+
packed.push_back(componentView._peachDrawsInFabricSlot && !componentView.window ? 0.0 : 1.0);
|
|
94371
94411
|
}
|
|
94372
94412
|
UIWindow *kw = UIApplication.sharedApplication.keyWindow ?: RCTKeyWindow();
|
|
94373
94413
|
UIView *rootView = kw ? kw.rootViewController.viewIfLoaded : nil;
|
|
@@ -94376,6 +94416,7 @@ ${paper ? ` // the interop's state carries its coordinator, which only the sh
|
|
|
94376
94416
|
packed.push_back(0.0);
|
|
94377
94417
|
packed.push_back(rootFrame.origin.x);
|
|
94378
94418
|
packed.push_back(rootFrame.origin.y);
|
|
94419
|
+
packed.push_back(1.0);
|
|
94379
94420
|
jsi::Array out(rt, packed.size());
|
|
94380
94421
|
for (size_t i = 0; i < packed.size(); i++) {
|
|
94381
94422
|
out.setValueAtIndex(rt, i, jsi::Value(packed[i]));
|
|
@@ -94612,6 +94653,7 @@ class JsCallInvoker final : public react::CallInvoker {
|
|
|
94612
94653
|
#import <React/RCTComponentViewFactory.h>
|
|
94613
94654
|
#import <React/RCTComponentViewProtocol.h>
|
|
94614
94655
|
#import <React/RCTComponentViewRegistry.h>
|
|
94656
|
+
#import <React/RCTMountingTransactionObserverCoordinator.h>
|
|
94615
94657
|
#import <React/RCTViewComponentView.h>
|
|
94616
94658
|
#import <ReactCommon/RCTTurboModule.h>
|
|
94617
94659
|
#include <ReactCommon/CallInvoker.h>
|
|
@@ -95641,7 +95683,7 @@ var init_react_native_core = __esm({
|
|
|
95641
95683
|
init_swift_distribution();
|
|
95642
95684
|
init_swift_package();
|
|
95643
95685
|
init_swiftContract();
|
|
95644
|
-
recipe = true ? "
|
|
95686
|
+
recipe = true ? "4b5808b540a8d1bfc9b2e82932f6ace09685eb41f7c377b580eda3da84c865d3" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
95645
95687
|
strings4 = (value) => isRecord(value) && Object.values(value).every((item) => typeof item === "string");
|
|
95646
95688
|
building = /* @__PURE__ */ new Map();
|
|
95647
95689
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (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,19 +1,19 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
import {
|
|
3
3
|
isSwiftResourcePath
|
|
4
|
-
} from "./esm-chunks/chunk-
|
|
4
|
+
} from "./esm-chunks/chunk-HXSB45EC.mjs";
|
|
5
5
|
import {
|
|
6
6
|
isNativeAppIdentity
|
|
7
|
-
} from "./esm-chunks/chunk-
|
|
8
|
-
import "./esm-chunks/chunk-
|
|
7
|
+
} from "./esm-chunks/chunk-75RKEQ6M.mjs";
|
|
8
|
+
import "./esm-chunks/chunk-GUX4YTIU.mjs";
|
|
9
9
|
import {
|
|
10
10
|
insertBundleGlobalFooter,
|
|
11
11
|
readBundleGlobalFooter
|
|
12
|
-
} from "./esm-chunks/chunk-
|
|
12
|
+
} from "./esm-chunks/chunk-65RCRIMW.mjs";
|
|
13
13
|
import {
|
|
14
14
|
isRecord
|
|
15
|
-
} from "./esm-chunks/chunk-
|
|
16
|
-
import "./esm-chunks/chunk-
|
|
15
|
+
} from "./esm-chunks/chunk-6EGZPYF5.mjs";
|
|
16
|
+
import "./esm-chunks/chunk-AW5DPA3H.mjs";
|
|
17
17
|
|
|
18
18
|
// src/expoSwiftContract.ts
|
|
19
19
|
function strings(value) {
|
package/dist-lib/home-paths.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2534 | (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;
|