@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 +9 -0
- package/dist/index.svelte.d.ts +2 -2
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
package/dist/index.svelte.d.ts
CHANGED
@@ -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
|
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.
|
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.
|
30
|
+
"@triplit/client": "^0.3.54"
|
31
31
|
},
|
32
32
|
"devDependencies": {
|
33
33
|
"@sveltejs/package": "^2.3.0",
|