@orderly.network/hooks 2.8.2 → 2.8.3
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.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +10 -10
package/dist/index.mjs
CHANGED
|
@@ -38,9 +38,9 @@ var __export = (target, all) => {
|
|
|
38
38
|
// src/version.ts
|
|
39
39
|
if (typeof window !== "undefined") {
|
|
40
40
|
window.__ORDERLY_VERSION__ = window.__ORDERLY_VERSION__ || {};
|
|
41
|
-
window.__ORDERLY_VERSION__["@orderly.network/hooks"] = "2.8.
|
|
41
|
+
window.__ORDERLY_VERSION__["@orderly.network/hooks"] = "2.8.3";
|
|
42
42
|
}
|
|
43
|
-
var version_default = "2.8.
|
|
43
|
+
var version_default = "2.8.3";
|
|
44
44
|
var fetcher = (url, init2 = {}, queryOptions) => get(url, init2, queryOptions?.formatter);
|
|
45
45
|
var noCacheConfig = {
|
|
46
46
|
dedupingInterval: 0,
|
|
@@ -6619,6 +6619,7 @@ function formatChains({
|
|
|
6619
6619
|
name,
|
|
6620
6620
|
public_rpc_url,
|
|
6621
6621
|
currency_symbol,
|
|
6622
|
+
currency_decimal,
|
|
6622
6623
|
explorer_base_url,
|
|
6623
6624
|
vault_address
|
|
6624
6625
|
} = chainInfo;
|
|
@@ -6630,6 +6631,7 @@ function formatChains({
|
|
|
6630
6631
|
mainnet,
|
|
6631
6632
|
public_rpc_url,
|
|
6632
6633
|
currency_symbol,
|
|
6634
|
+
currency_decimal,
|
|
6633
6635
|
bridge_enable: true,
|
|
6634
6636
|
explorer_base_url,
|
|
6635
6637
|
// swap field
|
|
@@ -7370,7 +7372,8 @@ var useDeposit = (options) => {
|
|
|
7370
7372
|
fetchBalance: fetchBalanceHandler,
|
|
7371
7373
|
fetchBalances,
|
|
7372
7374
|
/** set input quantity */
|
|
7373
|
-
setQuantity
|
|
7375
|
+
setQuantity,
|
|
7376
|
+
targetChain
|
|
7374
7377
|
};
|
|
7375
7378
|
};
|
|
7376
7379
|
function ignoreBalanceError(options) {
|