@dhedge/trading-widget 3.5.2 → 3.5.4
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-03be1f78.js} +7 -4
- package/{index-ba7b91f3.cjs → index-c3ce9289.cjs} +2 -2
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +1 -1
- package/{pyth-adapter-7ae3452f.js → pyth-adapter-55ee37f4.js} +1 -1
- package/{pyth-adapter-a31a3696.cjs → pyth-adapter-6fb3a3f6.cjs} +1 -1
|
@@ -31961,8 +31961,6 @@ const ct = "0x0000000000000000000000000000000000000000", R7 = BigInt(
|
|
|
31961
31961
|
}, BW = /* @__PURE__ */ new Map([
|
|
31962
31962
|
["0x7d3c9c6566375d7ad6e89169ca5c01b5edc15364", 0.5],
|
|
31963
31963
|
// SOLBULL2X_OPTIMISM
|
|
31964
|
-
["0x32ad28356ef70adc3ec051d8aacdeeaa10135296", 0.2],
|
|
31965
|
-
// BTCBULL2X_OPTIMISM
|
|
31966
31964
|
["0xb03818de4992388260b62259361778cf98485dfe", 0.3],
|
|
31967
31965
|
// BTCBULL3X_OPTIMISM
|
|
31968
31966
|
["0x11b55966527ff030ca9c7b1c548b4be5e7eaee6d", 0.6],
|
|
@@ -33003,7 +33001,12 @@ const VO = {
|
|
|
33003
33001
|
...n,
|
|
33004
33002
|
poolConfigMap: {
|
|
33005
33003
|
...n.poolConfigMap,
|
|
33006
|
-
...Object.entries(a.payload).
|
|
33004
|
+
...Object.entries(a.payload).filter(
|
|
33005
|
+
([l]) => {
|
|
33006
|
+
var u;
|
|
33007
|
+
return !!((u = n.poolConfigMap) != null && u[l]);
|
|
33008
|
+
}
|
|
33009
|
+
).reduce(
|
|
33007
33010
|
(l, [u, f]) => {
|
|
33008
33011
|
var p;
|
|
33009
33012
|
return {
|
|
@@ -37277,7 +37280,7 @@ const aL = {
|
|
|
37277
37280
|
const { chainId: p, vaultAddress: v, account: g } = f;
|
|
37278
37281
|
if (!g || !t)
|
|
37279
37282
|
return aL;
|
|
37280
|
-
const w = (await import("./pyth-adapter-
|
|
37283
|
+
const w = (await import("./pyth-adapter-55ee37f4.js")).PythAdapter, x = Vb({
|
|
37281
37284
|
abi: hg("synthetixV3Core"),
|
|
37282
37285
|
functionName: "getPositionDebt",
|
|
37283
37286
|
args: UW[v.toLowerCase()] ?? []
|