@ankhorage/expo-runtime 3.0.0 → 3.0.1

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,11 @@
1
1
  # @ankhorage/expo-runtime
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - c14bbd0: Expose the Expo action bridge through a lightweight public subpath that does not require native runtime peers.
8
+
3
9
  ## 3.0.0
4
10
 
5
11
  ### 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: v2.7.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) ![docs: paradox](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v3.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) ![docs: paradox](././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
 
@@ -0,0 +1,2 @@
1
+ export { executeExpoRuntimeAction, type ExecuteExpoRuntimeActionArgs, type ExpoRuntimeActionHandlerArgs, type ExpoRuntimeActionHandlers, type ExpoRuntimeRouteResolution, type ExpoRuntimeRouterLike, type ExpoRuntimeThemeMode, resolveExpoRuntimeRoutePath, } from './expoActionBridge';
2
+ //# sourceMappingURL=actionBridge.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionBridge.d.ts","sourceRoot":"","sources":["../src/actionBridge.ts"],"names":[],"mappings":"AAAA,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"}
@@ -0,0 +1,2 @@
1
+ export { executeExpoRuntimeAction, resolveExpoRuntimeRoutePath, } from './expoActionBridge';
2
+ //# sourceMappingURL=actionBridge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"actionBridge.js","sourceRoot":"","sources":["../src/actionBridge.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EAOxB,2BAA2B,GAC5B,MAAM,oBAAoB,CAAC","sourcesContent":["export {\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';\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/expo-runtime",
3
3
  "type": "module",
4
- "version": "3.0.0",
4
+ "version": "3.0.1",
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": {
@@ -43,6 +43,13 @@
43
43
  "import": "./dist/index.js",
44
44
  "default": "./dist/index.js"
45
45
  },
46
+ "./action-bridge": {
47
+ "react-native": "./src/actionBridge.ts",
48
+ "browser": "./src/actionBridge.ts",
49
+ "types": "./src/actionBridge.ts",
50
+ "import": "./dist/actionBridge.js",
51
+ "default": "./dist/actionBridge.js"
52
+ },
46
53
  "./planning": {
47
54
  "react-native": "./src/planning.ts",
48
55
  "browser": "./src/planning.ts",
@@ -102,6 +109,7 @@
102
109
  "prepack": "bun run build",
103
110
  "test": "bun test src",
104
111
  "typecheck": "bun x tsc --noEmit -p tsconfig.json && bun x tsc --noEmit -p tsconfig.scripts.json",
112
+ "validate:action-bridge": "bun scripts/actionBridgeAcceptance.ts",
105
113
  "validate:expo-platform": "bun scripts/validateExpoPlatform.ts",
106
114
  "validate:headless-platform": "bun scripts/headlessPlatformAcceptance.ts",
107
115
  "validate:packed-runtime": "bun scripts/packedRuntimeAcceptance.ts",
@@ -0,0 +1,10 @@
1
+ import { describe, expect, test } from 'bun:test';
2
+
3
+ import { executeExpoRuntimeAction, resolveExpoRuntimeRoutePath } from './actionBridge';
4
+
5
+ describe('action bridge entrypoint', () => {
6
+ test('exports the standalone action helpers', () => {
7
+ expect(typeof executeExpoRuntimeAction).toBe('function');
8
+ expect(typeof resolveExpoRuntimeRoutePath).toBe('function');
9
+ });
10
+ });
@@ -0,0 +1,10 @@
1
+ export {
2
+ executeExpoRuntimeAction,
3
+ type ExecuteExpoRuntimeActionArgs,
4
+ type ExpoRuntimeActionHandlerArgs,
5
+ type ExpoRuntimeActionHandlers,
6
+ type ExpoRuntimeRouteResolution,
7
+ type ExpoRuntimeRouterLike,
8
+ type ExpoRuntimeThemeMode,
9
+ resolveExpoRuntimeRoutePath,
10
+ } from './expoActionBridge';