@instantdb/core
Advanced tools
Comparing version 0.10.21 to 0.10.22
@@ -33,4 +33,4 @@ export function areObjectKeysEqual(a, b) { | ||
export function isObject(obj) { | ||
return typeof obj === "object" && obj !== null; | ||
return typeof obj === "object" && obj !== null && !Array.isArray(obj); | ||
} | ||
//# sourceMappingURL=object.js.map |
@@ -40,5 +40,5 @@ "use strict"; | ||
function isObject(obj) { | ||
return typeof obj === "object" && obj !== null; | ||
return typeof obj === "object" && obj !== null && !Array.isArray(obj); | ||
} | ||
exports.isObject = isObject; | ||
//# sourceMappingURL=object.js.map |
{ | ||
"name": "@instantdb/core", | ||
"version": "0.10.21", | ||
"version": "0.10.22", | ||
"description": "Instant's core local abstraction", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -53,3 +53,3 @@ export function areObjectKeysEqual(a, b) { | ||
export function isObject(obj) { | ||
return typeof obj === "object" && obj !== null; | ||
return typeof obj === "object" && obj !== null && !Array.isArray(obj); | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
2830072