@triplit/svelte 0.2.8 → 0.2.10

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @triplit/svelte
2
2
 
3
+ ## 0.2.10
4
+
5
+ ### Patch Changes
6
+
7
+ - @triplit/client@0.5.9
8
+
9
+ ## 0.2.9
10
+
11
+ ### Patch Changes
12
+
13
+ - 37b0d416: fixup initial fetching state
14
+
3
15
  ## 0.2.8
4
16
 
5
17
  ### 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.10",
5
5
  "source": "./src/index.svelte.ts",
6
6
  "main": "./dist/index.svelte.js",
7
7
  "module": "./dist/index.svelte.js",
@@ -29,7 +29,7 @@
29
29
  "/dist"
30
30
  ],
31
31
  "dependencies": {
32
- "@triplit/client": "^0.5.8"
32
+ "@triplit/client": "^0.5.9"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@sveltejs/package": "^2.3.5",