@dhedge/trading-widget 2.0.5 → 2.0.6

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.
@@ -4,7 +4,7 @@ export declare const BRIDGED_USDC_POLYGON: TradingToken;
4
4
  export declare const USDC_POLYGON: TradingToken;
5
5
  export declare const PAXG_POLYGON: TradingToken;
6
6
  export declare const WBTC_POLYGON: TradingToken;
7
- export declare const WMATIC_POLYGON: TradingToken;
7
+ export declare const WPOL_POLYGON: TradingToken;
8
8
  export declare const USDT_POLYGON: TradingToken;
9
9
  export declare const DAI_POLYGON: TradingToken;
10
10
  export declare const TBTC_POLYGON: TradingToken;
@@ -8,7 +8,7 @@ export interface TradingParams {
8
8
  poolDepositAddress?: Address;
9
9
  receiveAssetAddress: Address;
10
10
  }
11
- export type NativeTokenSymbol = 'ETH' | 'MATIC';
11
+ export type NativeTokenSymbol = 'ETH' | 'POL';
12
12
  export type ChainNativeTokenMap = {
13
13
  [key in ChainId]?: {
14
14
  nativeTokenSymbol: NativeTokenSymbol;
@@ -28367,8 +28367,8 @@ const Tt = "0x0000000000000000000000000000000000000000", D8 = BigInt(
28367
28367
  [Yi.id]: Yi
28368
28368
  }, kh = {
28369
28369
  [Ds.id]: {
28370
- nativeTokenSymbol: "MATIC",
28371
- wrappedNativeTokenName: "WMATIC",
28370
+ nativeTokenSymbol: "POL",
28371
+ wrappedNativeTokenName: "WPOL",
28372
28372
  address: "0x0d500b1d8e8ef31e21c99d1db9a6444d3adf1270",
28373
28373
  decimals: Ct
28374
28374
  },
@@ -31373,7 +31373,7 @@ const Tt = "0x0000000000000000000000000000000000000000", D8 = BigInt(
31373
31373
  value: ""
31374
31374
  }, O7 = {
31375
31375
  address: "0x0d500B1d8E8eF31E21C99d1Db9A6444d3ADf1270",
31376
- symbol: "WMATIC",
31376
+ symbol: "WPOL",
31377
31377
  decimals: 8,
31378
31378
  value: ""
31379
31379
  }, k7 = {
@@ -36275,7 +36275,7 @@ const pN = {
36275
36275
  const { chainId: p, vaultAddress: y, account: g } = f;
36276
36276
  if (!g || !t)
36277
36277
  return pN;
36278
- const T = (await import("./pyth-adapter-162029f2.js")).PythAdapter, S = Rb({
36278
+ const T = (await import("./pyth-adapter-7ad6b950.js")).PythAdapter, S = Rb({
36279
36279
  abi: Zb("synthetixV3Core"),
36280
36280
  functionName: "getPositionDebt",
36281
36281
  args: L7[y.toLowerCase()] ?? []