@instantdb/react-native-mmkv 0.22.113 → 0.22.114-experimental.cli-info.21418642680.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.
@@ -1,16 +1,16 @@
1
1
 
2
- > @instantdb/react-native-mmkv@0.22.113 build /home/runner/work/instant/instant/client/packages/react-native-mmkv
2
+ > @instantdb/react-native-mmkv@0.22.114-experimental.cli-info.21418642680.1 build /home/runner/work/instant/instant/client/packages/react-native-mmkv
3
3
  > rm -rf dist; npm run build:main && npm run build:module
4
4
 
5
5
  npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
6
6
  npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
7
7
 
8
- > @instantdb/react-native-mmkv@0.22.113 build:main
8
+ > @instantdb/react-native-mmkv@0.22.114-experimental.cli-info.21418642680.1 build:main
9
9
  > tsc -p tsconfig.json
10
10
 
11
11
  npm warn Unknown env config "verify-deps-before-run". This will stop working in the next major version of npm.
12
12
  npm warn Unknown user config "always-auth". This will stop working in the next major version of npm.
13
13
 
14
- > @instantdb/react-native-mmkv@0.22.113 build:module
14
+ > @instantdb/react-native-mmkv@0.22.114-experimental.cli-info.21418642680.1 build:module
15
15
  > tsc -p tsconfig.module.json
16
16
 
package/README.md CHANGED
@@ -26,20 +26,28 @@ Welcome to [Instant's](http://instantdb.com) React Native MMKV interface.
26
26
 
27
27
  ### Create an app with expo
28
28
 
29
+ ```shell
29
30
  npx create-expo-app instant-rn-demo
30
31
  cd instant-rn-demo
32
+ ```
31
33
 
32
34
  ### Install instant
33
35
 
36
+ ```shell
34
37
  npm i @instantdb/react-native @instantdb/react-native-mmkv
38
+ ```
35
39
 
36
40
  ### Install peer dependencies
37
41
 
42
+ ```shell
38
43
  npx expo install react-native-mmkv react-native-nitro-modules @react-native-community/netinfo react-native-get-random-values @react-native-async-storage/async-storage
44
+ ```
39
45
 
40
46
  ### Prebuild
41
47
 
48
+ ```shell
42
49
  npx expo prebuild
50
+ ```
43
51
 
44
52
  ### Import Storage from @instantdb/react-native-mmkv
45
53
 
@@ -51,11 +59,11 @@ npx expo prebuild
51
59
  // * Works offline
52
60
 
53
61
  import { init, id } from '@instantdb/react-native';
54
- improt MMKVStore from '@instantdb/react-native-mmkv';
62
+ import MMKVStore from '@instantdb/react-native-mmkv';
55
63
 
56
64
  const db = init({
57
- appId: process.env.NEXT_PUBLIC_APP_ID,
58
- Store: MMKVStore
65
+ appId: process.env.EXPO_PUBLIC_INSTANT_APP_ID,
66
+ Store: MMKVStore,
59
67
  });
60
68
 
61
69
  function Chat() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instantdb/react-native-mmkv",
3
- "version": "0.22.113",
3
+ "version": "0.22.114-experimental.cli-info.21418642680.1",
4
4
  "description": "React Native MMKV interface for Instant DB",
5
5
  "homepage": "https://github.com/instantdb/instant/tree/main/client/packages/react-native-mmkv",
6
6
  "repository": {
@@ -25,7 +25,7 @@
25
25
  "react-native-mmkv": ">=1.15"
26
26
  },
27
27
  "dependencies": {
28
- "@instantdb/core": "0.22.113"
28
+ "@instantdb/core": "0.22.114-experimental.cli-info.21418642680.1"
29
29
  },
30
30
  "scripts": {
31
31
  "test": "vitest",