@orderly.network/hooks 0.0.100 → 0.0.102
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 +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +4 -4
package/dist/index.mjs
CHANGED
|
@@ -3151,7 +3151,7 @@ var useChains = (networkId, options = {}) => {
|
|
|
3151
3151
|
dedupingInterval: 36e5
|
|
3152
3152
|
}
|
|
3153
3153
|
);
|
|
3154
|
-
const
|
|
3154
|
+
const apiBaseUrl = configStore.get("apiBaseUrl");
|
|
3155
3155
|
const chains = useMemo(() => {
|
|
3156
3156
|
if (!orderlyChains)
|
|
3157
3157
|
return void 0;
|
|
@@ -3216,7 +3216,7 @@ var useChains = (networkId, options = {}) => {
|
|
|
3216
3216
|
}
|
|
3217
3217
|
}
|
|
3218
3218
|
];
|
|
3219
|
-
if (apiBaseUrl === "https://dev-api-iap-v2.orderly.org") {
|
|
3219
|
+
if (apiBaseUrl === "https://dev-api-iap-v2.orderly.org" || apiBaseUrl === "https://dev-api-v2.orderly.org") {
|
|
3220
3220
|
testnetArr.push({
|
|
3221
3221
|
network_infos: {
|
|
3222
3222
|
name: "Optimism Goerli",
|
|
@@ -3226,7 +3226,7 @@ var useChains = (networkId, options = {}) => {
|
|
|
3226
3226
|
currency_symbol: "ETH",
|
|
3227
3227
|
bridge_enable: true,
|
|
3228
3228
|
mainnet: false,
|
|
3229
|
-
explorer_base_url: "https://goerli.
|
|
3229
|
+
explorer_base_url: "https://goerli-optimism.etherscan.io",
|
|
3230
3230
|
est_txn_mins: null,
|
|
3231
3231
|
woofi_dex_cross_chain_router: "",
|
|
3232
3232
|
woofi_dex_depositor: ""
|