@instantdb/core
Advanced tools
Comparing version 0.12.14 to 0.12.15-alpha.0
@@ -123,3 +123,3 @@ import { test, expect } from "vitest"; | ||
[ | ||
"mutliple OR matches", | ||
"multiple OR matches", | ||
{ | ||
@@ -126,0 +126,0 @@ or: [{ handle: "stopa" }, { handle: "joe" }], |
@@ -54,3 +54,3 @@ import Reactor from "./Reactor"; | ||
* | ||
* // You can also provide a a schema for type safety and editor autocomplete! | ||
* // You can also provide a schema for type safety and editor autocomplete! | ||
* | ||
@@ -57,0 +57,0 @@ * type Schema = { |
@@ -76,3 +76,3 @@ "use strict"; | ||
* | ||
* // You can also provide a a schema for type safety and editor autocomplete! | ||
* // You can also provide a schema for type safety and editor autocomplete! | ||
* | ||
@@ -98,3 +98,3 @@ * type Schema = { | ||
const showDevtool = | ||
// show widget by deafult? | ||
// show widget by default? | ||
("devtool" in config ? Boolean(config.devtool) : defaultOpenDevtool) && | ||
@@ -101,0 +101,0 @@ // only run on localhost (dev env) |
@@ -54,3 +54,3 @@ import Reactor from "./Reactor"; | ||
* | ||
* // You can also provide a a schema for type safety and editor autocomplete! | ||
* // You can also provide a schema for type safety and editor autocomplete! | ||
* | ||
@@ -57,0 +57,0 @@ * type Schema = { |
@@ -37,3 +37,3 @@ import Reactor from "./Reactor"; | ||
* | ||
* // You can also provide a a schema for type safety and editor autocomplete! | ||
* // You can also provide a schema for type safety and editor autocomplete! | ||
* | ||
@@ -59,3 +59,3 @@ * type Schema = { | ||
const showDevtool = | ||
// show widget by deafult? | ||
// show widget by default? | ||
("devtool" in config ? Boolean(config.devtool) : defaultOpenDevtool) && | ||
@@ -62,0 +62,0 @@ // only run on localhost (dev env) |
@@ -11,7 +11,7 @@ type NonEmpty<T> = { | ||
}; | ||
type WhereClauseWithCombinaton = { | ||
type WhereClauseWithCombination = { | ||
or?: WhereClause[] | WhereClauseValue; | ||
and?: WhereClause[] | WhereClauseValue; | ||
}; | ||
type WhereClause = WhereClauseWithCombinaton | (WhereClauseWithCombinaton & BaseWhereClause); | ||
type WhereClause = WhereClauseWithCombination | (WhereClauseWithCombination & BaseWhereClause); | ||
/** | ||
@@ -18,0 +18,0 @@ * A tuple representing a cursor. |
@@ -616,3 +616,3 @@ // @ts-check | ||
// If we are here, this means that we have sent this mutation, we are online | ||
// but we have not received a response. If it's this long, something must be worng, | ||
// but we have not received a response. If it's this long, something must be wrong, | ||
// so we error with a timeout. | ||
@@ -619,0 +619,0 @@ const mut = this.pendingMutations.currentValue.get(eventId); |
@@ -11,7 +11,7 @@ type NonEmpty<T> = { | ||
}; | ||
type WhereClauseWithCombinaton = { | ||
type WhereClauseWithCombination = { | ||
or?: WhereClause[] | WhereClauseValue; | ||
and?: WhereClause[] | WhereClauseValue; | ||
}; | ||
type WhereClause = WhereClauseWithCombinaton | (WhereClauseWithCombinaton & BaseWhereClause); | ||
type WhereClause = WhereClauseWithCombination | (WhereClauseWithCombination & BaseWhereClause); | ||
/** | ||
@@ -18,0 +18,0 @@ * A tuple representing a cursor. |
@@ -644,3 +644,3 @@ "use strict"; | ||
// If we are here, this means that we have sent this mutation, we are online | ||
// but we have not received a response. If it's this long, something must be worng, | ||
// but we have not received a response. If it's this long, something must be wrong, | ||
// so we error with a timeout. | ||
@@ -647,0 +647,0 @@ const mut = this.pendingMutations.currentValue.get(eventId); |
{ | ||
"name": "@instantdb/core", | ||
"version": "0.12.14", | ||
"version": "v0.12.15-alpha.0", | ||
"description": "Instant's core local abstraction", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -109,3 +109,3 @@ import Reactor from "./Reactor"; | ||
* | ||
* // You can also provide a a schema for type safety and editor autocomplete! | ||
* // You can also provide a schema for type safety and editor autocomplete! | ||
* | ||
@@ -149,3 +149,3 @@ * type Schema = { | ||
const showDevtool = | ||
// show widget by deafult? | ||
// show widget by default? | ||
("devtool" in config ? Boolean(config.devtool) : defaultOpenDevtool) && | ||
@@ -152,0 +152,0 @@ // only run on localhost (dev env) |
@@ -19,3 +19,3 @@ // Query | ||
type WhereClauseWithCombinaton = { | ||
type WhereClauseWithCombination = { | ||
or?: WhereClause[] | WhereClauseValue; | ||
@@ -26,4 +26,4 @@ and?: WhereClause[] | WhereClauseValue; | ||
type WhereClause = | ||
| WhereClauseWithCombinaton | ||
| (WhereClauseWithCombinaton & BaseWhereClause); | ||
| WhereClauseWithCombination | ||
| (WhereClauseWithCombination & BaseWhereClause); | ||
@@ -30,0 +30,0 @@ /** |
@@ -680,3 +680,3 @@ // @ts-check | ||
// If we are here, this means that we have sent this mutation, we are online | ||
// but we have not received a response. If it's this long, something must be worng, | ||
// but we have not received a response. If it's this long, something must be wrong, | ||
// so we error with a timeout. | ||
@@ -683,0 +683,0 @@ const mut = this.pendingMutations.currentValue.get(eventId); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
1637487
5