@decocms/tanstack 7.0.2 → 7.1.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.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@decocms/tanstack",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.1.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Deco framework binding for TanStack Start + Cloudflare Workers",
|
|
6
6
|
"repository": {
|
|
@@ -21,9 +21,9 @@
|
|
|
21
21
|
"lint:unused": "knip"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@decocms/blocks": "7.
|
|
25
|
-
"@decocms/blocks-admin": "7.
|
|
26
|
-
"@decocms/blocks-cli": "7.
|
|
24
|
+
"@decocms/blocks": "7.1.1",
|
|
25
|
+
"@decocms/blocks-admin": "7.1.1",
|
|
26
|
+
"@decocms/blocks-cli": "7.1.1",
|
|
27
27
|
"@deco-cx/warp-node": "^0.3.16",
|
|
28
28
|
"fast-json-patch": "^3.1.0",
|
|
29
29
|
"ws": "^8.18.0"
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
useState,
|
|
10
10
|
} from "react";
|
|
11
11
|
import { Await, ClientOnly } from "@tanstack/react-router";
|
|
12
|
-
import type { SectionOptions } from "@decocms/blocks/cms";
|
|
12
|
+
import type { SectionOptions } from "@decocms/blocks/cms/client";
|
|
13
13
|
import {
|
|
14
14
|
getResolvedComponent,
|
|
15
15
|
getSectionOptions,
|
|
@@ -17,7 +17,10 @@ import {
|
|
|
17
17
|
getSyncComponent,
|
|
18
18
|
preloadSectionModule,
|
|
19
19
|
setResolvedComponent,
|
|
20
|
-
} from "@decocms/blocks/cms";
|
|
20
|
+
} from "@decocms/blocks/cms/client";
|
|
21
|
+
// Type-only: erased at compile time, so importing from the full barrel here
|
|
22
|
+
// doesn't drag resolve.ts's runtime code (and its node:async_hooks chain)
|
|
23
|
+
// into this component's client bundle.
|
|
21
24
|
import type { DeferredSection, ResolvedSection } from "@decocms/blocks/cms";
|
|
22
25
|
import { type Device, DeviceProvider } from "@decocms/blocks/sdk/useDevice";
|
|
23
26
|
|