evikit 2.9.0 → 2.9.1

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.
Files changed (2) hide show
  1. package/index.d.ts +6 -6
  2. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -23,6 +23,12 @@ export type SsrApp = (props: {
23
23
  i18n: i18n.Gettext;
24
24
  }) => VNode<any>; // eslint-disable-line @typescript-eslint/no-explicit-any
25
25
 
26
+ export interface SsrProps {
27
+ cookie?: string | undefined;
28
+ lang?: string;
29
+ url: string;
30
+ }
31
+
26
32
  export interface SsrResponse {
27
33
  data: {
28
34
  dehydratedState: DehydratedState;
@@ -46,12 +52,6 @@ type H<T extends keyof JSX.IntrinsicElements> = (
46
52
  ...children: ComponentChildren[]
47
53
  ) => VNode<ClassAttributes<HTMLElement> & JSX.IntrinsicElements[T]>;
48
54
 
49
- interface SsrProps {
50
- cookie?: string | undefined;
51
- lang?: string;
52
- url: string;
53
- }
54
-
55
55
  export function dehydrate(
56
56
  queryClient: ReturnType<typeof useQueryClient>,
57
57
  options: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "evikit",
3
3
  "description": "Preact/SQLite SSR framework for small web apps",
4
- "version": "2.9.0",
4
+ "version": "2.9.1",
5
5
  "type": "module",
6
6
  "exports": {
7
7
  ".": "./index.js",