@orderly.network/hooks 0.0.57 → 0.0.58

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/index.js CHANGED
@@ -2600,9 +2600,11 @@ var useChains = (networkId, options = {}) => {
2600
2600
  orderlyChainsArr = orderlyChainsArr.map((item2) => {
2601
2601
  if (item2.network_infos.chain_id === chain.network_infos.chain_id) {
2602
2602
  return {
2603
- // ...item,
2604
- // ...chain,
2605
- ...ramda.mergeDeepLeft(chain, item2)
2603
+ network_infos: {
2604
+ ...item2.network_infos,
2605
+ ...chain.network_infos
2606
+ },
2607
+ token_infos: chain.token_infos
2606
2608
  };
2607
2609
  }
2608
2610
  return item2;