@monkeyplus/flow 6.0.28 → 6.0.29

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": "@monkeyplus/flow",
3
- "version": "6.0.28",
3
+ "version": "6.0.29",
4
4
  "description": "@monkeyplus/flow package-first runtime with Vite, Nitro, Vue and a workspace playground.",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
@@ -14,7 +14,8 @@ export function useUtils() {
14
14
  return inject("utils", {});
15
15
  }
16
16
  export function useSharedContext() {
17
- return inject("sharedContext", {});
17
+ const ctx = inject("context", {});
18
+ return ctx.context?.layout || {};
18
19
  }
19
20
  export function useGlobal() {
20
21
  console.warn('deprecated change to "useSharedContext"');