@signaldb/core 2.0.0-beta.5 → 2.0.0-beta.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/.vite/manifest.json +5 -5
- package/dist/index.cjs16.js +1 -1
- package/dist/index.cjs17.js +1 -1
- package/dist/index.cjs18.js +1 -1
- package/dist/index.cjs22.js +1 -1
- package/dist/index.cjs23.js +1 -1
- package/dist/index.cjs25.js +1 -1
- package/dist/index.cjs27.js +1 -1
- package/dist/index.cjs30.js +7 -5
- package/dist/index.cjs31.js +5 -40
- package/dist/index.cjs32.js +40 -27
- package/dist/index.cjs33.js +27 -3
- package/dist/index.cjs34.js +3 -7
- package/dist/index16.mjs +1 -1
- package/dist/index17.mjs +1 -1
- package/dist/index18.mjs +1 -1
- package/dist/index22.mjs +1 -1
- package/dist/index23.mjs +1 -1
- package/dist/index25.mjs +1 -1
- package/dist/index27.mjs +1 -1
- package/dist/index30.mjs +7 -5
- package/dist/index31.mjs +5 -40
- package/dist/index32.mjs +40 -27
- package/dist/index33.mjs +27 -3
- package/dist/index34.mjs +3 -7
- package/package.json +1 -1
package/dist/.vite/manifest.json
CHANGED
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
]
|
|
121
121
|
},
|
|
122
122
|
"src/createIndexProvider.ts": {
|
|
123
|
-
"file": "index.
|
|
123
|
+
"file": "index.cjs34.js",
|
|
124
124
|
"name": "createIndexProvider",
|
|
125
125
|
"src": "src/createIndexProvider.ts"
|
|
126
126
|
},
|
|
@@ -206,7 +206,7 @@
|
|
|
206
206
|
]
|
|
207
207
|
},
|
|
208
208
|
"src/utils/intersection.ts": {
|
|
209
|
-
"file": "index.
|
|
209
|
+
"file": "index.cjs31.js",
|
|
210
210
|
"name": "utils/intersection",
|
|
211
211
|
"src": "src/utils/intersection.ts"
|
|
212
212
|
},
|
|
@@ -216,7 +216,7 @@
|
|
|
216
216
|
"src": "src/utils/isEqual.ts"
|
|
217
217
|
},
|
|
218
218
|
"src/utils/isFieldExpression.ts": {
|
|
219
|
-
"file": "index.
|
|
219
|
+
"file": "index.cjs32.js",
|
|
220
220
|
"name": "utils/isFieldExpression",
|
|
221
221
|
"src": "src/utils/isFieldExpression.ts"
|
|
222
222
|
},
|
|
@@ -263,7 +263,7 @@
|
|
|
263
263
|
"src": "src/utils/serializeValue.ts"
|
|
264
264
|
},
|
|
265
265
|
"src/utils/set.ts": {
|
|
266
|
-
"file": "index.
|
|
266
|
+
"file": "index.cjs33.js",
|
|
267
267
|
"name": "utils/set",
|
|
268
268
|
"src": "src/utils/set.ts"
|
|
269
269
|
},
|
|
@@ -276,7 +276,7 @@
|
|
|
276
276
|
]
|
|
277
277
|
},
|
|
278
278
|
"src/utils/uniqueBy.ts": {
|
|
279
|
-
"file": "index.
|
|
279
|
+
"file": "index.cjs30.js",
|
|
280
280
|
"name": "utils/uniqueBy",
|
|
281
281
|
"src": "src/utils/uniqueBy.ts"
|
|
282
282
|
}
|
package/dist/index.cjs16.js
CHANGED
|
@@ -223,8 +223,8 @@ class WorkerDataAdapterHost {
|
|
|
223
223
|
if (!storageAdapter)
|
|
224
224
|
throw new Error(`No persistence adapter for collection ${collectionName}`);
|
|
225
225
|
const setupPromise = (async () => {
|
|
226
|
-
await Promise.all(indices.map((index) => storageAdapter.createIndex(index)));
|
|
227
226
|
await storageAdapter.setup();
|
|
227
|
+
await Promise.all(indices.map((index) => storageAdapter.createIndex(index)));
|
|
228
228
|
})();
|
|
229
229
|
this.storageAdapterReady.set(collectionName, setupPromise);
|
|
230
230
|
await setupPromise;
|
package/dist/index.cjs17.js
CHANGED
|
@@ -282,8 +282,8 @@ class AutoFetchDataAdapter {
|
|
|
282
282
|
const storage = this.storageAdapters.get(collectionName);
|
|
283
283
|
if (!storage)
|
|
284
284
|
throw new Error(`No persistence adapter for collection ${collectionName}`);
|
|
285
|
-
await Promise.all(indices.map((field) => storage.createIndex(field)));
|
|
286
285
|
await storage.setup();
|
|
286
|
+
await Promise.all(indices.map((field) => storage.createIndex(field)));
|
|
287
287
|
}
|
|
288
288
|
ensureStorageAdapter(name) {
|
|
289
289
|
if (this.storageAdapters.has(name))
|
package/dist/index.cjs18.js
CHANGED
package/dist/index.cjs22.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const createIndexProvider = require("./index.
|
|
2
|
+
const createIndexProvider = require("./index.cjs34.js");
|
|
3
3
|
const get = require("./index.cjs10.js");
|
|
4
4
|
const getMatchingKeys = require("./index.cjs27.js");
|
|
5
5
|
const serializeValue = require("./index.cjs11.js");
|
package/dist/index.cjs23.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
|
|
3
|
-
const intersection = require("./index.
|
|
3
|
+
const intersection = require("./index.cjs31.js");
|
|
4
4
|
function getMergedIndexInfo(queryFunctions, selector) {
|
|
5
5
|
return queryFunctions.reduce((memoOrPromise, queryFunction) => {
|
|
6
6
|
const resultOrPromise = queryFunction(selector);
|
package/dist/index.cjs25.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
const get = require("./index.cjs10.js");
|
|
3
|
-
const set = require("./index.
|
|
3
|
+
const set = require("./index.cjs33.js");
|
|
4
4
|
function project(item, fields) {
|
|
5
5
|
const allFieldsDeactivated = Object.values(fields).every((value) => value === 0);
|
|
6
6
|
if (allFieldsDeactivated) {
|
package/dist/index.cjs27.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const isFieldExpression = require("./index.
|
|
2
|
+
const isFieldExpression = require("./index.cjs32.js");
|
|
3
3
|
const serializeValue = require("./index.cjs11.js");
|
|
4
4
|
function getMatchingKeys(field, selector) {
|
|
5
5
|
const result = { include: null, exclude: null };
|
package/dist/index.cjs30.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
2
|
+
function uniqueBy(array, fn) {
|
|
3
|
+
const set = /* @__PURE__ */ new Set();
|
|
4
|
+
return array.filter((element) => {
|
|
5
|
+
const value = typeof fn === "function" ? fn(element) : element[fn];
|
|
6
|
+
return !set.has(value) && set.add(value);
|
|
7
|
+
});
|
|
6
8
|
}
|
|
7
|
-
module.exports =
|
|
9
|
+
module.exports = uniqueBy;
|
package/dist/index.cjs31.js
CHANGED
|
@@ -1,42 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
"$lt",
|
|
7
|
-
"$lte",
|
|
8
|
-
"$in",
|
|
9
|
-
"$nin",
|
|
10
|
-
"$ne",
|
|
11
|
-
"$exists",
|
|
12
|
-
"$not",
|
|
13
|
-
"$expr",
|
|
14
|
-
"$jsonSchema",
|
|
15
|
-
"$mod",
|
|
16
|
-
"$regex",
|
|
17
|
-
"$options",
|
|
18
|
-
"$text",
|
|
19
|
-
"$where",
|
|
20
|
-
"$all",
|
|
21
|
-
"$elemMatch",
|
|
22
|
-
"$size",
|
|
23
|
-
"$bitsAllClear",
|
|
24
|
-
"$bitsAllSet",
|
|
25
|
-
"$bitsAnyClear",
|
|
26
|
-
"$bitsAnySet"
|
|
27
|
-
]);
|
|
28
|
-
function isFieldExpression(expression) {
|
|
29
|
-
if (typeof expression !== "object" || expression == null) {
|
|
30
|
-
return false;
|
|
31
|
-
}
|
|
32
|
-
const keys = Object.keys(expression);
|
|
33
|
-
if (keys.length === 0) {
|
|
34
|
-
return false;
|
|
35
|
-
}
|
|
36
|
-
const hasInvalidKeys = keys.some((key) => !expressionKeys.has(key));
|
|
37
|
-
if (hasInvalidKeys)
|
|
38
|
-
return false;
|
|
39
|
-
const hasValidKeys = keys.every((key) => expressionKeys.has(key));
|
|
40
|
-
return hasValidKeys;
|
|
2
|
+
function intersection(...arrays) {
|
|
3
|
+
if (arrays.length === 0)
|
|
4
|
+
return [];
|
|
5
|
+
return [...new Set(arrays.reduce((a, b) => a.filter((c) => b.includes(c))))];
|
|
41
6
|
}
|
|
42
|
-
module.exports =
|
|
7
|
+
module.exports = intersection;
|
package/dist/index.cjs32.js
CHANGED
|
@@ -1,29 +1,42 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
2
|
+
const expressionKeys = /* @__PURE__ */ new Set([
|
|
3
|
+
"$eq",
|
|
4
|
+
"$gt",
|
|
5
|
+
"$gte",
|
|
6
|
+
"$lt",
|
|
7
|
+
"$lte",
|
|
8
|
+
"$in",
|
|
9
|
+
"$nin",
|
|
10
|
+
"$ne",
|
|
11
|
+
"$exists",
|
|
12
|
+
"$not",
|
|
13
|
+
"$expr",
|
|
14
|
+
"$jsonSchema",
|
|
15
|
+
"$mod",
|
|
16
|
+
"$regex",
|
|
17
|
+
"$options",
|
|
18
|
+
"$text",
|
|
19
|
+
"$where",
|
|
20
|
+
"$all",
|
|
21
|
+
"$elemMatch",
|
|
22
|
+
"$size",
|
|
23
|
+
"$bitsAllClear",
|
|
24
|
+
"$bitsAllSet",
|
|
25
|
+
"$bitsAnyClear",
|
|
26
|
+
"$bitsAnySet"
|
|
27
|
+
]);
|
|
28
|
+
function isFieldExpression(expression) {
|
|
29
|
+
if (typeof expression !== "object" || expression == null) {
|
|
30
|
+
return false;
|
|
31
|
+
}
|
|
32
|
+
const keys = Object.keys(expression);
|
|
33
|
+
if (keys.length === 0) {
|
|
34
|
+
return false;
|
|
35
|
+
}
|
|
36
|
+
const hasInvalidKeys = keys.some((key) => !expressionKeys.has(key));
|
|
37
|
+
if (hasInvalidKeys)
|
|
38
|
+
return false;
|
|
39
|
+
const hasValidKeys = keys.every((key) => expressionKeys.has(key));
|
|
40
|
+
return hasValidKeys;
|
|
28
41
|
}
|
|
29
|
-
module.exports =
|
|
42
|
+
module.exports = isFieldExpression;
|
package/dist/index.cjs33.js
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
2
|
+
function set(object, path, value, deleteIfUndefined = false) {
|
|
3
|
+
if (object == null)
|
|
4
|
+
return object;
|
|
5
|
+
const segments = path.split(/[.[\]]/g);
|
|
6
|
+
if (segments[0] === "")
|
|
7
|
+
segments.shift();
|
|
8
|
+
if (segments.at(-1) === "")
|
|
9
|
+
segments.pop();
|
|
10
|
+
const apply = (node) => {
|
|
11
|
+
if (segments.length > 1) {
|
|
12
|
+
const key = segments.shift();
|
|
13
|
+
const nextIsNumber = !Number.isNaN(Number.parseInt(segments[0], 10));
|
|
14
|
+
if (node[key] === void 0) {
|
|
15
|
+
node[key] = nextIsNumber ? [] : {};
|
|
16
|
+
}
|
|
17
|
+
apply(node[key]);
|
|
18
|
+
} else {
|
|
19
|
+
if (deleteIfUndefined && value === void 0) {
|
|
20
|
+
delete node[segments[0]];
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
node[segments[0]] = value;
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
apply(object);
|
|
27
|
+
return object;
|
|
4
28
|
}
|
|
5
|
-
module.exports =
|
|
29
|
+
module.exports = set;
|
package/dist/index.cjs34.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
function
|
|
3
|
-
|
|
4
|
-
return array.filter((element) => {
|
|
5
|
-
const value = typeof fn === "function" ? fn(element) : element[fn];
|
|
6
|
-
return !set.has(value) && set.add(value);
|
|
7
|
-
});
|
|
2
|
+
function createIndexProvider(definition) {
|
|
3
|
+
return definition;
|
|
8
4
|
}
|
|
9
|
-
module.exports =
|
|
5
|
+
module.exports = createIndexProvider;
|
package/dist/index16.mjs
CHANGED
|
@@ -222,8 +222,8 @@ class WorkerDataAdapterHost {
|
|
|
222
222
|
if (!storageAdapter)
|
|
223
223
|
throw new Error(`No persistence adapter for collection ${collectionName}`);
|
|
224
224
|
const setupPromise = (async () => {
|
|
225
|
-
await Promise.all(indices.map((index) => storageAdapter.createIndex(index)));
|
|
226
225
|
await storageAdapter.setup();
|
|
226
|
+
await Promise.all(indices.map((index) => storageAdapter.createIndex(index)));
|
|
227
227
|
})();
|
|
228
228
|
this.storageAdapterReady.set(collectionName, setupPromise);
|
|
229
229
|
await setupPromise;
|
package/dist/index17.mjs
CHANGED
|
@@ -281,8 +281,8 @@ class AutoFetchDataAdapter {
|
|
|
281
281
|
const storage = this.storageAdapters.get(collectionName);
|
|
282
282
|
if (!storage)
|
|
283
283
|
throw new Error(`No persistence adapter for collection ${collectionName}`);
|
|
284
|
-
await Promise.all(indices.map((field) => storage.createIndex(field)));
|
|
285
284
|
await storage.setup();
|
|
285
|
+
await Promise.all(indices.map((field) => storage.createIndex(field)));
|
|
286
286
|
}
|
|
287
287
|
ensureStorageAdapter(name) {
|
|
288
288
|
if (this.storageAdapters.has(name))
|
package/dist/index18.mjs
CHANGED
package/dist/index22.mjs
CHANGED
package/dist/index23.mjs
CHANGED
package/dist/index25.mjs
CHANGED
package/dist/index27.mjs
CHANGED
package/dist/index30.mjs
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
function uniqueBy(array, fn) {
|
|
2
|
+
const set = /* @__PURE__ */ new Set();
|
|
3
|
+
return array.filter((element) => {
|
|
4
|
+
const value = typeof fn === "function" ? fn(element) : element[fn];
|
|
5
|
+
return !set.has(value) && set.add(value);
|
|
6
|
+
});
|
|
5
7
|
}
|
|
6
8
|
export {
|
|
7
|
-
|
|
9
|
+
uniqueBy as default
|
|
8
10
|
};
|
package/dist/index31.mjs
CHANGED
|
@@ -1,43 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
"$lt",
|
|
6
|
-
"$lte",
|
|
7
|
-
"$in",
|
|
8
|
-
"$nin",
|
|
9
|
-
"$ne",
|
|
10
|
-
"$exists",
|
|
11
|
-
"$not",
|
|
12
|
-
"$expr",
|
|
13
|
-
"$jsonSchema",
|
|
14
|
-
"$mod",
|
|
15
|
-
"$regex",
|
|
16
|
-
"$options",
|
|
17
|
-
"$text",
|
|
18
|
-
"$where",
|
|
19
|
-
"$all",
|
|
20
|
-
"$elemMatch",
|
|
21
|
-
"$size",
|
|
22
|
-
"$bitsAllClear",
|
|
23
|
-
"$bitsAllSet",
|
|
24
|
-
"$bitsAnyClear",
|
|
25
|
-
"$bitsAnySet"
|
|
26
|
-
]);
|
|
27
|
-
function isFieldExpression(expression) {
|
|
28
|
-
if (typeof expression !== "object" || expression == null) {
|
|
29
|
-
return false;
|
|
30
|
-
}
|
|
31
|
-
const keys = Object.keys(expression);
|
|
32
|
-
if (keys.length === 0) {
|
|
33
|
-
return false;
|
|
34
|
-
}
|
|
35
|
-
const hasInvalidKeys = keys.some((key) => !expressionKeys.has(key));
|
|
36
|
-
if (hasInvalidKeys)
|
|
37
|
-
return false;
|
|
38
|
-
const hasValidKeys = keys.every((key) => expressionKeys.has(key));
|
|
39
|
-
return hasValidKeys;
|
|
1
|
+
function intersection(...arrays) {
|
|
2
|
+
if (arrays.length === 0)
|
|
3
|
+
return [];
|
|
4
|
+
return [...new Set(arrays.reduce((a, b) => a.filter((c) => b.includes(c))))];
|
|
40
5
|
}
|
|
41
6
|
export {
|
|
42
|
-
|
|
7
|
+
intersection as default
|
|
43
8
|
};
|
package/dist/index32.mjs
CHANGED
|
@@ -1,30 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
1
|
+
const expressionKeys = /* @__PURE__ */ new Set([
|
|
2
|
+
"$eq",
|
|
3
|
+
"$gt",
|
|
4
|
+
"$gte",
|
|
5
|
+
"$lt",
|
|
6
|
+
"$lte",
|
|
7
|
+
"$in",
|
|
8
|
+
"$nin",
|
|
9
|
+
"$ne",
|
|
10
|
+
"$exists",
|
|
11
|
+
"$not",
|
|
12
|
+
"$expr",
|
|
13
|
+
"$jsonSchema",
|
|
14
|
+
"$mod",
|
|
15
|
+
"$regex",
|
|
16
|
+
"$options",
|
|
17
|
+
"$text",
|
|
18
|
+
"$where",
|
|
19
|
+
"$all",
|
|
20
|
+
"$elemMatch",
|
|
21
|
+
"$size",
|
|
22
|
+
"$bitsAllClear",
|
|
23
|
+
"$bitsAllSet",
|
|
24
|
+
"$bitsAnyClear",
|
|
25
|
+
"$bitsAnySet"
|
|
26
|
+
]);
|
|
27
|
+
function isFieldExpression(expression) {
|
|
28
|
+
if (typeof expression !== "object" || expression == null) {
|
|
29
|
+
return false;
|
|
30
|
+
}
|
|
31
|
+
const keys = Object.keys(expression);
|
|
32
|
+
if (keys.length === 0) {
|
|
33
|
+
return false;
|
|
34
|
+
}
|
|
35
|
+
const hasInvalidKeys = keys.some((key) => !expressionKeys.has(key));
|
|
36
|
+
if (hasInvalidKeys)
|
|
37
|
+
return false;
|
|
38
|
+
const hasValidKeys = keys.every((key) => expressionKeys.has(key));
|
|
39
|
+
return hasValidKeys;
|
|
27
40
|
}
|
|
28
41
|
export {
|
|
29
|
-
|
|
42
|
+
isFieldExpression as default
|
|
30
43
|
};
|
package/dist/index33.mjs
CHANGED
|
@@ -1,6 +1,30 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
1
|
+
function set(object, path, value, deleteIfUndefined = false) {
|
|
2
|
+
if (object == null)
|
|
3
|
+
return object;
|
|
4
|
+
const segments = path.split(/[.[\]]/g);
|
|
5
|
+
if (segments[0] === "")
|
|
6
|
+
segments.shift();
|
|
7
|
+
if (segments.at(-1) === "")
|
|
8
|
+
segments.pop();
|
|
9
|
+
const apply = (node) => {
|
|
10
|
+
if (segments.length > 1) {
|
|
11
|
+
const key = segments.shift();
|
|
12
|
+
const nextIsNumber = !Number.isNaN(Number.parseInt(segments[0], 10));
|
|
13
|
+
if (node[key] === void 0) {
|
|
14
|
+
node[key] = nextIsNumber ? [] : {};
|
|
15
|
+
}
|
|
16
|
+
apply(node[key]);
|
|
17
|
+
} else {
|
|
18
|
+
if (deleteIfUndefined && value === void 0) {
|
|
19
|
+
delete node[segments[0]];
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
node[segments[0]] = value;
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
apply(object);
|
|
26
|
+
return object;
|
|
3
27
|
}
|
|
4
28
|
export {
|
|
5
|
-
|
|
29
|
+
set as default
|
|
6
30
|
};
|
package/dist/index34.mjs
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
|
-
function
|
|
2
|
-
|
|
3
|
-
return array.filter((element) => {
|
|
4
|
-
const value = typeof fn === "function" ? fn(element) : element[fn];
|
|
5
|
-
return !set.has(value) && set.add(value);
|
|
6
|
-
});
|
|
1
|
+
function createIndexProvider(definition) {
|
|
2
|
+
return definition;
|
|
7
3
|
}
|
|
8
4
|
export {
|
|
9
|
-
|
|
5
|
+
createIndexProvider as default
|
|
10
6
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@signaldb/core",
|
|
3
|
-
"version": "2.0.0-beta.
|
|
3
|
+
"version": "2.0.0-beta.6",
|
|
4
4
|
"description": "SignalDB is a client-side database that provides a simple MongoDB-like interface to the data with first-class typescript support to achieve an optimistic UI. Data persistence can be achieved by using storage providers that store the data through a JSON interface to places such as localStorage.",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "rimraf dist && vite build",
|