wagmi 0.5.2 → 0.5.3
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/dist/wagmi.cjs.dev.js +1 -1
- package/dist/wagmi.cjs.prod.js +1 -1
- package/dist/wagmi.esm.js +1 -1
- package/package.json +1 -1
package/dist/wagmi.cjs.dev.js
CHANGED
|
@@ -571,7 +571,7 @@ function useSyncExternalStoreWithTracked(subscribe, getSnapshot) {
|
|
|
571
571
|
let isEqual = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : (a, b) => deepEqual(a, b);
|
|
572
572
|
const trackedKeys = React__namespace.useRef([]);
|
|
573
573
|
const result = withSelector_js.useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, x => x, (a, b) => {
|
|
574
|
-
if (isPlainObject(a) && isPlainObject(b)
|
|
574
|
+
if (isPlainObject(a) && isPlainObject(b)) {
|
|
575
575
|
for (const key of trackedKeys.current) {
|
|
576
576
|
const equal = isEqual(a[key], b[key]);
|
|
577
577
|
if (!equal) return false;
|
package/dist/wagmi.cjs.prod.js
CHANGED
|
@@ -571,7 +571,7 @@ function useSyncExternalStoreWithTracked(subscribe, getSnapshot) {
|
|
|
571
571
|
let isEqual = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : (a, b) => deepEqual(a, b);
|
|
572
572
|
const trackedKeys = React__namespace.useRef([]);
|
|
573
573
|
const result = withSelector_js.useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, x => x, (a, b) => {
|
|
574
|
-
if (isPlainObject(a) && isPlainObject(b)
|
|
574
|
+
if (isPlainObject(a) && isPlainObject(b)) {
|
|
575
575
|
for (const key of trackedKeys.current) {
|
|
576
576
|
const equal = isEqual(a[key], b[key]);
|
|
577
577
|
if (!equal) return false;
|
package/dist/wagmi.esm.js
CHANGED
|
@@ -547,7 +547,7 @@ function useSyncExternalStoreWithTracked(subscribe, getSnapshot) {
|
|
|
547
547
|
let isEqual = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : (a, b) => deepEqual(a, b);
|
|
548
548
|
const trackedKeys = React.useRef([]);
|
|
549
549
|
const result = useSyncExternalStoreWithSelector(subscribe, getSnapshot, getServerSnapshot, x => x, (a, b) => {
|
|
550
|
-
if (isPlainObject(a) && isPlainObject(b)
|
|
550
|
+
if (isPlainObject(a) && isPlainObject(b)) {
|
|
551
551
|
for (const key of trackedKeys.current) {
|
|
552
552
|
const equal = isEqual(a[key], b[key]);
|
|
553
553
|
if (!equal) return false;
|