@inertiajs/core
Advanced tools
+1
-1
| { | ||
| "name": "@inertiajs/core", | ||
| "version": "3.5.0", | ||
| "version": "3.6.0", | ||
| "license": "MIT", | ||
@@ -5,0 +5,0 @@ "description": "A framework for creating server-driven single page apps.", |
@@ -16,1 +16,2 @@ import { GlobalEventTrigger } from './types'; | ||
| export declare const fireFlashEvent: GlobalEventTrigger<'flash'>; | ||
| export declare const fireLocationEvent: GlobalEventTrigger<'location'>; |
@@ -16,2 +16,3 @@ import { Response } from './response'; | ||
| isDeferredPropsRequest(): boolean; | ||
| isPollRequest(): boolean; | ||
| onCancelToken(cb: VoidFunction): void; | ||
@@ -18,0 +19,0 @@ markAsFinished(): void; |
@@ -19,2 +19,3 @@ import Queue from './queue'; | ||
| deferredProps?: boolean; | ||
| poll?: boolean; | ||
| }): void; | ||
@@ -21,0 +22,0 @@ remember(data: unknown, key?: string): void; |
+10
-0
@@ -351,2 +351,10 @@ import { NamedInputEvent, ValidationConfig, Validator } from 'laravel-precognition'; | ||
| }; | ||
| location: { | ||
| parameters: [URL, boolean]; | ||
| details: { | ||
| url: URL; | ||
| versionChange: boolean; | ||
| }; | ||
| result: boolean | void; | ||
| }; | ||
| }; | ||
@@ -406,2 +414,3 @@ export type PageEvent = 'newComponent' | 'firstLoad'; | ||
| deferredProps?: boolean; | ||
| poll?: boolean; | ||
| cached?: boolean; | ||
@@ -728,4 +737,5 @@ }; | ||
| 'inertia:flash': GlobalEvent<'flash'>; | ||
| 'inertia:location': GlobalEvent<'location'>; | ||
| } | ||
| } | ||
| export {}; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
AI-detected potential code anomaly
Supply chain riskAI has identified unusual behaviors that may pose a security risk.
645026
0.45%7411
0.46%2
100%