peachsim 0.1.2376 → 0.1.2378

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.
Files changed (90) hide show
  1. package/cli/commands/serve.ts +3 -1
  2. package/cli/outbound-endpoints.ts +7 -0
  3. package/dist-lib/agent-daemon-client.cjs +1 -1
  4. package/dist-lib/agent-events.cjs +1 -1
  5. package/dist-lib/attached-projects.cjs +1 -1
  6. package/dist-lib/auth/shared-session.cjs +1 -1
  7. package/dist-lib/backend-origin.cjs +1 -1
  8. package/dist-lib/beta.cjs +1 -1
  9. package/dist-lib/beta.mjs +1 -1
  10. package/dist-lib/bridge-constants.cjs +1 -1
  11. package/dist-lib/bridge-contract-input.cjs +1 -1
  12. package/dist-lib/bridge-contract-input.mjs +1 -1
  13. package/dist-lib/bridge-contract.cjs +1 -1
  14. package/dist-lib/bridge-contract.mjs +1 -1
  15. package/dist-lib/bundle-channel.cjs +4 -4
  16. package/dist-lib/capture-contract.cjs +1 -1
  17. package/dist-lib/capture-contract.mjs +1 -1
  18. package/dist-lib/cloud-contract.cjs +1 -1
  19. package/dist-lib/cloud-contract.mjs +1 -1
  20. package/dist-lib/cloud-test-args.cjs +1 -1
  21. package/dist-lib/cloud-test-args.mjs +1 -1
  22. package/dist-lib/cloud.cjs +1 -1
  23. package/dist-lib/cloud.mjs +1 -1
  24. package/dist-lib/config.cjs +1 -1
  25. package/dist-lib/config.mjs +1 -1
  26. package/dist-lib/detox/index.cjs +1 -1
  27. package/dist-lib/dev-bundle-resolution.cjs +1 -1
  28. package/dist-lib/expo-swift-bundle.cjs +3 -3
  29. package/dist-lib/expo-swift-metadata.cjs +1 -1
  30. package/dist-lib/expo-swift-metadata.mjs +1 -1
  31. package/dist-lib/home-paths.cjs +1 -1
  32. package/dist-lib/host/bridge-host.cjs +4 -4
  33. package/dist-lib/host/fetch-proxy-handler.cjs +2 -2
  34. package/dist-lib/host/fetch-proxy-overrides.cjs +1 -1
  35. package/dist-lib/host/fetch-proxy-overrides.mjs +1 -1
  36. package/dist-lib/host/replacement-module-handler.cjs +1 -1
  37. package/dist-lib/host/websocket-proxy.cjs +1 -1
  38. package/dist-lib/index.cjs +2 -2
  39. package/dist-lib/jump-to-source-babel.cjs +1 -1
  40. package/dist-lib/jump-to-source-native.cjs +1 -1
  41. package/dist-lib/kotlin-host.cjs +1 -1
  42. package/dist-lib/menu.cjs +1 -1
  43. package/dist-lib/menu.mjs +1 -1
  44. package/dist-lib/metro-fingerprint-registry.cjs +1 -1
  45. package/dist-lib/metro-fingerprint-registry.mjs +1 -1
  46. package/dist-lib/metro-production-bundle.cjs +1 -1
  47. package/dist-lib/metro-production-bundle.mjs +1 -1
  48. package/dist-lib/metro.cjs +2 -2
  49. package/dist-lib/native-app-identity-project.cjs +2 -2
  50. package/dist-lib/native-app-identity-project.mjs +2 -2
  51. package/dist-lib/native-app-identity.cjs +1 -1
  52. package/dist-lib/native-app-identity.mjs +1 -1
  53. package/dist-lib/native-firebase-metadata.cjs +1 -1
  54. package/dist-lib/native-firebase-metadata.mjs +1 -1
  55. package/dist-lib/pdfium-raster.cjs +1 -1
  56. package/dist-lib/pdfium-raster.mjs +1 -1
  57. package/dist-lib/plist.cjs +1 -1
  58. package/dist-lib/plist.mjs +1 -1
  59. package/dist-lib/profiles.cjs +1 -1
  60. package/dist-lib/public-brand.cjs +1 -1
  61. package/dist-lib/public-origins-lib-esm.json +24 -24
  62. package/dist-lib/public-origins-lib.json +53 -53
  63. package/dist-lib/react-native-host-modules.cjs +1 -1
  64. package/dist-lib/react-native-host-modules.mjs +1 -1
  65. package/dist-lib/reap-browser.cjs +1 -1
  66. package/dist-lib/scripts/dev-server-scanner.cjs +1 -1
  67. package/dist-lib/sdk.cjs +1 -1
  68. package/dist-lib/sdk.mjs +1 -1
  69. package/dist-lib/skills.cjs +4 -4
  70. package/dist-lib/swift-compile.cjs +2 -2
  71. package/dist-lib/swift-compile.mjs +2 -2
  72. package/dist-lib/swift-package.cjs +1 -1
  73. package/dist-lib/swift-package.mjs +1 -1
  74. package/dist-lib/swift-submit.cjs +1 -1
  75. package/dist-lib/swift-submit.mjs +1 -1
  76. package/dist-lib/swift-toolchain.cjs +1 -1
  77. package/dist-lib/swift.cjs +1 -1
  78. package/dist-lib/vite-swift.cjs +2 -2
  79. package/dist-lib/vite.cjs +2 -2
  80. package/dist-lib/worklet-executable.cjs +1 -1
  81. package/dist-lib/worklet-executable.mjs +1 -1
  82. package/dist-types/packages/peach-engine/src/engine/font-config.d.ts +2 -38
  83. package/dist-types/packages/peach-engine/src/engine/systemFontAssetContract.d.ts +38 -0
  84. package/kotlin/sdk.tar.gz +0 -0
  85. package/node-runtime.json +1 -1
  86. package/package.json +1 -1
  87. package/sdk/ios/usr/include/availability.modulemap +0 -22
  88. package/sdk/ios/usr/include/module.modulemap +0 -1
  89. package/src/host/syncNetHelperContract.ts +19 -0
  90. package/src/host/syncNetHelperSource.ts +11 -0
package/dist-lib/sdk.mjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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;
@@ -63201,7 +63201,7 @@ int EXUpdatesApplyBSDiffPatch(const char * _Nonnull oldFilePath,
63201
63201
  REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
63202
63202
  MULTI_MANIFEST_VERSION = 69;
63203
63203
  SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
63204
- compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
63204
+ compilerSourceDigest = true ? "db3b95b8a2cd040ed0ec438c7c57fd9aba0686ce3dee134980a029e17aea31ad" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
63205
63205
  nativeCxxCompilerFlags = ["-fno-cxx-modules"];
63206
63206
  cFlagArray = (flags) => JSON.stringify(withoutGlogModuleMap(flags));
63207
63207
  cxxFlagArray = (flags) => JSON.stringify([...nativeCxxCompilerFlags, ...withoutGlogModuleMap(flags)]);
@@ -70423,7 +70423,7 @@ __export(expo_native_prebuilt_exports, {
70423
70423
  servedExpoSwift: () => servedExpoSwift
70424
70424
  });
70425
70425
  function expoNativeCompilerDigestValue() {
70426
- return true ? "8a9334e694116088b38960c9df318900f67572132de1877344435c21b99dda3f" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
70426
+ return true ? "2f1eb5f86d546910a16da331333901062d974fcff64410af486ac98712ececa9" : expoNativeCompilerDigest(__sootsim_import_meta_dirname);
70427
70427
  }
70428
70428
  function readSources(value) {
70429
70429
  const sources = isRecord(value) ? value.sources : null;
@@ -93207,7 +93207,7 @@ var init_nitro_superset = __esm({
93207
93207
  init_nitroContract();
93208
93208
  init_swift_standin_digest();
93209
93209
  NITRO_SUPERSET_ENTRY_NAME = "superset";
93210
- NITRO_COMPILER_DIGEST = true ? "dfa19b227d768f315aa0cf66df59c6dafcb66413aa3599f350cf6007bf24b62d" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
93210
+ NITRO_COMPILER_DIGEST = true ? "0e132b79d4c2ed04067458484c54de8b9dcdc842f8aa80604fb2c55ae2c2875a" : nitroCompilerSourceDigest(__sootsim_import_meta_dirname, STANDIN_SOURCE_DIGEST2);
93211
93211
  nitroSupersetLock = parseLock(nitro_superset_lock_default);
93212
93212
  nitroSupersetKey = (inputs) => nativeEntryKey({ ...inputs, compiler: NITRO_COMPILER_DIGEST });
93213
93213
  published2 = /* @__PURE__ */ new Map();
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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;
@@ -13762,7 +13762,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
13762
13762
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
13763
13763
  var MULTI_MANIFEST_VERSION = 69;
13764
13764
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
13765
- var compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
13765
+ var compilerSourceDigest = true ? "db3b95b8a2cd040ed0ec438c7c57fd9aba0686ce3dee134980a029e17aea31ad" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
13766
13766
  function swiftArtifactHash(input, release, moduleRoot) {
13767
13767
  const hash = (0, import_node_crypto14.createHash)("sha256");
13768
13768
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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);
@@ -13750,7 +13750,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
13750
13750
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
13751
13751
  var MULTI_MANIFEST_VERSION = 69;
13752
13752
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
13753
- var compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest(import.meta.dirname);
13753
+ var compilerSourceDigest = true ? "db3b95b8a2cd040ed0ec438c7c57fd9aba0686ce3dee134980a029e17aea31ad" : swiftCompilerSourceDigest(import.meta.dirname);
13754
13754
  function swiftArtifactHash(input, release, moduleRoot) {
13755
13755
  const hash = createHash14("sha256");
13756
13756
  hash.update(`swift-compile
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/swift-package.ts
4
4
  function swiftManifestSettings(target) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
 
3
3
  // src/is-record.ts
4
4
  function isRecord(value) {
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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;
@@ -18677,7 +18677,7 @@ var darwinRecordsRegion = (quoted2) => quoted2.length ? ["-Wl,--start-lib", ...q
18677
18677
  var REACTOR_FLAG = '"-Xclang-linker", "-mexec-model=reactor",\n';
18678
18678
  var MULTI_MANIFEST_VERSION = 69;
18679
18679
  var SWIFT_HEADER_PRODUCTS_TARGET = "PeachHeaderProducts";
18680
- var compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
18680
+ var compilerSourceDigest = true ? "db3b95b8a2cd040ed0ec438c7c57fd9aba0686ce3dee134980a029e17aea31ad" : swiftCompilerSourceDigest(__sootsim_import_meta_dirname);
18681
18681
  function swiftArtifactHash(input, release, moduleRoot) {
18682
18682
  const hash = (0, import_node_crypto14.createHash)("sha256");
18683
18683
  hash.update(`swift-compile
package/dist-lib/vite.cjs CHANGED
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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;
@@ -4959,7 +4959,7 @@ var init_swift_compile = __esm({
4959
4959
  FOUNDATION_IMPLICIT_FLAGS = FOUNDATION_IMPLICIT_MODULES.map(
4960
4960
  (module2) => `, "-Xfrontend", "-import-module", "-Xfrontend", "${module2}"`
4961
4961
  ).join("");
4962
- compilerSourceDigest = true ? "1b47386ddb37b973b7110df3031ea52e9d23ac2a578bc7539d91e232e336db2a" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
4962
+ compilerSourceDigest = true ? "db3b95b8a2cd040ed0ec438c7c57fd9aba0686ce3dee134980a029e17aea31ad" : swiftCompilerSourceDigest2(__sootsim_import_meta_dirname);
4963
4963
  C_WORDS = new Set(
4964
4964
  "auto bool break case char const continue default do double else enum extern false float for goto if inline int long register restrict return short signed sizeof static struct switch true typedef union unsigned void volatile while YES NO NULL nil Nil id self super instancetype".split(
4965
4965
  " "
@@ -1,4 +1,4 @@
1
- /*! peach v0.1.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (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.2376 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
1
+ /*! peach v0.1.2378 | (c) 2026 Tamagui LLC | Proprietary; see LICENSE */
2
2
  var __defProp = Object.defineProperty;
3
3
  var __typeError = (msg) => {
4
4
  throw TypeError(msg);
@@ -1,8 +1,10 @@
1
1
  import { SF_PRO_FONT_URL } from './generated/sf-pro-font.d.ts';
2
+ import { type FontVerticalMetrics, type SystemNamedFace } from './systemFontAssetContract.d.ts';
2
3
  import type { DeviceSpec, RuntimePlatform } from '../../../../../src/device-catalog.ts';
3
4
  import type { CanvasKitRenderingApi } from './canvaskit-api.d.ts';
4
5
  import type { SootSimStyle } from './types.d.ts';
5
6
  import type { FontMgr, ParagraphStyle } from 'canvaskit-wasm';
7
+ export { ANDROID_EMOJI_FONT_FILES, ANDROID_NAMED_FACES, IOS_FONT_DATA_FILES, IOS_NAMED_FACES, SF_COMPACT_KEYCAP_FONT_FAMILY, SF_COMPACT_KEYCAP_METRICS, SYSTEM_COMPANION_FONT_FILES, type FontVerticalMetrics, type SystemNamedFace, } from './systemFontAssetContract.d.ts';
6
8
  export declare function getTextFontWeightMap(ck: Pick<CanvasKitRenderingApi, 'FontWeight'>): Record<string, import("canvaskit-wasm").EmbindEnumEntity>;
7
9
  export declare const DEFAULT_FONT_FAMILY = "SF Pro";
8
10
  export declare const SF_PRO_VERTICAL_METRICS: {
@@ -18,41 +20,11 @@ export declare const SF_PRO_GRADED_FONT_FAMILY = "SF Pro Graded";
18
20
  export declare const SF_COMPACT_FONT_FAMILY = "SF Compact";
19
21
  export declare const NEW_YORK_FONT_FAMILY = ".NewYork";
20
22
  export declare const SF_MONO_FONT_FAMILY = "SF Mono";
21
- export declare const SF_COMPACT_KEYCAP_FONT_FAMILY = ".SFCompact-LightG3";
22
- export declare const SF_COMPACT_KEYCAP_METRICS: {
23
- ascender: number;
24
- descender: number;
25
- lineGap: number;
26
- unitsPerEm: number;
27
- capHeight: number;
28
- xHeight: number;
29
- };
30
- export declare const SYSTEM_COMPANION_FONT_FILES: {
31
- readonly italic: 'sf-pro-italic.woff2';
32
- readonly variant: 'sf-pro-variant.woff2';
33
- readonly rounded: 'sf-pro-rounded.woff2';
34
- readonly graded: 'sf-pro-graded.woff2';
35
- readonly compact: 'sf-compact.woff2';
36
- readonly serif: 'new-york.woff2';
37
- readonly mono: 'sf-mono.woff2';
38
- };
39
- export interface SystemNamedFace {
40
- family: string;
41
- postScript: string;
42
- file: string;
43
- weight: number;
44
- italic: boolean;
45
- metrics: FontVerticalMetrics;
46
- }
47
- export declare const IOS_NAMED_FACES: readonly SystemNamedFace[];
48
- export declare const IOS_FONT_DATA_FILES: ReadonlyMap<string, string>;
49
- export declare const ANDROID_NAMED_FACES: readonly SystemNamedFace[];
50
23
  export declare function resolveSystemNamedFace(fontFamily: string | undefined, fontWeight: unknown, fontStyle: unknown): SystemNamedFace | null;
51
24
  export declare const ANDROID_FONT_FAMILY = "Roboto";
52
25
  export declare const ANDROID_EMOJI_FONT_FAMILY = "Noto Color Emoji";
53
26
  export declare const ANDROID_EMOJI_FLAGS_FONT_FAMILY = "Noto Color Emoji Flags";
54
27
  export declare const ANDROID_EMOJI_FONT_FAMILIES: readonly ["Noto Color Emoji", "Noto Color Emoji Flags"];
55
- export declare const ANDROID_EMOJI_FONT_FILES: readonly [string, 'emoji/noto-color-emoji-flags.ttf'];
56
28
  export declare const EMOJI_FONT_FAMILY = "SootSimEmojiMetrics";
57
29
  export declare function noteLanguageSubsetFamily(family: string): void;
58
30
  export declare function normalizeFontWeight(fontWeight: unknown): number;
@@ -107,14 +79,6 @@ export declare function makeParagraphBuilder(ck: CanvasKitRenderingApi, style: P
107
79
  export declare function registerEngineAppFontFace(aliases: readonly string[], face: AppFontFaceStyle): void;
108
80
  export declare function isFontFamilyRegistered(family: string): boolean;
109
81
  export declare function getRegisteredFontFamilies(): string[];
110
- export interface FontVerticalMetrics {
111
- ascender: number;
112
- descender: number;
113
- lineGap: number;
114
- unitsPerEm: number;
115
- capHeight?: number;
116
- xHeight?: number;
117
- }
118
82
  export declare function registerEngineFontVerticalMetrics(family: string, metrics: FontVerticalMetrics): void;
119
83
  export declare function getRegisteredFontVerticalMetrics(family: string | undefined, fontWeight?: unknown, fontStyle?: unknown): FontVerticalMetrics | undefined;
120
84
  export declare function resetRegisteredFontFamilies(): void;
@@ -0,0 +1,38 @@
1
+ export interface FontVerticalMetrics {
2
+ ascender: number;
3
+ descender: number;
4
+ lineGap: number;
5
+ unitsPerEm: number;
6
+ capHeight?: number;
7
+ xHeight?: number;
8
+ }
9
+ export declare const ANDROID_EMOJI_FONT_FILES: readonly [string, 'emoji/noto-color-emoji-flags.ttf'];
10
+ export declare const SF_COMPACT_KEYCAP_FONT_FAMILY = ".SFCompact-LightG3";
11
+ export declare const SF_COMPACT_KEYCAP_METRICS: {
12
+ ascender: number;
13
+ descender: number;
14
+ lineGap: number;
15
+ unitsPerEm: number;
16
+ capHeight: number;
17
+ xHeight: number;
18
+ };
19
+ export declare const SYSTEM_COMPANION_FONT_FILES: {
20
+ readonly italic: 'sf-pro-italic.woff2';
21
+ readonly variant: 'sf-pro-variant.woff2';
22
+ readonly rounded: 'sf-pro-rounded.woff2';
23
+ readonly graded: 'sf-pro-graded.woff2';
24
+ readonly compact: 'sf-compact.woff2';
25
+ readonly serif: 'new-york.woff2';
26
+ readonly mono: 'sf-mono.woff2';
27
+ };
28
+ export interface SystemNamedFace {
29
+ family: string;
30
+ postScript: string;
31
+ file: string;
32
+ weight: number;
33
+ italic: boolean;
34
+ metrics: FontVerticalMetrics;
35
+ }
36
+ export declare const IOS_NAMED_FACES: readonly SystemNamedFace[];
37
+ export declare const IOS_FONT_DATA_FILES: ReadonlyMap<string, string>;
38
+ export declare const ANDROID_NAMED_FACES: readonly SystemNamedFace[];
package/kotlin/sdk.tar.gz CHANGED
Binary file
package/node-runtime.json CHANGED
@@ -1 +1 @@
1
- {"abi":1,"archiveSha256":"5aa1d3454c7e1a90aa8c764b431837ec78e9e0050eea82edab5347f72c1a1ade","entrySha256":"395e56a877841ae372a88412b84d511913728e333596679868cdd928b1de66e7"}
1
+ {"abi":1,"archiveSha256":"bdbbf0d489ea2893ee3c57b65c96ab6ce24a5dfa11897bd8e307d214b8c2f358","entrySha256":"fa210f4818a7e1753aa7758fd2fbd9ddcfad5bc6d457c077260b7363725e9507"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "peachsim",
3
- "version": "0.1.2376",
3
+ "version": "0.1.2378",
4
4
  "description": "Vite and Metro plugins, testing drivers, and SDK exports for peach.",
5
5
  "author": "Tamagui LLC",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -11,28 +11,6 @@ module os_availability [system] {
11
11
  }
12
12
  }
13
13
 
14
- module _DarwinFoundation1 [system] {
15
- explicit module availability {
16
- // General purpose API.
17
- header "os/availability.h"
18
- export *
19
-
20
- // Alternative API where os/availability.h can't
21
- // be used, such as in POSIX headers.
22
- explicit module Availability {
23
- header "Availability.h"
24
- export *
25
- }
26
-
27
- // Deprecated, use <os/availability.h> or <Availability.h> instead.
28
- explicit module AvailabilityMacros {
29
- header "AvailabilityMacros.h"
30
- export *
31
- }
32
- }
33
-
34
- }
35
-
36
14
  module _AvailabilityInternal [system] {
37
15
  header "AvailabilityInternal.h"
38
16
  export *
@@ -21,5 +21,4 @@ extern module notify "notify.modulemap"
21
21
  extern module Darwin "darwin.modulemap"
22
22
 
23
23
  extern module os_availability "availability.modulemap"
24
- extern module _DarwinFoundation1 "availability.modulemap"
25
24
  extern module _AvailabilityInternal "availability.modulemap"
@@ -0,0 +1,19 @@
1
+ export interface SyncNetChannel {
2
+ mailbox: SharedArrayBuffer
3
+ // int32 cells: [pulse counter, failed flag]
4
+ liveness: SharedArrayBuffer
5
+ }
6
+
7
+ export interface SyncNetHelper {
8
+ readonly ready: Promise<void>
9
+ post(requests: unknown[]): void
10
+ terminate(): void
11
+ }
12
+
13
+ // starts the helper realm; it writes replies to the channel's mailbox, then
14
+ // calls wake. ended runs when its realm exits or fails while the guest runs
15
+ export type SpawnSyncNetHelper = (
16
+ channel: SyncNetChannel,
17
+ wake: () => void,
18
+ ended: () => void,
19
+ ) => SyncNetHelper
@@ -0,0 +1,11 @@
1
+ import type { SpawnSyncNetHelper } from './syncNetHelperContract'
2
+
3
+ let source: SpawnSyncNetHelper | undefined
4
+
5
+ export function setSwiftSyncNetHelperSource(next: SpawnSyncNetHelper): void {
6
+ source = next
7
+ }
8
+
9
+ export function getSwiftSyncNetHelperSource(): SpawnSyncNetHelper | undefined {
10
+ return source
11
+ }