peachsim 0.1.2425 → 0.1.2426
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 +13 -7
- 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 +12 -6
- 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 +13 -7
- package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
- 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 +1 -1
- package/dist-lib/native-app-identity-project.mjs +1 -1
- 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 +29 -16
- package/dist-lib/swift-compile.cjs +1 -1
- package/dist-lib/swift-compile.mjs +1 -1
- 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 +11 -5
- package/dist-lib/vite.cjs +2 -2
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/node.d.ts +1 -0
- package/dist-types/packages/peach-engine/src/engine/svg-native.d.ts +60 -0
- package/package.json +1 -1
- package/src/native-static-libraries.ts +2 -1
- package/src/swift-standin-builtin-behavior.ts +3 -0
- package/src/swift-standin-emit.ts +10 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2426 | (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.2426 | (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.2426 | (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/sdk.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2426 | (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/sdk.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2426 | (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.2426 | (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;
|
|
@@ -5984,7 +5984,7 @@ var init_supported_native_packages = __esm({
|
|
|
5984
5984
|
"expo-linking",
|
|
5985
5985
|
// seam+coverage
|
|
5986
5986
|
"expo-live-activity",
|
|
5987
|
-
//
|
|
5987
|
+
// compiled-swift
|
|
5988
5988
|
"expo-live-photo",
|
|
5989
5989
|
// seam+coverage
|
|
5990
5990
|
"expo-local-authentication",
|
|
@@ -6042,7 +6042,7 @@ var init_supported_native_packages = __esm({
|
|
|
6042
6042
|
"expo-sensors",
|
|
6043
6043
|
// semantic-proof+seam
|
|
6044
6044
|
"expo-share-extension",
|
|
6045
|
-
//
|
|
6045
|
+
// compiled-swift
|
|
6046
6046
|
"expo-share-intent",
|
|
6047
6047
|
// seam
|
|
6048
6048
|
"expo-sharing",
|
|
@@ -14184,9 +14184,9 @@ var init_registry = __esm({
|
|
|
14184
14184
|
{
|
|
14185
14185
|
range: ">=0.4.2 <0.5.0",
|
|
14186
14186
|
coverage: 0.7,
|
|
14187
|
-
note: "
|
|
14188
|
-
working: "
|
|
14189
|
-
missing: "
|
|
14187
|
+
note: "iOS compiles the upstream Expo module and uses the shared ActivityKit implementation.",
|
|
14188
|
+
working: "activity creation, updates, immediate dismissal, state events, and multiple activities with NSSupportsLiveActivities enabled",
|
|
14189
|
+
missing: "ActivityKit push token delivery and this package\u2019s WidgetKit extension rendering are unverified"
|
|
14190
14190
|
}
|
|
14191
14191
|
]
|
|
14192
14192
|
},
|
|
@@ -14574,8 +14574,8 @@ var init_registry = __esm({
|
|
|
14574
14574
|
{
|
|
14575
14575
|
range: ">=1.0.0",
|
|
14576
14576
|
coverage: 0.75,
|
|
14577
|
-
note: "
|
|
14578
|
-
missing: "system extension
|
|
14577
|
+
note: "iOS compiles the upstream Expo module and uses the shared App Group container for cleanup.",
|
|
14578
|
+
missing: "system share extension presentation and host app launching from the extension"
|
|
14579
14579
|
}
|
|
14580
14580
|
]
|
|
14581
14581
|
},
|
|
@@ -19532,11 +19532,18 @@ var init_registry = __esm({
|
|
|
19532
19532
|
stubType: "native",
|
|
19533
19533
|
versions: [
|
|
19534
19534
|
{
|
|
19535
|
-
range: ">=1.1.0",
|
|
19535
|
+
range: ">=1.1.0 <2.0.0",
|
|
19536
19536
|
coverage: 0,
|
|
19537
|
-
note: "unsupported Android SMS OTP autofill module",
|
|
19537
|
+
note: "unsupported Android SMS OTP autofill module (Expo module, no iOS native code)",
|
|
19538
19538
|
working: "no OTP autofill behavior is verified",
|
|
19539
19539
|
missing: "AvasOtpAutofill app hash, SMS listener lifecycle, parsing, and events"
|
|
19540
|
+
},
|
|
19541
|
+
{
|
|
19542
|
+
range: ">=2.0.0",
|
|
19543
|
+
coverage: 0,
|
|
19544
|
+
note: "unsupported Android SMS OTP autofill module (OtpAutofill TurboModule, no iOS native code; read from 2.0.0 source, not run)",
|
|
19545
|
+
working: "no OTP autofill behavior is verified",
|
|
19546
|
+
missing: "OtpAutofill getAppHash, startListening and stopListening"
|
|
19540
19547
|
}
|
|
19541
19548
|
]
|
|
19542
19549
|
},
|
|
@@ -40247,7 +40254,10 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
40247
40254
|
/@(\w+)(?:\([^)]*\))?\s*/g,
|
|
40248
40255
|
(attr, name3) => typeByPath.has(name3) ? "" : attr
|
|
40249
40256
|
) : spelledAttrs;
|
|
40250
|
-
const
|
|
40257
|
+
const selector = context.inClass && !options.inert && member.kind.identifier === "swift.type.method" && !/\basync\b/.test(rest) ? /^c:objc\(cs\)\w+\(cm\)([A-Za-z_][A-Za-z_0-9:]*)$/.exec(
|
|
40258
|
+
member.identifier.precise
|
|
40259
|
+
)?.[1] : void 0;
|
|
40260
|
+
const attrs = options.unobjc?.has(path154) ? wrapped.replace(/@objc(?:\([^)]*\))?\s*/g, "") : `${wrapped}${selector ? `@objc(${selector}) ` : ""}`;
|
|
40251
40261
|
const modifiers = /^((?:(?:required|final|override|convenience|unowned(?:\(\w+\))?|weak|lazy|nonisolated|mutating|nonmutating) )*)(.*)$/s.exec(
|
|
40252
40262
|
rest
|
|
40253
40263
|
);
|
|
@@ -78414,7 +78424,7 @@ var init_swift_standin_digest = __esm({
|
|
|
78414
78424
|
STANDIN_DIGEST_ENTRYPOINTS = ["swift-standins.ts", "swift-objc-compile.ts"];
|
|
78415
78425
|
SPECIFIER = /from\s*['"]([^'"]+)['"]|import\s*\(\s*['"]([^'"]+)['"]\s*\)/g;
|
|
78416
78426
|
standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
78417
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
78427
|
+
STANDIN_SOURCE_DIGEST = true ? "76ba6566c9c2d1f2324dcae610243363f830f57e3753da053da53d749835e23a" : standinSourceDigest();
|
|
78418
78428
|
}
|
|
78419
78429
|
});
|
|
78420
78430
|
|
|
@@ -78909,7 +78919,7 @@ __export(expo_native_prebuilt_exports, {
|
|
|
78909
78919
|
servedExpoSwift: () => servedExpoSwift
|
|
78910
78920
|
});
|
|
78911
78921
|
function expoNativeCompilerDigestValue() {
|
|
78912
|
-
return true ? "
|
|
78922
|
+
return true ? "95d2f7fa52acb2c71a46d85b46df4e8307bc027d7bdcfed61fe9ce704175db4b" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
|
|
78913
78923
|
}
|
|
78914
78924
|
function readSources(value) {
|
|
78915
78925
|
const sources = isRecord(value) ? value.sources : null;
|
|
@@ -79399,11 +79409,11 @@ function nativeStaticLibrary(file, recipe2, moduleRoot) {
|
|
|
79399
79409
|
return "runtime" in recipe2 ? rustStaticLibrary(archive, moduleRoot) : archive;
|
|
79400
79410
|
}
|
|
79401
79411
|
function isRustSymbol(name3, demangled) {
|
|
79402
|
-
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_v03_custom";
|
|
79412
|
+
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_custom" || name3 === "__getrandom_v03_custom";
|
|
79403
79413
|
}
|
|
79404
79414
|
function rustStaticLibrary(file, moduleRoot) {
|
|
79405
79415
|
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
79406
|
-
const key2 = (0, import_node_crypto45.createHash)("sha256").update("rust-c-abi-
|
|
79416
|
+
const key2 = (0, import_node_crypto45.createHash)("sha256").update("rust-c-abi-v3\0").update(toolchain.release).update("\0").update(import_node_fs80.default.readFileSync(file)).digest("hex");
|
|
79407
79417
|
const directory2 = import_node_path78.default.join(cacheDir(), "native-archives", key2);
|
|
79408
79418
|
const archive = import_node_path78.default.join(directory2, "library.a");
|
|
79409
79419
|
if (import_node_fs80.default.existsSync(archive)) return archive;
|
|
@@ -81246,6 +81256,9 @@ var init_swift_standin_builtin_behavior = __esm({
|
|
|
81246
81256
|
"src/swift-standin-builtin-behavior.ts"() {
|
|
81247
81257
|
"use strict";
|
|
81248
81258
|
BUILTIN_STANDIN_BEHAVIOR = {
|
|
81259
|
+
FirebaseAnalytics: {
|
|
81260
|
+
"Analytics.logEvent(_:parameters:)": { body: "" }
|
|
81261
|
+
},
|
|
81249
81262
|
GoogleCast: {
|
|
81250
81263
|
kGCKCastDeviceCategory: { body: 'return "com.google.cast.CastDevice"' },
|
|
81251
81264
|
kGCKDefaultMediaReceiverApplicationID: { body: 'return "CC1AD845"' },
|
|
@@ -102112,7 +102125,7 @@ var init_nitro_superset = __esm({
|
|
|
102112
102125
|
init_nitroContract();
|
|
102113
102126
|
init_swift_standin_digest();
|
|
102114
102127
|
NITRO_SUPERSET_ENTRY_NAME = "superset";
|
|
102115
|
-
NITRO_COMPILER_DIGEST = true ? "
|
|
102128
|
+
NITRO_COMPILER_DIGEST = true ? "8fdfc68d42fcc8dc68e86c44b43f11e69e48240a6cfcce40075612773e7133f4" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
|
|
102116
102129
|
nitroSupersetLock = parseLock(nitro_superset_lock_default);
|
|
102117
102130
|
nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
|
|
102118
102131
|
published2 = /* @__PURE__ */ new Map();
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2426 | (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.2426 | (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);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2426 | (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.2426 | (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.2426 | (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.2426 | (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.2426 | (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;
|
|
@@ -6987,7 +6987,10 @@ function emitSwiftStandin(sourceGraphs, options) {
|
|
|
6987
6987
|
/@(\w+)(?:\([^)]*\))?\s*/g,
|
|
6988
6988
|
(attr, name3) => typeByPath.has(name3) ? "" : attr
|
|
6989
6989
|
) : spelledAttrs;
|
|
6990
|
-
const
|
|
6990
|
+
const selector = context.inClass && !options.inert && member.kind.identifier === "swift.type.method" && !/\basync\b/.test(rest) ? /^c:objc\(cs\)\w+\(cm\)([A-Za-z_][A-Za-z_0-9:]*)$/.exec(
|
|
6991
|
+
member.identifier.precise
|
|
6992
|
+
)?.[1] : void 0;
|
|
6993
|
+
const attrs = options.unobjc?.has(path57) ? wrapped.replace(/@objc(?:\([^)]*\))?\s*/g, "") : `${wrapped}${selector ? `@objc(${selector}) ` : ""}`;
|
|
6991
6994
|
const modifiers = /^((?:(?:required|final|override|convenience|unowned(?:\(\w+\))?|weak|lazy|nonisolated|mutating|nonmutating) )*)(.*)$/s.exec(
|
|
6992
6995
|
rest
|
|
6993
6996
|
);
|
|
@@ -34696,7 +34699,7 @@ function sourceClosureDigest(srcDir, entrypoints, excludedFiles) {
|
|
|
34696
34699
|
return hash.digest("hex");
|
|
34697
34700
|
}
|
|
34698
34701
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
34699
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
34702
|
+
var STANDIN_SOURCE_DIGEST = true ? "76ba6566c9c2d1f2324dcae610243363f830f57e3753da053da53d749835e23a" : standinSourceDigest();
|
|
34700
34703
|
|
|
34701
34704
|
// src/swift-standins.ts
|
|
34702
34705
|
var import_node_child_process32 = require("node:child_process");
|
|
@@ -35119,11 +35122,11 @@ function nativeStaticLibrary(file, recipe, moduleRoot) {
|
|
|
35119
35122
|
return "runtime" in recipe ? rustStaticLibrary(archive, moduleRoot) : archive;
|
|
35120
35123
|
}
|
|
35121
35124
|
function isRustSymbol(name3, demangled) {
|
|
35122
|
-
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_v03_custom";
|
|
35125
|
+
return (name3.startsWith("_R") || /^_ZN.*17h[0-9a-f]{16}E$/.test(name3)) && demangled !== name3 || name3 === "rust_eh_personality" || name3 === "__getrandom_custom" || name3 === "__getrandom_v03_custom";
|
|
35123
35126
|
}
|
|
35124
35127
|
function rustStaticLibrary(file, moduleRoot) {
|
|
35125
35128
|
const toolchain = swiftModuleToolchain(moduleRoot);
|
|
35126
|
-
const key2 = (0, import_node_crypto27.createHash)("sha256").update("rust-c-abi-
|
|
35129
|
+
const key2 = (0, import_node_crypto27.createHash)("sha256").update("rust-c-abi-v3\0").update(toolchain.release).update("\0").update(import_node_fs48.default.readFileSync(file)).digest("hex");
|
|
35127
35130
|
const directory = import_node_path50.default.join(cacheDir(), "native-archives", key2);
|
|
35128
35131
|
const archive = import_node_path50.default.join(directory, "library.a");
|
|
35129
35132
|
if (import_node_fs48.default.existsSync(archive)) return archive;
|
|
@@ -35624,6 +35627,9 @@ async function emitCxxStandin(input) {
|
|
|
35624
35627
|
|
|
35625
35628
|
// src/swift-standin-builtin-behavior.ts
|
|
35626
35629
|
var BUILTIN_STANDIN_BEHAVIOR = {
|
|
35630
|
+
FirebaseAnalytics: {
|
|
35631
|
+
"Analytics.logEvent(_:parameters:)": { body: "" }
|
|
35632
|
+
},
|
|
35627
35633
|
GoogleCast: {
|
|
35628
35634
|
kGCKCastDeviceCategory: { body: 'return "com.google.cast.CastDevice"' },
|
|
35629
35635
|
kGCKDefaultMediaReceiverApplicationID: { body: 'return "CC1AD845"' },
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2426 | (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;
|
|
@@ -4382,7 +4382,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
4382
4382
|
var init_swift_standin_digest = __esm({
|
|
4383
4383
|
"src/swift-standin-digest.ts"() {
|
|
4384
4384
|
"use strict";
|
|
4385
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
4385
|
+
STANDIN_SOURCE_DIGEST = true ? "76ba6566c9c2d1f2324dcae610243363f830f57e3753da053da53d749835e23a" : standinSourceDigest();
|
|
4386
4386
|
}
|
|
4387
4387
|
});
|
|
4388
4388
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2426 | (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;
|
|
@@ -536,6 +536,7 @@ export declare class SootSimNode extends NativeNodeRecord {
|
|
|
536
536
|
until: number;
|
|
537
537
|
} | null;
|
|
538
538
|
_paintBoundary?: import('./paint-boundary-types.d.ts').PaintBoundaryState | null;
|
|
539
|
+
_svgSpriteAtlas?: import('./svg-native.d.ts').SvgSpriteAtlas;
|
|
539
540
|
__lastBackdropSig?: string;
|
|
540
541
|
__lastBackdropInk?: DamageRect;
|
|
541
542
|
constructor(type: SootSimNodeType, props?: Record<string, any>, nativeRenderer?: NativeRenderer, fabricTextEpsilon?: number, resolvedStyle?: SootSimStyle, svgCurrentColorUsesPaintOpacity?: boolean);
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { type CanvasKitRenderingApi } from './canvaskit-api.d.ts';
|
|
2
|
+
import { SootSimNode } from './node.d.ts';
|
|
3
|
+
import type { RenderContext } from './types.d.ts';
|
|
4
|
+
import type { Image } from 'canvaskit-wasm';
|
|
5
|
+
export interface SvgSpriteAtlas {
|
|
6
|
+
key: string;
|
|
7
|
+
canvasKitVersion: number;
|
|
8
|
+
image: Image;
|
|
9
|
+
rects: Map<string, readonly [number, number, number, number]>;
|
|
10
|
+
}
|
|
11
|
+
export declare function drawSvgRoot(node: SootSimNode, ctx: RenderContext, x: number, y: number, w: number, h: number): void;
|
|
12
|
+
export declare function paintSvgLeaf(node: SootSimNode, ctx: RenderContext, x: number, y: number, w: number, h: number): number;
|
|
13
|
+
export declare function svgSymbolImageRect(ck: CanvasKitRenderingApi, node: SootSimNode): {
|
|
14
|
+
left: number;
|
|
15
|
+
top: number;
|
|
16
|
+
width: number;
|
|
17
|
+
height: number;
|
|
18
|
+
units: number;
|
|
19
|
+
insets: [number, number, number, number];
|
|
20
|
+
viewBox: {
|
|
21
|
+
translateX: number;
|
|
22
|
+
translateY: number;
|
|
23
|
+
scaleX: number;
|
|
24
|
+
scaleY: number;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
export declare function isSvgRenderablePointInFill(target: unknown, point: {
|
|
28
|
+
x: number;
|
|
29
|
+
y: number;
|
|
30
|
+
}): boolean;
|
|
31
|
+
export declare function isSvgRenderablePointInStroke(target: unknown, point: {
|
|
32
|
+
x: number;
|
|
33
|
+
y: number;
|
|
34
|
+
}): boolean;
|
|
35
|
+
export declare function getSvgRenderableTotalLength(target: unknown): number;
|
|
36
|
+
export declare function getSvgRenderablePointAtLength(target: unknown, distance: number): {
|
|
37
|
+
x: number;
|
|
38
|
+
y: number;
|
|
39
|
+
};
|
|
40
|
+
export declare function getSvgRenderableBBox(target: unknown, options: {
|
|
41
|
+
clipped: boolean;
|
|
42
|
+
fill: boolean;
|
|
43
|
+
markers: boolean;
|
|
44
|
+
stroke: boolean;
|
|
45
|
+
}): {
|
|
46
|
+
x: number;
|
|
47
|
+
y: number;
|
|
48
|
+
width: number;
|
|
49
|
+
height: number;
|
|
50
|
+
} | null;
|
|
51
|
+
export declare function getSvgRenderableCTM(target: unknown): {
|
|
52
|
+
a: number;
|
|
53
|
+
b: number;
|
|
54
|
+
c: number;
|
|
55
|
+
d: number;
|
|
56
|
+
e: number;
|
|
57
|
+
f: number;
|
|
58
|
+
} | null;
|
|
59
|
+
export declare function svgShapeContains(ck: object, slot: number, path: string, x: number, y: number): boolean;
|
|
60
|
+
export declare function disposeSvgSurfaceResources(surface: object): void;
|
package/package.json
CHANGED
|
@@ -373,6 +373,7 @@ function isRustSymbol(name: string, demangled: string): boolean {
|
|
|
373
373
|
((name.startsWith('_R') || /^_ZN.*17h[0-9a-f]{16}E$/.test(name)) &&
|
|
374
374
|
demangled !== name) ||
|
|
375
375
|
name === 'rust_eh_personality' ||
|
|
376
|
+
name === '__getrandom_custom' ||
|
|
376
377
|
name === '__getrandom_v03_custom'
|
|
377
378
|
)
|
|
378
379
|
}
|
|
@@ -380,7 +381,7 @@ function isRustSymbol(name: string, demangled: string): boolean {
|
|
|
380
381
|
export function rustStaticLibrary(file: string, moduleRoot: string): string {
|
|
381
382
|
const toolchain = swiftModuleToolchain(moduleRoot)
|
|
382
383
|
const key = createHash('sha256')
|
|
383
|
-
.update('rust-c-abi-
|
|
384
|
+
.update('rust-c-abi-v3\0')
|
|
384
385
|
.update(toolchain.release)
|
|
385
386
|
.update('\0')
|
|
386
387
|
.update(fs.readFileSync(file))
|
|
@@ -8,6 +8,9 @@ import type { SwiftStandinBehaviors } from './swift-standin-emit'
|
|
|
8
8
|
// start. the values below are what the iOS framework reports in that state;
|
|
9
9
|
// the receiver-facing and UI members stay trapping stand-ins.
|
|
10
10
|
const BUILTIN_STANDIN_BEHAVIOR: SwiftStandinBehaviors = {
|
|
11
|
+
FirebaseAnalytics: {
|
|
12
|
+
'Analytics.logEvent(_:parameters:)': { body: '' },
|
|
13
|
+
},
|
|
11
14
|
GoogleCast: {
|
|
12
15
|
kGCKCastDeviceCategory: { body: 'return "com.google.cast.CastDevice"' },
|
|
13
16
|
kGCKDefaultMediaReceiverApplicationID: { body: 'return "CC1AD845"' },
|
|
@@ -1291,9 +1291,18 @@ export function emitSwiftStandin(
|
|
|
1291
1291
|
typeByPath.has(name) ? '' : attr,
|
|
1292
1292
|
)
|
|
1293
1293
|
: spelledAttrs!
|
|
1294
|
+
const selector =
|
|
1295
|
+
context.inClass &&
|
|
1296
|
+
!options.inert &&
|
|
1297
|
+
member.kind.identifier === 'swift.type.method' &&
|
|
1298
|
+
!/\basync\b/.test(rest!)
|
|
1299
|
+
? /^c:objc\(cs\)\w+\(cm\)([A-Za-z_][A-Za-z_0-9:]*)$/.exec(
|
|
1300
|
+
member.identifier.precise,
|
|
1301
|
+
)?.[1]
|
|
1302
|
+
: undefined
|
|
1294
1303
|
const attrs = options.unobjc?.has(path)
|
|
1295
1304
|
? wrapped.replace(/@objc(?:\([^)]*\))?\s*/g, '')
|
|
1296
|
-
: wrapped
|
|
1305
|
+
: `${wrapped}${selector ? `@objc(${selector}) ` : ''}`
|
|
1297
1306
|
const modifiers =
|
|
1298
1307
|
/^((?:(?:required|final|override|convenience|unowned(?:\(\w+\))?|weak|lazy|nonisolated|mutating|nonmutating) )*)(.*)$/s.exec(
|
|
1299
1308
|
rest!,
|