@octanejs/hook-form 0.1.49 → 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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/hook-form",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "engines": {
@@ -32,7 +32,7 @@
32
32
  ".": "./src/index.ts"
33
33
  },
34
34
  "peerDependencies": {
35
- "octane": "^0.1.51 || ^0.2.0"
35
+ "octane": "^0.1.51 || ^0.2.0 || ^0.3.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@swc/core": "1.15.41",
@@ -41,20 +41,20 @@
41
41
  "@testing-library/react": "16.3.2",
42
42
  "@types/react": "^19.2.17",
43
43
  "@types/react-dom": "^19.2.3",
44
- "@tsrx/react": "^0.2.63",
44
+ "@tsrx/react": "^0.3.0",
45
45
  "esbuild": "^0.28.1",
46
46
  "jest": "30.4.2",
47
47
  "jest-environment-jsdom": "30.4.1",
48
48
  "jest-environment-node": "30.4.1",
49
49
  "jest-fixed-jsdom": "0.0.10",
50
- "react": "^19.2.7",
51
- "react-dom": "^19.2.7",
50
+ "react": "19.2.7",
51
+ "react-dom": "19.2.7",
52
52
  "react-hook-form": "7.81.0",
53
53
  "vitest": "^4.1.10",
54
54
  "whatwg-fetch": "3.6.20",
55
55
  "zod": "^3.25.76",
56
- "@octanejs/testing-library": "0.1.49",
57
- "octane": "0.2.0"
56
+ "@octanejs/testing-library": "0.1.52",
57
+ "octane": "0.3.0"
58
58
  },
59
59
  "scripts": {
60
60
  "test": "pnpm upstream:verify && pnpm test:type-parity && vitest run --root ../.. --project hook-form && vitest run --root ../.. --project hook-form-differential && vitest run --root ../.. --project hook-form-server && vitest run --root ../.. --project hook-form-pristine",
@@ -76,9 +76,9 @@ export function FormProvider<
76
76
  ],
77
77
  );
78
78
 
79
- <HookFormContext.Provider value={memoizedValue as unknown as UseFormReturn}>
80
- <HookFormControlContext.Provider
79
+ <HookFormContext value={memoizedValue as unknown as UseFormReturn}>
80
+ <HookFormControlContext
81
81
  value={memoizedValue.control as Control}
82
- >{children}</HookFormControlContext.Provider>
83
- </HookFormContext.Provider>
82
+ >{children}</HookFormControlContext>
83
+ </HookFormContext>
84
84
  }