@inertiajs/svelte 2.3.17 → 2.3.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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { type CreateInertiaAppOptionsForCSR, type InertiaAppResponse, type PageProps } from '@inertiajs/core';
|
|
1
|
+
import { type CreateInertiaAppOptionsForCSR, type InertiaAppResponse, type PageProps, type SharedPageProps } from '@inertiajs/core';
|
|
2
2
|
import App, { type InertiaAppProps } from './components/App.svelte';
|
|
3
3
|
import type { ComponentResolver, SvelteInertiaAppConfig } from './types';
|
|
4
4
|
type SvelteRenderResult = {
|
|
@@ -14,5 +14,5 @@ type SetupOptions<SharedProps extends PageProps> = {
|
|
|
14
14
|
props: InertiaAppProps<SharedProps>;
|
|
15
15
|
};
|
|
16
16
|
type InertiaAppOptions<SharedProps extends PageProps> = CreateInertiaAppOptionsForCSR<SharedProps, ComponentResolver, SetupOptions<SharedProps>, SvelteRenderResult | void, SvelteInertiaAppConfig>;
|
|
17
|
-
export default function createInertiaApp<SharedProps extends PageProps = PageProps>({ id, resolve, setup, progress, page, defaults, }: InertiaAppOptions<SharedProps>): InertiaAppResponse;
|
|
17
|
+
export default function createInertiaApp<SharedProps extends PageProps = PageProps & SharedPageProps>({ id, resolve, setup, progress, page, defaults, }: InertiaAppOptions<SharedProps>): InertiaAppResponse;
|
|
18
18
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inertiajs/svelte",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.18",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "The Svelte adapter for Inertia.js",
|
|
6
6
|
"contributors": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"@sveltejs/adapter-auto": "^3.3.1",
|
|
40
|
-
"@sveltejs/kit": "^2.53.
|
|
40
|
+
"@sveltejs/kit": "^2.53.3",
|
|
41
41
|
"@sveltejs/package": "^2.5.7",
|
|
42
42
|
"@sveltejs/vite-plugin-svelte": "^3.1.2",
|
|
43
43
|
"axios": "^1.13.5",
|
|
@@ -56,7 +56,7 @@
|
|
|
56
56
|
"@types/lodash-es": "^4.17.12",
|
|
57
57
|
"laravel-precognition": "^1.0.2",
|
|
58
58
|
"lodash-es": "^4.17.23",
|
|
59
|
-
"@inertiajs/core": "2.3.
|
|
59
|
+
"@inertiajs/core": "2.3.18"
|
|
60
60
|
},
|
|
61
61
|
"scripts": {
|
|
62
62
|
"build": "pnpm package && svelte-check --tsconfig ./tsconfig.json && publint",
|