@inertiajs/svelte 2.3.24 → 2.3.25

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.
@@ -94,9 +94,7 @@ export function hasPrevious() {
94
94
  export function hasNext() {
95
95
  return infiniteScrollInstance?.dataManager.hasNext() || false;
96
96
  }
97
- onMount(() => {
98
- setTimeout(setupInfiniteScrollInstance);
99
- });
97
+ onMount(setupInfiniteScrollInstance);
100
98
  function syncStateFromDataManager() {
101
99
  requestCount = infiniteScrollInstance.dataManager.getRequestCount();
102
100
  hasPreviousPage = infiniteScrollInstance.dataManager.hasPrevious();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inertiajs/svelte",
3
- "version": "2.3.24",
3
+ "version": "2.3.25",
4
4
  "license": "MIT",
5
5
  "description": "The Svelte adapter for Inertia.js",
6
6
  "contributors": [
@@ -56,7 +56,7 @@
56
56
  "@types/lodash-es": "^4.17.12",
57
57
  "laravel-precognition": "^1.0.2",
58
58
  "lodash-es": "^4.18.1",
59
- "@inertiajs/core": "2.3.24"
59
+ "@inertiajs/core": "2.3.25"
60
60
  },
61
61
  "scripts": {
62
62
  "build": "pnpm package && svelte-check --tsconfig ./tsconfig.json && publint",