@tanstack/vue-db 0.0.5 → 0.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,10 +5,6 @@ const useLiveQuery = require("./useLiveQuery.cjs");
5
5
  const db = require("@tanstack/db");
6
6
  exports.useOptimisticMutation = useOptimisticMutation.useOptimisticMutation;
7
7
  exports.useLiveQuery = useLiveQuery.useLiveQuery;
8
- Object.defineProperty(exports, "Collection", {
9
- enumerable: true,
10
- get: () => db.Collection
11
- });
12
8
  Object.defineProperty(exports, "createTransaction", {
13
9
  enumerable: true,
14
10
  get: () => db.createTransaction
@@ -1 +1 @@
1
- {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
@@ -1,5 +1,5 @@
1
1
  export * from './useOptimisticMutation.cjs';
2
2
  export * from './useLiveQuery.cjs';
3
3
  export * from '@tanstack/db';
4
- export { Collection } from '@tanstack/db';
4
+ export type { Collection } from '@tanstack/db';
5
5
  export { createTransaction } from '@tanstack/db';
@@ -1,5 +1,5 @@
1
1
  export * from './useOptimisticMutation.js';
2
2
  export * from './useLiveQuery.js';
3
3
  export * from '@tanstack/db';
4
- export { Collection } from '@tanstack/db';
4
+ export type { Collection } from '@tanstack/db';
5
5
  export { createTransaction } from '@tanstack/db';
package/dist/esm/index.js CHANGED
@@ -1,9 +1,8 @@
1
1
  import { useOptimisticMutation } from "./useOptimisticMutation.js";
2
2
  import { useLiveQuery } from "./useLiveQuery.js";
3
3
  export * from "@tanstack/db";
4
- import { Collection, createTransaction } from "@tanstack/db";
4
+ import { createTransaction } from "@tanstack/db";
5
5
  export {
6
- Collection,
7
6
  createTransaction,
8
7
  useLiveQuery,
9
8
  useOptimisticMutation
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tanstack/vue-db",
3
3
  "description": "Vue integration for @tanstack/db",
4
- "version": "0.0.5",
4
+ "version": "0.0.6",
5
5
  "author": "Kyle Mathews",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -17,7 +17,7 @@
17
17
  ],
18
18
  "dependencies": {
19
19
  "@tanstack/vue-store": "^0.7.0",
20
- "@tanstack/db": "0.0.6"
20
+ "@tanstack/db": "0.0.7"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@electric-sql/client": "1.0.0",
package/src/index.ts CHANGED
@@ -6,5 +6,5 @@ export * from "./useLiveQuery"
6
6
  export * from "@tanstack/db"
7
7
 
8
8
  // Re-export some stuff explicitly to ensure the type & value is exported
9
- export { Collection } from "@tanstack/db"
9
+ export type { Collection } from "@tanstack/db"
10
10
  export { createTransaction } from "@tanstack/db"