@ankhorage/expo-runtime 4.0.49 → 6.0.0

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 (177) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/README.md +2 -3
  3. package/dist/capabilities/index.d.ts +25 -0
  4. package/dist/capabilities/index.d.ts.map +1 -0
  5. package/dist/capabilities/index.js +25 -0
  6. package/dist/capabilities/index.js.map +1 -0
  7. package/dist/capabilityBridge.d.ts +5 -0
  8. package/dist/capabilityBridge.d.ts.map +1 -0
  9. package/dist/capabilityBridge.js +3 -0
  10. package/dist/capabilityBridge.js.map +1 -0
  11. package/dist/createExpoRuntimeRegistry.d.ts.map +1 -1
  12. package/dist/createExpoRuntimeRegistry.js +0 -5
  13. package/dist/createExpoRuntimeRegistry.js.map +1 -1
  14. package/dist/expoRuntimePlanningMetadata.d.ts +3 -7
  15. package/dist/expoRuntimePlanningMetadata.d.ts.map +1 -1
  16. package/dist/expoRuntimePlanningMetadata.js +2 -6
  17. package/dist/expoRuntimePlanningMetadata.js.map +1 -1
  18. package/dist/features/capabilities/executeExpoRuntimeCapabilityAsync.d.ts +4 -0
  19. package/dist/features/capabilities/executeExpoRuntimeCapabilityAsync.d.ts.map +1 -0
  20. package/dist/features/capabilities/executeExpoRuntimeCapabilityAsync.js +30 -0
  21. package/dist/features/capabilities/executeExpoRuntimeCapabilityAsync.js.map +1 -0
  22. package/dist/features/navigation/resolveExpoRuntimeRoutePath.d.ts +4 -0
  23. package/dist/features/navigation/resolveExpoRuntimeRoutePath.d.ts.map +1 -0
  24. package/dist/features/navigation/resolveExpoRuntimeRoutePath.js +17 -0
  25. package/dist/features/navigation/resolveExpoRuntimeRoutePath.js.map +1 -0
  26. package/dist/generatedSources.d.ts +0 -1
  27. package/dist/generatedSources.d.ts.map +1 -1
  28. package/dist/generatedSources.js +0 -8
  29. package/dist/generatedSources.js.map +1 -1
  30. package/dist/index.d.ts +2 -3
  31. package/dist/index.d.ts.map +1 -1
  32. package/dist/index.js +2 -3
  33. package/dist/index.js.map +1 -1
  34. package/dist/planning.d.ts +1 -1
  35. package/dist/planning.d.ts.map +1 -1
  36. package/dist/planning.js +1 -1
  37. package/dist/planning.js.map +1 -1
  38. package/dist/platform.js +8 -8
  39. package/dist/platform.js.map +1 -1
  40. package/dist/types/expoRuntimeCapability.d.ts +16 -0
  41. package/dist/types/expoRuntimeCapability.d.ts.map +1 -0
  42. package/dist/types/expoRuntimeCapability.js +2 -0
  43. package/dist/types/expoRuntimeCapability.js.map +1 -0
  44. package/dist/types/expoRuntimeRoute.d.ts +5 -0
  45. package/dist/types/expoRuntimeRoute.d.ts.map +1 -0
  46. package/dist/types/expoRuntimeRoute.js +2 -0
  47. package/dist/types/expoRuntimeRoute.js.map +1 -0
  48. package/package.json +58 -46
  49. package/src/adapterEntrypoints.test.ts +23 -14
  50. package/src/capabilities/index.test.ts +18 -0
  51. package/src/capabilities/index.ts +26 -0
  52. package/src/capabilityBridge.ts +8 -0
  53. package/src/createExpoRuntimeRegistry.test.tsx +3 -8
  54. package/src/createExpoRuntimeRegistry.tsx +1 -7
  55. package/src/expoCapabilityBridge.test.ts +60 -0
  56. package/src/expoRuntimePlanningMetadata.ts +3 -7
  57. package/src/features/capabilities/executeExpoRuntimeCapabilityAsync.ts +49 -0
  58. package/src/features/navigation/resolveExpoRuntimeRoutePath.ts +31 -0
  59. package/src/generatedSources.test.ts +1 -10
  60. package/src/generatedSources.ts +0 -10
  61. package/src/iconFonts.test.ts +0 -2
  62. package/src/index.ts +9 -15
  63. package/src/planning.ts +1 -4
  64. package/src/platform.test.ts +8 -8
  65. package/src/platform.ts +8 -8
  66. package/src/resolveExpoRuntimePlan.test.ts +5 -20
  67. package/src/types/expoRuntimeCapability.ts +18 -0
  68. package/src/types/expoRuntimeRoute.ts +4 -0
  69. package/dist/actionBridge.d.ts +0 -2
  70. package/dist/actionBridge.d.ts.map +0 -1
  71. package/dist/actionBridge.js +0 -2
  72. package/dist/actionBridge.js.map +0 -1
  73. package/dist/expoActionBridge.d.ts +0 -29
  74. package/dist/expoActionBridge.d.ts.map +0 -1
  75. package/dist/expoActionBridge.js +0 -78
  76. package/dist/expoActionBridge.js.map +0 -1
  77. package/dist/reader/ExpoReaderSurfaceAdapter.d.ts +0 -4
  78. package/dist/reader/ExpoReaderSurfaceAdapter.d.ts.map +0 -1
  79. package/dist/reader/ExpoReaderSurfaceAdapter.js +0 -102
  80. package/dist/reader/ExpoReaderSurfaceAdapter.js.map +0 -1
  81. package/dist/reader/ReaderViewport.d.ts +0 -4
  82. package/dist/reader/ReaderViewport.d.ts.map +0 -1
  83. package/dist/reader/ReaderViewport.js +0 -212
  84. package/dist/reader/ReaderViewport.js.map +0 -1
  85. package/dist/reader/drivers/EpubReaderDriver.d.ts +0 -20
  86. package/dist/reader/drivers/EpubReaderDriver.d.ts.map +0 -1
  87. package/dist/reader/drivers/EpubReaderDriver.js +0 -259
  88. package/dist/reader/drivers/EpubReaderDriver.js.map +0 -1
  89. package/dist/reader/drivers/PdfReaderDriver.d.ts +0 -18
  90. package/dist/reader/drivers/PdfReaderDriver.d.ts.map +0 -1
  91. package/dist/reader/drivers/PdfReaderDriver.js +0 -198
  92. package/dist/reader/drivers/PdfReaderDriver.js.map +0 -1
  93. package/dist/reader/epub/EpubArchive.d.ts +0 -11
  94. package/dist/reader/epub/EpubArchive.d.ts.map +0 -1
  95. package/dist/reader/epub/EpubArchive.js +0 -65
  96. package/dist/reader/epub/EpubArchive.js.map +0 -1
  97. package/dist/reader/epub/EpubArchiveFetcher.d.ts +0 -11
  98. package/dist/reader/epub/EpubArchiveFetcher.d.ts.map +0 -1
  99. package/dist/reader/epub/EpubArchiveFetcher.js +0 -44
  100. package/dist/reader/epub/EpubArchiveFetcher.js.map +0 -1
  101. package/dist/reader/epub/mediaTypes.d.ts +0 -3
  102. package/dist/reader/epub/mediaTypes.d.ts.map +0 -1
  103. package/dist/reader/epub/mediaTypes.js +0 -26
  104. package/dist/reader/epub/mediaTypes.js.map +0 -1
  105. package/dist/reader/epub/parseEpubPackage.d.ts +0 -22
  106. package/dist/reader/epub/parseEpubPackage.d.ts.map +0 -1
  107. package/dist/reader/epub/parseEpubPackage.js +0 -98
  108. package/dist/reader/epub/parseEpubPackage.js.map +0 -1
  109. package/dist/reader/epub/path.d.ts +0 -4
  110. package/dist/reader/epub/path.d.ts.map +0 -1
  111. package/dist/reader/epub/path.js +0 -28
  112. package/dist/reader/epub/path.js.map +0 -1
  113. package/dist/reader/epub/sanitizeEpubDocument.d.ts +0 -3
  114. package/dist/reader/epub/sanitizeEpubDocument.d.ts.map +0 -1
  115. package/dist/reader/epub/sanitizeEpubDocument.js +0 -90
  116. package/dist/reader/epub/sanitizeEpubDocument.js.map +0 -1
  117. package/dist/reader/epub/validateEpubArchiveEntriesAsync.d.ts +0 -4
  118. package/dist/reader/epub/validateEpubArchiveEntriesAsync.d.ts.map +0 -1
  119. package/dist/reader/epub/validateEpubArchiveEntriesAsync.js +0 -50
  120. package/dist/reader/epub/validateEpubArchiveEntriesAsync.js.map +0 -1
  121. package/dist/reader/errors/ReaderDocumentError.d.ts +0 -6
  122. package/dist/reader/errors/ReaderDocumentError.d.ts.map +0 -1
  123. package/dist/reader/errors/ReaderDocumentError.js +0 -9
  124. package/dist/reader/errors/ReaderDocumentError.js.map +0 -1
  125. package/dist/reader/index.d.ts +0 -2
  126. package/dist/reader/index.d.ts.map +0 -1
  127. package/dist/reader/index.js +0 -2
  128. package/dist/reader/index.js.map +0 -1
  129. package/dist/reader/loadReaderSourceAsync.d.ts +0 -2
  130. package/dist/reader/loadReaderSourceAsync.d.ts.map +0 -1
  131. package/dist/reader/loadReaderSourceAsync.js +0 -49
  132. package/dist/reader/loadReaderSourceAsync.js.map +0 -1
  133. package/dist/reader/navigation/resolveReaderKeyboardIntent.d.ts +0 -9
  134. package/dist/reader/navigation/resolveReaderKeyboardIntent.d.ts.map +0 -1
  135. package/dist/reader/navigation/resolveReaderKeyboardIntent.js +0 -19
  136. package/dist/reader/navigation/resolveReaderKeyboardIntent.js.map +0 -1
  137. package/dist/reader/navigation/resolveReaderNavigationIntent.d.ts +0 -11
  138. package/dist/reader/navigation/resolveReaderNavigationIntent.d.ts.map +0 -1
  139. package/dist/reader/navigation/resolveReaderNavigationIntent.js +0 -16
  140. package/dist/reader/navigation/resolveReaderNavigationIntent.js.map +0 -1
  141. package/dist/reader/readerViewportPresentation.d.ts +0 -4
  142. package/dist/reader/readerViewportPresentation.d.ts.map +0 -1
  143. package/dist/reader/readerViewportPresentation.js +0 -26
  144. package/dist/reader/readerViewportPresentation.js.map +0 -1
  145. package/dist/types/reader.d.ts +0 -57
  146. package/dist/types/reader.d.ts.map +0 -1
  147. package/dist/types/reader.js +0 -2
  148. package/dist/types/reader.js.map +0 -1
  149. package/src/actionBridge.test.ts +0 -10
  150. package/src/actionBridge.ts +0 -10
  151. package/src/expoActionBridge.test.ts +0 -54
  152. package/src/expoActionBridge.ts +0 -140
  153. package/src/reader/ExpoReaderSurfaceAdapter.tsx +0 -170
  154. package/src/reader/ReaderViewport.tsx +0 -319
  155. package/src/reader/drivers/EpubReaderDriver.ts +0 -309
  156. package/src/reader/drivers/PdfReaderDriver.ts +0 -253
  157. package/src/reader/epub/EpubArchive.ts +0 -83
  158. package/src/reader/epub/EpubArchiveFetcher.ts +0 -58
  159. package/src/reader/epub/mediaTypes.ts +0 -16
  160. package/src/reader/epub/parseEpubPackage.test.ts +0 -116
  161. package/src/reader/epub/parseEpubPackage.ts +0 -152
  162. package/src/reader/epub/path.test.ts +0 -22
  163. package/src/reader/epub/path.ts +0 -26
  164. package/src/reader/epub/sanitizeEpubDocument.ts +0 -121
  165. package/src/reader/epub/validateEpubArchiveEntriesAsync.ts +0 -75
  166. package/src/reader/errors/ReaderDocumentError.ts +0 -11
  167. package/src/reader/index.ts +0 -1
  168. package/src/reader/loadReaderSourceAsync.test.ts +0 -52
  169. package/src/reader/loadReaderSourceAsync.ts +0 -59
  170. package/src/reader/navigation/resolveReaderKeyboardIntent.test.ts +0 -38
  171. package/src/reader/navigation/resolveReaderKeyboardIntent.ts +0 -20
  172. package/src/reader/navigation/resolveReaderNavigationIntent.test.ts +0 -48
  173. package/src/reader/navigation/resolveReaderNavigationIntent.ts +0 -23
  174. package/src/reader/readerViewportPresentation.ts +0 -28
  175. package/src/reader/rendererPackages.test.ts +0 -24
  176. package/src/reader/validateEpubArchiveEntriesAsync.test.ts +0 -142
  177. package/src/types/reader.ts +0 -61
package/CHANGELOG.md CHANGED
@@ -1,5 +1,24 @@
1
1
  # @ankhorage/expo-runtime
2
2
 
3
+ ## 6.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 6248a7e: Remove the old ReaderSurface adapter and embedded EPUB/PDF engine. Use standalone @ankhorage/reader and the canonical ZORA Reader; Expo Runtime retains only capability dependency planning.
8
+
9
+ ## 5.0.0
10
+
11
+ ### Major Changes
12
+
13
+ - c33533a: Replace the legacy action bridge with canonical capability execution, publish the `expo.alert`
14
+ capability catalog, and require the Contracts 24 capability baseline.
15
+
16
+ ## 4.0.50
17
+
18
+ ### Patch Changes
19
+
20
+ - 4374079: Update dependencies: `pdfjs-dist`.
21
+
3
22
  ## 4.0.49
4
23
 
5
24
  ### Patch 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: v4.0.49](././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.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)
7
7
 
8
8
  Declarative runtime integration for Expo apps: maps app capabilities to permissions, packages, config plugins, providers, and adapters
9
9
 
@@ -55,9 +55,8 @@ export function createBasicExpoRuntimePlan() {
55
55
  - [Module relationships](././paradox/diagrams/module-relationships.mmd)
56
56
  - [Export graph](././paradox/diagrams/export-graph.mmd)
57
57
  - [createExpoRuntimeRegistry sequence](././paradox/diagrams/sequences/create-expo-runtime-registry.mmd)
58
- - [executeExpoRuntimeAction sequence](././paradox/diagrams/sequences/execute-expo-runtime-action.mmd)
58
+ - [executeExpoRuntimeCapabilityAsync sequence](././paradox/diagrams/sequences/execute-expo-runtime-capability-async.mmd)
59
59
  - [ExpoBarcodeScannerAdapter sequence](././paradox/diagrams/sequences/expo-barcode-scanner-adapter.mmd)
60
- - [ExpoReaderSurfaceAdapter sequence](././paradox/diagrams/sequences/expo-reader-surface-adapter.mmd)
61
60
  - [ExpoZoraIconFontProvider sequence](././paradox/diagrams/sequences/expo-zora-icon-font-provider.mmd)
62
61
  - [getExpoBundledMediaRegistrySource sequence](././paradox/diagrams/sequences/get-expo-bundled-media-registry-source.mmd)
63
62
  - [resolveExpoRuntimeGeneratedAppOutput sequence](././paradox/diagrams/sequences/resolve-expo-runtime-generated-app-output.mmd)
@@ -0,0 +1,25 @@
1
+ /*** Publish the portable capabilities that Expo Runtime owns and executes. */
2
+ export declare const CAPABILITIES: readonly [{
3
+ readonly id: "expo.alert";
4
+ readonly owner: "@ankhorage/expo-runtime";
5
+ readonly access: readonly ["invoke"];
6
+ readonly binding: {
7
+ readonly kind: "action";
8
+ readonly bindableAs: readonly ["target"];
9
+ };
10
+ readonly label: "Show an Expo alert";
11
+ readonly description: "Display a platform alert through the Expo runtime.";
12
+ readonly input: {
13
+ readonly schema: {
14
+ readonly type: "object";
15
+ readonly required: readonly ["message"];
16
+ readonly properties: {
17
+ readonly message: {
18
+ readonly type: "string";
19
+ };
20
+ };
21
+ readonly additionalProperties: false;
22
+ };
23
+ };
24
+ }];
25
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/capabilities/index.ts"],"names":[],"mappings":"AAEA,8EAA8E;AAC9E,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;EAsBiB,CAAC"}
@@ -0,0 +1,25 @@
1
+ /*** Publish the portable capabilities that Expo Runtime owns and executes. */
2
+ export const CAPABILITIES = [
3
+ {
4
+ id: 'expo.alert',
5
+ owner: '@ankhorage/expo-runtime',
6
+ access: ['invoke'],
7
+ binding: {
8
+ kind: 'action',
9
+ bindableAs: ['target'],
10
+ },
11
+ label: 'Show an Expo alert',
12
+ description: 'Display a platform alert through the Expo runtime.',
13
+ input: {
14
+ schema: {
15
+ type: 'object',
16
+ required: ['message'],
17
+ properties: {
18
+ message: { type: 'string' },
19
+ },
20
+ additionalProperties: false,
21
+ },
22
+ },
23
+ },
24
+ ];
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +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"]}
@@ -0,0 +1,5 @@
1
+ export { executeExpoRuntimeCapabilityAsync } from './features/capabilities/executeExpoRuntimeCapabilityAsync';
2
+ export { resolveExpoRuntimeRoutePath } from './features/navigation/resolveExpoRuntimeRoutePath';
3
+ export type { ExecuteExpoRuntimeCapabilityArgs, ExpoRuntimeCapabilityHandler, ExpoRuntimeCapabilityHandlerArgs, } from './types/expoRuntimeCapability';
4
+ export type { ExpoRuntimeRouteResolution } from './types/expoRuntimeRoute';
5
+ //# sourceMappingURL=capabilityBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilityBridge.d.ts","sourceRoot":"","sources":["../src/capabilityBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2DAA2D,CAAC;AAC9G,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC;AAChG,YAAY,EACV,gCAAgC,EAChC,4BAA4B,EAC5B,gCAAgC,GACjC,MAAM,+BAA+B,CAAC;AACvC,YAAY,EAAE,0BAA0B,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { executeExpoRuntimeCapabilityAsync } from './features/capabilities/executeExpoRuntimeCapabilityAsync';
2
+ export { resolveExpoRuntimeRoutePath } from './features/navigation/resolveExpoRuntimeRoutePath';
3
+ //# sourceMappingURL=capabilityBridge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"capabilityBridge.js","sourceRoot":"","sources":["../src/capabilityBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iCAAiC,EAAE,MAAM,2DAA2D,CAAC;AAC9G,OAAO,EAAE,2BAA2B,EAAE,MAAM,mDAAmD,CAAC","sourcesContent":["export { executeExpoRuntimeCapabilityAsync } from './features/capabilities/executeExpoRuntimeCapabilityAsync';\nexport { resolveExpoRuntimeRoutePath } from './features/navigation/resolveExpoRuntimeRoutePath';\nexport type {\n ExecuteExpoRuntimeCapabilityArgs,\n ExpoRuntimeCapabilityHandler,\n ExpoRuntimeCapabilityHandlerArgs,\n} from './types/expoRuntimeCapability';\nexport type { ExpoRuntimeRouteResolution } from './types/expoRuntimeRoute';\n"]}
@@ -1 +1 @@
1
- {"version":3,"file":"createExpoRuntimeRegistry.d.ts","sourceRoot":"","sources":["../src/createExpoRuntimeRegistry.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,EAA2B,MAAM,qBAAqB,CAAC;AAStF,wBAAgB,yBAAyB,CAAC,YAAY,EAAE,iBAAiB,GAAG,iBAAiB,CAE5F"}
1
+ {"version":3,"file":"createExpoRuntimeRegistry.d.ts","sourceRoot":"","sources":["../src/createExpoRuntimeRegistry.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,KAAK,iBAAiB,EAA2B,MAAM,qBAAqB,CAAC;AAOtF,wBAAgB,yBAAyB,CAAC,YAAY,EAAE,iBAAiB,GAAG,iBAAiB,CAE5F"}
@@ -2,10 +2,8 @@ import {} from '@ankhorage/zora';
2
2
  import React from 'react';
3
3
  import { createComponentRegistry } from './componentRegistry';
4
4
  import { ExpoBarcodeScannerAdapter } from './ExpoBarcodeScannerAdapter';
5
- import { ExpoReaderSurfaceAdapter } from './reader/ExpoReaderSurfaceAdapter';
6
5
  const EXPO_RUNTIME_OVERRIDES = {
7
6
  BarcodeScannerView: ExpoBarcodeScannerView,
8
- ReaderSurface: ExpoReaderSurface,
9
7
  };
10
8
  export function createExpoRuntimeRegistry(baseRegistry) {
11
9
  return createComponentRegistry(baseRegistry, EXPO_RUNTIME_OVERRIDES);
@@ -13,7 +11,4 @@ export function createExpoRuntimeRegistry(baseRegistry) {
13
11
  function ExpoBarcodeScannerView(props) {
14
12
  return <ExpoBarcodeScannerAdapter {...props}/>;
15
13
  }
16
- function ExpoReaderSurface(props) {
17
- return <ExpoReaderSurfaceAdapter {...props}/>;
18
- }
19
14
  //# sourceMappingURL=createExpoRuntimeRegistry.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"createExpoRuntimeRegistry.js","sourceRoot":"","sources":["../src/createExpoRuntimeRegistry.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAyD,MAAM,iBAAiB,CAAC;AACxF,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA0B,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAE7E,MAAM,sBAAsB,GAAsB;IAChD,kBAAkB,EAAE,sBAAsB;IAC1C,aAAa,EAAE,iBAAiB;CACjC,CAAC;AAEF,MAAM,UAAU,yBAAyB,CAAC,YAA+B;IACvE,OAAO,uBAAuB,CAAC,YAAY,EAAE,sBAAsB,CAAC,CAAC;AACvE,CAAC;AAED,SAAS,sBAAsB,CAAC,KAA8B;IAC5D,OAAO,CAAC,yBAAyB,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAClD,CAAC;AAED,SAAS,iBAAiB,CAAC,KAAyB;IAClD,OAAO,CAAC,wBAAwB,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AACjD,CAAC","sourcesContent":["import { type BarcodeScannerViewProps, type ReaderSurfaceProps } from '@ankhorage/zora';\nimport React from 'react';\n\nimport { type ComponentRegistry, createComponentRegistry } from './componentRegistry';\nimport { ExpoBarcodeScannerAdapter } from './ExpoBarcodeScannerAdapter';\nimport { ExpoReaderSurfaceAdapter } from './reader/ExpoReaderSurfaceAdapter';\n\nconst EXPO_RUNTIME_OVERRIDES: ComponentRegistry = {\n BarcodeScannerView: ExpoBarcodeScannerView,\n ReaderSurface: ExpoReaderSurface,\n};\n\nexport function createExpoRuntimeRegistry(baseRegistry: ComponentRegistry): ComponentRegistry {\n return createComponentRegistry(baseRegistry, EXPO_RUNTIME_OVERRIDES);\n}\n\nfunction ExpoBarcodeScannerView(props: BarcodeScannerViewProps) {\n return <ExpoBarcodeScannerAdapter {...props} />;\n}\n\nfunction ExpoReaderSurface(props: ReaderSurfaceProps) {\n return <ExpoReaderSurfaceAdapter {...props} />;\n}\n"]}
1
+ {"version":3,"file":"createExpoRuntimeRegistry.js","sourceRoot":"","sources":["../src/createExpoRuntimeRegistry.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgC,MAAM,iBAAiB,CAAC;AAC/D,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,EAA0B,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAExE,MAAM,sBAAsB,GAAsB;IAChD,kBAAkB,EAAE,sBAAsB;CAC3C,CAAC;AAEF,MAAM,UAAU,yBAAyB,CAAC,YAA+B;IACvE,OAAO,uBAAuB,CAAC,YAAY,EAAE,sBAAsB,CAAC,CAAC;AACvE,CAAC;AAED,SAAS,sBAAsB,CAAC,KAA8B;IAC5D,OAAO,CAAC,yBAAyB,CAAC,IAAI,KAAK,CAAC,EAAG,CAAC;AAClD,CAAC","sourcesContent":["import { type BarcodeScannerViewProps } from '@ankhorage/zora';\nimport React from 'react';\n\nimport { type ComponentRegistry, createComponentRegistry } from './componentRegistry';\nimport { ExpoBarcodeScannerAdapter } from './ExpoBarcodeScannerAdapter';\n\nconst EXPO_RUNTIME_OVERRIDES: ComponentRegistry = {\n BarcodeScannerView: ExpoBarcodeScannerView,\n};\n\nexport function createExpoRuntimeRegistry(baseRegistry: ComponentRegistry): ComponentRegistry {\n return createComponentRegistry(baseRegistry, EXPO_RUNTIME_OVERRIDES);\n}\n\nfunction ExpoBarcodeScannerView(props: BarcodeScannerViewProps) {\n return <ExpoBarcodeScannerAdapter {...props} />;\n}\n"]}
@@ -6,7 +6,7 @@ export interface ExpoRuntimeConfigPlugin {
6
6
  readonly options?: Readonly<Record<string, boolean | string>>;
7
7
  }
8
8
  export type ExpoRuntimeProviderId = 'permissions';
9
- export type ExpoRuntimeAdapterId = 'ExpoBarcodeScannerAdapter' | 'ExpoReaderSurfaceAdapter';
9
+ export type ExpoRuntimeAdapterId = 'ExpoBarcodeScannerAdapter';
10
10
  export interface ExpoRuntimeDiagnostic {
11
11
  readonly severity: 'error' | 'warning';
12
12
  readonly requirementType: 'capability' | 'configHint' | 'package' | 'permission';
@@ -29,10 +29,7 @@ export interface ExpoRuntimeHintMetadata {
29
29
  export declare const GENERATED_RUNTIME_DEPENDENCY_VERSIONS: {
30
30
  readonly '@ankhorage/permissions': "^0.2.5";
31
31
  readonly '@ankhorage/expo-runtime': "^3.0.0";
32
- readonly '@readium/navigator': "2.8.2";
33
- readonly '@readium/shared': "2.4.0";
34
- readonly '@zip.js/zip.js': "2.9.0";
35
- readonly 'pdfjs-dist': "6.3.289";
32
+ readonly '@ankhorage/reader': "^0.1.0";
36
33
  };
37
34
  export declare const EXPO_RUNTIME_PROVIDER_PACKAGES: {
38
35
  readonly permissions: "@ankhorage/permissions";
@@ -60,8 +57,7 @@ export declare const EXPO_CAPABILITY_RUNTIME_REGISTRY: {
60
57
  }];
61
58
  };
62
59
  readonly ebookReader: {
63
- readonly requiredPackages: readonly ["@readium/navigator", "@readium/shared", "@zip.js/zip.js", "pdfjs-dist"];
64
- readonly runtimeAdapters: readonly ["ExpoReaderSurfaceAdapter"];
60
+ readonly requiredPackages: readonly ["@ankhorage/reader"];
65
61
  };
66
62
  };
67
63
  export declare function findCapabilityMetadata(registry: Readonly<Partial<Record<AnkhorageCapabilityName, ExpoRuntimeCapabilityMetadata>>>, capability: AnkhorageCapabilityName): ExpoRuntimeCapabilityMetadata | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"expoRuntimePlanningMetadata.d.ts","sourceRoot":"","sources":["../src/expoRuntimePlanningMetadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,uBAAuB,EACvB,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sCAAsC,CAAC;AAE9E,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAErE,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,OAAO,CAAC,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC;CAC/D;AAED,MAAM,MAAM,qBAAqB,GAAG,aAAa,CAAC;AAClD,MAAM,MAAM,oBAAoB,GAAG,2BAA2B,GAAG,0BAA0B,CAAC;AAE5F,MAAM,WAAW,qBAAqB;IACpC,QAAQ,CAAC,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAC;IACvC,QAAQ,CAAC,eAAe,EAAE,YAAY,GAAG,YAAY,GAAG,SAAS,GAAG,YAAY,CAAC;IACjF,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,OAAO,CAAC,EAAE,iBAAiB,CAAC;CACtC;AAED,MAAM,WAAW,6BAA6B;IAC5C,QAAQ,CAAC,kBAAkB,CAAC,EAAE,eAAe,CAAC,uBAAuB,CAAC,CAAC;IACvE,QAAQ,CAAC,gBAAgB,CAAC,EAAE,SAAS,MAAM,EAAE,CA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,SAAS,uBAAuB,EAAE,CAAC;CACvD;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,kBAAkB,CAAC,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,QAAQ,CAAC,MAAM,CAAC,EAAE,uBAAuB,CAAC;CAC3C;AAeD,eAAO,MAAM,qCAAqC;;;;CAGG,CAAC;AAEtD,eAAO,MAAM,8BAA8B;;CAEe,CAAC;AAE3D,yFAAyF;AACzF,eAAO,MAAM,0BAA0B;IACrC,SAAA,CAAC,aAAa,CAAC,QAAQ,CAAC,KAAK,CAAC,IAAI,CAAC,oBAAqC;CACV,CAAC;AAqEjE,eAAO,MAAM,gCAAgC;;;;;;;;;;;;;;;;;;;;;CAuB5C,CAAC;AAEF,wBAAgB,sBAAsB,CACpC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,uBAAuB,EAAE,6BAA6B,CAAC,CAAC,CAAC,EAC3F,UAAU,EAAE,uBAAuB,GAClC,6BAA6B,GAAG,SAAS,CAE3C;AAED,wBAAgB,sBAAsB,CAAC,UAAU,EAAE,MAAM,GAAG,uBAAuB,GAAG,SAAS,CAE9F;AAED,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,qBAAqB,CAOrF;AAED,wBAAgB,+BAA+B,CAC7C,UAAU,EAAE,MAAM,EAClB,OAAO,EAAE,iBAAiB,GACzB,qBAAqB,CAQvB;AAED,wBAAgB,2BAA2B,CAAC,UAAU,EAAE,MAAM,GAAG,qBAAqB,CAOrF"}
@@ -2,10 +2,7 @@ import { EXPO_PLATFORM } from './platform';
2
2
  const GENERATED_ANKHORAGE_DEPENDENCY_VERSIONS = {
3
3
  '@ankhorage/permissions': '^0.2.5',
4
4
  '@ankhorage/expo-runtime': '^3.0.0',
5
- '@readium/navigator': '2.8.2',
6
- '@readium/shared': '2.4.0',
7
- '@zip.js/zip.js': '2.9.0',
8
- 'pdfjs-dist': '6.3.289',
5
+ '@ankhorage/reader': '^0.1.0',
9
6
  };
10
7
  const GENERATED_EXPO_DEPENDENCY_VERSIONS = Object.fromEntries(Object.values(EXPO_PLATFORM.packages).map((dependency) => [
11
8
  dependency.name,
@@ -107,8 +104,7 @@ export const EXPO_CAPABILITY_RUNTIME_REGISTRY = {
107
104
  ],
108
105
  },
109
106
  ebookReader: {
110
- requiredPackages: ['@readium/navigator', '@readium/shared', '@zip.js/zip.js', 'pdfjs-dist'],
111
- runtimeAdapters: ['ExpoReaderSurfaceAdapter'],
107
+ requiredPackages: ['@ankhorage/reader'],
112
108
  },
113
109
  };
114
110
  export function findCapabilityMetadata(registry, capability) {
@@ -1 +1 @@
1
- {"version":3,"file":"expoRuntimePlanningMetadata.js","sourceRoot":"","sources":["../src/expoRuntimePlanningMetadata.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAgCrE,MAAM,uCAAuC,GAAG;IAC9C,wBAAwB,EAAE,QAAQ;IAClC,yBAAyB,EAAE,QAAQ;IACnC,oBAAoB,EAAE,OAAO;IAC7B,iBAAiB,EAAE,OAAO;IAC1B,gBAAgB,EAAE,OAAO;IACzB,YAAY,EAAE,SAAS;CACkB,CAAC;AAE5C,MAAM,kCAAkC,GAAG,MAAM,CAAC,WAAW,CAC3D,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,CAAC,UAA+B,EAAE,EAAE,CAAC;IAC7E,UAAU,CAAC,IAAI;IACf,UAAU,CAAC,OAAO;CACnB,CAAC,CACiC,CAAC;AAEtC,MAAM,CAAC,MAAM,qCAAqC,GAAG;IACnD,GAAG,uCAAuC;IAC1C,GAAG,kCAAkC;CACc,CAAC;AAEtD,MAAM,CAAC,MAAM,8BAA8B,GAAG;IAC5C,WAAW,EAAE,wBAAwB;CACmB,CAAC;AAE3D,yFAAyF;AACzF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,CAAC,aAAa,CAAC,QAAQ,CAA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,OAAO,MAAM,CAAC,OAAO,CAAC,yBAAyB,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,IAAI,KAAK,UAAU,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC;AAC9F,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,UAAkB;IAC5D,OAAO;QACL,QAAQ,EAAE,OAAO;QACjB,eAAe,EAAE,YAAY;QAC7B,WAAW,EAAE,UAAU;QACvB,OAAO,EAAE,uBAAuB,UAAU,mDAAmD;KAC9F,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,+BAA+B,CAC7C,UAAkB,EAClB,OAA0B;IAE1B,OAAO;QACL,QAAQ,EAAE,OAAO,KAAK,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO;QACrD,eAAe,EAAE,YAAY;QAC7B,WAAW,EAAE,UAAU;QACvB,OAAO,EAAE,6BAA6B,UAAU,SAAS,OAAO,IAAI;QACpE,OAAO;KACR,CAAC;AACJ,CAAC;AAED,MAAM,UAAU,2BAA2B,CAAC,UAAkB;IAC5D,OAAO;QACL,QAAQ,EAAE,SAAS;QACnB,eAAe,EAAE,YAAY;QAC7B,WAAW,EAAE,UAAU;QACvB,OAAO,EAAE,0DAA0D,UAAU,IAAI;KAClF,CAAC;AACJ,CAAC","sourcesContent":["import type {\n AnkhorageCapabilityName,\n AnkhoragePermissionName,\n SerializableSet,\n} from '@ankhorage/contracts';\nimport type { PermissionSupport } from '@ankhorage/permissions/expo/manifest';\n\nimport { EXPO_PLATFORM, type ExpoPlatformPackage } from './platform';\n\nexport interface ExpoRuntimeConfigPlugin {\n readonly name: string;\n readonly options?: Readonly<Record<string, boolean | string>>;\n}\n\nexport type ExpoRuntimeProviderId = 'permissions';\nexport type ExpoRuntimeAdapterId = 'ExpoBarcodeScannerAdapter' | 'ExpoReaderSurfaceAdapter';\n\nexport interface ExpoRuntimeDiagnostic {\n readonly severity: 'error' | 'warning';\n readonly requirementType: 'capability' | 'configHint' | 'package' | 'permission';\n readonly requirement: string;\n readonly message: string;\n readonly support?: PermissionSupport;\n}\n\nexport interface ExpoRuntimeCapabilityMetadata {\n readonly impliedPermissions?: SerializableSet<AnkhoragePermissionName>;\n readonly requiredPackages?: readonly string[];\n readonly providers?: readonly ExpoRuntimeProviderId[];\n readonly runtimeAdapters?: readonly ExpoRuntimeAdapterId[];\n readonly androidPermissions?: readonly string[];\n readonly plugins?: readonly ExpoRuntimeConfigPlugin[];\n}\n\nexport interface ExpoRuntimeHintMetadata {\n readonly androidPermissions?: readonly string[];\n readonly plugin?: ExpoRuntimeConfigPlugin;\n}\n\nconst GENERATED_ANKHORAGE_DEPENDENCY_VERSIONS = {\n '@ankhorage/permissions': '^0.2.5',\n '@ankhorage/expo-runtime': '^3.0.0',\n '@readium/navigator': '2.8.2',\n '@readium/shared': '2.4.0',\n '@zip.js/zip.js': '2.9.0',\n 'pdfjs-dist': '6.3.289',\n} as const satisfies Record<string, string>;\n\nconst GENERATED_EXPO_DEPENDENCY_VERSIONS = Object.fromEntries(\n Object.values(EXPO_PLATFORM.packages).map((dependency: ExpoPlatformPackage) => [\n dependency.name,\n dependency.version,\n ]),\n) as Readonly<Record<string, string>>;\n\nexport const GENERATED_RUNTIME_DEPENDENCY_VERSIONS = {\n ...GENERATED_ANKHORAGE_DEPENDENCY_VERSIONS,\n ...GENERATED_EXPO_DEPENDENCY_VERSIONS,\n} as const satisfies Readonly<Record<string, string>>;\n\nexport const EXPO_RUNTIME_PROVIDER_PACKAGES = {\n permissions: '@ankhorage/permissions',\n} as const satisfies Record<ExpoRuntimeProviderId, string>;\n\n/** Native Expo packages whose peer modules must be direct generated-app dependencies. */\nexport const EXPO_RUNTIME_PACKAGE_PEERS = {\n [EXPO_PLATFORM.packages.audio.name]: [EXPO_PLATFORM.packages.asset.name],\n} as const satisfies Readonly<Record<string, readonly string[]>>;\n\nconst EXPO_RUNTIME_CONFIG_HINTS = {\n cameraPermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.camera.name,\n options: {\n barcodeScannerEnabled: false,\n cameraPermission: 'Allow camera access.',\n microphonePermission: false,\n recordAudioAndroid: false,\n },\n },\n },\n microphonePermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.audio.name,\n options: {\n enableBackgroundPlayback: false,\n enableBackgroundRecording: false,\n microphonePermission: 'Allow microphone access.',\n },\n },\n },\n recordAudioAndroid: {\n plugin: {\n name: EXPO_PLATFORM.packages.audio.name,\n options: {\n enableBackgroundPlayback: false,\n enableBackgroundRecording: false,\n recordAudioAndroid: true,\n },\n },\n },\n mediaLibraryPermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.mediaLibrary.name,\n options: {\n photosPermission: 'Allow photo library access.',\n savePhotosPermission: 'Allow saving to the photo library.',\n },\n },\n },\n locationWhenInUsePermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.location.name,\n options: {\n locationWhenInUsePermission: 'Allow location access while using the app.',\n },\n },\n },\n locationAlwaysAndWhenInUsePermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.location.name,\n options: {\n locationAlwaysAndWhenInUsePermission: 'Allow location access.',\n isAndroidBackgroundLocationEnabled: true,\n isAndroidForegroundServiceEnabled: true,\n isIosBackgroundLocationEnabled: true,\n },\n },\n },\n notificationsPermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.notifications.name,\n },\n },\n} as const satisfies Readonly<Record<string, ExpoRuntimeHintMetadata>>;\n\nexport const EXPO_CAPABILITY_RUNTIME_REGISTRY = {\n barcodeScanner: {\n impliedPermissions: { camera: true },\n requiredPackages: [EXPO_PLATFORM.packages.camera.name],\n providers: ['permissions'],\n runtimeAdapters: ['ExpoBarcodeScannerAdapter'],\n plugins: [\n {\n name: EXPO_PLATFORM.packages.camera.name,\n options: {\n cameraPermission: 'Allow camera access to scan barcodes.',\n barcodeScannerEnabled: true,\n microphonePermission: false,\n recordAudioAndroid: false,\n },\n },\n ],\n },\n ebookReader: {\n requiredPackages: ['@readium/navigator', '@readium/shared', '@zip.js/zip.js', 'pdfjs-dist'],\n runtimeAdapters: ['ExpoReaderSurfaceAdapter'],\n },\n} as const satisfies Readonly<\n Partial<Record<AnkhorageCapabilityName, ExpoRuntimeCapabilityMetadata>>\n>;\n\nexport function findCapabilityMetadata(\n registry: Readonly<Partial<Record<AnkhorageCapabilityName, ExpoRuntimeCapabilityMetadata>>>,\n capability: AnkhorageCapabilityName,\n): ExpoRuntimeCapabilityMetadata | undefined {\n return Object.entries(registry).find(([name]) => name === capability)?.[1];\n}\n\nexport function findConfigHintMetadata(configHint: string): ExpoRuntimeHintMetadata | undefined {\n return Object.entries(EXPO_RUNTIME_CONFIG_HINTS).find(([name]) => name === configHint)?.[1];\n}\n\nexport function unknownPermissionDiagnostic(permission: string): ExpoRuntimeDiagnostic {\n return {\n severity: 'error',\n requirementType: 'permission',\n requirement: permission,\n message: `Unknown permission '${permission}' cannot be resolved for Expo runtime generation.`,\n };\n}\n\nexport function unsupportedPermissionDiagnostic(\n permission: string,\n support: PermissionSupport,\n): ExpoRuntimeDiagnostic {\n return {\n severity: support === 'limited' ? 'warning' : 'error',\n requirementType: 'permission',\n requirement: permission,\n message: `Expo runtime support for '${permission}' is '${support}'.`,\n support,\n };\n}\n\nexport function unknownCapabilityDiagnostic(capability: string): ExpoRuntimeDiagnostic {\n return {\n severity: 'warning',\n requirementType: 'capability',\n requirement: capability,\n message: `No Expo runtime metadata is registered for capability '${capability}'.`,\n };\n}\n"]}
1
+ {"version":3,"file":"expoRuntimePlanningMetadata.js","sourceRoot":"","sources":["../src/expoRuntimePlanningMetadata.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,aAAa,EAA4B,MAAM,YAAY,CAAC;AAgCrE,MAAM,uCAAuC,GAAG;IAC9C,wBAAwB,EAAE,QAAQ;IAClC,yBAAyB,EAAE,QAAQ;IACnC,mBAAmB,EAAE,QAAQ;CACY,CAAC;AAE5C,MAAM,kCAAkC,GAAG,MAAM,CAAC,WAAW,C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oragePermissionName,\n SerializableSet,\n} from '@ankhorage/contracts';\nimport type { PermissionSupport } from '@ankhorage/permissions/expo/manifest';\n\nimport { EXPO_PLATFORM, type ExpoPlatformPackage } from './platform';\n\nexport interface ExpoRuntimeConfigPlugin {\n readonly name: string;\n readonly options?: Readonly<Record<string, boolean | string>>;\n}\n\nexport type ExpoRuntimeProviderId = 'permissions';\nexport type ExpoRuntimeAdapterId = 'ExpoBarcodeScannerAdapter';\n\nexport interface ExpoRuntimeDiagnostic {\n readonly severity: 'error' | 'warning';\n readonly requirementType: 'capability' | 'configHint' | 'package' | 'permission';\n readonly requirement: string;\n readonly message: string;\n readonly support?: PermissionSupport;\n}\n\nexport interface ExpoRuntimeCapabilityMetadata {\n readonly impliedPermissions?: SerializableSet<AnkhoragePermissionName>;\n readonly requiredPackages?: readonly string[];\n readonly providers?: readonly ExpoRuntimeProviderId[];\n readonly runtimeAdapters?: readonly ExpoRuntimeAdapterId[];\n readonly androidPermissions?: readonly string[];\n readonly plugins?: readonly ExpoRuntimeConfigPlugin[];\n}\n\nexport interface ExpoRuntimeHintMetadata {\n readonly androidPermissions?: readonly string[];\n readonly plugin?: ExpoRuntimeConfigPlugin;\n}\n\nconst GENERATED_ANKHORAGE_DEPENDENCY_VERSIONS = {\n '@ankhorage/permissions': '^0.2.5',\n '@ankhorage/expo-runtime': '^3.0.0',\n '@ankhorage/reader': '^0.1.0',\n} as const satisfies Record<string, string>;\n\nconst GENERATED_EXPO_DEPENDENCY_VERSIONS = Object.fromEntries(\n Object.values(EXPO_PLATFORM.packages).map((dependency: ExpoPlatformPackage) => [\n dependency.name,\n dependency.version,\n ]),\n) as Readonly<Record<string, string>>;\n\nexport const GENERATED_RUNTIME_DEPENDENCY_VERSIONS = {\n ...GENERATED_ANKHORAGE_DEPENDENCY_VERSIONS,\n ...GENERATED_EXPO_DEPENDENCY_VERSIONS,\n} as const satisfies Readonly<Record<string, string>>;\n\nexport const EXPO_RUNTIME_PROVIDER_PACKAGES = {\n permissions: '@ankhorage/permissions',\n} as const satisfies Record<ExpoRuntimeProviderId, string>;\n\n/** Native Expo packages whose peer modules must be direct generated-app dependencies. */\nexport const EXPO_RUNTIME_PACKAGE_PEERS = {\n [EXPO_PLATFORM.packages.audio.name]: [EXPO_PLATFORM.packages.asset.name],\n} as const satisfies Readonly<Record<string, readonly string[]>>;\n\nconst EXPO_RUNTIME_CONFIG_HINTS = {\n cameraPermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.camera.name,\n options: {\n barcodeScannerEnabled: false,\n cameraPermission: 'Allow camera access.',\n microphonePermission: false,\n recordAudioAndroid: false,\n },\n },\n },\n microphonePermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.audio.name,\n options: {\n enableBackgroundPlayback: false,\n enableBackgroundRecording: false,\n microphonePermission: 'Allow microphone access.',\n },\n },\n },\n recordAudioAndroid: {\n plugin: {\n name: EXPO_PLATFORM.packages.audio.name,\n options: {\n enableBackgroundPlayback: false,\n enableBackgroundRecording: false,\n recordAudioAndroid: true,\n },\n },\n },\n mediaLibraryPermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.mediaLibrary.name,\n options: {\n photosPermission: 'Allow photo library access.',\n savePhotosPermission: 'Allow saving to the photo library.',\n },\n },\n },\n locationWhenInUsePermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.location.name,\n options: {\n locationWhenInUsePermission: 'Allow location access while using the app.',\n },\n },\n },\n locationAlwaysAndWhenInUsePermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.location.name,\n options: {\n locationAlwaysAndWhenInUsePermission: 'Allow location access.',\n isAndroidBackgroundLocationEnabled: true,\n isAndroidForegroundServiceEnabled: true,\n isIosBackgroundLocationEnabled: true,\n },\n },\n },\n notificationsPermission: {\n plugin: {\n name: EXPO_PLATFORM.packages.notifications.name,\n },\n },\n} as const satisfies Readonly<Record<string, ExpoRuntimeHintMetadata>>;\n\nexport const EXPO_CAPABILITY_RUNTIME_REGISTRY = {\n barcodeScanner: {\n impliedPermissions: { camera: true },\n requiredPackages: [EXPO_PLATFORM.packages.camera.name],\n providers: ['permissions'],\n runtimeAdapters: ['ExpoBarcodeScannerAdapter'],\n plugins: [\n {\n name: EXPO_PLATFORM.packages.camera.name,\n options: {\n cameraPermission: 'Allow camera access to scan barcodes.',\n barcodeScannerEnabled: true,\n microphonePermission: false,\n recordAudioAndroid: false,\n },\n },\n ],\n },\n ebookReader: {\n requiredPackages: ['@ankhorage/reader'],\n },\n} as const satisfies Readonly<\n Partial<Record<AnkhorageCapabilityName, ExpoRuntimeCapabilityMetadata>>\n>;\n\nexport function findCapabilityMetadata(\n registry: Readonly<Partial<Record<AnkhorageCapabilityName, ExpoRuntimeCapabilityMetadata>>>,\n capability: AnkhorageCapabilityName,\n): ExpoRuntimeCapabilityMetadata | undefined {\n return Object.entries(registry).find(([name]) => name === capability)?.[1];\n}\n\nexport function findConfigHintMetadata(configHint: string): ExpoRuntimeHintMetadata | undefined {\n return Object.entries(EXPO_RUNTIME_CONFIG_HINTS).find(([name]) => name === configHint)?.[1];\n}\n\nexport function unknownPermissionDiagnostic(permission: string): ExpoRuntimeDiagnostic {\n return {\n severity: 'error',\n requirementType: 'permission',\n requirement: permission,\n message: `Unknown permission '${permission}' cannot be resolved for Expo runtime generation.`,\n };\n}\n\nexport function unsupportedPermissionDiagnostic(\n permission: string,\n support: PermissionSupport,\n): ExpoRuntimeDiagnostic {\n return {\n severity: support === 'limited' ? 'warning' : 'error',\n requirementType: 'permission',\n requirement: permission,\n message: `Expo runtime support for '${permission}' is '${support}'.`,\n support,\n };\n}\n\nexport function unknownCapabilityDiagnostic(capability: string): ExpoRuntimeDiagnostic {\n return {\n severity: 'warning',\n requirementType: 'capability',\n requirement: capability,\n message: `No Expo runtime metadata is registered for capability '${capability}'.`,\n };\n}\n"]}
@@ -0,0 +1,4 @@
1
+ import type { ExecuteExpoRuntimeCapabilityArgs } from '../../types/expoRuntimeCapability';
2
+ /*** Execute an Expo-owned capability or delegate another canonical capability to its runtime handler. */
3
+ export declare function executeExpoRuntimeCapabilityAsync(args: ExecuteExpoRuntimeCapabilityArgs): Promise<void>;
4
+ //# sourceMappingURL=executeExpoRuntimeCapabilityAsync.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,30 @@
1
+ import { isCapability } from '@ankhorage/contracts/capabilities';
2
+ /*** Execute an Expo-owned capability or delegate another canonical capability to its runtime handler. */
3
+ export async function executeExpoRuntimeCapabilityAsync(args) {
4
+ const { capability, input, capabilityHandlers, alertImpl } = args;
5
+ if (!isCapability(capability))
6
+ return;
7
+ if (capability.id === 'expo.alert') {
8
+ executeExpoAlert(input, alertImpl);
9
+ return;
10
+ }
11
+ await findCapabilityHandler(capabilityHandlers, capability.id)?.({ capability, input });
12
+ }
13
+ /*** Find the configured executor for one canonical capability without dynamic record access. */
14
+ function findCapabilityHandler(capabilityHandlers, capabilityId) {
15
+ return capabilityHandlers?.find((handler) => handler.capabilityId === capabilityId)?.execute;
16
+ }
17
+ /*** Display a valid Expo-owned alert invocation without exposing alert as a generic action. */
18
+ function executeExpoAlert(input, alertImpl) {
19
+ if (!isExpoAlertInput(input))
20
+ return;
21
+ alertImpl?.(input.message);
22
+ }
23
+ /*** Validate the serializable input accepted by the Expo alert capability. */
24
+ function isExpoAlertInput(input) {
25
+ return (typeof input === 'object' &&
26
+ input !== null &&
27
+ 'message' in input &&
28
+ typeof input.message === 'string');
29
+ }
30
+ //# sourceMappingURL=executeExpoRuntimeCapabilityAsync.js.map
@@ -0,0 +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"]}
@@ -0,0 +1,4 @@
1
+ import type { ExpoRuntimeRouteResolution } from '../../types/expoRuntimeRoute';
2
+ /*** Resolve Expo Router path parameters before passing the remaining values to the router. */
3
+ export declare function resolveExpoRuntimeRoutePath(pathname: string, params?: Record<string, number | string>): ExpoRuntimeRouteResolution;
4
+ //# sourceMappingURL=resolveExpoRuntimeRoutePath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveExpoRuntimeRoutePath.d.ts","sourceRoot":"","sources":["../../../src/features/navigation/resolveExpoRuntimeRoutePath.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAE/E,8FAA8F;AAC9F,wBAAgB,2BAA2B,CACzC,QAAQ,EAAE,MAAM,EAChB,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC,GACvC,0BAA0B,CAO5B"}
@@ -0,0 +1,17 @@
1
+ /*** Resolve Expo Router path parameters before passing the remaining values to the router. */
2
+ export function resolveExpoRuntimeRoutePath(pathname, params) {
3
+ if (!params)
4
+ return { resolvedPath: pathname, unusedParams: {} };
5
+ return Object.entries(params).reduce((current, [key, value]) => resolveRouteParameter(current, key, value), { resolvedPath: pathname, unusedParams: { ...params } });
6
+ }
7
+ /*** Replace one dynamic route placeholder and retain values that belong in the navigation query. */
8
+ function resolveRouteParameter(state, key, value) {
9
+ const placeholder = `[${key}]`;
10
+ if (!state.resolvedPath.includes(placeholder))
11
+ return state;
12
+ return {
13
+ resolvedPath: state.resolvedPath.replace(placeholder, String(value)),
14
+ unusedParams: Object.fromEntries(Object.entries(state.unusedParams).filter(([parameter]) => parameter !== key)),
15
+ };
16
+ }
17
+ //# sourceMappingURL=resolveExpoRuntimeRoutePath.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveExpoRuntimeRoutePath.js","sourceRoot":"","sources":["../../../src/features/navigation/resolveExpoRuntimeRoutePath.ts"],"names":[],"mappings":"AAEA,8FAA8F;AAC9F,MAAM,UAAU,2BAA2B,CACzC,QAAgB,EAChB,MAAwC;IAExC,IAAI,CAAC,MAAM;QAAE,OAAO,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,EAAE,CAAC;IAEjE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,MAAM,CAClC,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE,KAAK,CAAC,EAAE,EAAE,CAAC,qBAAqB,CAAC,OAAO,EAAE,GAAG,EAAE,KAAK,CAAC,EACrE,EAAE,YAAY,EAAE,QAAQ,EAAE,YAAY,EAAE,EAAE,GAAG,MAAM,EAAE,EAAE,CACxD,CAAC;AACJ,CAAC;AAED,oGAAoG;AACpG,SAAS,qBAAqB,CAC5B,KAAiC,EACjC,GAAW,EACX,KAAsB;IAEtB,MAAM,WAAW,GAAG,IAAI,GAAG,GAAG,CAAC;IAC/B,IAAI,CAAC,KAAK,CAAC,YAAY,CAAC,QAAQ,CAAC,WAAW,CAAC;QAAE,OAAO,KAAK,CAAC;IAE5D,OAAO;QACL,YAAY,EAAE,KAAK,CAAC,YAAY,CAAC,OAAO,CAAC,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,CAAC;QACpE,YAAY,EAAE,MAAM,CAAC,WAAW,CAC9B,MAAM,CAAC,OAAO,CAAC,KAAK,CAAC,YAAY,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,EAAE,EAAE,CAAC,SAAS,KAAK,GAAG,CAAC,CAC9E;KACF,CAAC;AACJ,CAAC","sourcesContent":["import type { ExpoRuntimeRouteResolution } from '../../types/expoRuntimeRoute';\n\n/*** Resolve Expo Router path parameters before passing the remaining values to the router. */\nexport function resolveExpoRuntimeRoutePath(\n pathname: string,\n params?: Record<string, number | string>,\n): ExpoRuntimeRouteResolution {\n if (!params) return { resolvedPath: pathname, unusedParams: {} };\n\n return Object.entries(params).reduce(\n (current, [key, value]) => resolveRouteParameter(current, key, value),\n { resolvedPath: pathname, unusedParams: { ...params } },\n );\n}\n\n/*** Replace one dynamic route placeholder and retain values that belong in the navigation query. */\nfunction resolveRouteParameter(\n state: ExpoRuntimeRouteResolution,\n key: string,\n value: number | string,\n): ExpoRuntimeRouteResolution {\n const placeholder = `[${key}]`;\n if (!state.resolvedPath.includes(placeholder)) return state;\n\n return {\n resolvedPath: state.resolvedPath.replace(placeholder, String(value)),\n unusedParams: Object.fromEntries(\n Object.entries(state.unusedParams).filter(([parameter]) => parameter !== key),\n ),\n };\n}\n"]}
@@ -1,3 +1,2 @@
1
1
  export declare function getExpoBarcodeScannerViewSource(): string;
2
- export declare function getExpoReaderSurfaceViewSource(): string;
3
2
  //# sourceMappingURL=generatedSources.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"generatedSources.d.ts","sourceRoot":"","sources":["../src/generatedSources.ts"],"names":[],"mappings":"AAYA,wBAAgB,+BAA+B,IAAI,MAAM,CAExD;AAED,wBAAgB,8BAA8B,IAAI,MAAM,CAEvD"}
1
+ {"version":3,"file":"generatedSources.d.ts","sourceRoot":"","sources":["../src/generatedSources.ts"],"names":[],"mappings":"AAMA,wBAAgB,+BAA+B,IAAI,MAAM,CAExD"}
@@ -3,15 +3,7 @@ const EXPO_BARCODE_SCANNER_VIEW_SOURCE = [
3
3
  " from '@ankhorage/expo-runtime/barcode-scanner';",
4
4
  '\n',
5
5
  ];
6
- const EXPO_READER_SURFACE_VIEW_SOURCE = [
7
- 'export { ExpoReaderSurfaceAdapter as ExpoReaderSurfaceView }',
8
- " from '@ankhorage/expo-runtime/reader';",
9
- '\n',
10
- ];
11
6
  export function getExpoBarcodeScannerViewSource() {
12
7
  return EXPO_BARCODE_SCANNER_VIEW_SOURCE.join('');
13
8
  }
14
- export function getExpoReaderSurfaceViewSource() {
15
- return EXPO_READER_SURFACE_VIEW_SOURCE.join('');
16
- }
17
9
  //# sourceMappingURL=generatedSources.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"generatedSources.js","sourceRoot":"","sources":["../src/generatedSources.ts"],"names":[],"mappings":"AAAA,MAAM,gCAAgC,GAAG;IACvC,gEAAgE;IAChE,kDAAkD;IAClD,IAAI;CACI,CAAC;AAEX,MAAM,+BAA+B,GAAG;IACtC,8DAA8D;IAC9D,yCAAyC;IACzC,IAAI;CACI,CAAC;AAEX,MAAM,UAAU,+BAA+B;IAC7C,OAAO,gCAAgC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,CAAC;AAED,MAAM,UAAU,8BAA8B;IAC5C,OAAO,+BAA+B,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AAClD,CAAC","sourcesContent":["const EXPO_BARCODE_SCANNER_VIEW_SOURCE = [\n 'export { ExpoBarcodeScannerAdapter as ExpoBarcodeScannerView }',\n \" from '@ankhorage/expo-runtime/barcode-scanner';\",\n '\\n',\n] as const;\n\nconst EXPO_READER_SURFACE_VIEW_SOURCE = [\n 'export { ExpoReaderSurfaceAdapter as ExpoReaderSurfaceView }',\n \" from '@ankhorage/expo-runtime/reader';\",\n '\\n',\n] as const;\n\nexport function getExpoBarcodeScannerViewSource(): string {\n return EXPO_BARCODE_SCANNER_VIEW_SOURCE.join('');\n}\n\nexport function getExpoReaderSurfaceViewSource(): string {\n return EXPO_READER_SURFACE_VIEW_SOURCE.join('');\n}\n"]}
1
+ {"version":3,"file":"generatedSources.js","sourceRoot":"","sources":["../src/generatedSources.ts"],"names":[],"mappings":"AAAA,MAAM,gCAAgC,GAAG;IACvC,gEAAgE;IAChE,kDAAkD;IAClD,IAAI;CACI,CAAC;AAEX,MAAM,UAAU,+BAA+B;IAC7C,OAAO,gCAAgC,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACnD,CAAC","sourcesContent":["const EXPO_BARCODE_SCANNER_VIEW_SOURCE = [\n 'export { ExpoBarcodeScannerAdapter as ExpoBarcodeScannerView }',\n \" from '@ankhorage/expo-runtime/barcode-scanner';\",\n '\\n',\n] as const;\n\nexport function getExpoBarcodeScannerViewSource(): string {\n return EXPO_BARCODE_SCANNER_VIEW_SOURCE.join('');\n}\n"]}
package/dist/index.d.ts CHANGED
@@ -1,17 +1,16 @@
1
1
  export { BARCODE_SCAN_DEDUPE_WINDOW_MS, BARCODE_SCANNER_TYPES, type BarcodeScanRecord, type ExpoBarcodeScanResultLike, mapPermissionStatusToCameraPermissionStatus, normalizeExpoBarcodeScanResult, shouldIgnoreBarcodeScan, } from './barcodeScanRuntime';
2
2
  export { type ExpoBundledMediaRegistrySourceEntry, getExpoBundledMediaRegistrySource, } from './bundledMediaRegistrySource';
3
3
  export { createExpoBundledMediaResolver, type ExpoBundledMediaRegistry, type ExpoBundledMediaResolver, type ExpoBundledMediaResolverArgs, type ExpoBundledMediaValue, resolveExpoBundledMediaAsset, } from './bundledMediaResolver';
4
+ export { type ExecuteExpoRuntimeCapabilityArgs, executeExpoRuntimeCapabilityAsync, type ExpoRuntimeCapabilityHandler, type ExpoRuntimeCapabilityHandlerArgs, type ExpoRuntimeRouteResolution, resolveExpoRuntimeRoutePath, } from './capabilityBridge';
4
5
  export type { ComponentRegistry } from './componentRegistry';
5
6
  export { createComponentRegistry } from './componentRegistry';
6
7
  export { createExpoRuntimeRegistry } from './createExpoRuntimeRegistry';
7
- export { executeExpoRuntimeAction, type ExecuteExpoRuntimeActionArgs, type ExpoRuntimeActionHandlerArgs, type ExpoRuntimeActionHandlers, type ExpoRuntimeRouteResolution, type ExpoRuntimeRouterLike, type ExpoRuntimeThemeMode, resolveExpoRuntimeRoutePath, } from './expoActionBridge';
8
8
  export { ExpoBarcodeScannerAdapter } from './ExpoBarcodeScannerAdapter';
9
9
  export { ExpoRuntimeProviders, type ExpoRuntimeProvidersProps } from './ExpoRuntimeProviders';
10
10
  export { ExpoZoraIconFontProvider, type ExpoZoraIconFontProviderProps, } from './ExpoZoraIconFontProvider';
11
11
  export { type ExpoRuntimeConfigPluginOutput, type ExpoRuntimeDependencyMap, type ExpoRuntimeGeneratedAppOutputPlan, type ExpoRuntimeNativeOutputPlan, resolveExpoRuntimeConfigPluginOutput, resolveExpoRuntimeDependencyMap, resolveExpoRuntimeGeneratedAppOutput, resolveExpoRuntimeNativeOutput, } from './generatedAppOutput';
12
- export { getExpoBarcodeScannerViewSource, getExpoReaderSurfaceViewSource, } from './generatedSources';
12
+ export { getExpoBarcodeScannerViewSource } from './generatedSources';
13
13
  export { type ExpoRuntimeLayoutIntegrationPlan, resolveExpoRuntimeLayoutIntegration, } from './layoutIntegrationPlanning';
14
- export { ExpoReaderSurfaceAdapter } from './reader/ExpoReaderSurfaceAdapter';
15
14
  export type { ExpoRuntimeAdapterId, ExpoRuntimePlan, ExpoRuntimeProviderId, } from './resolveExpoRuntimePlan';
16
15
  export { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';
17
16
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EACrB,KAAK,iBAAiB,EACtB,KAAK,yBAAyB,EAC9B,2CAA2C,EAC3C,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,KAAK,mCAAmC,EACxC,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,8BAA8B,EAC9B,KAAK,wBAAwB,EAC7B,KAAK,wBAAwB,EAC7B,KAAK,4BAA4B,EACjC,KAAK,qBAAqB,EAC1B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,YAAY,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACL,wBAAwB,EACxB,KAAK,4BAA4B,EACjC,KAAK,4BAA4B,EACjC,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,KAAK,qBAAqB,EAC1B,KAAK,oBAAoB,EACzB,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,4BAA4B,CAAC;AACpC,O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AyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAE,KAAK,yBAAyB,EAAE,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EACL,wBAAwB,EACxB,KAAK,6BAA6B,GACnC,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,qBAAqB,GACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/index.js CHANGED
@@ -1,15 +1,14 @@
1
1
  export { BARCODE_SCAN_DEDUPE_WINDOW_MS, BARCODE_SCANNER_TYPES, mapPermissionStatusToCameraPermissionStatus, normalizeExpoBarcodeScanResult, shouldIgnoreBarcodeScan, } from './barcodeScanRuntime';
2
2
  export { getExpoBundledMediaRegistrySource, } from './bundledMediaRegistrySource';
3
3
  export { createExpoBundledMediaResolver, resolveExpoBundledMediaAsset, } from './bundledMediaResolver';
4
+ export { executeExpoRuntimeCapabilityAsync, resolveExpoRuntimeRoutePath, } from './capabilityBridge';
4
5
  export { createComponentRegistry } from './componentRegistry';
5
6
  export { createExpoRuntimeRegistry } from './createExpoRuntimeRegistry';
6
- export { executeExpoRuntimeAction, resolveExpoRuntimeRoutePath, } from './expoActionBridge';
7
7
  export { ExpoBarcodeScannerAdapter } from './ExpoBarcodeScannerAdapter';
8
8
  export { ExpoRuntimeProviders } from './ExpoRuntimeProviders';
9
9
  export { ExpoZoraIconFontProvider, } from './ExpoZoraIconFontProvider';
10
10
  export { resolveExpoRuntimeConfigPluginOutput, resolveExpoRuntimeDependencyMap, resolveExpoRuntimeGeneratedAppOutput, resolveExpoRuntimeNativeOutput, } from './generatedAppOutput';
11
- export { getExpoBarcodeScannerViewSource, getExpoReaderSurfaceViewSource, } from './generatedSources';
11
+ export { getExpoBarcodeScannerViewSource } from './generatedSources';
12
12
  export { resolveExpoRuntimeLayoutIntegration, } from './layoutIntegrationPlanning';
13
- export { ExpoReaderSurfaceAdapter } from './reader/ExpoReaderSurfaceAdapter';
14
13
  export { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';
15
14
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EAGrB,2CAA2C,EAC3C,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,8BAA8B,EAK9B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAEhC,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EACL,wBAAwB,EAOxB,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAkC,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EACL,wBAAwB,GAEzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAKL,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAM7E,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n BARCODE_SCAN_DEDUPE_WINDOW_MS,\n BARCODE_SCANNER_TYPES,\n type BarcodeScanRecord,\n type ExpoBarcodeScanResultLike,\n mapPermissionStatusToCameraPermissionStatus,\n normalizeExpoBarcodeScanResult,\n shouldIgnoreBarcodeScan,\n} from './barcodeScanRuntime';\nexport {\n type ExpoBundledMediaRegistrySourceEntry,\n getExpoBundledMediaRegistrySource,\n} from './bundledMediaRegistrySource';\nexport {\n createExpoBundledMediaResolver,\n type ExpoBundledMediaRegistry,\n type ExpoBundledMediaResolver,\n type ExpoBundledMediaResolverArgs,\n type ExpoBundledMediaValue,\n resolveExpoBundledMediaAsset,\n} from './bundledMediaResolver';\nexport type { ComponentRegistry } from './componentRegistry';\nexport { createComponentRegistry } from './componentRegistry';\nexport { createExpoRuntimeRegistry } from './createExpoRuntimeRegistry';\nexport {\n executeExpoRuntimeAction,\n type ExecuteExpoRuntimeActionArgs,\n type ExpoRuntimeActionHandlerArgs,\n type ExpoRuntimeActionHandlers,\n type ExpoRuntimeRouteResolution,\n type ExpoRuntimeRouterLike,\n type ExpoRuntimeThemeMode,\n resolveExpoRuntimeRoutePath,\n} from './expoActionBridge';\nexport { ExpoBarcodeScannerAdapter } from './ExpoBarcodeScannerAdapter';\nexport { ExpoRuntimeProviders, type ExpoRuntimeProvidersProps } from './ExpoRuntimeProviders';\nexport {\n ExpoZoraIconFontProvider,\n type ExpoZoraIconFontProviderProps,\n} from './ExpoZoraIconFontProvider';\nexport {\n type ExpoRuntimeConfigPluginOutput,\n type ExpoRuntimeDependencyMap,\n type ExpoRuntimeGeneratedAppOutputPlan,\n type ExpoRuntimeNativeOutputPlan,\n resolveExpoRuntimeConfigPluginOutput,\n resolveExpoRuntimeDependencyMap,\n resolveExpoRuntimeGeneratedAppOutput,\n resolveExpoRuntimeNativeOutput,\n} from './generatedAppOutput';\nexport {\n getExpoBarcodeScannerViewSource,\n getExpoReaderSurfaceViewSource,\n} from './generatedSources';\nexport {\n type ExpoRuntimeLayoutIntegrationPlan,\n resolveExpoRuntimeLayoutIntegration,\n} from './layoutIntegrationPlanning';\nexport { ExpoReaderSurfaceAdapter } from './reader/ExpoReaderSurfaceAdapter';\nexport type {\n ExpoRuntimeAdapterId,\n ExpoRuntimePlan,\n ExpoRuntimeProviderId,\n} from './resolveExpoRuntimePlan';\nexport { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,6BAA6B,EAC7B,qBAAqB,EAGrB,2CAA2C,EAC3C,8BAA8B,EAC9B,uBAAuB,GACxB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAEL,iCAAiC,GAClC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,8BAA8B,EAK9B,4BAA4B,GAC7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAEL,iCAAiC,EAIjC,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC;AAE5B,OAAO,EAAE,uBAAuB,EAAE,MAAM,qBAAqB,CAAC;AAC9D,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,OAAO,EAAE,oBAAoB,EAAkC,MAAM,wBAAwB,CAAC;AAC9F,OAAO,EACL,wBAAwB,GAEzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAKL,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAEL,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AAMrC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n BARCODE_SCAN_DEDUPE_WINDOW_MS,\n BARCODE_SCANNER_TYPES,\n type BarcodeScanRecord,\n type ExpoBarcodeScanResultLike,\n mapPermissionStatusToCameraPermissionStatus,\n normalizeExpoBarcodeScanResult,\n shouldIgnoreBarcodeScan,\n} from './barcodeScanRuntime';\nexport {\n type ExpoBundledMediaRegistrySourceEntry,\n getExpoBundledMediaRegistrySource,\n} from './bundledMediaRegistrySource';\nexport {\n createExpoBundledMediaResolver,\n type ExpoBundledMediaRegistry,\n type ExpoBundledMediaResolver,\n type ExpoBundledMediaResolverArgs,\n type ExpoBundledMediaValue,\n resolveExpoBundledMediaAsset,\n} from './bundledMediaResolver';\nexport {\n type ExecuteExpoRuntimeCapabilityArgs,\n executeExpoRuntimeCapabilityAsync,\n type ExpoRuntimeCapabilityHandler,\n type ExpoRuntimeCapabilityHandlerArgs,\n type ExpoRuntimeRouteResolution,\n resolveExpoRuntimeRoutePath,\n} from './capabilityBridge';\nexport type { ComponentRegistry } from './componentRegistry';\nexport { createComponentRegistry } from './componentRegistry';\nexport { createExpoRuntimeRegistry } from './createExpoRuntimeRegistry';\nexport { ExpoBarcodeScannerAdapter } from './ExpoBarcodeScannerAdapter';\nexport { ExpoRuntimeProviders, type ExpoRuntimeProvidersProps } from './ExpoRuntimeProviders';\nexport {\n ExpoZoraIconFontProvider,\n type ExpoZoraIconFontProviderProps,\n} from './ExpoZoraIconFontProvider';\nexport {\n type ExpoRuntimeConfigPluginOutput,\n type ExpoRuntimeDependencyMap,\n type ExpoRuntimeGeneratedAppOutputPlan,\n type ExpoRuntimeNativeOutputPlan,\n resolveExpoRuntimeConfigPluginOutput,\n resolveExpoRuntimeDependencyMap,\n resolveExpoRuntimeGeneratedAppOutput,\n resolveExpoRuntimeNativeOutput,\n} from './generatedAppOutput';\nexport { getExpoBarcodeScannerViewSource } from './generatedSources';\nexport {\n type ExpoRuntimeLayoutIntegrationPlan,\n resolveExpoRuntimeLayoutIntegration,\n} from './layoutIntegrationPlanning';\nexport type {\n ExpoRuntimeAdapterId,\n ExpoRuntimePlan,\n ExpoRuntimeProviderId,\n} from './resolveExpoRuntimePlan';\nexport { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';\n"]}
@@ -1,5 +1,5 @@
1
1
  export { type ExpoRuntimeConfigPluginOutput, type ExpoRuntimeDependencyMap, type ExpoRuntimeGeneratedAppOutputPlan, type ExpoRuntimeNativeOutputPlan, resolveExpoRuntimeConfigPluginOutput, resolveExpoRuntimeDependencyMap, resolveExpoRuntimeGeneratedAppOutput, resolveExpoRuntimeNativeOutput, } from './generatedAppOutput';
2
- export { getExpoBarcodeScannerViewSource, getExpoReaderSurfaceViewSource, } from './generatedSources';
2
+ export { getExpoBarcodeScannerViewSource } from './generatedSources';
3
3
  export { type ExpoRuntimeLayoutIntegrationPlan, resolveExpoRuntimeLayoutIntegration, } from './layoutIntegrationPlanning';
4
4
  export { type ExpoRuntimeNativePlatform, type ExpoRuntimeNativeSchemeMap, resolveExpoRuntimeNativeSchemeMap, } from './nativeLinkingPlanning';
5
5
  export type { ExpoRuntimeAdapterId, ExpoRuntimePlan, ExpoRuntimePlanningManifest, ExpoRuntimePlanningScreen, ExpoRuntimeProviderId, } from './resolveExpoRuntimePlan';
@@ -1 +1 @@
1
- {"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../src/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
1
+ {"version":3,"file":"planning.d.ts","sourceRoot":"","sources":["../src/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,6BAA6B,EAClC,KAAK,wBAAwB,EAC7B,KAAK,iCAAiC,EACtC,KAAK,2BAA2B,EAChC,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EACL,KAAK,gCAAgC,EACrC,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,KAAK,yBAAyB,EAC9B,KAAK,0BAA0B,EAC/B,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AACjC,YAAY,EACV,oBAAoB,EACpB,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
package/dist/planning.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { resolveExpoRuntimeConfigPluginOutput, resolveExpoRuntimeDependencyMap, resolveExpoRuntimeGeneratedAppOutput, resolveExpoRuntimeNativeOutput, } from './generatedAppOutput';
2
- export { getExpoBarcodeScannerViewSource, getExpoReaderSurfaceViewSource, } from './generatedSources';
2
+ export { getExpoBarcodeScannerViewSource } from './generatedSources';
3
3
  export { resolveExpoRuntimeLayoutIntegration, } from './layoutIntegrationPlanning';
4
4
  export { resolveExpoRuntimeNativeSchemeMap, } from './nativeLinkingPlanning';
5
5
  export { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';
@@ -1 +1 @@
1
- {"version":3,"file":"planning.js","sourceRoot":"","sources":["../src/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,GAC/B,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAEL,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n type ExpoRuntimeConfigPluginOutput,\n type ExpoRuntimeDependencyMap,\n type ExpoRuntimeGeneratedAppOutputPlan,\n type ExpoRuntimeNativeOutputPlan,\n resolveExpoRuntimeConfigPluginOutput,\n resolveExpoRuntimeDependencyMap,\n resolveExpoRuntimeGeneratedAppOutput,\n resolveExpoRuntimeNativeOutput,\n} from './generatedAppOutput';\nexport {\n getExpoBarcodeScannerViewSource,\n getExpoReaderSurfaceViewSource,\n} from './generatedSources';\nexport {\n type ExpoRuntimeLayoutIntegrationPlan,\n resolveExpoRuntimeLayoutIntegration,\n} from './layoutIntegrationPlanning';\nexport {\n type ExpoRuntimeNativePlatform,\n type ExpoRuntimeNativeSchemeMap,\n resolveExpoRuntimeNativeSchemeMap,\n} from './nativeLinkingPlanning';\nexport type {\n ExpoRuntimeAdapterId,\n ExpoRuntimePlan,\n ExpoRuntimePlanningManifest,\n ExpoRuntimePlanningScreen,\n ExpoRuntimeProviderId,\n} from './resolveExpoRuntimePlan';\nexport { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';\n"]}
1
+ {"version":3,"file":"planning.js","sourceRoot":"","sources":["../src/planning.ts"],"names":[],"mappings":"AAAA,OAAO,EAKL,oCAAoC,EACpC,+BAA+B,EAC/B,oCAAoC,EACpC,8BAA8B,GAC/B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,+BAA+B,EAAE,MAAM,oBAAoB,CAAC;AACrE,OAAO,EAEL,mCAAmC,GACpC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAGL,iCAAiC,GAClC,MAAM,yBAAyB,CAAC;AAQjC,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC","sourcesContent":["export {\n type ExpoRuntimeConfigPluginOutput,\n type ExpoRuntimeDependencyMap,\n type ExpoRuntimeGeneratedAppOutputPlan,\n type ExpoRuntimeNativeOutputPlan,\n resolveExpoRuntimeConfigPluginOutput,\n resolveExpoRuntimeDependencyMap,\n resolveExpoRuntimeGeneratedAppOutput,\n resolveExpoRuntimeNativeOutput,\n} from './generatedAppOutput';\nexport { getExpoBarcodeScannerViewSource } from './generatedSources';\nexport {\n type ExpoRuntimeLayoutIntegrationPlan,\n resolveExpoRuntimeLayoutIntegration,\n} from './layoutIntegrationPlanning';\nexport {\n type ExpoRuntimeNativePlatform,\n type ExpoRuntimeNativeSchemeMap,\n resolveExpoRuntimeNativeSchemeMap,\n} from './nativeLinkingPlanning';\nexport type {\n ExpoRuntimeAdapterId,\n ExpoRuntimePlan,\n ExpoRuntimePlanningManifest,\n ExpoRuntimePlanningScreen,\n ExpoRuntimeProviderId,\n} from './resolveExpoRuntimePlan';\nexport { resolveExpoRuntimePlan } from './resolveExpoRuntimePlan';\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.26'),
15
+ expo: definePackage('expo', '57.0.27'),
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.24'),
32
+ expoRouter: definePackage('expo-router', '~57.0.25'),
33
33
  screens: definePackage('react-native-screens', '~4.26.0'),
34
34
  safeArea: definePackage('react-native-safe-area-context', '~5.7.0'),
35
35
  },
@@ -50,11 +50,11 @@ export const EXPO_PLATFORM = {
50
50
  },
51
51
  packages: {
52
52
  metroRuntime: definePackage('@expo/metro-runtime', '~57.0.16'),
53
- asset: definePackage('expo-asset', '~57.0.18'),
53
+ asset: definePackage('expo-asset', '~57.0.19'),
54
54
  audio: definePackage('expo-audio', '~57.0.5'),
55
- authSession: definePackage('expo-auth-session', '~57.0.13'),
55
+ authSession: definePackage('expo-auth-session', '~57.0.14'),
56
56
  camera: definePackage('expo-camera', '~57.0.6'),
57
- constants: definePackage('expo-constants', '~57.0.20'),
57
+ constants: definePackage('expo-constants', '~57.0.21'),
58
58
  crypto: definePackage('expo-crypto', '~57.0.3'),
59
59
  devClient: definePackage('expo-dev-client', '~57.0.19'),
60
60
  documentPicker: definePackage('expo-document-picker', '~57.0.3'),
@@ -62,15 +62,15 @@ export const EXPO_PLATFORM = {
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.11'),
65
+ linking: definePackage('expo-linking', '~57.0.12'),
66
66
  localization: definePackage('expo-localization', '~57.0.2'),
67
67
  location: definePackage('expo-location', '~57.0.20'),
68
68
  mediaLibrary: definePackage('expo-media-library', '~57.0.5'),
69
- notifications: definePackage('expo-notifications', '~57.0.21'),
69
+ notifications: definePackage('expo-notifications', '~57.0.22'),
70
70
  secureStore: definePackage('expo-secure-store', '~57.0.4'),
71
71
  splashScreen: definePackage('expo-splash-screen', '~57.0.9'),
72
72
  statusBar: definePackage('expo-status-bar', '~57.0.1'),
73
- updates: definePackage('expo-updates', '~57.0.24'),
73
+ updates: definePackage('expo-updates', '~57.0.25'),
74
74
  webBrowser: definePackage('expo-web-browser', '~57.0.3'),
75
75
  },
76
76
  platforms: {