x-runtime-lib 0.8.178 → 0.8.179

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.
@@ -1,7 +1,7 @@
1
1
  import { QuickJSRuntime } from 'quickjs-emscripten';
2
2
  import { Ref, ShallowRef } from 'vue';
3
3
  import { Sandbox } from '@/sandbox';
4
- import { Data, Depends, Env, Mode, Node } from '@/types';
4
+ import { Data, Depends, Env, Meta, Mode, Node } from '@/types';
5
5
  export declare function provideOrg(org: string): void;
6
6
  export declare function injectOrg(): string;
7
7
  export declare function provideEnv(env: Env): void;
@@ -20,6 +20,8 @@ export declare function provideId(id: string): void;
20
20
  export declare function injectId(): string;
21
21
  export declare function provideType(type: 'page' | 'comp'): void;
22
22
  export declare function injectType(): "page" | "comp";
23
+ export declare function provideMeta(meta: Ref<Meta | undefined>): void;
24
+ export declare function injectMeta(): Ref<Meta | undefined>;
23
25
  export declare function provideData(data: Ref<Data | undefined>): void;
24
26
  export declare function injectData(): Ref<Data | undefined>;
25
27
  export declare function provideDepends(depends: ShallowRef<Depends>): void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "x-runtime-lib",
3
3
  "private": false,
4
- "version": "0.8.178",
4
+ "version": "0.8.179",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",
7
7
  "types": "dist/index.d.ts",