peachsim 0.1.2180 → 0.1.2185
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/commands/shell-url.ts +28 -22
- package/cli/outbound-endpoints.ts +11 -1
- 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 +457 -96
- 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 +1 -1
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +352 -58
- 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 +415 -85
- package/dist-lib/host/fetch-proxy-handler.cjs +7 -4
- 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 +7 -4
- 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 +7 -4
- package/dist-lib/native-app-identity-project.cjs +6 -3
- package/dist-lib/native-app-identity-project.mjs +6 -3
- 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 +25 -24
- package/dist-lib/public-origins-lib.json +63 -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 +447 -93
- package/dist-lib/swift-compile.cjs +13 -4
- package/dist-lib/swift-compile.mjs +13 -4
- package/dist-lib/swift-package.cjs +26 -1
- package/dist-lib/swift-package.mjs +25 -1
- package/dist-lib/swift-submit.cjs +2 -2
- package/dist-lib/swift-submit.mjs +2 -2
- package/dist-lib/swift-toolchain.cjs +1 -1
- package/dist-lib/swift.cjs +1 -1
- package/dist-lib/vite-swift.cjs +298 -27
- package/dist-lib/vite.cjs +7 -4
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/render-worker/map-command-channel.d.ts +14 -0
- package/package.json +1 -1
- package/sdk/ios/System/Library/Frameworks/ActivityKit.framework/Headers/ActivityKit.h +1 -0
- package/sdk/ios/System/Library/Frameworks/ActivityKit.framework/Modules/module.modulemap +4 -0
- package/sdk/ios/usr/lib/swift/ActivityKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -0
- package/sdk/ios/usr/lib/swift/CoreGraphics.swiftmodule/arm64-apple-ios-simulator.swiftinterface +14 -0
- package/sdk/ios/usr/lib/swift/Dispatch.swiftmodule/arm64-apple-ios-simulator.swiftinterface +3 -0
- package/sdk/ios/usr/lib/swift/Foundation.swiftmodule/arm64-apple-ios-simulator.swiftinterface +147 -16
- package/sdk/ios/usr/lib/swift/UIKit.swiftmodule/arm64-apple-ios-simulator.swiftinterface +5 -0
- package/src/expo-native-workspace.ts +19 -21
- package/src/expo-swift-bundle.ts +6 -1
- package/src/expo-swift-host.ts +35 -6
- package/src/expoSwiftContract.ts +3 -0
- package/src/native-bundles.ts +30 -10
- package/src/one-sdk/source.ts +10 -4
- package/src/one-sdk-bundle.ts +56 -24
- package/src/swift-compile.ts +3 -1
- package/src/swift-interface-bodies.ts +165 -0
- package/src/swift-objc-standin.ts +73 -13
- package/src/swift-package.ts +26 -0
- package/src/swift-source-pods.ts +27 -4
- package/src/swift-standin-emit.ts +30 -3
- package/src/swift-standins.ts +75 -12
- package/src/swift-submit.ts +2 -1
- package/src/wasm-optimize.ts +11 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2185 | (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;
|
|
@@ -10246,6 +10246,13 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
|
10246
10246
|
]
|
|
10247
10247
|
]);
|
|
10248
10248
|
async function runWasmOpt(file, output, skipPasses, binary) {
|
|
10249
|
+
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
10250
|
+
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
10251
|
+
const environment = { ...process.env, WASM_OPT_PATH: binary };
|
|
10252
|
+
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
10253
|
+
environment.BINARYEN_CORES = String(
|
|
10254
|
+
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
10255
|
+
);
|
|
10249
10256
|
const result = await (0, import_wasm_opt.wasmOpt)(
|
|
10250
10257
|
[
|
|
10251
10258
|
"-Oz",
|
|
@@ -10255,7 +10262,7 @@ async function runWasmOpt(file, output, skipPasses, binary) {
|
|
|
10255
10262
|
"-o",
|
|
10256
10263
|
output
|
|
10257
10264
|
],
|
|
10258
|
-
{ env:
|
|
10265
|
+
{ env: environment }
|
|
10259
10266
|
);
|
|
10260
10267
|
if (result.status !== 0)
|
|
10261
10268
|
throw new Error(`wasm-opt exited ${result.status}: ${result.stderr}`);
|
|
@@ -12467,7 +12474,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12467
12474
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12468
12475
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12469
12476
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12470
|
-
var compilerSourceDigest = true ? "
|
|
12477
|
+
var compilerSourceDigest = true ? "e48d05f659c020e9d4ddc0f6a17da7924aae807faacd6bef7cbed911c43d08cc" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12471
12478
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12472
12479
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
12473
12480
|
hash.update(`swift-compile
|
|
@@ -15864,7 +15871,7 @@ function readCompiledArtifact(directory, hash) {
|
|
|
15864
15871
|
return null;
|
|
15865
15872
|
const bytes = (0, import_node_fs25.readFileSync)(import_node_path27.default.join(directory, "app.wasm"));
|
|
15866
15873
|
const gzip2 = (0, import_node_fs25.readFileSync)(import_node_path27.default.join(directory, "icu.gz"));
|
|
15867
|
-
if ((0, import_node_crypto13.createHash)("sha256").update(bytes).digest("hex") !== receipt.wasm || (0, import_node_crypto13.createHash)("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length
|
|
15874
|
+
if ((0, import_node_crypto13.createHash)("sha256").update(bytes).digest("hex") !== receipt.wasm || (0, import_node_crypto13.createHash)("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length <= 8 || bytes.readUInt32LE(0) !== 1836278016 || bytes.readUInt32LE(4) !== 1)
|
|
15868
15875
|
return null;
|
|
15869
15876
|
return { hash, bytes, icu: { sha256: receipt.icu, gzip: gzip2 } };
|
|
15870
15877
|
} catch (error) {
|
|
@@ -16926,6 +16933,8 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16926
16933
|
bytes: (0, import_node_fs25.readFileSync)(executable),
|
|
16927
16934
|
icu: await icu
|
|
16928
16935
|
};
|
|
16936
|
+
if (artifact.bytes.length <= 8)
|
|
16937
|
+
throw new Error("swift-compile: deferred linker produced no executable");
|
|
16929
16938
|
if (!options.project) saveCompiledArtifact(root, artifact);
|
|
16930
16939
|
saveSharedArtifact(sharedRoot, artifact);
|
|
16931
16940
|
report("compiled artifact verified");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2185 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-compile.ts
|
|
4
4
|
import {
|
|
@@ -10202,6 +10202,13 @@ var BINARYEN_RELEASES = /* @__PURE__ */ new Map([
|
|
|
10202
10202
|
]
|
|
10203
10203
|
]);
|
|
10204
10204
|
async function runWasmOpt(file, output, skipPasses, binary) {
|
|
10205
|
+
const admittedCores = windowAdmission()?.cores ?? Number(process.env.TM_EXEC_CPU_CORES);
|
|
10206
|
+
const requestedCores = Number(process.env.BINARYEN_CORES);
|
|
10207
|
+
const environment = { ...process.env, WASM_OPT_PATH: binary };
|
|
10208
|
+
if (Number.isInteger(admittedCores) && admittedCores > 0)
|
|
10209
|
+
environment.BINARYEN_CORES = String(
|
|
10210
|
+
Number.isInteger(requestedCores) && requestedCores > 0 ? Math.min(admittedCores, requestedCores) : admittedCores
|
|
10211
|
+
);
|
|
10205
10212
|
const result = await wasmOpt(
|
|
10206
10213
|
[
|
|
10207
10214
|
"-Oz",
|
|
@@ -10211,7 +10218,7 @@ async function runWasmOpt(file, output, skipPasses, binary) {
|
|
|
10211
10218
|
"-o",
|
|
10212
10219
|
output
|
|
10213
10220
|
],
|
|
10214
|
-
{ env:
|
|
10221
|
+
{ env: environment }
|
|
10215
10222
|
);
|
|
10216
10223
|
if (result.status !== 0)
|
|
10217
10224
|
throw new Error(`wasm-opt exited ${result.status}: ${result.stderr}`);
|
|
@@ -12447,7 +12454,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12447
12454
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12448
12455
|
var MULTI_MANIFEST_VERSION = 68;
|
|
12449
12456
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12450
|
-
var compilerSourceDigest = true ? "
|
|
12457
|
+
var compilerSourceDigest = true ? "e48d05f659c020e9d4ddc0f6a17da7924aae807faacd6bef7cbed911c43d08cc" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
12451
12458
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12452
12459
|
const hash = createHash13("sha256");
|
|
12453
12460
|
hash.update(`swift-compile
|
|
@@ -15844,7 +15851,7 @@ function readCompiledArtifact(directory, hash) {
|
|
|
15844
15851
|
return null;
|
|
15845
15852
|
const bytes = readFileSync16(path27.join(directory, "app.wasm"));
|
|
15846
15853
|
const gzip2 = readFileSync16(path27.join(directory, "icu.gz"));
|
|
15847
|
-
if (createHash13("sha256").update(bytes).digest("hex") !== receipt.wasm || createHash13("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length
|
|
15854
|
+
if (createHash13("sha256").update(bytes).digest("hex") !== receipt.wasm || createHash13("sha256").update(gzip2).digest("hex") !== receipt.icu || bytes.length <= 8 || bytes.readUInt32LE(0) !== 1836278016 || bytes.readUInt32LE(4) !== 1)
|
|
15848
15855
|
return null;
|
|
15849
15856
|
return { hash, bytes, icu: { sha256: receipt.icu, gzip: gzip2 } };
|
|
15850
15857
|
} catch (error) {
|
|
@@ -16906,6 +16913,8 @@ function compileSwiftProjectOnce(input, options) {
|
|
|
16906
16913
|
bytes: readFileSync16(executable),
|
|
16907
16914
|
icu: await icu
|
|
16908
16915
|
};
|
|
16916
|
+
if (artifact.bytes.length <= 8)
|
|
16917
|
+
throw new Error("swift-compile: deferred linker produced no executable");
|
|
16909
16918
|
if (!options.project) saveCompiledArtifact(root, artifact);
|
|
16910
16919
|
saveSharedArtifact(sharedRoot, artifact);
|
|
16911
16920
|
report("compiled artifact verified");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2185 | (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;
|
|
@@ -32,6 +32,7 @@ __export(swift_package_exports, {
|
|
|
32
32
|
isSwiftManifestFile: () => isSwiftManifestFile,
|
|
33
33
|
isSwiftNativeTranslationUnit: () => isSwiftNativeTranslationUnit,
|
|
34
34
|
manifestCalls: () => manifestCalls,
|
|
35
|
+
moduleMapModules: () => moduleMapModules,
|
|
35
36
|
moduleMapName: () => moduleMapName,
|
|
36
37
|
moduleMapTokens: () => moduleMapTokens,
|
|
37
38
|
swiftImplicitResourcePaths: () => swiftImplicitResourcePaths,
|
|
@@ -236,6 +237,29 @@ function moduleMapName(text) {
|
|
|
236
237
|
);
|
|
237
238
|
return index < 0 ? void 0 : tokens[index + 1];
|
|
238
239
|
}
|
|
240
|
+
function moduleMapModules(text) {
|
|
241
|
+
const modules = [];
|
|
242
|
+
const token = /\/\*[\s\S]*?\*\/|\/\/[^\n]*|"[^"]*"|\{|\}|\bmodule\s+([\w.]+)/g;
|
|
243
|
+
let depth = 0;
|
|
244
|
+
let start = -1;
|
|
245
|
+
let name = "";
|
|
246
|
+
for (const match of text.matchAll(token)) {
|
|
247
|
+
if (match[0] === "{") depth++;
|
|
248
|
+
else if (match[0] === "}") {
|
|
249
|
+
depth--;
|
|
250
|
+
if (depth === 0 && start >= 0) {
|
|
251
|
+
modules.push({ name, text: text.slice(start, match.index + 1) });
|
|
252
|
+
start = -1;
|
|
253
|
+
}
|
|
254
|
+
} else if (match[1] !== void 0 && depth === 0) {
|
|
255
|
+
const before = text.slice(0, match.index).trimEnd();
|
|
256
|
+
if (/\bextern$/.test(before)) continue;
|
|
257
|
+
start = match.index;
|
|
258
|
+
name = match[1];
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
return modules;
|
|
262
|
+
}
|
|
239
263
|
function swiftTargetModuleName(name) {
|
|
240
264
|
return name.replace(/[^A-Za-z0-9_]/g, "_").replace(/^[0-9]/, "_");
|
|
241
265
|
}
|
|
@@ -662,6 +686,7 @@ function swiftPackagePartition(manifest, resourcePaths = []) {
|
|
|
662
686
|
isSwiftManifestFile,
|
|
663
687
|
isSwiftNativeTranslationUnit,
|
|
664
688
|
manifestCalls,
|
|
689
|
+
moduleMapModules,
|
|
665
690
|
moduleMapName,
|
|
666
691
|
moduleMapTokens,
|
|
667
692
|
swiftImplicitResourcePaths,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2185 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/swift-package.ts
|
|
4
4
|
function swiftManifestSettings(target) {
|
|
@@ -183,6 +183,29 @@ function moduleMapName(text) {
|
|
|
183
183
|
);
|
|
184
184
|
return index < 0 ? void 0 : tokens[index + 1];
|
|
185
185
|
}
|
|
186
|
+
function moduleMapModules(text) {
|
|
187
|
+
const modules = [];
|
|
188
|
+
const token = /\/\*[\s\S]*?\*\/|\/\/[^\n]*|"[^"]*"|\{|\}|\bmodule\s+([\w.]+)/g;
|
|
189
|
+
let depth = 0;
|
|
190
|
+
let start = -1;
|
|
191
|
+
let name = "";
|
|
192
|
+
for (const match of text.matchAll(token)) {
|
|
193
|
+
if (match[0] === "{") depth++;
|
|
194
|
+
else if (match[0] === "}") {
|
|
195
|
+
depth--;
|
|
196
|
+
if (depth === 0 && start >= 0) {
|
|
197
|
+
modules.push({ name, text: text.slice(start, match.index + 1) });
|
|
198
|
+
start = -1;
|
|
199
|
+
}
|
|
200
|
+
} else if (match[1] !== void 0 && depth === 0) {
|
|
201
|
+
const before = text.slice(0, match.index).trimEnd();
|
|
202
|
+
if (/\bextern$/.test(before)) continue;
|
|
203
|
+
start = match.index;
|
|
204
|
+
name = match[1];
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
return modules;
|
|
208
|
+
}
|
|
186
209
|
function swiftTargetModuleName(name) {
|
|
187
210
|
return name.replace(/[^A-Za-z0-9_]/g, "_").replace(/^[0-9]/, "_");
|
|
188
211
|
}
|
|
@@ -608,6 +631,7 @@ export {
|
|
|
608
631
|
isSwiftManifestFile,
|
|
609
632
|
isSwiftNativeTranslationUnit,
|
|
610
633
|
manifestCalls,
|
|
634
|
+
moduleMapModules,
|
|
611
635
|
moduleMapName,
|
|
612
636
|
moduleMapTokens,
|
|
613
637
|
swiftImplicitResourcePaths,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2185 | (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;
|
|
@@ -86,7 +86,7 @@ var MAX_SWIFT_COMPILE_METAL_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
86
86
|
var MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
87
87
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
88
88
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
89
|
-
var SWIFT_HOST_ABI =
|
|
89
|
+
var SWIFT_HOST_ABI = 70;
|
|
90
90
|
var POLL_INTERVAL_MS = 1500;
|
|
91
91
|
function swiftNativeEntry(native, file) {
|
|
92
92
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2185 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
|
|
3
3
|
// src/is-record.ts
|
|
4
4
|
function isRecord(value) {
|
|
@@ -40,7 +40,7 @@ var MAX_SWIFT_COMPILE_METAL_TOTAL_BYTES = 8 * 1024 * 1024;
|
|
|
40
40
|
var MAX_SWIFT_COMPILE_IMAGES = 256;
|
|
41
41
|
var MAX_SWIFT_COMPILE_IMAGE_BYTES = 4 * 1024 * 1024;
|
|
42
42
|
var MAX_SWIFT_COMPILE_IMAGE_TOTAL_BYTES = 16 * 1024 * 1024;
|
|
43
|
-
var SWIFT_HOST_ABI =
|
|
43
|
+
var SWIFT_HOST_ABI = 70;
|
|
44
44
|
var POLL_INTERVAL_MS = 1500;
|
|
45
45
|
function swiftNativeEntry(native, file) {
|
|
46
46
|
return {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2185 | (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.2185 | (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;
|