@sitevision/api 1.0.15 → 1.0.16
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
|
@@ -73,6 +73,15 @@ export function use(callback: () => void): void;
|
|
|
73
73
|
export function getUrl(url: string): string;
|
|
74
74
|
export function getStandaloneUrl(url: string): string;
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* Note! Client side only
|
|
78
|
+
*/
|
|
79
|
+
export function on(event: string, callback: () => void, context: any): void;
|
|
80
|
+
/**
|
|
81
|
+
* Note! Client side only
|
|
82
|
+
*/
|
|
83
|
+
export function off(event: string, callback: () => void, context: any): void;
|
|
84
|
+
|
|
76
85
|
declare namespace router {
|
|
77
86
|
export { get, post, put, use, getUrl, getStandaloneUrl };
|
|
78
87
|
}
|
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.16",
|
|
4
4
|
"author": "Sitevision AB",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"types": "index.d.ts",
|
|
@@ -26,5 +26,5 @@
|
|
|
26
26
|
"access": "public",
|
|
27
27
|
"directory": "dist"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "380c3ff3713ccb3a667f6c8768242b9d44e37a40"
|
|
30
30
|
}
|