@viewfly/router 0.0.18 → 0.0.20

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/README.md CHANGED
@@ -109,7 +109,7 @@ function App() {
109
109
  },
110
110
  {
111
111
  name: 'list',
112
- component: Promise.resolve().then(() => List)
112
+ asyncComponent: () => Promise.resolve().then(() => List)
113
113
  },
114
114
  {
115
115
  name: 'detail',
@@ -1,6 +1,6 @@
1
1
  import { Props, JSXInternal } from '@viewfly/core';
2
2
  export interface RootRouterProps extends Props {
3
3
  basePath?: string;
4
- children?: JSXInternal.JSXChildNode;
4
+ children?: JSXInternal.JSXNode;
5
5
  }
6
6
  export declare function RootRouter(props: RootRouterProps): () => import("@viewfly/core/jsx-runtime").JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@viewfly/router",
3
- "version": "0.0.18",
3
+ "version": "0.0.20",
4
4
  "description": "A routing library based on the Viewfly framework that can be run in the browser or Nodejs background.",
5
5
  "main": "./bundles/index.js",
6
6
  "module": "./bundles/index.esm.js",
@@ -12,8 +12,8 @@
12
12
  "license": "MIT",
13
13
  "keywords": [],
14
14
  "dependencies": {
15
- "@tanbo/stream": "^1.2.0",
16
- "@viewfly/core": "^0.0.18",
15
+ "@tanbo/stream": "^1.2.3",
16
+ "@viewfly/core": "^0.0.20",
17
17
  "url": "^0.11.1"
18
18
  },
19
19
  "devDependencies": {
@@ -34,5 +34,5 @@
34
34
  "bugs": {
35
35
  "url": "https://github.com/viewfly/viewfly.git/issues"
36
36
  },
37
- "gitHead": "1cc6ec2decf3173792086553af0b3e171d49deae"
37
+ "gitHead": "a19a00bd5aff994452cba16277e0d1d90570bdb9"
38
38
  }