@live-change/db 0.3.63 → 0.3.64

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.
Files changed (2) hide show
  1. package/lib/Database.js +1 -1
  2. package/package.json +1 -1
package/lib/Database.js CHANGED
@@ -286,7 +286,7 @@ class Database {
286
286
 
287
287
  handleUnhandledRejectionInIndex(name, reason, promise) {
288
288
  const config = this.config.indexes[name]
289
- console.error("INDEX", name, "unhandledRejection", reason, "CODE:\n", config.code)
289
+ console.error("INDEX", name, "unhandledRejection", reason, "CODE:\n", config?.code)
290
290
  console.error("DELETING INDEX", name)
291
291
  process.nextTick(() => {
292
292
  if(!config) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@live-change/db",
3
- "version": "0.3.63",
3
+ "version": "0.3.64",
4
4
  "description": "Database with observable data for live queries",
5
5
  "main": "index.js",
6
6
  "scripts": {