@dhedge/trading-widget 5.13.0 → 5.13.1
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/const.js +1 -1
- package/{gmx-Cz30wIeq.js → gmx-k2GEQom-.js} +26 -26
- package/index.cjs +1 -1
- package/index.js +2264 -2231
- package/package.json +2 -1
- package/{slippage-auto-simulation-D7NLxruB.js → slippage-auto-simulation-BkkeCgNm.js} +1 -1
- package/trading-widget/components/widget/widget-input/all-assets-composition-table/all-assets-composition-table.utils.d.ts +8 -0
- package/utils.js +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dhedge/trading-widget",
|
|
3
|
-
"version": "5.13.
|
|
3
|
+
"version": "5.13.1",
|
|
4
4
|
"dependencies": {
|
|
5
5
|
"@headlessui/react": "^2.1.2",
|
|
6
6
|
"@heroicons/react": "^2.1.5",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"ts-custom-error": "^3.3.1"
|
|
13
13
|
},
|
|
14
14
|
"engines": {
|
|
15
|
+
"node": ">=24",
|
|
15
16
|
"pnpm": ">=9"
|
|
16
17
|
},
|
|
17
18
|
"exports": {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import i from "bignumber.js";
|
|
2
|
-
import { ak as L, ai as R, aj as b, a as T, p as S, al as B, am as O, a2 as C, b as F, a7 as M, ad as P, ac as $, Y as v, an as y, e as x, d as U, L as W, Q as K, O as V, ao as Y, ap as G, P as Z, M as H, aa as g, Z as Q, V as k, W as j, T as z, a6 as q } from "./gmx-
|
|
2
|
+
import { ak as L, ai as R, aj as b, a as T, p as S, al as B, am as O, a2 as C, b as F, a7 as M, ad as P, ac as $, Y as v, an as y, e as x, d as U, L as W, Q as K, O as V, ao as Y, ap as G, P as Z, M as H, aa as g, Z as Q, V as k, W as j, T as z, a6 as q } from "./gmx-k2GEQom-.js";
|
|
3
3
|
import { stringToHex as f, encodeAbiParameters as _ } from "viem";
|
|
4
4
|
const X = () => typeof window < "u";
|
|
5
5
|
function J() {
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { PoolCompositionWithFraction } from '../../../../../core-kit/types';
|
|
2
|
+
import type { ChainId } from '../../../../../core-kit/types/web3.types';
|
|
3
|
+
/**
|
|
4
|
+
* On HyperEVM, the HL Perps account will be
|
|
5
|
+
* withdrawn as USDC. Replaces any HL Perps entry with USDC metadata and
|
|
6
|
+
* merges it with any existing USDC row into a single combined entry.
|
|
7
|
+
*/
|
|
8
|
+
export declare const mergeHlPerpsIntoUsdc: (composition: PoolCompositionWithFraction[], chainId: ChainId) => PoolCompositionWithFraction[];
|
package/utils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as s, a as t, c as r, d as o, e as i, f as n, g as d, h as l, i as c, j as g, k as A, l as m, m as u, n as y, o as p, p as h, q as v, r as B, s as T, t as S, u as f, v as x, w as b, x as C, y as F, z as D, A as w, B as E, C as L, D as W, E as k, F as P, G as I, H as M, I as R, J as G, K, L as N, M as Q, N as V, O as H, P as U, Q as j, R as q } from "./slippage-auto-simulation-
|
|
1
|
+
import { b as s, a as t, c as r, d as o, e as i, f as n, g as d, h as l, i as c, j as g, k as A, l as m, m as u, n as y, o as p, p as h, q as v, r as B, s as T, t as S, u as f, v as x, w as b, x as C, y as F, z as D, A as w, B as E, C as L, D as W, E as k, F as P, G as I, H as M, I as R, J as G, K, L as N, M as Q, N as V, O as H, P as U, Q as j, R as q } from "./slippage-auto-simulation-BkkeCgNm.js";
|
|
2
2
|
import { decodeErrorResult as J, encodeFunctionData as O, formatEther as Z, formatUnits as X, hexToString as Y, trim as _ } from "viem";
|
|
3
3
|
export {
|
|
4
4
|
s as buildAaveWithdrawAssetTransactionData,
|