@triplit/svelte 0.1.25 → 0.1.26

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # @triplit/svelte
2
2
 
3
+ ## 0.1.26
4
+
5
+ ### Patch Changes
6
+
7
+ - 2c2a4d3: Improve type intellisense readability
8
+ - Updated dependencies [2c2a4d3]
9
+ - Updated dependencies [352b619]
10
+ - @triplit/client@0.3.54
11
+
3
12
  ## 0.1.25
4
13
 
5
14
  ### Patch Changes
@@ -1,10 +1,10 @@
1
- import type { ClientFetchResult, ClientQuery, QueryBuilder, Models, SubscriptionOptions, TriplitClient } from '@triplit/client';
1
+ import type { ClientFetchResult, ClientQuery, QueryBuilder, Models, SubscriptionOptions, TriplitClient, Unalias } from '@triplit/client';
2
2
  import { WorkerClient } from '@triplit/client/worker-client';
3
3
  export declare function useQuery<M extends Models<any, any> | undefined, Q extends ClientQuery<M, any, any, any>>(client: TriplitClient<any> | WorkerClient<any>, query: QueryBuilder<Q>, options?: Partial<SubscriptionOptions>): {
4
4
  fetching: boolean;
5
5
  fetchingLocal: boolean;
6
6
  fetchingRemote: boolean;
7
- results: ClientFetchResult<Q> | undefined;
7
+ results: Unalias<ClientFetchResult<Q>> | undefined;
8
8
  error: any;
9
9
  updateQuery: (query: QueryBuilder<Q>) => void;
10
10
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@triplit/svelte",
3
3
  "packageManager": "yarn@3.4.1",
4
- "version": "0.1.25",
4
+ "version": "0.1.26",
5
5
  "source": "./src/index.svelte.ts",
6
6
  "main": "./dist/index.svelte.js",
7
7
  "module": "./dist/index.svelte.js",
@@ -27,7 +27,7 @@
27
27
  "/dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@triplit/client": "^0.3.53"
30
+ "@triplit/client": "^0.3.54"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@sveltejs/package": "^2.3.0",