@orderly.network/hooks 0.0.105-deprecated.2 → 0.0.105-deprecated.4

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
@@ -3159,7 +3159,6 @@ var useChains = (networkId, options = {}) => {
3159
3159
  dedupingInterval: 36e5
3160
3160
  }
3161
3161
  );
3162
- const apiBaseUrl = configStore.get("apiBaseUrl");
3163
3162
  const chains = react.useMemo(() => {
3164
3163
  if (!orderlyChains)
3165
3164
  return void 0;
@@ -3224,23 +3223,6 @@ var useChains = (networkId, options = {}) => {
3224
3223
  }
3225
3224
  }
3226
3225
  ];
3227
- if (apiBaseUrl === "https://dev-api-iap-v2.orderly.org" || apiBaseUrl === "https://dev-api-v2.orderly.org") {
3228
- testnetArr.push({
3229
- network_infos: {
3230
- name: "Optimism Goerli",
3231
- shortName: "Optimism Goerli",
3232
- public_rpc_url: "wss://optimism-goerli.gateway.tenderly.co",
3233
- chain_id: 420,
3234
- currency_symbol: "ETH",
3235
- bridge_enable: true,
3236
- mainnet: false,
3237
- explorer_base_url: "https://goerli-optimism.etherscan.io",
3238
- est_txn_mins: null,
3239
- woofi_dex_cross_chain_router: "",
3240
- woofi_dex_depositor: ""
3241
- }
3242
- });
3243
- }
3244
3226
  let mainnetArr = [];
3245
3227
  Object.keys(data.data).forEach((key) => {
3246
3228
  const chain = data.data[key];