@ray-js/framework 0.5.9-beta-1 → 0.5.10-beta-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.
@@ -1,3 +1,2 @@
1
1
  export * from './createApp';
2
- export * from './createAppInstance';
3
2
  export declare function getApp(): import("@ray-js/runtime/lib/instance").AppInstance | null;
package/lib/app/index.js CHANGED
@@ -1,6 +1,5 @@
1
1
  import { getCurrent } from '@ray-js/runtime';
2
2
  export * from './createApp';
3
- export * from './createAppInstance';
4
3
  export function getApp() {
5
4
  var current = getCurrent();
6
5
  return current.app;
@@ -1,5 +1,7 @@
1
1
  import React from 'react';
2
- export declare class AppWrapper extends React.Component {
2
+ export declare class AppWrapper extends React.Component<{
3
+ children: any;
4
+ }> {
3
5
  componentDidMount(): void;
4
6
  render(): JSX.Element;
5
7
  }
@@ -6,6 +6,7 @@ declare type PageWrapperProps = {
6
6
  isClassType: boolean;
7
7
  page: Page;
8
8
  getGlobalConfig: (path: string | string[], defaultValue?: any) => any;
9
+ children: any;
9
10
  };
10
11
  export declare class PageWrapper extends React.Component<PageWrapperProps, any> {
11
12
  $instance: PageInstance;
package/lib/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { createApp, getApp } from './app';
2
- export { lifecycle, PageInstance, PageInstanceContext, useAppEvent, usePageEvent, withPageLifecycle, } from '@ray-js/runtime';
2
+ export { lifecycle, PageInstance, PageInstanceContext, withPageLifecycle, useAppEvent, usePageEvent, useNativeEffect, useQuery, usePageInstance, useComponentInstance, } from '@ray-js/runtime';
3
3
  export * from './api';
package/lib/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  export { createApp, getApp } from './app';
2
- export { lifecycle, PageInstance, PageInstanceContext, useAppEvent, usePageEvent, withPageLifecycle } from '@ray-js/runtime';
2
+ export { lifecycle, PageInstance, PageInstanceContext, withPageLifecycle, useAppEvent, usePageEvent, useNativeEffect, useQuery, usePageInstance, useComponentInstance } from '@ray-js/runtime';
3
3
  export * from './api';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ray-js/framework",
3
- "version": "0.5.9-beta-1",
3
+ "version": "0.5.10-beta-1",
4
4
  "description": "Ray Core",
5
5
  "keywords": [
6
6
  "ray"
@@ -20,20 +20,20 @@
20
20
  "watch": "tsc -p ./tsconfig.build.json --module esnext --outDir lib --watch"
21
21
  },
22
22
  "dependencies": {
23
- "@ray-js/framework-mp": "^0.5.9-beta-1",
24
- "@ray-js/framework-shared": "^0.5.9-beta-1",
25
- "@ray-js/library": "^0.5.9-beta-1",
26
- "@ray-js/location": "^0.5.9-beta-1",
27
- "@ray-js/router": "^0.5.9-beta-1",
28
- "@ray-js/runtime": "^0.5.9-beta-1",
23
+ "@ray-js/framework-mp": "^0.5.10-beta-1",
24
+ "@ray-js/framework-shared": "^0.5.10-beta-1",
25
+ "@ray-js/library": "^0.5.10-beta-1",
26
+ "@ray-js/location": "^0.5.10-beta-1",
27
+ "@ray-js/router": "^0.5.10-beta-1",
28
+ "@ray-js/runtime": "^0.5.10-beta-1",
29
29
  "clsx": "^1.1.1",
30
30
  "hoist-non-react-statics": "^3.3.2",
31
31
  "lodash.get": "^4.4.2",
32
32
  "tiny-invariant": "^1.1.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@ray-js/cli": "^0.5.9-beta-1",
36
- "@ray-js/types": "^0.5.9-beta-1"
35
+ "@ray-js/cli": "^0.5.10-beta-1",
36
+ "@ray-js/types": "^0.5.10-beta-1"
37
37
  },
38
38
  "maintainers": [
39
39
  {
@@ -41,6 +41,6 @@
41
41
  "email": "tuyafe@tuya.com"
42
42
  }
43
43
  ],
44
- "gitHead": "45232c09ae46aee3f29663e455158965ad329ff3",
44
+ "gitHead": "269dad23e6a4cbbc8289142e6a60cc2586e4c130",
45
45
  "repository": {}
46
46
  }