@symbiote-native/sensors 0.4.0 → 2.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 (2) hide show
  1. package/README.md +6 -6
  2. package/package.json +28 -15
package/README.md CHANGED
@@ -77,10 +77,10 @@ import { useAccelerometer } from '@symbiote-native/sensors/react';
77
77
  function SensorsScreen() {
78
78
  const accelerometer = useAccelerometer();
79
79
  return (
80
- <Text>
80
+ <text>
81
81
  {accelerometer &&
82
82
  `x ${accelerometer.x} · y ${accelerometer.y} · z ${accelerometer.z}`}
83
- </Text>
83
+ </text>
84
84
  );
85
85
  }
86
86
  ```
@@ -93,10 +93,10 @@ import { useAccelerometer } from '@symbiote-native/sensors/vue';
93
93
  const accelerometer = useAccelerometer();
94
94
  </script>
95
95
  <template>
96
- <Text>{{
96
+ <text>{{
97
97
  accelerometer &&
98
98
  `x ${accelerometer.x} · y ${accelerometer.y} · z ${accelerometer.z}`
99
- }}</Text>
99
+ }}</text>
100
100
  </template>
101
101
  ```
102
102
 
@@ -109,11 +109,11 @@ import { createAccelerometer } from '@symbiote-native/sensors/solid';
109
109
  function SensorsScreen() {
110
110
  const accelerometer = createAccelerometer();
111
111
  return (
112
- <Text>
112
+ <text>
113
113
  <Show when={accelerometer()}>
114
114
  {reading => `x ${reading().x} · y ${reading().y} · z ${reading().z}`}
115
115
  </Show>
116
- </Text>
116
+ </text>
117
117
  );
118
118
  }
119
119
  ```
package/package.json CHANGED
@@ -1,8 +1,21 @@
1
1
  {
2
2
  "name": "@symbiote-native/sensors",
3
- "version": "0.4.0",
3
+ "version": "2.0.0",
4
4
  "description": "expo-sensors wrapped for SymbioteNative — one framework-agnostic core, built once and reachable from the React, Vue, Svelte, Solid, and Angular adapters. Accelerometer, Barometer, DeviceMotion, Gyroscope, LightSensor, Magnetometer, MagnetometerUncalibrated, Pedometer.",
5
5
  "license": "MIT",
6
+ "keywords": [
7
+ "react-native",
8
+ "symbiote-native",
9
+ "expo-sensors",
10
+ "react",
11
+ "vue",
12
+ "svelte",
13
+ "solid",
14
+ "angular",
15
+ "accelerometer",
16
+ "gyroscope",
17
+ "pedometer"
18
+ ],
6
19
  "repository": {
7
20
  "type": "git",
8
21
  "url": "git+https://github.com/OneEyed1366/symbiote-native.git",
@@ -61,19 +74,19 @@
61
74
  "expo-modules-core": "57.0.5"
62
75
  },
63
76
  "peerDependencies": {
64
- "@symbiote-native/angular": ">=0.6.2",
65
- "@symbiote-native/engine": ">=0.1.7",
66
- "@symbiote-native/react": ">=0.2.8",
67
- "@symbiote-native/solid": ">=0.0.1",
68
- "@symbiote-native/svelte": ">=0.1.0",
69
- "@symbiote-native/vue": ">=0.3.8",
70
77
  "@angular/core": ">=20",
71
78
  "@vue/runtime-core": "^3.5.13",
72
79
  "react": ">=19.0.0",
73
80
  "react-native": ">=0.86",
74
81
  "svelte": ">=5.56.0",
75
82
  "solid-js": ">=1.9.0",
76
- "vue": ">=3.5.0"
83
+ "vue": ">=3.5.0",
84
+ "@symbiote-native/angular": "^2.0.0",
85
+ "@symbiote-native/engine": "^0.5.0",
86
+ "@symbiote-native/react": "^2.0.0",
87
+ "@symbiote-native/solid": "^2.0.0",
88
+ "@symbiote-native/svelte": "^2.0.0",
89
+ "@symbiote-native/vue": "^2.0.0"
77
90
  },
78
91
  "peerDependenciesMeta": {
79
92
  "@symbiote-native/angular": {
@@ -121,13 +134,13 @@
121
134
  "solid-js": "^1.9.14",
122
135
  "svelte": "^5.56.0",
123
136
  "typescript": "~6.0.0",
124
- "@symbiote-native/angular": "0.8.0",
125
- "@symbiote-native/engine": "0.3.0",
126
- "@symbiote-native/react": "0.4.0",
127
- "@symbiote-native/solid": "0.1.0",
128
- "@symbiote-native/svelte": "0.3.0",
129
- "@symbiote-native/test-utils": "0.2.0",
130
- "@symbiote-native/vue": "0.5.0"
137
+ "@symbiote-native/angular": "2.0.0",
138
+ "@symbiote-native/engine": "0.5.0",
139
+ "@symbiote-native/react": "2.0.0",
140
+ "@symbiote-native/solid": "2.0.0",
141
+ "@symbiote-native/svelte": "2.0.0",
142
+ "@symbiote-native/test-utils": "0.3.0",
143
+ "@symbiote-native/vue": "2.0.0"
131
144
  },
132
145
  "scripts": {
133
146
  "typecheck": "tsc --build",