intelliwaketssveltekitv25 0.1.131 → 0.1.133

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.
@@ -25,7 +25,7 @@
25
25
  {
26
26
  verbose?: boolean
27
27
  updateQueryParams?: boolean | string
28
- invalidate?: (string | URL | ((url: URL) => boolean))[] | null
28
+ invalidate?: (string | URL | ((url: URL) => boolean)) | (string | URL | ((url: URL) => boolean))[] | null
29
29
  class?: string
30
30
  }) = $props()
31
31
 
@@ -106,7 +106,7 @@
106
106
  } = { replaceState: true }
107
107
  if (invalidate) {
108
108
  if (ToArray(invalidate).some(inv => inv === 'All')) gotoSettings.invalidateAll = true
109
- else gotoSettings.invalidate = invalidate
109
+ else gotoSettings.invalidate = ToArray(invalidate)
110
110
  }
111
111
  if (display.page === 1) {
112
112
  if (currentValue) {
@@ -2,7 +2,7 @@ import { type IPaginatorResponse } from '@solidbasisventures/intelliwaketsfounda
2
2
  type $$ComponentProps = (Pick<IPaginatorResponse, 'page' | 'pageCount'> & {
3
3
  verbose?: boolean;
4
4
  updateQueryParams?: boolean | string;
5
- invalidate?: (string | URL | ((url: URL) => boolean))[] | null;
5
+ invalidate?: (string | URL | ((url: URL) => boolean)) | (string | URL | ((url: URL) => boolean))[] | null;
6
6
  class?: string;
7
7
  });
8
8
  declare const Paginator: import("svelte").Component<$$ComponentProps, {}, "page">;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "intelliwaketssveltekitv25",
3
- "version": "0.1.131",
3
+ "version": "0.1.133",
4
4
  "exports": {
5
5
  ".": {
6
6
  "types": "./dist/index.d.ts",