@wagmi/core 0.2.0-next.4 → 0.2.0-next.5
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.
|
@@ -660,13 +660,14 @@ class Client {
|
|
|
660
660
|
partialize: state => {
|
|
661
661
|
var _state$data, _state$data2;
|
|
662
662
|
|
|
663
|
-
return {
|
|
663
|
+
return _objectSpread2(_objectSpread2({}, this.config.autoConnect && {
|
|
664
664
|
data: {
|
|
665
665
|
account: state === null || state === void 0 ? void 0 : (_state$data = state.data) === null || _state$data === void 0 ? void 0 : _state$data.account,
|
|
666
666
|
chain: state === null || state === void 0 ? void 0 : (_state$data2 = state.data) === null || _state$data2 === void 0 ? void 0 : _state$data2.chain
|
|
667
|
-
}
|
|
667
|
+
}
|
|
668
|
+
}), {}, {
|
|
668
669
|
chains: state === null || state === void 0 ? void 0 : state.chains
|
|
669
|
-
};
|
|
670
|
+
});
|
|
670
671
|
}
|
|
671
672
|
})));
|
|
672
673
|
this.storage = storage;
|
|
@@ -660,13 +660,14 @@ class Client {
|
|
|
660
660
|
partialize: state => {
|
|
661
661
|
var _state$data, _state$data2;
|
|
662
662
|
|
|
663
|
-
return {
|
|
663
|
+
return _objectSpread2(_objectSpread2({}, this.config.autoConnect && {
|
|
664
664
|
data: {
|
|
665
665
|
account: state === null || state === void 0 ? void 0 : (_state$data = state.data) === null || _state$data === void 0 ? void 0 : _state$data.account,
|
|
666
666
|
chain: state === null || state === void 0 ? void 0 : (_state$data2 = state.data) === null || _state$data2 === void 0 ? void 0 : _state$data2.chain
|
|
667
|
-
}
|
|
667
|
+
}
|
|
668
|
+
}), {}, {
|
|
668
669
|
chains: state === null || state === void 0 ? void 0 : state.chains
|
|
669
|
-
};
|
|
670
|
+
});
|
|
670
671
|
}
|
|
671
672
|
})));
|
|
672
673
|
this.storage = storage;
|
package/dist/wagmi-core.esm.js
CHANGED
|
@@ -653,13 +653,14 @@ class Client {
|
|
|
653
653
|
partialize: state => {
|
|
654
654
|
var _state$data, _state$data2;
|
|
655
655
|
|
|
656
|
-
return {
|
|
656
|
+
return _objectSpread2(_objectSpread2({}, this.config.autoConnect && {
|
|
657
657
|
data: {
|
|
658
658
|
account: state === null || state === void 0 ? void 0 : (_state$data = state.data) === null || _state$data === void 0 ? void 0 : _state$data.account,
|
|
659
659
|
chain: state === null || state === void 0 ? void 0 : (_state$data2 = state.data) === null || _state$data2 === void 0 ? void 0 : _state$data2.chain
|
|
660
|
-
}
|
|
660
|
+
}
|
|
661
|
+
}), {}, {
|
|
661
662
|
chains: state === null || state === void 0 ? void 0 : state.chains
|
|
662
|
-
};
|
|
663
|
+
});
|
|
663
664
|
}
|
|
664
665
|
})));
|
|
665
666
|
this.storage = storage;
|