@ankhorage/expo-runtime 6.0.0 → 6.0.2

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @ankhorage/expo-runtime
2
2
 
3
+ ## 6.0.2
4
+
5
+ ### Patch Changes
6
+
7
+ - 533cb81: Refresh the canonical Expo SDK 57 platform baseline to Expo 57.0.30.
8
+
9
+ ## 6.0.1
10
+
11
+ ### Patch Changes
12
+
13
+ - d70ff0c: Consume the standalone Capability validation toolkit and canonical declaration contract.
14
+
3
15
  ## 6.0.0
4
16
 
5
17
  ### Major Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # EXPO-RUNTIME
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v6.0.0](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v6.0.2](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Declarative runtime integration for Expo apps: maps app capabilities to permissions, packages, config plugins, providers, and adapters
9
9
 
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,8EAA8E;AAC9E,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,CAAC,QAAQ,CAAC;SACvB;QACD,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,oDAAoD;QACjE,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,UAAU,EAAE;oBACV,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBAC5B;gBACD,oBAAoB,EAAE,KAAK;aAC5B;SACF;KACF;CACuC,CAAC","sourcesContent":["import type { Capability } from '@ankhorage/contracts/capabilities';\n\n/*** Publish the portable capabilities that Expo Runtime owns and executes. */\nexport const CAPABILITIES = [\n {\n id: 'expo.alert',\n owner: '@ankhorage/expo-runtime',\n access: ['invoke'],\n binding: {\n kind: 'action',\n bindableAs: ['target'],\n },\n label: 'Show an Expo alert',\n description: 'Display a platform alert through the Expo runtime.',\n input: {\n schema: {\n type: 'object',\n required: ['message'],\n properties: {\n message: { type: 'string' },\n },\n additionalProperties: false,\n },\n },\n },\n] as const satisfies readonly Capability[];\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,8EAA8E;AAC9E,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B;QACE,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,yBAAyB;QAChC,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE,CAAC,QAAQ,CAAC;SACvB;QACD,KAAK,EAAE,oBAAoB;QAC3B,WAAW,EAAE,oDAAoD;QACjE,KAAK,EAAE;YACL,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,SAAS,CAAC;gBACrB,UAAU,EAAE;oBACV,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;iBAC5B;gBACD,oBAAoB,EAAE,KAAK;aAC5B;SACF;KACF;CACuC,CAAC","sourcesContent":["import type { Capability } from '@ankhorage/contracts/capability';\n\n/*** Publish the portable capabilities that Expo Runtime owns and executes. */\nexport const CAPABILITIES = [\n {\n id: 'expo.alert',\n owner: '@ankhorage/expo-runtime',\n access: ['invoke'],\n binding: {\n kind: 'action',\n bindableAs: ['target'],\n },\n label: 'Show an Expo alert',\n description: 'Display a platform alert through the Expo runtime.',\n input: {\n schema: {\n type: 'object',\n required: ['message'],\n properties: {\n message: { type: 'string' },\n },\n additionalProperties: false,\n },\n },\n },\n] as const satisfies readonly Capability[];\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"executeExpoRuntimeCapabilityAsync.d.ts","sourceRoot":"","sources":["../../../src/features/capabilities/executeExpoRuntimeCapabilityAsync.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gCAAgC,EAGjC,MAAM,mCAAmC,CAAC;AAE3C,yGAAyG;AACzG,wBAAsB,iCAAiC,CACrD,IAAI,EAAE,gCAAgC,GACrC,OAAO,CAAC,IAAI,CAAC,CAUf"}
1
+ {"version":3,"file":"executeExpoRuntimeCapabilityAsync.d.ts","sourceRoot":"","sources":["../../../src/features/capabilities/executeExpoRuntimeCapabilityAsync.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,gCAAgC,EAGjC,MAAM,mCAAmC,CAAC;AAE3C,yGAAyG;AACzG,wBAAsB,iCAAiC,CACrD,IAAI,EAAE,gCAAgC,GACrC,OAAO,CAAC,IAAI,CAAC,CAUf"}
@@ -1,4 +1,4 @@
1
- import { isCapability } from '@ankhorage/contracts/capabilities';
1
+ import { isCapability } from '@ankhorage/capability';
2
2
  /*** Execute an Expo-owned capability or delegate another canonical capability to its runtime handler. */
3
3
  export async function executeExpoRuntimeCapabilityAsync(args) {
4
4
  const { capability, input, capabilityHandlers, alertImpl } = args;
@@ -1 +1 @@
1
- {"version":3,"file":"executeExpoRuntimeCapabilityAsync.js","sourceRoot":"","sources":["../../../src/features/capabilities/executeExpoRuntimeCapabilityAsync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAmB,YAAY,EAAE,MAAM,mCAAmC,CAAC;AAQlF,yGAAyG;AACzG,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,IAAsC;IAEtC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IAClE,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC;QAAE,OAAO;IAEtC,IAAI,UAAU,CAAC,EAAE,KAAK,YAAY,EAAE,CAAC;QACnC,gBAAgB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,qBAAqB,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;AAC1F,CAAC;AAED,gGAAgG;AAChG,SAAS,qBAAqB,CAC5B,kBAAuE,EACvE,YAA8B;IAE9B,OAAO,kBAAkB,EAAE,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,KAAK,YAAY,CAAC,EAAE,OAAO,CAAC;AAC/F,CAAC;AAED,+FAA+F;AAC/F,SAAS,gBAAgB,CACvB,KAAc,EACd,SAAkD;IAElD,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC;QAAE,OAAO;IACrC,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC7B,CAAC;AAED,8EAA8E;AAC9E,SAAS,gBAAgB,CAAC,KAAc;IACtC,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,SAAS,IAAI,KAAK;QAClB,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,CAClC,CAAC;AACJ,CAAC","sourcesContent":["import { type Capability, isCapability } from '@ankhorage/contracts/capabilities';\n\nimport type {\n ExecuteExpoRuntimeCapabilityArgs,\n ExpoRuntimeCapabilityHandler,\n ExpoRuntimeCapabilityHandlerArgs,\n} from '../../types/expoRuntimeCapability';\n\n/*** Execute an Expo-owned capability or delegate another canonical capability to its runtime handler. */\nexport async function executeExpoRuntimeCapabilityAsync(\n args: ExecuteExpoRuntimeCapabilityArgs,\n): Promise<void> {\n const { capability, input, capabilityHandlers, alertImpl } = args;\n if (!isCapability(capability)) return;\n\n if (capability.id === 'expo.alert') {\n executeExpoAlert(input, alertImpl);\n return;\n }\n\n await findCapabilityHandler(capabilityHandlers, capability.id)?.({ capability, input });\n}\n\n/*** Find the configured executor for one canonical capability without dynamic record access. */\nfunction findCapabilityHandler(\n capabilityHandlers: readonly ExpoRuntimeCapabilityHandler[] | undefined,\n capabilityId: Capability['id'],\n): ((args: ExpoRuntimeCapabilityHandlerArgs) => Promise<void> | void) | undefined {\n return capabilityHandlers?.find((handler) => handler.capabilityId === capabilityId)?.execute;\n}\n\n/*** Display a valid Expo-owned alert invocation without exposing alert as a generic action. */\nfunction executeExpoAlert(\n input: unknown,\n alertImpl: ((message: string) => void) | undefined,\n): void {\n if (!isExpoAlertInput(input)) return;\n alertImpl?.(input.message);\n}\n\n/*** Validate the serializable input accepted by the Expo alert capability. */\nfunction isExpoAlertInput(input: unknown): input is { readonly message: string } {\n return (\n typeof input === 'object' &&\n input !== null &&\n 'message' in input &&\n typeof input.message === 'string'\n );\n}\n"]}
1
+ {"version":3,"file":"executeExpoRuntimeCapabilityAsync.js","sourceRoot":"","sources":["../../../src/features/capabilities/executeExpoRuntimeCapabilityAsync.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AASrD,yGAAyG;AACzG,MAAM,CAAC,KAAK,UAAU,iCAAiC,CACrD,IAAsC;IAEtC,MAAM,EAAE,UAAU,EAAE,KAAK,EAAE,kBAAkB,EAAE,SAAS,EAAE,GAAG,IAAI,CAAC;IAClE,IAAI,CAAC,YAAY,CAAC,UAAU,CAAC;QAAE,OAAO;IAEtC,IAAI,UAAU,CAAC,EAAE,KAAK,YAAY,EAAE,CAAC;QACnC,gBAAgB,CAAC,KAAK,EAAE,SAAS,CAAC,CAAC;QACnC,OAAO;IACT,CAAC;IAED,MAAM,qBAAqB,CAAC,kBAAkB,EAAE,UAAU,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,UAAU,EAAE,KAAK,EAAE,CAAC,CAAC;AAC1F,CAAC;AAED,gGAAgG;AAChG,SAAS,qBAAqB,CAC5B,kBAAuE,EACvE,YAA8B;IAE9B,OAAO,kBAAkB,EAAE,IAAI,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,YAAY,KAAK,YAAY,CAAC,EAAE,OAAO,CAAC;AAC/F,CAAC;AAED,+FAA+F;AAC/F,SAAS,gBAAgB,CACvB,KAAc,EACd,SAAkD;IAElD,IAAI,CAAC,gBAAgB,CAAC,KAAK,CAAC;QAAE,OAAO;IACrC,SAAS,EAAE,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;AAC7B,CAAC;AAED,8EAA8E;AAC9E,SAAS,gBAAgB,CAAC,KAAc;IACtC,OAAO,CACL,OAAO,KAAK,KAAK,QAAQ;QACzB,KAAK,KAAK,IAAI;QACd,SAAS,IAAI,KAAK;QAClB,OAAO,KAAK,CAAC,OAAO,KAAK,QAAQ,CAClC,CAAC;AACJ,CAAC","sourcesContent":["import { isCapability } from '@ankhorage/capability';\nimport type { Capability } from '@ankhorage/contracts/capability';\n\nimport type {\n ExecuteExpoRuntimeCapabilityArgs,\n ExpoRuntimeCapabilityHandler,\n ExpoRuntimeCapabilityHandlerArgs,\n} from '../../types/expoRuntimeCapability';\n\n/*** Execute an Expo-owned capability or delegate another canonical capability to its runtime handler. */\nexport async function executeExpoRuntimeCapabilityAsync(\n args: ExecuteExpoRuntimeCapabilityArgs,\n): Promise<void> {\n const { capability, input, capabilityHandlers, alertImpl } = args;\n if (!isCapability(capability)) return;\n\n if (capability.id === 'expo.alert') {\n executeExpoAlert(input, alertImpl);\n return;\n }\n\n await findCapabilityHandler(capabilityHandlers, capability.id)?.({ capability, input });\n}\n\n/*** Find the configured executor for one canonical capability without dynamic record access. */\nfunction findCapabilityHandler(\n capabilityHandlers: readonly ExpoRuntimeCapabilityHandler[] | undefined,\n capabilityId: Capability['id'],\n): ((args: ExpoRuntimeCapabilityHandlerArgs) => Promise<void> | void) | undefined {\n return capabilityHandlers?.find((handler) => handler.capabilityId === capabilityId)?.execute;\n}\n\n/*** Display a valid Expo-owned alert invocation without exposing alert as a generic action. */\nfunction executeExpoAlert(\n input: unknown,\n alertImpl: ((message: string) => void) | undefined,\n): void {\n if (!isExpoAlertInput(input)) return;\n alertImpl?.(input.message);\n}\n\n/*** Validate the serializable input accepted by the Expo alert capability. */\nfunction isExpoAlertInput(input: unknown): input is { readonly message: string } {\n return (\n typeof input === 'object' &&\n input !== null &&\n 'message' in input &&\n typeof input.message === 'string'\n );\n}\n"]}
package/dist/platform.js CHANGED
@@ -12,7 +12,7 @@ export const EXPO_PLATFORM = {
12
12
  sdk: 57,
13
13
  architecture: 'new-architecture-only',
14
14
  runtime: {
15
- expo: definePackage('expo', '57.0.27'),
15
+ expo: definePackage('expo', '57.0.30'),
16
16
  react: definePackage('react', '19.2.3'),
17
17
  reactDom: definePackage('react-dom', '19.2.3'),
18
18
  reactNative: definePackage('react-native', '0.86.3'),
@@ -29,7 +29,7 @@ export const EXPO_PLATFORM = {
29
29
  expoDoctor: definePackage('expo-doctor', '1.20.4'),
30
30
  },
31
31
  navigation: {
32
- expoRouter: definePackage('expo-router', '~57.0.25'),
32
+ expoRouter: definePackage('expo-router', '~57.0.28'),
33
33
  screens: definePackage('react-native-screens', '~4.26.0'),
34
34
  safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),
35
35
  },
@@ -49,28 +49,28 @@ export const EXPO_PLATFORM = {
49
49
  },
50
50
  },
51
51
  packages: {
52
- metroRuntime: definePackage('@expo/metro-runtime', '~57.0.16'),
53
- asset: definePackage('expo-asset', '~57.0.19'),
52
+ metroRuntime: definePackage('@expo/metro-runtime', '~57.0.17'),
53
+ asset: definePackage('expo-asset', '~57.0.20'),
54
54
  audio: definePackage('expo-audio', '~57.0.5'),
55
- authSession: definePackage('expo-auth-session', '~57.0.14'),
55
+ authSession: definePackage('expo-auth-session', '~57.0.16'),
56
56
  camera: definePackage('expo-camera', '~57.0.6'),
57
- constants: definePackage('expo-constants', '~57.0.21'),
58
- crypto: definePackage('expo-crypto', '~57.0.3'),
59
- devClient: definePackage('expo-dev-client', '~57.0.19'),
57
+ constants: definePackage('expo-constants', '~57.0.22'),
58
+ crypto: definePackage('expo-crypto', '~57.0.4'),
59
+ devClient: definePackage('expo-dev-client', '~57.0.20'),
60
60
  documentPicker: definePackage('expo-document-picker', '~57.0.3'),
61
61
  fileSystem: definePackage('expo-file-system', '~57.0.7'),
62
62
  font: definePackage('expo-font', '~57.0.4'),
63
63
  imagePicker: definePackage('expo-image-picker', '~57.0.20'),
64
64
  linearGradient: definePackage('expo-linear-gradient', '~57.0.2'),
65
- linking: definePackage('expo-linking', '~57.0.12'),
65
+ linking: definePackage('expo-linking', '~57.0.13'),
66
66
  localization: definePackage('expo-localization', '~57.0.2'),
67
- location: definePackage('expo-location', '~57.0.20'),
67
+ location: definePackage('expo-location', '~57.0.21'),
68
68
  mediaLibrary: definePackage('expo-media-library', '~57.0.5'),
69
- notifications: definePackage('expo-notifications', '~57.0.22'),
69
+ notifications: definePackage('expo-notifications', '~57.0.23'),
70
70
  secureStore: definePackage('expo-secure-store', '~57.0.4'),
71
- splashScreen: definePackage('expo-splash-screen', '~57.0.9'),
71
+ splashScreen: definePackage('expo-splash-screen', '~57.0.10'),
72
72
  statusBar: definePackage('expo-status-bar', '~57.0.1'),
73
- updates: definePackage('expo-updates', '~57.0.25'),
73
+ updates: definePackage('expo-updates', '~57.0.26'),
74
74
  webBrowser: definePackage('expo-web-browser', '~57.0.3'),
75
75
  },
76
76
  platforms: {
@@ -1 +1 @@
1
- {"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAKA,SAAS,aAAa,CAAC,IAAY,EAAE,OAAe;IAClD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3B,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,EAAE;IACP,YAAY,EAAE,uBAAuB;IACrC,OAAO,EAAE;QACP,IAAI,EAAE,aAAa,CAAC,MAAM,EAAE,SAAS,CAAC;QACtC,KAAK,EAAE,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC;QACvC,QAAQ,EAAE,aAAa,CAAC,WAAW,EAAE,QAAQ,CAAC;QAC9C,WAAW,EAAE,aAAa,CAAC,cAAc,EAAE,QAAQ,CAAC;QACpD,cAAc,EAAE,aAAa,CAAC,kBAAkB,EAAE,SAAS,CAAC;KAC7D;IACD,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,GAAG,EAAE,EAAE;YACP,OAAO,EAAE,MAAM;SAChB;QACD,SAAS,EAAE,aAAa,CAAC,aAAa,EAAE,UAAU,CAAC;QACnD,UAAU,EAAE,aAAa,CAAC,cAAc,EAAE,SAAS,CAAC;QACpD,UAAU,EAAE,aAAa,CAAC,YAAY,EAAE,QAAQ,CAAC;QACjD,UAAU,EAAE,aAAa,CAAC,aAAa,EAAE,QAAQ,CAAC;KACnD;IACD,UAAU,EAAE;QACV,UAAU,EAAE,aAAa,CAAC,aAAa,EAAE,UAAU,CAAC;QACpD,OAAO,EAAE,aAAa,CAAC,sBAAsB,EAAE,SAAS,CAAC;QACzD,QAAQ,EAAE,aAAa,CAAC,gCAAgC,EAAE,QAAQ,CAAC;KACpE;IACD,SAAS,EAAE;QACT,UAAU,EAAE,aAAa,CAAC,yBAAyB,EA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AE,aAAa,CAAC,sBAAsB,EAAE,SAAS,CAAC;QAChE,OAAO,EAAE,aAAa,CAAC,cAAc,EAAE,UAAU,CAAC;QAClD,YAAY,EAAE,aAAa,CAAC,mBAAmB,EAAE,SAAS,CAAC;QAC3D,QAAQ,EAAE,aAAa,CAAC,eAAe,EAAE,UAAU,CAAC;QACpD,YAAY,EAAE,aAAa,CAAC,oBAAoB,EAAE,SAAS,CAAC;QAC5D,aAAa,EAAE,aAAa,CAAC,oBAAoB,EAAE,UAAU,CAAC;QAC9D,WAAW,EAAE,aAAa,CAAC,mBAAmB,EAAE,SAAS,CAAC;QAC1D,YAAY,EAAE,aAAa,CAAC,oBAAoB,EAAE,SAAS,CAAC;QAC5D,SAAS,EAAE,aAAa,CAAC,iBAAiB,EAAE,SAAS,CAAC;QACtD,OAAO,EAAE,aAAa,CAAC,cAAc,EAAE,UAAU,CAAC;QAClD,UAAU,EAAE,aAAa,CAAC,kBAAkB,EAAE,SAAS,CAAC;KACzD;IACD,SAAS,EAAE;QACT,OAAO,EAAE;YACP,cAAc,EAAE,CAAC;YACjB,eAAe,EAAE,EAAE;YACnB,UAAU,EAAE,EAAE;YACd,SAAS,EAAE,EAAE;YACb,UAAU,EAAE,IAAI;SACjB;QACD,GAAG,EAAE;YACH,cAAc,EAAE,MAAM;YACtB,mBAAmB,EAAE,MAAM;SAC5B;KACF;CACO,CAAC","sourcesContent":["export interface ExpoPlatformPackage {\n readonly name: string;\n readonly version: string;\n}\n\nfunction definePackage(name: string, version: string): ExpoPlatformPackage {\n return { name, version };\n}\n\n/**\n * The canonical Ankhorage projection of the supported Expo platform.\n *\n * Package versions come from Expo SDK 57's bundled native module map. Keep this\n * structure as the only hand-maintained Expo compatibility authority in this\n * repository; generated manifests and runtime planning derive from it.\n */\nexport const EXPO_PLATFORM = {\n sdk: 57,\n architecture: 'new-architecture-only',\n runtime: {\n expo: definePackage('expo', '57.0.27'),\n react: definePackage('react', '19.2.3'),\n reactDom: definePackage('react-dom', '19.2.3'),\n reactNative: definePackage('react-native', '0.86.3'),\n reactNativeWeb: definePackage('react-native-web', '~0.21.3'),\n },\n tooling: {\n node: {\n lts: 24,\n version: '24.x',\n },\n nodeTypes: definePackage('@types/node', '^24.13.3'),\n reactTypes: definePackage('@types/react', '~19.2.4'),\n typescript: definePackage('typescript', '~6.0.3'),\n expoDoctor: definePackage('expo-doctor', '1.20.4'),\n },\n navigation: {\n expoRouter: definePackage('expo-router', '~57.0.25'),\n screens: definePackage('react-native-screens', '~4.26.0'),\n safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),\n },\n animation: {\n reanimated: definePackage('react-native-reanimated', '4.5.1'),\n worklets: definePackage('react-native-worklets', '0.10.1'),\n gestureHandler: definePackage('react-native-gesture-handler', '~2.32.0'),\n },\n ui: {\n svg: definePackage('react-native-svg', '15.15.4'),\n iconProviders: {\n Ionicons: definePackage('@react-native-vector-icons/ionicons', '^13.1.4'),\n FontAwesome: definePackage('@react-native-vector-icons/fontawesome', '^13.1.4'),\n FontAwesome5: definePackage('@react-native-vector-icons/fontawesome5', '^13.1.4'),\n FontAwesome6: definePackage('@react-native-vector-icons/fontawesome6', '^13.1.4'),\n MaterialDesignIcons: definePackage(\n '@react-native-vector-icons/material-design-icons',\n '^13.1.4',\n ),\n },\n },\n packages: {\n metroRuntime: definePackage('@expo/metro-runtime', '~57.0.16'),\n asset: definePackage('expo-asset', '~57.0.19'),\n audio: definePackage('expo-audio', '~57.0.5'),\n authSession: definePackage('expo-auth-session', '~57.0.14'),\n camera: definePackage('expo-camera', '~57.0.6'),\n constants: definePackage('expo-constants', '~57.0.21'),\n crypto: definePackage('expo-crypto', '~57.0.3'),\n devClient: definePackage('expo-dev-client', '~57.0.19'),\n documentPicker: definePackage('expo-document-picker', '~57.0.3'),\n fileSystem: definePackage('expo-file-system', '~57.0.7'),\n font: definePackage('expo-font', '~57.0.4'),\n imagePicker: definePackage('expo-image-picker', '~57.0.20'),\n linearGradient: definePackage('expo-linear-gradient', '~57.0.2'),\n linking: definePackage('expo-linking', '~57.0.12'),\n localization: definePackage('expo-localization', '~57.0.2'),\n location: definePackage('expo-location', '~57.0.20'),\n mediaLibrary: definePackage('expo-media-library', '~57.0.5'),\n notifications: definePackage('expo-notifications', '~57.0.22'),\n secureStore: definePackage('expo-secure-store', '~57.0.4'),\n splashScreen: definePackage('expo-splash-screen', '~57.0.9'),\n statusBar: definePackage('expo-status-bar', '~57.0.1'),\n updates: definePackage('expo-updates', '~57.0.25'),\n webBrowser: definePackage('expo-web-browser', '~57.0.3'),\n },\n platforms: {\n android: {\n minimumVersion: 7,\n minimumApiLevel: 24,\n compileSdk: 36,\n targetSdk: 36,\n edgeToEdge: true,\n },\n ios: {\n minimumVersion: '16.4',\n minimumXcodeVersion: '26.4',\n },\n },\n} as const;\n\nexport type ExpoPlatform = typeof EXPO_PLATFORM;\n"]}
1
+ {"version":3,"file":"platform.js","sourceRoot":"","sources":["../src/platform.ts"],"names":[],"mappings":"AAKA,SAAS,aAAa,CAAC,IAAY,EAAE,OAAe;IAClD,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC;AAC3B,CAAC;AAED;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,aAAa,GAAG;IAC3B,GAAG,EAAE,EAAE;IACP,YAAY,EAAE,uBAAuB;IACrC,OAAO,EAAE;QACP,IAAI,EAAE,aAAa,CAAC,MAAM,EAAE,SAAS,CAAC;QACtC,KAAK,EAAE,aAAa,CAAC,OAAO,EAAE,QAAQ,CAAC;QACvC,QAAQ,EAAE,aAAa,CAAC,WAAW,EAAE,QAAQ,CAAC;QAC9C,WAAW,EAAE,aAAa,CAAC,cAAc,EAAE,QAAQ,CAAC;QACpD,cAAc,EAAE,aAAa,CAAC,kBAAkB,EAAE,SAAS,CAAC;KAC7D;IACD,OAAO,EAAE;QACP,IAAI,EAAE;YACJ,GAAG,EAAE,EAAE;YACP,OAAO,EAAE,MAAM;SAChB;QACD,SAAS,EAAE,aAAa,CAAC,aAAa,EAA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AAE,MAAM;YACtB,mBAAmB,EAAE,MAAM;SAC5B;KACF;CACO,CAAC","sourcesContent":["export interface ExpoPlatformPackage {\n readonly name: string;\n readonly version: string;\n}\n\nfunction definePackage(name: string, version: string): ExpoPlatformPackage {\n return { name, version };\n}\n\n/**\n * The canonical Ankhorage projection of the supported Expo platform.\n *\n * Package versions come from Expo SDK 57's bundled native module map. Keep this\n * structure as the only hand-maintained Expo compatibility authority in this\n * repository; generated manifests and runtime planning derive from it.\n */\nexport const EXPO_PLATFORM = {\n sdk: 57,\n architecture: 'new-architecture-only',\n runtime: {\n expo: definePackage('expo', '57.0.30'),\n react: definePackage('react', '19.2.3'),\n reactDom: definePackage('react-dom', '19.2.3'),\n reactNative: definePackage('react-native', '0.86.3'),\n reactNativeWeb: definePackage('react-native-web', '~0.21.3'),\n },\n tooling: {\n node: {\n lts: 24,\n version: '24.x',\n },\n nodeTypes: definePackage('@types/node', '^24.13.3'),\n reactTypes: definePackage('@types/react', '~19.2.4'),\n typescript: definePackage('typescript', '~6.0.3'),\n expoDoctor: definePackage('expo-doctor', '1.20.4'),\n },\n navigation: {\n expoRouter: definePackage('expo-router', '~57.0.28'),\n screens: definePackage('react-native-screens', '~4.26.0'),\n safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),\n },\n animation: {\n reanimated: definePackage('react-native-reanimated', '4.5.1'),\n worklets: definePackage('react-native-worklets', '0.10.1'),\n gestureHandler: definePackage('react-native-gesture-handler', '~2.32.0'),\n },\n ui: {\n svg: definePackage('react-native-svg', '15.15.4'),\n iconProviders: {\n Ionicons: definePackage('@react-native-vector-icons/ionicons', '^13.1.4'),\n FontAwesome: definePackage('@react-native-vector-icons/fontawesome', '^13.1.4'),\n FontAwesome5: definePackage('@react-native-vector-icons/fontawesome5', '^13.1.4'),\n FontAwesome6: definePackage('@react-native-vector-icons/fontawesome6', '^13.1.4'),\n MaterialDesignIcons: definePackage(\n '@react-native-vector-icons/material-design-icons',\n '^13.1.4',\n ),\n },\n },\n packages: {\n metroRuntime: definePackage('@expo/metro-runtime', '~57.0.17'),\n asset: definePackage('expo-asset', '~57.0.20'),\n audio: definePackage('expo-audio', '~57.0.5'),\n authSession: definePackage('expo-auth-session', '~57.0.16'),\n camera: definePackage('expo-camera', '~57.0.6'),\n constants: definePackage('expo-constants', '~57.0.22'),\n crypto: definePackage('expo-crypto', '~57.0.4'),\n devClient: definePackage('expo-dev-client', '~57.0.20'),\n documentPicker: definePackage('expo-document-picker', '~57.0.3'),\n fileSystem: definePackage('expo-file-system', '~57.0.7'),\n font: definePackage('expo-font', '~57.0.4'),\n imagePicker: definePackage('expo-image-picker', '~57.0.20'),\n linearGradient: definePackage('expo-linear-gradient', '~57.0.2'),\n linking: definePackage('expo-linking', '~57.0.13'),\n localization: definePackage('expo-localization', '~57.0.2'),\n location: definePackage('expo-location', '~57.0.21'),\n mediaLibrary: definePackage('expo-media-library', '~57.0.5'),\n notifications: definePackage('expo-notifications', '~57.0.23'),\n secureStore: definePackage('expo-secure-store', '~57.0.4'),\n splashScreen: definePackage('expo-splash-screen', '~57.0.10'),\n statusBar: definePackage('expo-status-bar', '~57.0.1'),\n updates: definePackage('expo-updates', '~57.0.26'),\n webBrowser: definePackage('expo-web-browser', '~57.0.3'),\n },\n platforms: {\n android: {\n minimumVersion: 7,\n minimumApiLevel: 24,\n compileSdk: 36,\n targetSdk: 36,\n edgeToEdge: true,\n },\n ios: {\n minimumVersion: '16.4',\n minimumXcodeVersion: '26.4',\n },\n },\n} as const;\n\nexport type ExpoPlatform = typeof EXPO_PLATFORM;\n"]}
@@ -1,4 +1,4 @@
1
- import type { Capability } from '@ankhorage/contracts/capabilities';
1
+ import type { Capability } from '@ankhorage/contracts/capability';
2
2
  export interface ExpoRuntimeCapabilityHandlerArgs {
3
3
  readonly capability: Capability;
4
4
  readonly input: unknown;
@@ -1 +1 @@
1
- {"version":3,"file":"expoRuntimeCapability.d.ts","sourceRoot":"","sources":["../../src/types/expoRuntimeCapability.ts"],"names":[],"mappings":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O,CAAC;IACzB,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,4BAA4B,EAAE,CAAC;IACtE,QAAQ,CAAC,SAAS,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CAChD"}
@@ -1 +1 @@
1
- {"version":3,"file":"expoRuntimeCapability.js","sourceRoot":"","sources":["../../src/types/expoRuntimeCapability.ts"],"names":[],"mappings":"","sourcesContent":["import type { Capability } from '@ankhorage/contracts/capabilities';\n\nexport interface ExpoRuntimeCapabilityHandlerArgs {\n readonly capability: Capability;\n readonly input: unknown;\n}\n\nexport interface ExpoRuntimeCapabilityHandler {\n readonly capabilityId: Capability['id'];\n readonly execute: (args: ExpoRuntimeCapabilityHandlerArgs) => Promise<void> | void;\n}\n\nexport interface ExecuteExpoRuntimeCapabilityArgs {\n readonly capability: unknown;\n readonly input?: unknown;\n readonly capabilityHandlers?: readonly ExpoRuntimeCapabilityHandler[];\n readonly alertImpl?: (message: string) => void;\n}\n"]}
1
+ {"version":3,"file":"expoRuntimeCapability.js","sourceRoot":"","sources":["../../src/types/expoRuntimeCapability.ts"],"names":[],"mappings":"","sourcesContent":["import type { Capability } from '@ankhorage/contracts/capability';\n\nexport interface ExpoRuntimeCapabilityHandlerArgs {\n readonly capability: Capability;\n readonly input: unknown;\n}\n\nexport interface ExpoRuntimeCapabilityHandler {\n readonly capabilityId: Capability['id'];\n readonly execute: (args: ExpoRuntimeCapabilityHandlerArgs) => Promise<void> | void;\n}\n\nexport interface ExecuteExpoRuntimeCapabilityArgs {\n readonly capability: unknown;\n readonly input?: unknown;\n readonly capabilityHandlers?: readonly ExpoRuntimeCapabilityHandler[];\n readonly alertImpl?: (message: string) => void;\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/expo-runtime",
3
3
  "type": "module",
4
- "version": "6.0.0",
4
+ "version": "6.0.2",
5
5
  "description": "Declarative runtime integration for Expo apps: maps app capabilities to permissions, packages, config plugins, providers, and adapters",
6
6
  "homepage": "https://github.com/ankhorage/expo-runtime#readme",
7
7
  "bugs": {
@@ -26,7 +26,8 @@
26
26
  "runtime"
27
27
  ],
28
28
  "dependencies": {
29
- "@ankhorage/contracts": "^24.1.0"
29
+ "@ankhorage/capability": "^0.2.1",
30
+ "@ankhorage/contracts": "^25.0.0"
30
31
  },
31
32
  "files": [
32
33
  "dist",
@@ -188,9 +189,9 @@
188
189
  "@react-native-vector-icons/fontawesome6": "^13.1.4",
189
190
  "@react-native-vector-icons/ionicons": "^13.1.4",
190
191
  "@react-native-vector-icons/material-design-icons": "^13.1.4",
191
- "expo": "57.0.27",
192
+ "expo": "57.0.30",
192
193
  "expo-camera": "~57.0.6",
193
- "expo-constants": "~57.0.21",
194
+ "expo-constants": "~57.0.22",
194
195
  "expo-document-picker": "~57.0.3",
195
196
  "expo-file-system": "~57.0.7",
196
197
  "expo-font": "~57.0.4",
@@ -249,7 +250,7 @@
249
250
  }
250
251
  },
251
252
  "devDependencies": {
252
- "@ankhorage/devtools": "^2.2.2",
253
+ "@ankhorage/devtools": "^2.3.18",
253
254
  "@ankhorage/paradox": "^0.2.27",
254
255
  "@ankhorage/permissions": "^0.2.63",
255
256
  "@ankhorage/zora": "^24.0.0",
@@ -263,14 +264,14 @@
263
264
  "@types/pngjs": "^6.0.5",
264
265
  "@types/react": "~19.2.18",
265
266
  "bwip-js": "^4.11.4",
266
- "expo": "57.0.27",
267
+ "expo": "57.0.30",
267
268
  "expo-camera": "~57.0.6",
268
- "expo-constants": "~57.0.21",
269
+ "expo-constants": "~57.0.22",
269
270
  "expo-document-picker": "~57.0.3",
270
271
  "expo-file-system": "~57.0.7",
271
272
  "expo-font": "~57.0.4",
272
273
  "expo-image-picker": "~57.0.20",
273
- "playwright-core": "^1.64.0",
274
+ "playwright-core": "^1.64.1",
274
275
  "pngjs": "^7.0.0",
275
276
  "react": "19.2.3",
276
277
  "react-dom": "19.2.3",
@@ -1,4 +1,4 @@
1
- import { isCapability } from '@ankhorage/contracts/capabilities';
1
+ import { isCapabilityCatalog } from '@ankhorage/capability';
2
2
  import { describe, expect, test } from 'bun:test';
3
3
 
4
4
  import packageJson from '../../package.json';
@@ -6,7 +6,7 @@ import { CAPABILITIES } from './index';
6
6
 
7
7
  describe('Expo Runtime capability catalog', () => {
8
8
  test('contains unique valid canonical descriptors', () => {
9
- expect(CAPABILITIES.every(isCapability)).toBe(true);
9
+ expect(isCapabilityCatalog(CAPABILITIES)).toBe(true);
10
10
  expect(new Set(CAPABILITIES.map(({ id }) => id)).size).toBe(CAPABILITIES.length);
11
11
  expect(CAPABILITIES.map(({ id }) => id)).toEqual(['expo.alert']);
12
12
  });
@@ -1,4 +1,4 @@
1
- import type { Capability } from '@ankhorage/contracts/capabilities';
1
+ import type { Capability } from '@ankhorage/contracts/capability';
2
2
 
3
3
  /*** Publish the portable capabilities that Expo Runtime owns and executes. */
4
4
  export const CAPABILITIES = [
@@ -1,4 +1,4 @@
1
- import type { Capability } from '@ankhorage/contracts/capabilities';
1
+ import type { Capability } from '@ankhorage/contracts/capability';
2
2
  import { describe, expect, test } from 'bun:test';
3
3
 
4
4
  import { CAPABILITIES } from './capabilities';
@@ -1,4 +1,5 @@
1
- import { type Capability, isCapability } from '@ankhorage/contracts/capabilities';
1
+ import { isCapability } from '@ankhorage/capability';
2
+ import type { Capability } from '@ankhorage/contracts/capability';
2
3
 
3
4
  import type {
4
5
  ExecuteExpoRuntimeCapabilityArgs,
@@ -32,17 +32,17 @@ describe('EXPO_PLATFORM', () => {
32
32
  expect(EXPO_PLATFORM.tooling.expoDoctor.name).toBe('expo-doctor');
33
33
  expect(EXPO_PLATFORM.tooling.reactTypes.name).toBe('@types/react');
34
34
  expect(EXPO_PLATFORM.animation.worklets.name).toBe('react-native-worklets');
35
- expect(EXPO_PLATFORM.runtime.expo.version).toBe('57.0.27');
36
- expect(EXPO_PLATFORM.navigation.expoRouter.version).toBe('~57.0.25');
37
- expect(EXPO_PLATFORM.packages.linking.version).toBe('~57.0.12');
38
- expect(EXPO_PLATFORM.packages.metroRuntime.version).toBe('~57.0.16');
39
- expect(EXPO_PLATFORM.packages.constants.version).toBe('~57.0.21');
40
- expect(EXPO_PLATFORM.packages.asset.version).toBe('~57.0.19');
41
- expect(EXPO_PLATFORM.packages.authSession.version).toBe('~57.0.14');
35
+ expect(EXPO_PLATFORM.runtime.expo.version).toBe('57.0.30');
36
+ expect(EXPO_PLATFORM.navigation.expoRouter.version).toBe('~57.0.28');
37
+ expect(EXPO_PLATFORM.packages.linking.version).toBe('~57.0.13');
38
+ expect(EXPO_PLATFORM.packages.metroRuntime.version).toBe('~57.0.17');
39
+ expect(EXPO_PLATFORM.packages.constants.version).toBe('~57.0.22');
40
+ expect(EXPO_PLATFORM.packages.asset.version).toBe('~57.0.20');
41
+ expect(EXPO_PLATFORM.packages.authSession.version).toBe('~57.0.16');
42
42
  expect(EXPO_PLATFORM.packages.imagePicker.version).toBe('~57.0.20');
43
- expect(EXPO_PLATFORM.packages.location.version).toBe('~57.0.20');
44
- expect(EXPO_PLATFORM.packages.notifications.version).toBe('~57.0.22');
45
- expect(EXPO_PLATFORM.packages.updates.version).toBe('~57.0.25');
43
+ expect(EXPO_PLATFORM.packages.location.version).toBe('~57.0.21');
44
+ expect(EXPO_PLATFORM.packages.notifications.version).toBe('~57.0.23');
45
+ expect(EXPO_PLATFORM.packages.updates.version).toBe('~57.0.26');
46
46
  });
47
47
  });
48
48
 
package/src/platform.ts CHANGED
@@ -18,7 +18,7 @@ export const EXPO_PLATFORM = {
18
18
  sdk: 57,
19
19
  architecture: 'new-architecture-only',
20
20
  runtime: {
21
- expo: definePackage('expo', '57.0.27'),
21
+ expo: definePackage('expo', '57.0.30'),
22
22
  react: definePackage('react', '19.2.3'),
23
23
  reactDom: definePackage('react-dom', '19.2.3'),
24
24
  reactNative: definePackage('react-native', '0.86.3'),
@@ -35,7 +35,7 @@ export const EXPO_PLATFORM = {
35
35
  expoDoctor: definePackage('expo-doctor', '1.20.4'),
36
36
  },
37
37
  navigation: {
38
- expoRouter: definePackage('expo-router', '~57.0.25'),
38
+ expoRouter: definePackage('expo-router', '~57.0.28'),
39
39
  screens: definePackage('react-native-screens', '~4.26.0'),
40
40
  safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),
41
41
  },
@@ -58,28 +58,28 @@ export const EXPO_PLATFORM = {
58
58
  },
59
59
  },
60
60
  packages: {
61
- metroRuntime: definePackage('@expo/metro-runtime', '~57.0.16'),
62
- asset: definePackage('expo-asset', '~57.0.19'),
61
+ metroRuntime: definePackage('@expo/metro-runtime', '~57.0.17'),
62
+ asset: definePackage('expo-asset', '~57.0.20'),
63
63
  audio: definePackage('expo-audio', '~57.0.5'),
64
- authSession: definePackage('expo-auth-session', '~57.0.14'),
64
+ authSession: definePackage('expo-auth-session', '~57.0.16'),
65
65
  camera: definePackage('expo-camera', '~57.0.6'),
66
- constants: definePackage('expo-constants', '~57.0.21'),
67
- crypto: definePackage('expo-crypto', '~57.0.3'),
68
- devClient: definePackage('expo-dev-client', '~57.0.19'),
66
+ constants: definePackage('expo-constants', '~57.0.22'),
67
+ crypto: definePackage('expo-crypto', '~57.0.4'),
68
+ devClient: definePackage('expo-dev-client', '~57.0.20'),
69
69
  documentPicker: definePackage('expo-document-picker', '~57.0.3'),
70
70
  fileSystem: definePackage('expo-file-system', '~57.0.7'),
71
71
  font: definePackage('expo-font', '~57.0.4'),
72
72
  imagePicker: definePackage('expo-image-picker', '~57.0.20'),
73
73
  linearGradient: definePackage('expo-linear-gradient', '~57.0.2'),
74
- linking: definePackage('expo-linking', '~57.0.12'),
74
+ linking: definePackage('expo-linking', '~57.0.13'),
75
75
  localization: definePackage('expo-localization', '~57.0.2'),
76
- location: definePackage('expo-location', '~57.0.20'),
76
+ location: definePackage('expo-location', '~57.0.21'),
77
77
  mediaLibrary: definePackage('expo-media-library', '~57.0.5'),
78
- notifications: definePackage('expo-notifications', '~57.0.22'),
78
+ notifications: definePackage('expo-notifications', '~57.0.23'),
79
79
  secureStore: definePackage('expo-secure-store', '~57.0.4'),
80
- splashScreen: definePackage('expo-splash-screen', '~57.0.9'),
80
+ splashScreen: definePackage('expo-splash-screen', '~57.0.10'),
81
81
  statusBar: definePackage('expo-status-bar', '~57.0.1'),
82
- updates: definePackage('expo-updates', '~57.0.25'),
82
+ updates: definePackage('expo-updates', '~57.0.26'),
83
83
  webBrowser: definePackage('expo-web-browser', '~57.0.3'),
84
84
  },
85
85
  platforms: {
@@ -1,4 +1,4 @@
1
- import type { Capability } from '@ankhorage/contracts/capabilities';
1
+ import type { Capability } from '@ankhorage/contracts/capability';
2
2
 
3
3
  export interface ExpoRuntimeCapabilityHandlerArgs {
4
4
  readonly capability: Capability;