@infinite-table/infinite-react 8.0.0-canary.0 → 8.0.0-canary.1

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/index.dev.js CHANGED
@@ -1322,6 +1322,14 @@ function shallowEqualObjects(objA, objB, ignoreKeys) {
1322
1322
  if (!objA || !objB) {
1323
1323
  return false;
1324
1324
  }
1325
+ const typeA = typeof objA;
1326
+ const typeB = typeof objB;
1327
+ if (typeA !== typeB) {
1328
+ return false;
1329
+ }
1330
+ if (typeA !== "object") {
1331
+ return false;
1332
+ }
1325
1333
  var aKeys = Object.keys(objA);
1326
1334
  var bKeys = Object.keys(objB);
1327
1335
  if (ignoreKeys) {
@@ -26425,7 +26433,7 @@ var useLicense = (licenseKey = "") => {
26425
26433
  }
26426
26434
  let valid2 = isValidLicense(licenseKey, {
26427
26435
  publishedAt: 1624970570587,
26428
- version: "8.0.0-canary.0"
26436
+ version: "8.0.0-canary.1"
26429
26437
  });
26430
26438
  if (!licenseKey && !valid2 && isInsidePlayground) {
26431
26439
  return true;
package/index.dev.mjs CHANGED
@@ -1253,6 +1253,14 @@ function shallowEqualObjects(objA, objB, ignoreKeys) {
1253
1253
  if (!objA || !objB) {
1254
1254
  return false;
1255
1255
  }
1256
+ const typeA = typeof objA;
1257
+ const typeB = typeof objB;
1258
+ if (typeA !== typeB) {
1259
+ return false;
1260
+ }
1261
+ if (typeA !== "object") {
1262
+ return false;
1263
+ }
1256
1264
  var aKeys = Object.keys(objA);
1257
1265
  var bKeys = Object.keys(objB);
1258
1266
  if (ignoreKeys) {
@@ -26373,7 +26381,7 @@ var useLicense = (licenseKey = "") => {
26373
26381
  }
26374
26382
  let valid2 = isValidLicense(licenseKey, {
26375
26383
  publishedAt: 1624970570587,
26376
- version: "8.0.0-canary.0"
26384
+ version: "8.0.0-canary.1"
26377
26385
  });
26378
26386
  if (!licenseKey && !valid2 && isInsidePlayground) {
26379
26387
  return true;