@holo-js/adapter-next 0.1.2 → 0.1.4
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/dist/client.mjs +1 -1
- package/dist/index.d.ts +1 -1
- package/package.json +11 -4
package/dist/client.mjs
CHANGED
|
@@ -27,7 +27,7 @@ function areEqual(left, right) {
|
|
|
27
27
|
return false;
|
|
28
28
|
}
|
|
29
29
|
function areOptionsEqual(left, right) {
|
|
30
|
-
return left.action === right.action && left.method === right.method && left.validateOn === right.validateOn && Boolean(left.submitter) === Boolean(right.submitter) && areEqual(left.initialValues, right.initialValues) && areEqual(left.initialState, right.initialState);
|
|
30
|
+
return left.action === right.action && left.method === right.method && left.csrf === right.csrf && left.validateOn === right.validateOn && Boolean(left.submitter) === Boolean(right.submitter) && areEqual(left.initialValues, right.initialValues) && areEqual(left.initialState, right.initialState);
|
|
31
31
|
}
|
|
32
32
|
function createSubmitterBridge(optionsRef) {
|
|
33
33
|
return (context) => {
|
package/dist/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare function createNextHoloHelpers<TCustom extends HoloConfigMap = HoloConfi
|
|
|
11
11
|
declare function resetNextHoloProject(): Promise<void>;
|
|
12
12
|
declare const adapterNextInternals: {
|
|
13
13
|
getState: () => _holo_js_core.HoloFrameworkAdapterState<HoloAdapterProject<object>>;
|
|
14
|
-
resolveOptions: (projectOptions?: HoloFrameworkOptions
|
|
14
|
+
resolveOptions: (projectOptions?: HoloFrameworkOptions) => _holo_js_core.ResolvedHoloFrameworkOptions;
|
|
15
15
|
};
|
|
16
16
|
|
|
17
17
|
export { type NextHoloOptions, type NextHoloProject, adapterNextInternals, createNextHoloHelpers, createNextHoloProject, initializeNextHoloProject, nextHoloCapabilities, resetNextHoloProject };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@holo-js/adapter-next",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Holo-JS Framework - Next.js adapter",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -28,9 +28,16 @@
|
|
|
28
28
|
"test": "vitest --run"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@holo-js/config": "^0.1.
|
|
32
|
-
"@holo-js/core": "^0.1.
|
|
33
|
-
|
|
31
|
+
"@holo-js/config": "^0.1.4",
|
|
32
|
+
"@holo-js/core": "^0.1.4"
|
|
33
|
+
},
|
|
34
|
+
"peerDependencies": {
|
|
35
|
+
"@holo-js/forms": "^0.1.4"
|
|
36
|
+
},
|
|
37
|
+
"peerDependenciesMeta": {
|
|
38
|
+
"@holo-js/forms": {
|
|
39
|
+
"optional": true
|
|
40
|
+
}
|
|
34
41
|
},
|
|
35
42
|
"devDependencies": {
|
|
36
43
|
"@types/node": "^22.10.2",
|