@safercity/sdk-react-native 0.1.1 → 0.1.3
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 +5 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
React Native adapter for SaferCity SDK with expo-fetch streaming support and secure token storage.
|
|
4
4
|
|
|
5
|
+
## What's New in v0.1.3
|
|
6
|
+
|
|
7
|
+
- **Version update** - Updated to reflect v0.1.3 changes in core and react packages
|
|
8
|
+
|
|
5
9
|
## Installation
|
|
6
10
|
|
|
7
11
|
```bash
|
|
@@ -166,7 +170,7 @@ const client = createReactNativeClient({
|
|
|
166
170
|
All hooks from `@safercity/sdk-react` work seamlessly:
|
|
167
171
|
|
|
168
172
|
```tsx
|
|
169
|
-
import { useUsers,
|
|
173
|
+
import { useUsers, useCreatePanic } from '@safercity/sdk-react';
|
|
170
174
|
|
|
171
175
|
function UserList() {
|
|
172
176
|
const { data, isLoading, error } = useUsers();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safercity/sdk-react-native",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "React Native adapter for SaferCity SDK with expo-fetch streaming support",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": {
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"prepublishOnly": "bun run build"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@safercity/sdk": "
|
|
37
|
-
"@safercity/sdk-core": "
|
|
36
|
+
"@safercity/sdk": "0.1.3",
|
|
37
|
+
"@safercity/sdk-core": "0.1.3"
|
|
38
38
|
},
|
|
39
39
|
"peerDependencies": {
|
|
40
40
|
"react": ">=18.0.0",
|