@triplit/svelte 0.1.25 → 0.1.27

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # @triplit/svelte
2
2
 
3
+ ## 0.1.27
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [3664595]
8
+ - @triplit/client@0.3.55
9
+
10
+ ## 0.1.26
11
+
12
+ ### Patch Changes
13
+
14
+ - 2c2a4d3: Improve type intellisense readability
15
+ - Updated dependencies [2c2a4d3]
16
+ - Updated dependencies [352b619]
17
+ - @triplit/client@0.3.54
18
+
3
19
  ## 0.1.25
4
20
 
5
21
  ### 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.27",
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.55"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@sveltejs/package": "^2.3.0",