@tanstack/svelte-query 4.31.0 → 4.32.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.
@@ -1,5 +1,5 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
- import type { DehydratedState, HydrateOptions } from '@tanstack/query-core';
2
+ import type { HydrateOptions } from '@tanstack/query-core';
3
3
  declare const __propDef: {
4
4
  props: {
5
5
  state: DehydratedState;
@@ -1,8 +1,7 @@
1
1
  import { SvelteComponentTyped } from "svelte";
2
- import { QueryClient } from '@tanstack/query-core';
3
2
  declare const __propDef: {
4
3
  props: {
5
- client?: QueryClient | undefined;
4
+ client?: any;
6
5
  };
7
6
  events: {
8
7
  [evt: string]: CustomEvent<any>;
@@ -1,4 +1,3 @@
1
- import type { QueryClient } from '@tanstack/query-core';
2
1
  /** Retrieves a Client from Svelte's context */
3
2
  export declare const getQueryClientContext: () => QueryClient;
4
3
  /** Sets a QueryClient on Svelte's context */
package/package.json CHANGED
@@ -1,10 +1,14 @@
1
1
  {
2
2
  "name": "@tanstack/svelte-query",
3
- "version": "4.31.0",
3
+ "version": "4.32.1",
4
4
  "description": "Primitives for managing, caching and syncing asynchronous and remote data in Svelte",
5
5
  "author": "Lachlan Collins",
6
6
  "license": "MIT",
7
- "repository": "tanstack/query",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "https://github.com/TanStack/query.git",
10
+ "directory": "packages/svelte-query"
11
+ },
8
12
  "homepage": "https://tanstack.com/query",
9
13
  "funding": {
10
14
  "type": "github",
@@ -44,7 +48,7 @@
44
48
  "vitest": "^0.27.1"
45
49
  },
46
50
  "dependencies": {
47
- "@tanstack/query-core": "4.30.0"
51
+ "@tanstack/query-core": "4.32.1"
48
52
  },
49
53
  "peerDependencies": {
50
54
  "svelte": ">=3 <5"