Skip to content

Commit

Permalink
Fix infinite query types (#26)
Browse files Browse the repository at this point in the history
* fix: wrap TData with InfiniteData for infinite queries

resolves #25

* chore: bump version
  • Loading branch information
vishalbalaji committed Feb 17, 2024
1 parent 1091973 commit a9095e1
Show file tree
Hide file tree
Showing 3 changed files with 301 additions and 301 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ By default, these 3 procedures will pre-fetch the data required to pre-render th

These procedures can be used as such:

> **NOTE:** [Gotta await top-level promises from SvelteKit v2](https://kit.svelte.dev/docs/migrating-to-sveltekit-2#top-level-promises-are-no-longer-awaited).
> **NOTE:** [Gotta await top-level promises to pre-fetch data from SvelteKit v2](https://kit.svelte.dev/docs/migrating-to-sveltekit-2#top-level-promises-are-no-longer-awaited).
```typescript
// +page.ts
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "trpc-svelte-query-adapter",
"version": "2.2.2",
"version": "2.2.3",
"description": "A simple adapter to use `@tanstack/svelte-query` with trpc, similar to `@trpc/react-query`.",
"keywords": [
"trpc",
Expand Down
Loading

0 comments on commit a9095e1

Please sign in to comment.