@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.
- package/dist/cjs/index.cjs +0 -4
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/cjs/index.d.cts +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -2
- package/package.json +2 -2
- package/src/index.ts +1 -1
package/dist/cjs/index.cjs
CHANGED
|
@@ -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
|
package/dist/cjs/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;"}
|
package/dist/cjs/index.d.cts
CHANGED
package/dist/esm/index.d.ts
CHANGED
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 {
|
|
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.
|
|
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.
|
|
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"
|