@modastar/z-router 0.0.3 → 0.0.4

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/dist/index.d.cts CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Pathname } from '@/lib/router';
3
2
  import * as react from 'react';
4
3
 
5
4
  interface Route {
@@ -17,7 +16,7 @@ interface RootRoute extends Route {
17
16
 
18
17
  interface Location {
19
18
  index: number;
20
- pathname: Pathname;
19
+ pathname: string;
21
20
  params: any;
22
21
  query: any;
23
22
  state?: Map<string, any>;
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
- import { Pathname } from '@/lib/router';
3
2
  import * as react from 'react';
4
3
 
5
4
  interface Route {
@@ -17,7 +16,7 @@ interface RootRoute extends Route {
17
16
 
18
17
  interface Location {
19
18
  index: number;
20
- pathname: Pathname;
19
+ pathname: string;
21
20
  params: any;
22
21
  query: any;
23
22
  state?: Map<string, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modastar/z-router",
3
- "version": "0.0.3",
3
+ "version": "0.0.4",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "homepage": "https://github.com/xLanStar/z-router#readme",