peachsim 0.1.1857 → 0.1.1859
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/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 +26 -12
- 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 +25 -11
- 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 +26 -12
- package/dist-lib/host/fetch-proxy-handler.cjs +1 -1
- 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 +2 -2
- 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 +2 -2
- 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 +26 -12
- package/dist-lib/swift-compile.cjs +23 -9
- package/dist-lib/swift-compile.mjs +23 -9
- 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 +24 -10
- package/dist-lib/vite.cjs +1 -1
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/package.json +1 -1
- package/src/swift-compile.ts +22 -7
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1859 | (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.1859 | (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.1859 | (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.1859 | (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.1859 | (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;
|
|
@@ -11566,13 +11566,27 @@ function swiftCompileSdkOptions(moduleRoot, toolchainBin) {
|
|
|
11566
11566
|
);
|
|
11567
11567
|
}
|
|
11568
11568
|
function swiftObjCSelectorOptions(moduleRoot) {
|
|
11569
|
-
|
|
11570
|
-
|
|
11571
|
-
|
|
11572
|
-
"
|
|
11573
|
-
|
|
11574
|
-
|
|
11575
|
-
|
|
11569
|
+
let map = import_node_path19.default.join(moduleRoot, SWIFT_DISTRIBUTION_OBJC_SELECTORS);
|
|
11570
|
+
if (!swiftDistributionAt(moduleRoot)) {
|
|
11571
|
+
const classes = {};
|
|
11572
|
+
for (const framework of ["UIKitCore", "WebKit"])
|
|
11573
|
+
for (const [name3, members2] of Object.entries(
|
|
11574
|
+
JSON.parse(
|
|
11575
|
+
(0, import_node_fs19.readFileSync)(
|
|
11576
|
+
import_node_path19.default.join(moduleRoot, "Sources", framework, "ObjCSelectors.json"),
|
|
11577
|
+
"utf8"
|
|
11578
|
+
)
|
|
11579
|
+
).classes
|
|
11580
|
+
))
|
|
11581
|
+
classes[name3] = [...classes[name3] ?? [], ...members2];
|
|
11582
|
+
map = import_node_path19.default.join(moduleRoot, ".build", SWIFT_DISTRIBUTION_OBJC_SELECTORS);
|
|
11583
|
+
(0, import_node_fs19.mkdirSync)(import_node_path19.default.dirname(map), { recursive: true });
|
|
11584
|
+
const partial = `${map}.${(0, import_node_crypto8.randomUUID)()}`;
|
|
11585
|
+
(0, import_node_fs19.writeFileSync)(partial, `${JSON.stringify({ classes }, null, 2)}
|
|
11586
|
+
`);
|
|
11587
|
+
(0, import_node_fs19.renameSync)(partial, map);
|
|
11588
|
+
}
|
|
11589
|
+
return ["-Xswiftc", "-Xllvm", "-Xswiftc", `-peach-objc-selector-map=${map}`];
|
|
11576
11590
|
}
|
|
11577
11591
|
function swiftModuleInputFiles(root) {
|
|
11578
11592
|
if (swiftDistributionAt(root)) return [SWIFT_DISTRIBUTION_MANIFEST];
|
|
@@ -12158,7 +12172,7 @@ var darwinRecordsRegion = (quoted) => quoted.length ? ["-Wl,--start-lib", ...quo
|
|
|
12158
12172
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
12159
12173
|
var MULTI_MANIFEST_VERSION = 65;
|
|
12160
12174
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
12161
|
-
var compilerSourceDigest = true ? "
|
|
12175
|
+
var compilerSourceDigest = true ? "2bf39ff484d3b795785cdb197c763b3dff37406ce855f0ee85d8aa0e41003acd" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
12162
12176
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
12163
12177
|
const hash = (0, import_node_crypto8.createHash)("sha256");
|
|
12164
12178
|
hash.update(`swift-compile
|
|
@@ -24870,7 +24884,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
24870
24884
|
return hash.digest("hex");
|
|
24871
24885
|
}
|
|
24872
24886
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
24873
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
24887
|
+
var STANDIN_SOURCE_DIGEST = true ? "89c974a2d711f6f8747f56ca8a5ef0754cb04cc70c90822212856125b0a92730" : standinSourceDigest();
|
|
24874
24888
|
|
|
24875
24889
|
// src/swift-standins.ts
|
|
24876
24890
|
init_define_SWIFT_COVERAGE_SOURCE_DIGESTS();
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1859 | (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;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.1859 | (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/package.json
CHANGED
package/src/swift-compile.ts
CHANGED
|
@@ -491,13 +491,28 @@ export function swiftCompileSdkOptions(
|
|
|
491
491
|
|
|
492
492
|
/** consumer targets send the selectors iOS names, as the SDK's own targets do. */
|
|
493
493
|
function swiftObjCSelectorOptions(moduleRoot: string): string[] {
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
494
|
+
let map = path.join(moduleRoot, SWIFT_DISTRIBUTION_OBJC_SELECTORS)
|
|
495
|
+
// the compiler reads one map per compile; a distribution ships the SDK
|
|
496
|
+
// targets' maps merged, a source checkout merges them here.
|
|
497
|
+
if (!swiftDistributionAt(moduleRoot)) {
|
|
498
|
+
const classes: Record<string, unknown[]> = {}
|
|
499
|
+
for (const framework of ['UIKitCore', 'WebKit'])
|
|
500
|
+
for (const [name, members] of Object.entries<unknown[]>(
|
|
501
|
+
JSON.parse(
|
|
502
|
+
readFileSync(
|
|
503
|
+
path.join(moduleRoot, 'Sources', framework, 'ObjCSelectors.json'),
|
|
504
|
+
'utf8',
|
|
505
|
+
),
|
|
506
|
+
).classes,
|
|
507
|
+
))
|
|
508
|
+
classes[name] = [...(classes[name] ?? []), ...members]
|
|
509
|
+
map = path.join(moduleRoot, '.build', SWIFT_DISTRIBUTION_OBJC_SELECTORS)
|
|
510
|
+
mkdirSync(path.dirname(map), { recursive: true })
|
|
511
|
+
const partial = `${map}.${randomUUID()}`
|
|
512
|
+
writeFileSync(partial, `${JSON.stringify({ classes }, null, 2)}\n`)
|
|
513
|
+
renameSync(partial, map)
|
|
514
|
+
}
|
|
515
|
+
return ['-Xswiftc', '-Xllvm', '-Xswiftc', `-peach-objc-selector-map=${map}`]
|
|
501
516
|
}
|
|
502
517
|
|
|
503
518
|
// toolchain.json is an input for its wasm sdk checksum: the sdk's icu blob,
|