@sitevision/api 1.0.16 → 1.0.18
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/common/router/index.d.ts
CHANGED
|
@@ -82,8 +82,13 @@ export function on(event: string, callback: () => void, context: any): void;
|
|
|
82
82
|
*/
|
|
83
83
|
export function off(event: string, callback: () => void, context: any): void;
|
|
84
84
|
|
|
85
|
+
/**
|
|
86
|
+
* Note! Client side only
|
|
87
|
+
*/
|
|
88
|
+
export function navigate(url: string, options: any): void;
|
|
89
|
+
|
|
85
90
|
declare namespace router {
|
|
86
|
-
export { get, post, put, use, getUrl, getStandaloneUrl };
|
|
91
|
+
export { get, post, put, use, getUrl, getStandaloneUrl, on, off, navigate };
|
|
87
92
|
}
|
|
88
93
|
|
|
89
94
|
export default router;
|
package/common/router/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sitevision/api",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.18",
|
|
4
4
|
"author": "Sitevision AB",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"deploy": "yarn build && npm publish dist"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@babel/cli": "^7.
|
|
21
|
+
"@babel/cli": "^7.19.3",
|
|
22
22
|
"copyfiles": "^2.4.1",
|
|
23
23
|
"rimraf": "^3.0.2"
|
|
24
24
|
},
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"access": "public",
|
|
27
27
|
"directory": "dist"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "dadf1bd5ed86a89e48952a87d5439bd09da340b5"
|
|
30
30
|
}
|