@cruxjs/client 0.1.3 → 0.1.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/README.md +1 -1
- package/dist/index.d.cts +2 -1
- package/dist/index.d.ts +2 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
</div>
|
|
9
9
|
|
|
10
10
|
<div align="center">
|
|
11
|
-
<img src="https://img.shields.io/badge/v-0.1.
|
|
11
|
+
<img src="https://img.shields.io/badge/v-0.1.4-black"/>
|
|
12
12
|
<a href="https://github.com/cruxjs-org"><img src="https://img.shields.io/badge/🔥-@cruxjs-black"/></a>
|
|
13
13
|
<br>
|
|
14
14
|
<img src="https://img.shields.io/badge/coverage-~%25-brightgreen" alt="Test Coverage" />
|
package/dist/index.d.cts
CHANGED
|
@@ -53,6 +53,7 @@ interface ThemeConfig {
|
|
|
53
53
|
default: string;
|
|
54
54
|
available: string[];
|
|
55
55
|
}
|
|
56
|
+
type LangConfig = I18nConfig;
|
|
56
57
|
|
|
57
58
|
declare class ClientManager {
|
|
58
59
|
private router;
|
|
@@ -156,4 +157,4 @@ declare const replace: (path: string) => void | undefined;
|
|
|
156
157
|
|
|
157
158
|
declare function start(config: ClientManagerConfig): Promise<ClientManager>;
|
|
158
159
|
|
|
159
|
-
export { CM, type ClientExtension, ClientManager, type ClientManagerConfig, type ClientManagerHooks, type ExtensionContext, type RouteComponent, type ThemeConfig, back, forward, getRouter, push, replace, start };
|
|
160
|
+
export { CM, type ClientExtension, ClientManager, type ClientManagerConfig, type ClientManagerHooks, type ExtensionContext, type LangConfig, type RouteComponent, type ThemeConfig, back, forward, getRouter, push, replace, start };
|
package/dist/index.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ interface ThemeConfig {
|
|
|
53
53
|
default: string;
|
|
54
54
|
available: string[];
|
|
55
55
|
}
|
|
56
|
+
type LangConfig = I18nConfig;
|
|
56
57
|
|
|
57
58
|
declare class ClientManager {
|
|
58
59
|
private router;
|
|
@@ -156,4 +157,4 @@ declare const replace: (path: string) => void | undefined;
|
|
|
156
157
|
|
|
157
158
|
declare function start(config: ClientManagerConfig): Promise<ClientManager>;
|
|
158
159
|
|
|
159
|
-
export { CM, type ClientExtension, ClientManager, type ClientManagerConfig, type ClientManagerHooks, type ExtensionContext, type RouteComponent, type ThemeConfig, back, forward, getRouter, push, replace, start };
|
|
160
|
+
export { CM, type ClientExtension, ClientManager, type ClientManagerConfig, type ClientManagerHooks, type ExtensionContext, type LangConfig, type RouteComponent, type ThemeConfig, back, forward, getRouter, push, replace, start };
|
package/package.json
CHANGED