@dhedge/trading-widget 3.5.2 → 3.5.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/{index-56e1579c.js → index-0020722c.js} +7 -2
- package/{index-ba7b91f3.cjs → index-e1c7bcc7.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +2 -15
- package/{pyth-adapter-a31a3696.cjs → pyth-adapter-ce33ad26.cjs} +1 -1
- package/{pyth-adapter-7ae3452f.js → pyth-adapter-d4c2d1c0.js} +1 -1
|
@@ -33003,7 +33003,12 @@ const VO = {
|
|
|
33003
33003
|
...n,
|
|
33004
33004
|
poolConfigMap: {
|
|
33005
33005
|
...n.poolConfigMap,
|
|
33006
|
-
...Object.entries(a.payload).
|
|
33006
|
+
...Object.entries(a.payload).filter(
|
|
33007
|
+
([l]) => {
|
|
33008
|
+
var u;
|
|
33009
|
+
return !!((u = n.poolConfigMap) != null && u[l]);
|
|
33010
|
+
}
|
|
33011
|
+
).reduce(
|
|
33007
33012
|
(l, [u, f]) => {
|
|
33008
33013
|
var p;
|
|
33009
33014
|
return {
|
|
@@ -37277,7 +37282,7 @@ const aL = {
|
|
|
37277
37282
|
const { chainId: p, vaultAddress: v, account: g } = f;
|
|
37278
37283
|
if (!g || !t)
|
|
37279
37284
|
return aL;
|
|
37280
|
-
const w = (await import("./pyth-adapter-
|
|
37285
|
+
const w = (await import("./pyth-adapter-d4c2d1c0.js")).PythAdapter, x = Vb({
|
|
37281
37286
|
abi: hg("synthetixV3Core"),
|
|
37282
37287
|
functionName: "getPositionDebt",
|
|
37283
37288
|
args: UW[v.toLowerCase()] ?? []
|