@symbiote-native/app-metrics 0.1.0 → 0.1.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/README.md CHANGED
@@ -9,7 +9,7 @@ It wraps [`expo-app-metrics`](https://github.com/expo/expo/tree/main/packages/ex
9
9
  every adapter, plus an `AppMetricsRoot` on all five and an `AppMetricsErrorBoundary` on React, Vue,
10
10
  Solid, and Svelte, each wrapping that framework's own catch primitive.
11
11
 
12
- ## Scope decision (2026-09-28)
12
+ ## Scope decision
13
13
 
14
14
  Unlike every other package in this catalog, `expo-app-metrics` ships real per-framework
15
15
  surface, not just a thin async-function wrapper. React, Vue, Solid, and Svelte each already have
@@ -25,7 +25,7 @@ subtree error boundary (`ErrorHandler.onViewError`), the same caught-vs-uncaught
25
25
  package already uses elsewhere. This repo pins `@angular/core` to `~22.0.8`
26
26
  (`pnpm-workspace.yaml`) because `@angular/compiler-cli` >=22.1.0 bundles its own
27
27
  `@babel/core@8` and its AOT linker asserts Babel 8, while this repo loads that linker INSIDE
28
- Metro's own Babel 7 pipeline - re-tried bumping to 22.2.0 for this package (2026-09-28),
28
+ Metro's own Babel 7 pipeline - re-tried bumping to 22.2.0 for this package,
29
29
  reproduced the exact `assertVersion(8)` throw directly against the real installed Babel, no
30
30
  legacy Babel-7 linker build exists, reverted. `AppMetricsRoot` needed no version bump (it is a
31
31
  plain `<ng-content>` wrapper marking first render in `ngOnInit`) and ships on `./angular` now.
@@ -6,16 +6,15 @@
6
6
  import AppMetricsErrorBoundary from './AppMetricsErrorBoundary.svelte';
7
7
  import type { IAppMetricsRootProps } from './app-metrics-root-props';
8
8
 
9
- let { errorBoundaryFallback, children: rootChildren }: IAppMetricsRootProps = $props();
9
+ let { errorBoundaryFallback, children: rootChildren }: IAppMetricsRootProps =
10
+ $props();
10
11
 
11
12
  onMount(() => markFirstRender());
12
13
  </script>
13
14
 
14
15
  {#if errorBoundaryFallback !== undefined}
15
16
  <AppMetricsErrorBoundary fallback={errorBoundaryFallback}>
16
- {#snippet children()}
17
- {@render rootChildren()}
18
- {/snippet}
17
+ {@render rootChildren()}
19
18
  </AppMetricsErrorBoundary>
20
19
  {:else}
21
20
  {@render rootChildren()}
package/native-link.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "android": {
3
3
  "gradleProjectName": "expo-app-metrics",
4
+ "requiresKsp": true,
4
5
  "modules": [
5
6
  {
6
7
  "importPath": "expo.modules.appmetrics.AppMetricsModule",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@symbiote-native/app-metrics",
3
- "version": "0.1.0",
3
+ "version": "0.1.2",
4
4
  "description": "expo-app-metrics wrapped for SymbioteNative — one framework-agnostic core plus a React adapter, reachable from every framework's core surface and React's additional AppMetricsRoot/AppMetricsErrorBoundary/useNetworkRequestObserver. App startup, frame rate, memory, crash reporting, and session metrics.",
5
5
  "license": "MIT",
6
6
  "keywords": [
@@ -80,12 +80,12 @@
80
80
  "solid-js": ">=1.9.0",
81
81
  "svelte": ">=5.56.0",
82
82
  "vue": ">=3.5.0",
83
- "@symbiote-native/angular": "^3.1.3",
84
- "@symbiote-native/engine": "^1.4.0",
85
- "@symbiote-native/solid": "^3.0.5",
86
- "@symbiote-native/svelte": "^3.0.5",
87
- "@symbiote-native/vue": "^3.1.0",
88
- "@symbiote-native/react": "^3.1.0"
83
+ "@symbiote-native/angular": "^3.3.0",
84
+ "@symbiote-native/engine": "^1.6.0",
85
+ "@symbiote-native/react": "^3.3.0",
86
+ "@symbiote-native/solid": "^3.2.0",
87
+ "@symbiote-native/svelte": "^3.2.0",
88
+ "@symbiote-native/vue": "^3.3.0"
89
89
  },
90
90
  "peerDependenciesMeta": {
91
91
  "@symbiote-native/angular": {
@@ -133,13 +133,13 @@
133
133
  "solid-js": "^1.9.14",
134
134
  "svelte": "^5.56.0",
135
135
  "typescript": "~6.0.0",
136
- "@symbiote-native/angular": "3.1.3",
137
- "@symbiote-native/react": "3.1.0",
138
- "@symbiote-native/engine": "1.4.0",
139
- "@symbiote-native/test-utils": "0.4.5",
140
- "@symbiote-native/svelte": "3.0.5",
141
- "@symbiote-native/solid": "3.0.5",
142
- "@symbiote-native/vue": "3.1.0"
136
+ "@symbiote-native/angular": "3.3.0",
137
+ "@symbiote-native/engine": "1.6.0",
138
+ "@symbiote-native/react": "3.3.0",
139
+ "@symbiote-native/solid": "3.2.0",
140
+ "@symbiote-native/svelte": "3.2.0",
141
+ "@symbiote-native/test-utils": "0.4.7",
142
+ "@symbiote-native/vue": "3.3.0"
143
143
  },
144
144
  "scripts": {
145
145
  "typecheck": "tsc --build",