@octanejs/mobx 0.1.48 → 0.1.50

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 +5 -2
  2. package/package.json +5 -6
package/README.md CHANGED
@@ -7,10 +7,13 @@ Octane hooks.
7
7
  ## Installation
8
8
 
9
9
  ```sh
10
- npm install @octanejs/mobx
11
- pnpm add @octanejs/mobx
10
+ npm install @octanejs/mobx mobx
11
+ pnpm add @octanejs/mobx mobx
12
12
  ```
13
13
 
14
+ As in `mobx-react-lite`, `mobx` is a peer dependency, so the binding re-exports
15
+ and observes your application's MobX instance.
16
+
14
17
  ```tsrx
15
18
  import { makeAutoObservable, observer } from '@octanejs/mobx';
16
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/mobx",
3
- "version": "0.1.48",
3
+ "version": "0.1.50",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -36,17 +36,16 @@
36
36
  "exports": {
37
37
  ".": "./src/index.ts"
38
38
  },
39
- "dependencies": {
40
- "mobx": "6.16.1"
41
- },
42
39
  "peerDependencies": {
43
- "octane": "^0.16.0"
40
+ "mobx": "^6.16.1",
41
+ "octane": "^0.17.0"
44
42
  },
45
43
  "devDependencies": {
46
44
  "@tsrx/react": "^0.4.5",
47
45
  "esbuild": "^0.28.1",
46
+ "mobx": "6.16.1",
48
47
  "mobx-react-lite": "4.1.1",
49
- "octane": "0.16.0",
48
+ "octane": "0.17.0",
50
49
  "react": "19.2.7",
51
50
  "react-dom": "19.2.7",
52
51
  "vitest": "^4.1.10"