@instantdb/core
Advanced tools
Comparing version 0.14.11 to 0.14.12
@@ -34,3 +34,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
}; | ||
const QUERY_ONCE_TIMEOUT = 5000; | ||
const QUERY_ONCE_TIMEOUT = 10000; | ||
const WS_OPEN_STATUS = 1; | ||
@@ -864,2 +864,7 @@ const defaultConfig = { | ||
}); | ||
Object.values(this.queryOnceDfds) | ||
.flat() | ||
.forEach(({ eventId, q }) => { | ||
this._trySendAuthed(eventId, { op: "add-query", q }); | ||
}); | ||
const muts = this._rewriteMutations(this.attrs, this.pendingMutations.currentValue); | ||
@@ -866,0 +871,0 @@ muts.forEach((mut, eventId) => { |
@@ -62,3 +62,3 @@ "use strict"; | ||
}; | ||
const QUERY_ONCE_TIMEOUT = 5000; | ||
const QUERY_ONCE_TIMEOUT = 10000; | ||
const WS_OPEN_STATUS = 1; | ||
@@ -892,2 +892,7 @@ const defaultConfig = { | ||
}); | ||
Object.values(this.queryOnceDfds) | ||
.flat() | ||
.forEach(({ eventId, q }) => { | ||
this._trySendAuthed(eventId, { op: "add-query", q }); | ||
}); | ||
const muts = this._rewriteMutations(this.attrs, this.pendingMutations.currentValue); | ||
@@ -894,0 +899,0 @@ muts.forEach((mut, eventId) => { |
{ | ||
"name": "@instantdb/core", | ||
"version": "v0.14.11", | ||
"version": "v0.14.12", | ||
"description": "Instant's core local abstraction", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -27,3 +27,3 @@ // @ts-check | ||
const QUERY_ONCE_TIMEOUT = 5000; | ||
const QUERY_ONCE_TIMEOUT = 10_000; | ||
@@ -973,2 +973,9 @@ const WS_OPEN_STATUS = 1; | ||
}); | ||
Object.values(this.queryOnceDfds) | ||
.flat() | ||
.forEach(({ eventId, q }) => { | ||
this._trySendAuthed(eventId, { op: "add-query", q }); | ||
}); | ||
const muts = this._rewriteMutations( | ||
@@ -975,0 +982,0 @@ this.attrs, |
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
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 too big to display
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
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
2381288
41886