@triplit/svelte 0.1.3 → 0.1.5

Sign up to get free protection for your applications and to get access to all the features.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @triplit/svelte
2
2
 
3
+ ## 0.1.5
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [6c75805]
8
+ - @triplit/client@0.3.34
9
+
10
+ ## 0.1.4
11
+
12
+ ### Patch Changes
13
+
14
+ - d2c8029: fixup builds
15
+
3
16
  ## 0.1.1
4
17
 
5
18
  ### Patch Changes
@@ -7,5 +7,5 @@ export declare function useQuery<M extends Models<any, any> | undefined, CN exte
7
7
  updateQuery: (query: ClientQueryBuilder<M, CN>) => void;
8
8
  };
9
9
  export declare function useConnectionStatus(client: TriplitClient<any>): {
10
- readonly status: any;
10
+ readonly status: import("@triplit/client").ConnectionStatus;
11
11
  };
@@ -1,3 +1,4 @@
1
+ /// <reference types="svelte" />
1
2
  export function useQuery(client, query, options) {
2
3
  let results = $state(undefined);
3
4
  let fetching = $state(false);
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.3",
4
+ "version": "0.1.5",
5
5
  "source": "./src/index.svelte.ts",
6
6
  "main": "./dist/index.svelte.js",
7
7
  "module": "./dist/index.svelte.js",
@@ -27,13 +27,14 @@
27
27
  "/dist"
28
28
  ],
29
29
  "dependencies": {
30
- "@triplit/client": "^0.3.33"
30
+ "@triplit/client": "^0.3.34"
31
31
  },
32
32
  "devDependencies": {
33
33
  "@sveltejs/package": "^2.3.0",
34
34
  "@tsconfig/svelte": "^5.0.2",
35
35
  "svelte": "^5.0.0-next.90",
36
36
  "svelte-check": "^3.6.7",
37
+ "tslib": "^2.6.2",
37
38
  "typescript": "^5.2.2"
38
39
  }
39
40
  }