@orderly.network/hooks 0.0.100 → 0.0.101
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 +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +2 -2
package/dist/index.js
CHANGED
|
@@ -3159,7 +3159,7 @@ var useChains = (networkId, options = {}) => {
|
|
|
3159
3159
|
dedupingInterval: 36e5
|
|
3160
3160
|
}
|
|
3161
3161
|
);
|
|
3162
|
-
const
|
|
3162
|
+
const apiBaseUrl = configStore.get("apiBaseUrl");
|
|
3163
3163
|
const chains = react.useMemo(() => {
|
|
3164
3164
|
if (!orderlyChains)
|
|
3165
3165
|
return void 0;
|
|
@@ -3224,7 +3224,7 @@ var useChains = (networkId, options = {}) => {
|
|
|
3224
3224
|
}
|
|
3225
3225
|
}
|
|
3226
3226
|
];
|
|
3227
|
-
if (apiBaseUrl === "https://dev-api-iap-v2.orderly.org") {
|
|
3227
|
+
if (apiBaseUrl === "https://dev-api-iap-v2.orderly.org" || apiBaseUrl === "https://dev-api-v2.orderly.org") {
|
|
3228
3228
|
testnetArr.push({
|
|
3229
3229
|
network_infos: {
|
|
3230
3230
|
name: "Optimism Goerli",
|