peachsim 0.1.2296 → 0.1.2298
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 +1153 -1070
- 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 +2 -2
- package/dist-lib/dev-bundle-resolution.cjs +1 -1
- package/dist-lib/expo-swift-bundle.cjs +47 -24
- 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 +121 -38
- package/dist-lib/host/fetch-proxy-handler.cjs +8 -6
- 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 +2391 -4521
- 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 +14 -2
- 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 +4536 -6667
- package/dist-lib/native-app-identity-project.cjs +3 -3
- package/dist-lib/native-app-identity-project.mjs +3 -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 +24 -24
- package/dist-lib/public-origins-lib.json +81 -85
- 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 +122 -39
- package/dist-lib/swift-compile.cjs +2 -2
- package/dist-lib/swift-compile.mjs +2 -2
- 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 +5 -4
- package/dist-lib/vite.cjs +8 -6
- package/dist-lib/worklet-executable.cjs +1 -1
- package/dist-lib/worklet-executable.mjs +1 -1
- package/dist-types/packages/peach-engine/src/engine/scene-table.d.ts +10 -8
- package/dist-types/packages/peach-engine/src/engine/scroll-platform.d.ts +0 -1
- package/dist-types/packages/peach-engine/src/render-worker/worker-input-runtime.d.ts +2 -1
- package/dist-types/packages/peach-engine/src/settings/device-spec-bus.d.ts +5 -0
- package/kotlin/README.md +1 -1
- package/kotlin/sdk.tar.gz +0 -0
- package/kotlin/toolchain.json +5 -1
- package/package.json +1 -1
- package/runtime-companion.json +1 -1
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXAction.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXAnswerCallAction.h +20 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXBase.h +20 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCall.h +28 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallAction.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallController.h +53 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallDirectory.h +16 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallDirectoryExtensionContext.h +86 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallDirectoryManager.h +29 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallDirectoryProvider.h +21 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallObserver.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXCallUpdate.h +43 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXEndCallAction.h +20 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXError.h +66 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXHandle.h +31 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXPlayDTMFCallAction.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXProvider.h +127 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXProviderConfiguration.h +42 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXSetGroupCallAction.h +27 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXSetHeldCallAction.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXSetMutedCallAction.h +23 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXSetTranslatingCallAction.h +40 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXStartCallAction.h +33 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CXTransaction.h +34 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CallKit.apinotes +36 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Headers/CallKit.h +35 -0
- package/sdk/ios/System/Library/Frameworks/CallKit.framework/Modules/module.modulemap +6 -0
- package/sdk/ios/System/Library/Frameworks/React.framework/Headers/React.h +14 -0
- package/src/expo-autolinking.ts +1 -1
- package/src/expo-swift-host.ts +5 -5
- package/src/kotlin-toolchain.ts +16 -1
- package/src/kotlinSdkContract.ts +2 -1
- package/src/metro-plugin.ts +1 -4
- package/src/nitro-adapter.lock.json +284 -284
- package/src/nitro-compile.ts +69 -4
- package/src/nitro-superset.lock.json +4 -4
- package/src/one-sdk/source.ts +2 -1
- package/src/prepared-native-inventory.ts +8 -2
- package/src/react-native-autolinking.ts +28 -9
- package/src/swift-coverage/xcode-packages.ts +2 -1
- package/src/swift-distribution.lock.json +11 -11
- package/src/swift-host.ts +3 -1
- package/src/turbo-bundle.ts +14 -6
- package/src/turbo-codegen-intake.ts +3 -2
- package/src/turbo-runtime.lock.json +22 -22
- package/src/turbo-source.ts +2 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2298 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -13471,7 +13471,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13471
13471
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13472
13472
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13473
13473
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13474
|
-
var compilerSourceDigest = true ? "
|
|
13474
|
+
var compilerSourceDigest = true ? "954c2461be59202cebfcc9f9ab9775d01da9581bb5babf07b19bf8ef3ed9832a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
13475
13475
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13476
13476
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
13477
13477
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2298 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
4
4
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
@@ -13457,7 +13457,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
13457
13457
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
13458
13458
|
var MULTI_MANIFEST_VERSION = 68;
|
|
13459
13459
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
13460
|
-
var compilerSourceDigest = true ? "
|
|
13460
|
+
var compilerSourceDigest = true ? "954c2461be59202cebfcc9f9ab9775d01da9581bb5babf07b19bf8ef3ed9832a" : swiftCompilerSourceDigest(import.meta.dirname);
|
|
13461
13461
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
13462
13462
|
const hash = createHash13("sha256");
|
|
13463
13463
|
hash.update(`swift-compile
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2298 | (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.2298 | (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.2298 | (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.2298 | (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.2298 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -18284,7 +18284,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
|
|
|
18284
18284
|
var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
|
|
18285
18285
|
var MULTI_MANIFEST_VERSION = 68;
|
|
18286
18286
|
var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
|
|
18287
|
-
var compilerSourceDigest = true ? "
|
|
18287
|
+
var compilerSourceDigest = true ? "954c2461be59202cebfcc9f9ab9775d01da9581bb5babf07b19bf8ef3ed9832a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
|
|
18288
18288
|
function swiftArtifactHash(input, release, moduleRoot) {
|
|
18289
18289
|
const hash = (0, import_node_crypto13.createHash)("sha256");
|
|
18290
18290
|
hash.update(`swift-compile
|
|
@@ -25437,7 +25437,7 @@ var import_node_fs33 = require("node:fs");
|
|
|
25437
25437
|
var import_node_path33 = require("node:path");
|
|
25438
25438
|
|
|
25439
25439
|
// src/swift-coverage/provenance.ts
|
|
25440
|
-
var swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"
|
|
25440
|
+
var swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
25441
25441
|
|
|
25442
25442
|
// src/swift-coverage/xcode-asset-symbols.ts
|
|
25443
25443
|
var import_node_fs32 = require("node:fs");
|
|
@@ -32470,7 +32470,7 @@ function sourceClosureDigest(srcDir, entrypoints) {
|
|
|
32470
32470
|
return hash.digest("hex");
|
|
32471
32471
|
}
|
|
32472
32472
|
var standinSourceDigest = (srcDir = __sootsim_import_meta_dirname) => sourceClosureDigest(srcDir, STANDIN_DIGEST_ENTRYPOINTS);
|
|
32473
|
-
var STANDIN_SOURCE_DIGEST = true ? "
|
|
32473
|
+
var STANDIN_SOURCE_DIGEST = true ? "8147cd62e6fb2f5e7f46a1f7c728e18c4f15d54e52092dfa86c289b96dff7e9c" : standinSourceDigest();
|
|
32474
32474
|
|
|
32475
32475
|
// src/swift-standins.ts
|
|
32476
32476
|
var import_node_child_process31 = require("node:child_process");
|
|
@@ -38297,6 +38297,7 @@ async function buildXcodeLayout(root) {
|
|
|
38297
38297
|
path: target.remote ? import_node_path56.default.posix.join(XCODE_PACKAGES_DIR, posix) : posix,
|
|
38298
38298
|
exclude: target.exclude ?? [],
|
|
38299
38299
|
defines: [
|
|
38300
|
+
"Xcode",
|
|
38300
38301
|
...packageConfiguration === "debug" ? ["DEBUG"] : [],
|
|
38301
38302
|
...target.packageDefines.filter(
|
|
38302
38303
|
(define) => define.configuration === null || define.configuration === packageConfiguration
|
package/dist-lib/vite.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2298 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
|
|
2
2
|
let __sootsim_import_meta_url = '', __sootsim_import_meta_dirname = '', __sootsim_import_meta_filename = ''; try { __sootsim_import_meta_url = require('url').pathToFileURL(__filename).href; __sootsim_import_meta_dirname = __dirname; __sootsim_import_meta_filename = __filename; } catch {}
|
|
3
3
|
"use strict";
|
|
4
4
|
var __create = Object.create;
|
|
@@ -2742,7 +2742,7 @@ var init_src = __esm({
|
|
|
2742
2742
|
var runtime_companion_default;
|
|
2743
2743
|
var init_runtime_companion = __esm({
|
|
2744
2744
|
"runtime-companion.json"() {
|
|
2745
|
-
runtime_companion_default = { abi: 1, sha256: "
|
|
2745
|
+
runtime_companion_default = { abi: 1, sha256: "2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6", file: "node/cli-2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6.cjs" };
|
|
2746
2746
|
}
|
|
2747
2747
|
});
|
|
2748
2748
|
|
|
@@ -3100,7 +3100,7 @@ var STANDIN_SOURCE_DIGEST;
|
|
|
3100
3100
|
var init_swift_standin_digest = __esm({
|
|
3101
3101
|
"src/swift-standin-digest.ts"() {
|
|
3102
3102
|
"use strict";
|
|
3103
|
-
STANDIN_SOURCE_DIGEST = true ? "
|
|
3103
|
+
STANDIN_SOURCE_DIGEST = true ? "8147cd62e6fb2f5e7f46a1f7c728e18c4f15d54e52092dfa86c289b96dff7e9c" : standinSourceDigest();
|
|
3104
3104
|
}
|
|
3105
3105
|
});
|
|
3106
3106
|
|
|
@@ -3547,7 +3547,7 @@ var swiftCoverageProvenance;
|
|
|
3547
3547
|
var init_provenance = __esm({
|
|
3548
3548
|
"src/swift-coverage/provenance.ts"() {
|
|
3549
3549
|
"use strict";
|
|
3550
|
-
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"
|
|
3550
|
+
swiftCoverageProvenance = true ? JSON.parse('{"swift-coverage/indexdump.ts":"0d82d8eeb96bf377f409ea7e33274c341a710c0e071f6b6e17571a23d8d92412","swift-coverage/indexing.ts":"633ccf19eec1f382a8847d0ee1dca42a2792a3c60aafd43622ed5152b09b8272","swift-coverage/types.ts":"bd8fae54ea6c53e110cd8a5d7b57c1d532dd0166e09fdaea63c4f270c3780dd1","swift-coverage/source.ts":"c151758a9f67631bc61473c375df0dc017da6902a34533b2cf4fc4fd7d19b6ee","swift-coverage/package.ts":"1f0068be7461fa7c5a7a891faf318f305cbed2e94c19667ba76627f7e5be260b","swift-coverage/xcode.ts":"65a500b806ce1c3a496de27f2e0ad77287c0f6795c618342c08af647f92af1fa","swift-coverage/xcode-assets.ts":"d98d6294b359528f7733b26db6f80f554782354faa235605f9562be4ad98b8a3","swift-coverage/xcode-asset-symbols.ts":"1b2a67733bc9d139b351466270205452a6172140bc25080d72619e2952c44671","swift-coverage/xcode-bridging.ts":"33184be8c5daf6646aa5a1276a4e15531f1be27b7c26f56550e0fbb1fc678a11","swift-coverage/xcode-packages.ts":"5c83f56357d880243ab485b260d23abd0094583ffa2287dac6e9e7eb18c3673d","swift-coverage/xcode-strings.ts":"f2dd4c7cd8ef77035184b0132909c2fa09fd20ed06b7757c2f1f960bfdde031c","swift-coverage/reader.ts":"da559b67ecd1161dea70c980b5f98f2c55af3550f0714479100fa5e9e813625c","swift-coverage/provenance.ts":"f5039c16e63c6129e22b71203f58982c68cef6e282a4f236b93da28edd39c108","swift-package-manifest.ts":"bfde06f157f52d3dd76577b3c6059c95c0393180b054ced773624ea89558992b","swift-package.ts":"338cfef9a34a930206ac2e1a8a90b85c8d61f776d9a41e6445dc18e0c5385cdb","swift-source-file.ts":"93fd659ed63a27b67f54a7c229a7ceb636dc9c59e68414920ba36cff1eda1f94","swift-toolchain.ts":"b60efa4eb7516378344cb7c48216aea5fa36590ace91a698655b48cfd0db96fe","home-paths.ts":"d1606390f0e8e50f0ff72544eadb3d49dfabf08e004c1218f2998c36fb8995dd","xcode-header-search.ts":"f8c3d557b4eca5ddad32907545353eb7ad53b2ebd0969d9ed8f7275e109a13b1","xcode-project.ts":"774c42f06f8d5c1f3f3a09f94379db2046af0016f1fcd6cbe595a9c2da5dcf95","xcode-target-members.ts":"2f25aaf5a3aa34395983c75935491c06bd68554c47ff1cb06b49c79499c03db0","xcode-json-project.ts":"41990ebbe4b488eef34e74c4608b4b48e5a5b299ba98ca7fbcfdfa0e77be63b6","openstep-plist.ts":"74e6ce1dac80c9c318e0e9f5e3e8cd19a898a8820c36fc160609695bcb59dcd3"}') : swiftCoverageSourceDigests((0, import_node_path.join)(__sootsim_import_meta_dirname, ".."));
|
|
3551
3551
|
}
|
|
3552
3552
|
});
|
|
3553
3553
|
|
|
@@ -4753,7 +4753,7 @@ var init_swift_compile = __esm({
|
|
|
4753
4753
|
FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
|
|
4754
4754
|
(module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
|
|
4755
4755
|
).join("");
|
|
4756
|
-
compilerSourceDigest = true ? "
|
|
4756
|
+
compilerSourceDigest = true ? "954c2461be59202cebfcc9f9ab9775d01da9581bb5babf07b19bf8ef3ed9832a" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
|
|
4757
4757
|
CORE_FOUNDATION_HANDLE_IMPORTS = [
|
|
4758
4758
|
"CFAllocator",
|
|
4759
4759
|
"CFArray",
|
|
@@ -5285,7 +5285,7 @@ var init_react_native_core = __esm({
|
|
|
5285
5285
|
init_swift_distribution();
|
|
5286
5286
|
init_swift_package();
|
|
5287
5287
|
init_swiftContract();
|
|
5288
|
-
recipe = true ? "
|
|
5288
|
+
recipe = true ? "f30840269a1f4be9434de5fb0adcd21490990ef2b55e4f3e6c159fcb6752a29d" : reactNativeCoreDigest2(__sootsim_import_meta_dirname);
|
|
5289
5289
|
}
|
|
5290
5290
|
});
|
|
5291
5291
|
|
|
@@ -5454,6 +5454,7 @@ var init_turbo_codegen_intake = __esm({
|
|
|
5454
5454
|
"use strict";
|
|
5455
5455
|
import_node_child_process12 = require("node:child_process");
|
|
5456
5456
|
import_node_util8 = require("node:util");
|
|
5457
|
+
init_forked_script_contract();
|
|
5457
5458
|
init_is_record();
|
|
5458
5459
|
init_nitro_source();
|
|
5459
5460
|
init_podspec_sources();
|
|
@@ -9620,6 +9621,7 @@ init_is_record();
|
|
|
9620
9621
|
|
|
9621
9622
|
// src/prepared-native-inventory.ts
|
|
9622
9623
|
init_expo_autolinking();
|
|
9624
|
+
init_forked_script_contract();
|
|
9623
9625
|
init_is_record();
|
|
9624
9626
|
init_nitro_source();
|
|
9625
9627
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/*! peach v0.1.
|
|
1
|
+
/*! peach v0.1.2298 | (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;
|
|
@@ -152,15 +152,13 @@ export interface SceneNativeBinding {
|
|
|
152
152
|
_peach_classic_layout_sample(slot: number, timestamp: number): number;
|
|
153
153
|
peachExtentParameters?: (slot: number) => void;
|
|
154
154
|
_peach_scene_set_buffers(integers: number, doubles: number, floats: number, layoutMatrices: number): void;
|
|
155
|
-
_peach_scene_slots_adopt(next: number, generations: number, free: number, freeCount: number): void;
|
|
155
|
+
_peach_scene_slots_adopt(next: number, generations: number, parents: number, free: number, freeCount: number): void;
|
|
156
156
|
_peach_scene_slot_allocate(): number;
|
|
157
157
|
_peach_scene_slot_generation(slot: number): number;
|
|
158
|
-
_peach_scene_slot_release(slot: number, generation: number): number;
|
|
159
158
|
_peach_scene_slots_publish(): void;
|
|
160
159
|
_peach_scene_slots_lanes(which: number): number;
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
_peach_scene_unlink_children(parent: number): number;
|
|
160
|
+
_peach_scene_ops(count: number): number;
|
|
161
|
+
_peach_scene_commit(count: number): number;
|
|
164
162
|
_malloc(bytes: number): number;
|
|
165
163
|
_free(pointer: number): void;
|
|
166
164
|
_peach_paint_walk(canvas: number, slot: number, self: number, childX: number, childY: number, flags: number, txOffX: number, txOffY: number, hasClip: number, clipLeft: number, clipTop: number, clipRight: number, clipBottom: number, dpr: number, surfaceWidth: number, surfaceHeight: number, layoutVersion: number, paintFloor: number, paintEpoch: number, fontGeneration: number, android: number, hasDamage: number, damageLeft: number, damageTop: number, damageRight: number, damageBottom: number, damageId: number, frameMs: number, swiftUIOpacity: number): number;
|
|
@@ -335,9 +333,13 @@ export declare class SceneTable {
|
|
|
335
333
|
subtreeHoldsRaster(slot: number): boolean;
|
|
336
334
|
dropLeaf(slot: number): void;
|
|
337
335
|
writeParent(slot: number, parentSlot: number): void;
|
|
338
|
-
linkChild(parentSlot: number, previous: number, slot: number
|
|
339
|
-
unlinkChild(parentSlot: number, previous: number, slot: number
|
|
340
|
-
|
|
336
|
+
linkChild(parentSlot: number, previous: number, slot: number): void;
|
|
337
|
+
unlinkChild(parentSlot: number, previous: number, slot: number): void;
|
|
338
|
+
beginTopology(): void;
|
|
339
|
+
endTopology(): void;
|
|
340
|
+
batchTopology<T>(run: () => T): T;
|
|
341
|
+
stageTopology(run: () => void): void;
|
|
342
|
+
commitTopology(): void;
|
|
341
343
|
markChildOrderChanged(parentSlot: number): void;
|
|
342
344
|
markPaintChanged(slot: number): void;
|
|
343
345
|
markOwnPaintChanged(slot: number, geometry?: boolean): void;
|
|
@@ -203,7 +203,8 @@ export declare const SCROLL_CANDIDATE_SLOP = 8;
|
|
|
203
203
|
export declare function collectScrollCandidates(node: WorkerHostNode | null): WorkerHostNode[];
|
|
204
204
|
export declare function axisLockedPanReleaseTaker(panNode: WorkerHostNode | null, scrollNode: WorkerHostNode | null, scrollCandidates: WorkerHostNode[], dx: number, dy: number): WorkerHostNode | null;
|
|
205
205
|
export declare function shouldReleaseAxisLockedPanByAxis(lock: 'x' | 'y' | null, dx: number, dy: number): boolean;
|
|
206
|
-
export declare function
|
|
206
|
+
export declare function scrollsRestAtTop(scrollCandidates: WorkerHostNode[]): boolean;
|
|
207
|
+
export declare function resolveDeferredPanStart(panNode: WorkerHostNode | null, scrollNode: WorkerHostNode | null, scrollCandidates: WorkerHostNode[], dx: number, dy: number, stepDy: number, restedAtTop: boolean): {
|
|
207
208
|
dy: number;
|
|
208
209
|
scroll: {
|
|
209
210
|
node: WorkerHostNode;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import type { DeviceSpec } from '../../../../../src/device-catalog.ts';
|
|
2
2
|
type Listener = () => void;
|
|
3
3
|
export declare const ANDROID_EMULATOR_MODEL = "sdk_gphone64_arm64";
|
|
4
|
+
export declare const ANDROID_EMULATOR_PROPERTIES: {
|
|
5
|
+
'ro.product.manufacturer': string;
|
|
6
|
+
'ro.build.version.codename': string;
|
|
7
|
+
'ro.build.version.sdk_full': string;
|
|
8
|
+
};
|
|
4
9
|
export declare function getDeviceSpec(): DeviceSpec;
|
|
5
10
|
export declare function peekDeviceSpec(): DeviceSpec | undefined;
|
|
6
11
|
export declare function getDevicePixelScale(): number;
|
package/kotlin/README.md
CHANGED
|
@@ -8,7 +8,7 @@ hosts and plugins, runtime, libraries and mounts stay behind lazy entry points.
|
|
|
8
8
|
Verify emitted chunks and static imports, plus the native-free twin's network
|
|
9
9
|
traffic in `scripts/debug/peach-swift-lazy-network.sh`.
|
|
10
10
|
|
|
11
|
-
- `toolchain.json`: the pinned Kotlin compiler, kotlinx-coroutines and official
|
|
11
|
+
- `toolchain.json`: the pinned Kotlin compiler (with `fork/`'s patched jar), kotlinx-coroutines and official
|
|
12
12
|
AndroidX runtime and Compose Multiplatform UI Kotlin/Wasm klibs, with their
|
|
13
13
|
sha256 and explicit matching Android pins. Skiko's browser resources and
|
|
14
14
|
kotlinx-datetime's declared JS module are verified and served beside the wasm.
|
package/kotlin/sdk.tar.gz
CHANGED
|
Binary file
|
package/kotlin/toolchain.json
CHANGED
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
"compiler": {
|
|
3
3
|
"version": "2.4.20",
|
|
4
4
|
"url": "https://github.com/JetBrains/kotlin/releases/download/v2.4.20/kotlin-compiler-2.4.20.zip",
|
|
5
|
-
"sha256": "59e9ca74c7904ef2c122b12114937673ccce68de820a663f0ed66ccf8799e0b7"
|
|
5
|
+
"sha256": "59e9ca74c7904ef2c122b12114937673ccce68de820a663f0ed66ccf8799e0b7",
|
|
6
|
+
"jar": {
|
|
7
|
+
"url": "https://r2.rnxsim.com/peach-kotlin-fork/dc17b94c8ed5b90bc01c91c28cccfb0f141de0b5f62d77538ad3bf90d05b5767/kotlin-compiler.jar",
|
|
8
|
+
"sha256": "dc17b94c8ed5b90bc01c91c28cccfb0f141de0b5f62d77538ad3bf90d05b5767"
|
|
9
|
+
}
|
|
6
10
|
},
|
|
7
11
|
"libraries": [
|
|
8
12
|
{
|
package/package.json
CHANGED
package/runtime-companion.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"abi":1,"sha256":"
|
|
1
|
+
{"abi":1,"sha256":"2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6","file":"node/cli-2d222761043905cd744125bbf673c568fc842d35d058bf6975d86a828f7090e6.cjs"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CXAction.h
|
|
3
|
+
// CallKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Apple. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <CallKit/CXBase.h>
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0)) API_UNAVAILABLE(macos, tvos)
|
|
13
|
+
@interface CXAction : NSObject <NSCopying, NSSecureCoding>
|
|
14
|
+
|
|
15
|
+
/// Unique ID
|
|
16
|
+
@property (nonatomic, readonly, copy) NSUUID *UUID;
|
|
17
|
+
|
|
18
|
+
/// Whether all actions are either fulfilled or failed
|
|
19
|
+
@property (nonatomic, readonly, assign, getter=isComplete) BOOL complete;
|
|
20
|
+
|
|
21
|
+
@property (nonatomic, readonly, strong) NSDate *timeoutDate;
|
|
22
|
+
|
|
23
|
+
- (instancetype)init NS_DESIGNATED_INITIALIZER;
|
|
24
|
+
- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
|
|
25
|
+
|
|
26
|
+
/// Report successful execution of the receiver.
|
|
27
|
+
- (void)fulfill;
|
|
28
|
+
|
|
29
|
+
/// Report failed execution of the receiver.
|
|
30
|
+
- (void)fail;
|
|
31
|
+
|
|
32
|
+
@end
|
|
33
|
+
|
|
34
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CXAnswerCallAction.h
|
|
3
|
+
// CallKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2015 Apple. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <CallKit/CXCallAction.h>
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0)) API_UNAVAILABLE(macos, tvos)
|
|
13
|
+
@interface CXAnswerCallAction : CXCallAction
|
|
14
|
+
|
|
15
|
+
/// Normally, providers can just call -[CXAction fulfill] to indicate action fulfillment. Use this method to note a specific date that the call connected. A call is considered connected when both caller and callee can start communicating.
|
|
16
|
+
- (void)fulfillWithDateConnected:(NSDate *)dateConnected;
|
|
17
|
+
|
|
18
|
+
@end
|
|
19
|
+
|
|
20
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CXBase.h
|
|
3
|
+
// CallKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Apple. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
#ifdef __cplusplus
|
|
13
|
+
#define CX_EXTERN extern "C" __attribute__((visibility("default")))
|
|
14
|
+
#else
|
|
15
|
+
#define CX_EXTERN extern __attribute__((visibility("default")))
|
|
16
|
+
#endif
|
|
17
|
+
|
|
18
|
+
#define CX_CLASS_AVAILABLE(...) CX_EXTERN API_AVAILABLE(__VA_ARGS__)
|
|
19
|
+
|
|
20
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CXCall.h
|
|
3
|
+
// CallKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Apple. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <CallKit/CXBase.h>
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0)) API_UNAVAILABLE(macos, tvos)
|
|
13
|
+
@interface CXCall : NSObject
|
|
14
|
+
|
|
15
|
+
@property (nonatomic, readonly, copy) NSUUID *UUID;
|
|
16
|
+
|
|
17
|
+
@property (nonatomic, readonly, assign, getter=isOutgoing) BOOL outgoing;
|
|
18
|
+
@property (nonatomic, readonly, assign, getter=isOnHold) BOOL onHold;
|
|
19
|
+
@property (nonatomic, readonly, assign) BOOL hasConnected;
|
|
20
|
+
@property (nonatomic, readonly, assign) BOOL hasEnded;
|
|
21
|
+
|
|
22
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
23
|
+
|
|
24
|
+
- (BOOL)isEqualToCall:(CXCall *)call;
|
|
25
|
+
|
|
26
|
+
@end
|
|
27
|
+
|
|
28
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CXCallAction.h
|
|
3
|
+
// CallKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2015 Apple. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <CallKit/CXAction.h>
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0)) API_UNAVAILABLE(macos, tvos)
|
|
13
|
+
@interface CXCallAction : CXAction
|
|
14
|
+
|
|
15
|
+
@property (nonatomic, readonly, copy) NSUUID *callUUID;
|
|
16
|
+
|
|
17
|
+
- (instancetype)initWithCallUUID:(NSUUID *)callUUID NS_DESIGNATED_INITIALIZER;
|
|
18
|
+
- (nullable instancetype)initWithCoder:(NSCoder *)aDecoder NS_DESIGNATED_INITIALIZER;
|
|
19
|
+
- (instancetype)init NS_UNAVAILABLE;
|
|
20
|
+
|
|
21
|
+
@end
|
|
22
|
+
|
|
23
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CXCallController.h
|
|
3
|
+
// CallKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2015 Apple. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <CallKit/CXBase.h>
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
@class CXAction;
|
|
13
|
+
@class CXCallObserver;
|
|
14
|
+
@class CXTransaction;
|
|
15
|
+
|
|
16
|
+
CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0), watchos(9.0)) API_UNAVAILABLE(macos, tvos)
|
|
17
|
+
@interface CXCallController : NSObject
|
|
18
|
+
|
|
19
|
+
/// Initialize call controller with a private, serial queue.
|
|
20
|
+
- (instancetype)init;
|
|
21
|
+
|
|
22
|
+
/// Initialize call controller with specified queue, which is used for calling completion blocks.
|
|
23
|
+
- (instancetype)initWithQueue:(dispatch_queue_t)queue NS_DESIGNATED_INITIALIZER;
|
|
24
|
+
|
|
25
|
+
@property (nonatomic, readonly, strong) CXCallObserver *callObserver;
|
|
26
|
+
|
|
27
|
+
/// Request a transaction to be performed by the in-app provider.
|
|
28
|
+
///
|
|
29
|
+
/// If the completion block is called with a nil error, then the transaction will be passed to the CXProvider's -provider:executeTransaction: delegate callback.
|
|
30
|
+
/// A non-nil error indicates that the requested transaction could not be executed.
|
|
31
|
+
///
|
|
32
|
+
/// Completion block is performed on the queue supplied to designated initializer.
|
|
33
|
+
- (void)requestTransaction:(CXTransaction *)transaction completion:(void (^)(NSError *_Nullable error))completion;
|
|
34
|
+
|
|
35
|
+
/// Request a transaction containing the specified actions to be performed by the in-app provider.
|
|
36
|
+
///
|
|
37
|
+
/// If the completion block is called with a nil error, then the transaction will be passed to the CXProvider's -provider:executeTransaction: delegate callback.
|
|
38
|
+
/// A non-nil error indicates that the requested transaction could not be executed.
|
|
39
|
+
///
|
|
40
|
+
/// Completion block is performed on the queue supplied to designated initializer.
|
|
41
|
+
- (void)requestTransactionWithActions:(NSArray<CXAction *> *)actions completion:(void (^)(NSError *_Nullable error))completion API_AVAILABLE(ios(11.0), macCatalyst(13.0), watchos(9.0));
|
|
42
|
+
|
|
43
|
+
/// Request a transaction containing the specified action to be performed by the in-app provider.
|
|
44
|
+
///
|
|
45
|
+
/// If the completion block is called with a nil error, then the transaction will be passed to the CXProvider's -provider:executeTransaction: delegate callback.
|
|
46
|
+
/// A non-nil error indicates that the requested transaction could not be executed.
|
|
47
|
+
///
|
|
48
|
+
/// Completion block is performed on the queue supplied to designated initializer.
|
|
49
|
+
- (void)requestTransactionWithAction:(CXAction *)action completion:(void (^)(NSError *_Nullable error))completion API_AVAILABLE(ios(11.0), macCatalyst(13.0), watchos(9.0));
|
|
50
|
+
|
|
51
|
+
@end
|
|
52
|
+
|
|
53
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CXCallDirectory.h
|
|
3
|
+
// CallKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Apple. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <Foundation/Foundation.h>
|
|
9
|
+
|
|
10
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
11
|
+
|
|
12
|
+
typedef int64_t CXCallDirectoryPhoneNumber;
|
|
13
|
+
|
|
14
|
+
static const CXCallDirectoryPhoneNumber CXCallDirectoryPhoneNumberMax = (INT64_MAX - 1);
|
|
15
|
+
|
|
16
|
+
NS_ASSUME_NONNULL_END
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
//
|
|
2
|
+
// CXCallDirectoryExtensionContext.h
|
|
3
|
+
// CallKit
|
|
4
|
+
//
|
|
5
|
+
// Copyright © 2016 Apple. All rights reserved.
|
|
6
|
+
//
|
|
7
|
+
|
|
8
|
+
#import <CallKit/CXBase.h>
|
|
9
|
+
#import <CallKit/CXCallDirectory.h>
|
|
10
|
+
|
|
11
|
+
NS_ASSUME_NONNULL_BEGIN
|
|
12
|
+
|
|
13
|
+
@class CXCallDirectoryExtensionContext;
|
|
14
|
+
|
|
15
|
+
CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0)) API_UNAVAILABLE(macos, watchos, tvos)
|
|
16
|
+
@protocol CXCallDirectoryExtensionContextDelegate <NSObject>
|
|
17
|
+
|
|
18
|
+
- (void)requestFailedForExtensionContext:(CXCallDirectoryExtensionContext *)extensionContext withError:(NSError *)error;
|
|
19
|
+
|
|
20
|
+
@end
|
|
21
|
+
|
|
22
|
+
CX_EXTERN API_AVAILABLE(ios(10.0), macCatalyst(13.0)) API_UNAVAILABLE(macos, watchos, tvos)
|
|
23
|
+
@interface CXCallDirectoryExtensionContext : NSExtensionContext
|
|
24
|
+
|
|
25
|
+
@property (nonatomic, weak, nullable) id<CXCallDirectoryExtensionContextDelegate> delegate;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
Whether the request should provide incremental data.
|
|
29
|
+
|
|
30
|
+
If this is called at the beginning of the request (before any entries have been added or removed) and the result is YES,
|
|
31
|
+
then the request must only provide an "incremental" set of entries, i.e. only add or remove entries relative to the last time data
|
|
32
|
+
was loaded for the extension. Otherwise, if this method is not called OR is called and returns NO, then the request must provide
|
|
33
|
+
a "complete" set of entries, adding the full list of entries from scratch (and removing none), regardless of whether data has ever been
|
|
34
|
+
successfully loaded in the past.
|
|
35
|
+
*/
|
|
36
|
+
@property (nonatomic, readonly, getter=isIncremental) BOOL incremental API_AVAILABLE(ios(11.0), macCatalyst(13.0)) API_UNAVAILABLE(macos, watchos);
|
|
37
|
+
|
|
38
|
+
- (void)addBlockingEntryWithNextSequentialPhoneNumber:(CXCallDirectoryPhoneNumber)phoneNumber;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
Remove blocking entry with the specified phone number.
|
|
42
|
+
|
|
43
|
+
May only be used when `-isIncremental` returns YES, indicating that the request should provide incremental entries and thus may use this
|
|
44
|
+
API to remove a previously-added blocking entry.
|
|
45
|
+
|
|
46
|
+
@param phoneNumber The blocking entry phone number to remove.
|
|
47
|
+
*/
|
|
48
|
+
- (void)removeBlockingEntryWithPhoneNumber:(CXCallDirectoryPhoneNumber)phoneNumber API_AVAILABLE(ios(11.0), macCatalyst(13.0)) API_UNAVAILABLE(macos, watchos);
|
|
49
|
+
|
|
50
|
+
/**
|
|
51
|
+
Remove all currently-stored blocking entries.
|
|
52
|
+
|
|
53
|
+
May only be used when `-isIncremental` returns YES, indicating that the request should provide incremental entries and thus may use this
|
|
54
|
+
API to remove all previously-added blocking entries.
|
|
55
|
+
*/
|
|
56
|
+
- (void)removeAllBlockingEntries API_AVAILABLE(ios(11.0), macCatalyst(13.0)) API_UNAVAILABLE(macos, watchos);
|
|
57
|
+
|
|
58
|
+
- (void)addIdentificationEntryWithNextSequentialPhoneNumber:(CXCallDirectoryPhoneNumber)phoneNumber label:(NSString *)label;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
Remove identification entry with the specified phone number.
|
|
62
|
+
|
|
63
|
+
May only be used when `-isIncremental` returns YES, indicating that the request should provide incremental entries and thus may use this
|
|
64
|
+
API to remove a previously-added identification entry. Removes all identification entries with the specified phone number, even if
|
|
65
|
+
multiple identification entries with different labels are present for a single phone number.
|
|
66
|
+
|
|
67
|
+
@param phoneNumber The identification entry phone number to remove.
|
|
68
|
+
*/
|
|
69
|
+
- (void)removeIdentificationEntryWithPhoneNumber:(CXCallDirectoryPhoneNumber)phoneNumber API_AVAILABLE(ios(11.0), macCatalyst(13.0)) API_UNAVAILABLE(macos, watchos);
|
|
70
|
+
|
|
71
|
+
/**
|
|
72
|
+
Remove all currently-stored identification entries.
|
|
73
|
+
|
|
74
|
+
May only be used when `-isIncremental` returns YES, indicating that the request should provide incremental entries and thus may use this
|
|
75
|
+
API to remove all previously-added identification entries.
|
|
76
|
+
*/
|
|
77
|
+
- (void)removeAllIdentificationEntries API_AVAILABLE(ios(11.0), macCatalyst(13.0)) API_UNAVAILABLE(macos, watchos);
|
|
78
|
+
|
|
79
|
+
- (void)completeRequestWithCompletionHandler:(nullable void (^)(BOOL expired))completion;
|
|
80
|
+
|
|
81
|
+
// Use -completeRequestWithCompletionHandler: instead
|
|
82
|
+
- (void)completeRequestReturningItems:(nullable NSArray *)items completionHandler:(void (^__nullable)(BOOL expired))completionHandler NS_UNAVAILABLE;
|
|
83
|
+
|
|
84
|
+
@end
|
|
85
|
+
|
|
86
|
+
NS_ASSUME_NONNULL_END
|