@triplit/svelte 0.2.8 → 0.2.9

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @triplit/svelte
2
2
 
3
+ ## 0.2.9
4
+
5
+ ### Patch Changes
6
+
7
+ - 37b0d416: fixup initial fetching state
8
+
3
9
  ## 0.2.8
4
10
 
5
11
  ### Patch Changes
@@ -12,7 +12,7 @@
12
12
  export function useQuery(client, query, options) {
13
13
  let results = $state(undefined);
14
14
  let isInitialFetch = $state(true);
15
- let fetchingLocal = $state(false);
15
+ let fetchingLocal = $state(true);
16
16
  let fetchingRemote = $state(client.connectionStatus !== 'CLOSED');
17
17
  let fetching = $derived(fetchingLocal || (isInitialFetch && fetchingRemote));
18
18
  let error = $state(undefined);
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.2.8",
4
+ "version": "0.2.9",
5
5
  "source": "./src/index.svelte.ts",
6
6
  "main": "./dist/index.svelte.js",
7
7
  "module": "./dist/index.svelte.js",