@skip-go/widget 3.0.20 → 3.0.21

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.
@@ -1866,7 +1866,7 @@ function ut(e, ...n) {
1866
1866
  if (n.length > 0 && !n.includes(e.length))
1867
1867
  throw new Error(`Uint8Array expected of length ${n}, not of length=${e.length}`);
1868
1868
  }
1869
- function ef(e) {
1869
+ function e3(e) {
1870
1870
  if (typeof e != "function" || typeof e.create != "function")
1871
1871
  throw new Error("Hash should be wrapped by utils.wrapConstructor");
1872
1872
  Gi(e.outputLen), Gi(e.blockLen);
@@ -1910,7 +1910,7 @@ function mh(e) {
1910
1910
  function Tc(e) {
1911
1911
  return typeof e == "string" && (e = mh(e)), ut(e), e;
1912
1912
  }
1913
- function nf(...e) {
1913
+ function n3(...e) {
1914
1914
  let n = 0;
1915
1915
  for (let i = 0; i < e.length; i++) {
1916
1916
  const t = e[i];
@@ -1933,7 +1933,7 @@ function Ks(e) {
1933
1933
  const n = (i) => e().update(Tc(i)).digest(), o = e();
1934
1934
  return n.outputLen = o.outputLen, n.blockLen = o.blockLen, n.create = () => e(), n;
1935
1935
  }
1936
- function of(e = 32) {
1936
+ function o3(e = 32) {
1937
1937
  if (Ft && typeof Ft.getRandomValues == "function")
1938
1938
  return Ft.getRandomValues(new Uint8Array(e));
1939
1939
  throw new Error("crypto.getRandomValues must be defined");
@@ -2108,7 +2108,7 @@ function Ph(e) {
2108
2108
  return Lc(`0x${n}`);
2109
2109
  }
2110
2110
  async function Fh({ hash: e, signature: n }) {
2111
- const o = io(e) ? e : Z(e), { secp256k1: i } = await import("./secp256k1-Ve5akQL5.js");
2111
+ const o = io(e) ? e : Z(e), { secp256k1: i } = await import("./secp256k1-DBgJ0Snm.js");
2112
2112
  return `0x${(() => {
2113
2113
  if (typeof n == "object" && "r" in n && "s" in n) {
2114
2114
  const { r: l, s: p, v: u, yParity: d } = n, x = Number(d ?? u), f = Oa(x);
@@ -6397,31 +6397,31 @@ function jl(e) {
6397
6397
  for (; !v[0] && v.length > 1; v.splice(0, 1)) ;
6398
6398
  }
6399
6399
  return function(v, b, y, S, k) {
6400
- var P, z, F, I, R, O, V, ie, ce, Y, $, ke, tn, cn, Gn, Ne, Le, We = v.s == b.s ? 1 : -1, Ve = v.c, be = b.c;
6401
- if (!Ve || !Ve[0] || !be || !be[0])
6400
+ var P, z, F, I, R, O, V, ie, ce, Y, $, ke, tn, cn, Gn, Ne, Le, We = v.s == b.s ? 1 : -1, Ve = v.c, Ae = b.c;
6401
+ if (!Ve || !Ve[0] || !Ae || !Ae[0])
6402
6402
  return new C(
6403
6403
  // Return NaN if either NaN, or both Infinity or 0.
6404
- !v.s || !b.s || (Ve ? be && Ve[0] == be[0] : !be) ? NaN : (
6404
+ !v.s || !b.s || (Ve ? Ae && Ve[0] == Ae[0] : !Ae) ? NaN : (
6405
6405
  // Return ±0 if x is ±0 or y is ±Infinity, or return ±Infinity as y is ±0.
6406
- Ve && Ve[0] == 0 || !be ? We * 0 : We / 0
6406
+ Ve && Ve[0] == 0 || !Ae ? We * 0 : We / 0
6407
6407
  )
6408
6408
  );
6409
- for (ie = new C(We), ce = ie.c = [], z = v.e - b.e, We = y + z + 1, k || (k = an, z = Ke(v.e / Q) - Ke(b.e / Q), We = We / Q | 0), F = 0; be[F] == (Ve[F] || 0); F++) ;
6410
- if (be[F] > (Ve[F] || 0) && z--, We < 0)
6409
+ for (ie = new C(We), ce = ie.c = [], z = v.e - b.e, We = y + z + 1, k || (k = an, z = Ke(v.e / Q) - Ke(b.e / Q), We = We / Q | 0), F = 0; Ae[F] == (Ve[F] || 0); F++) ;
6410
+ if (Ae[F] > (Ve[F] || 0) && z--, We < 0)
6411
6411
  ce.push(1), I = !0;
6412
6412
  else {
6413
- for (cn = Ve.length, Ne = be.length, F = 0, We += 2, R = Je(k / (be[0] + 1)), R > 1 && (be = h(be, R, k), Ve = h(Ve, R, k), Ne = be.length, cn = Ve.length), tn = Ne, Y = Ve.slice(0, Ne), $ = Y.length; $ < Ne; Y[$++] = 0) ;
6414
- Le = be.slice(), Le = [0].concat(Le), Gn = be[0], be[1] >= k / 2 && Gn++;
6413
+ for (cn = Ve.length, Ne = Ae.length, F = 0, We += 2, R = Je(k / (Ae[0] + 1)), R > 1 && (Ae = h(Ae, R, k), Ve = h(Ve, R, k), Ne = Ae.length, cn = Ve.length), tn = Ne, Y = Ve.slice(0, Ne), $ = Y.length; $ < Ne; Y[$++] = 0) ;
6414
+ Le = Ae.slice(), Le = [0].concat(Le), Gn = Ae[0], Ae[1] >= k / 2 && Gn++;
6415
6415
  do {
6416
- if (R = 0, P = D(be, Y, Ne, $), P < 0) {
6416
+ if (R = 0, P = D(Ae, Y, Ne, $), P < 0) {
6417
6417
  if (ke = Y[0], Ne != $ && (ke = ke * k + (Y[1] || 0)), R = Je(ke / Gn), R > 1)
6418
- for (R >= k && (R = k - 1), O = h(be, R, k), V = O.length, $ = Y.length; D(O, Y, V, $) == 1; )
6419
- R--, g(O, Ne < V ? Le : be, V, k), V = O.length, P = 1;
6418
+ for (R >= k && (R = k - 1), O = h(Ae, R, k), V = O.length, $ = Y.length; D(O, Y, V, $) == 1; )
6419
+ R--, g(O, Ne < V ? Le : Ae, V, k), V = O.length, P = 1;
6420
6420
  else
6421
- R == 0 && (P = R = 1), O = be.slice(), V = O.length;
6421
+ R == 0 && (P = R = 1), O = Ae.slice(), V = O.length;
6422
6422
  if (V < $ && (O = [0].concat(O)), g(Y, O, $, k), $ = Y.length, P == -1)
6423
- for (; D(be, Y, Ne, $) < 1; )
6424
- R++, g(Y, Ne < $ ? Le : be, $, k), $ = Y.length;
6423
+ for (; D(Ae, Y, Ne, $) < 1; )
6424
+ R++, g(Y, Ne < $ ? Le : Ae, $, k), $ = Y.length;
6425
6425
  } else P === 0 && (R++, Y = [0]);
6426
6426
  ce[F++] = R, Y[0] ? Y[$++] = Ve[tn] || 0 : (Y = [Ve[tn]], $ = 1);
6427
6427
  } while ((tn++ < cn || Y[0] != null) && We--);
@@ -6778,14 +6778,14 @@ function wn(e, n, o) {
6778
6778
  } else n < i && (e = e.slice(0, n) + "." + e.slice(n));
6779
6779
  return e;
6780
6780
  }
6781
- var Ae = jl();
6782
- const Tn = (e, n = ai) => (typeof e == "string" && (e = parseFloat(e)), new Ae(e).shiftedBy(n).toFixed(0)), en = (e, n = ai) => e === "" ? "" : (typeof e == "string" && (e = parseFloat(e)), new Ae(e).shiftedBy(-n).toFixed(n).replace(/(\.\d*?[1-9])(?:0+|\.0*)$/, "$1")), Mo = (e, n) => e ? n ? `${e.slice(0, 6)}…${e.slice(-3)}` : `${e.slice(0, 9)}…${e.slice(-5)}` : "", Mr = (e, n, o) => {
6783
- const i = new Ae(e).decimalPlaces(
6781
+ var be = jl();
6782
+ const Tn = (e, n = ai) => (typeof e == "string" && (e = parseFloat(e)), new be(e).shiftedBy(n).toFixed(0)), en = (e, n = ai) => e === "" ? "" : (typeof e == "string" && (e = parseFloat(e)), new be(e).shiftedBy(-n).toFixed(n).replace(/(\.\d*?[1-9])(?:0+|\.0*)$/, "$1")), Mo = (e, n) => e ? n ? `${e.slice(0, 6)}…${e.slice(-3)}` : `${e.slice(0, 9)}…${e.slice(-5)}` : "", Mr = (e, n, o) => {
6783
+ const i = new be(e).decimalPlaces(
6784
6784
  o,
6785
- Ae.ROUND_DOWN
6786
- ), t = new Ae(n).decimalPlaces(
6785
+ be.ROUND_DOWN
6786
+ ), t = new be(n).decimalPlaces(
6787
6787
  o,
6788
- Ae.ROUND_DOWN
6788
+ be.ROUND_DOWN
6789
6789
  );
6790
6790
  return !i.eq(t);
6791
6791
  }, nn = ({
@@ -6843,7 +6843,7 @@ function ri(e, n = ai) {
6843
6843
  return (Math.floor(e * o) / o).toString();
6844
6844
  }
6845
6845
  function Il(e, n, o) {
6846
- const i = Ae(e), c = Ae(n).minus(i).dividedBy(i).multipliedBy(100);
6846
+ const i = be(e), c = be(n).minus(i).dividedBy(i).multipliedBy(100);
6847
6847
  return o ? c.absoluteValue().toFixed(0) : c.toFixed(0);
6848
6848
  }
6849
6849
  const hc = (e) => {
@@ -7184,6 +7184,7 @@ function cD(e) {
7184
7184
  type: void 0
7185
7185
  };
7186
7186
  return Object.values(we).find((i) => {
7187
+ var c;
7187
7188
  const t = n == null ? void 0 : n[i];
7188
7189
  if (t) {
7189
7190
  switch (i) {
@@ -7191,6 +7192,9 @@ function cD(e) {
7191
7192
  case "evmSwap":
7192
7193
  t.toChainID = t.fromChainID;
7193
7194
  break;
7195
+ case "axelarTransfer":
7196
+ t.denomIn = ((c = t.ibcTransferToAxelar) == null ? void 0 : c.denomIn) ?? t.denomIn;
7197
+ break;
7194
7198
  case "bankSend":
7195
7199
  t.denomIn = t.denom, t.denomOut = t.denom, t.fromChainID = t.chainID, t.toChainID = t.chainID;
7196
7200
  break;
@@ -13308,8 +13312,8 @@ const hD = [
13308
13312
  coinDecimals: 6
13309
13313
  }
13310
13314
  ],
13311
- rest: "https://api-eu-1.kyve.network",
13312
- rpc: "https://rpc-eu-1.kyve.network",
13315
+ rest: "https://api.kyve.network",
13316
+ rpc: "https://rpc.kyve.network",
13313
13317
  bech32Config: {
13314
13318
  bech32PrefixAccAddr: "kyve",
13315
13319
  bech32PrefixAccPub: "kyvepub",
@@ -13978,6 +13982,97 @@ const hD = [
13978
13982
  coinType: 118
13979
13983
  }
13980
13984
  },
13985
+ {
13986
+ chainId: "milkyway",
13987
+ currencies: [
13988
+ {
13989
+ coinDenom: "milk",
13990
+ coinMinimalDenom: "umilk",
13991
+ coinDecimals: 6
13992
+ },
13993
+ {
13994
+ coinDenom: "tia",
13995
+ coinMinimalDenom: "ibc/6C349F0EB135C5FA99301758F35B87DB88403D690E5E314AB080401FEE4066E5",
13996
+ coinDecimals: 6
13997
+ },
13998
+ {
13999
+ coinDenom: "milkTIA",
14000
+ coinMinimalDenom: "ibc/16065EE5282C5217685C8F084FC44864C25C706AC37356B0D62811D50B96920F",
14001
+ coinDecimals: 6
14002
+ },
14003
+ {
14004
+ coinDenom: "stTIA",
14005
+ coinMinimalDenom: "ibc/8D4FC51F696E03711B9B37A5787FB89BD2DDBAF788813478B002D552A12F9157",
14006
+ coinDecimals: 6
14007
+ },
14008
+ {
14009
+ coinDenom: "tia",
14010
+ coinMinimalDenom: "ibc/F1183DB3D428313A6FD329DF18219F9D6B83257D07D292EA9EC1D877E89EC2B0",
14011
+ coinDecimals: 6
14012
+ }
14013
+ ],
14014
+ rest: "https://lcd.mainnet.milkyway.zone/",
14015
+ rpc: "https://rpc.mainnet.milkyway.zone/",
14016
+ bech32Config: {
14017
+ bech32PrefixAccAddr: "milk",
14018
+ bech32PrefixAccPub: "milkpub",
14019
+ bech32PrefixValAddr: "milkvaloper",
14020
+ bech32PrefixValPub: "milkvaloperpub",
14021
+ bech32PrefixConsAddr: "milkvalcons",
14022
+ bech32PrefixConsPub: "milkvalconspub"
14023
+ },
14024
+ chainName: "milkyway",
14025
+ feeCurrencies: [
14026
+ {
14027
+ coinDenom: "milkTIA",
14028
+ coinMinimalDenom: "ibc/16065EE5282C5217685C8F084FC44864C25C706AC37356B0D62811D50B96920F",
14029
+ coinDecimals: 6,
14030
+ gasPriceStep: {
14031
+ low: 0.025,
14032
+ average: 0.03,
14033
+ high: 0.035
14034
+ }
14035
+ },
14036
+ {
14037
+ coinDenom: "tia",
14038
+ coinMinimalDenom: "ibc/6C349F0EB135C5FA99301758F35B87DB88403D690E5E314AB080401FEE4066E5",
14039
+ coinDecimals: 6,
14040
+ gasPriceStep: {
14041
+ low: 0.025,
14042
+ average: 0.03,
14043
+ high: 0.035
14044
+ }
14045
+ },
14046
+ {
14047
+ coinDenom: "stTIA",
14048
+ coinMinimalDenom: "ibc/8D4FC51F696E03711B9B37A5787FB89BD2DDBAF788813478B002D552A12F9157",
14049
+ coinDecimals: 6,
14050
+ gasPriceStep: {
14051
+ low: 0.025,
14052
+ average: 0.03,
14053
+ high: 0.035
14054
+ }
14055
+ },
14056
+ {
14057
+ coinDenom: "tia",
14058
+ coinMinimalDenom: "ibc/F1183DB3D428313A6FD329DF18219F9D6B83257D07D292EA9EC1D877E89EC2B0",
14059
+ coinDecimals: 6,
14060
+ gasPriceStep: {
14061
+ low: 0.025,
14062
+ average: 0.03,
14063
+ high: 0.035
14064
+ }
14065
+ }
14066
+ ],
14067
+ stakeCurrency: {
14068
+ coinDenom: "milk",
14069
+ coinMinimalDenom: "umilk",
14070
+ coinDecimals: 6
14071
+ },
14072
+ bip44: {
14073
+ coinType: 118
14074
+ }
14075
+ },
13981
14076
  {
13982
14077
  chainId: "mtgbp-1",
13983
14078
  currencies: [
@@ -16808,6 +16903,11 @@ const hD = [
16808
16903
  coinMinimalDenom: "ibc/63A7CA0B6838AD8CAD6B5103998FF9B9B6A6F06FBB9638BFF51E63E0142339F3",
16809
16904
  coinDecimals: 6
16810
16905
  },
16906
+ {
16907
+ coinDenom: "allXRP",
16908
+ coinMinimalDenom: "factory/osmo1qnglc04tmhg32uc4kxlxh55a5cmhj88cpa3rmtly484xqu82t79sfv94w0/alloyed/allXRP",
16909
+ coinDecimals: 6
16910
+ },
16811
16911
  {
16812
16912
  coinDenom: "SEIYAN",
16813
16913
  coinMinimalDenom: "ibc/86074B8DF625A75C25D52FA6112E3FD5446BA41FE418880C168CA99D10E22F05",
@@ -18110,6 +18210,11 @@ const hD = [
18110
18210
  coinMinimalDenom: "p:uatom:31Dec2025",
18111
18211
  coinDecimals: 6
18112
18212
  },
18213
+ {
18214
+ coinDenom: "pATOM31Dec2026",
18215
+ coinMinimalDenom: "p:uatom:31Dec2026",
18216
+ coinDecimals: 6
18217
+ },
18113
18218
  {
18114
18219
  coinDenom: "pOSMO30Sep2024",
18115
18220
  coinMinimalDenom: "p:uosmo:30Sep2024",
@@ -18125,6 +18230,11 @@ const hD = [
18125
18230
  coinMinimalDenom: "p:uosmo:31Dec2025",
18126
18231
  coinDecimals: 6
18127
18232
  },
18233
+ {
18234
+ coinDenom: "pOSMO31Dec2026",
18235
+ coinMinimalDenom: "p:uosmo:31Dec2026",
18236
+ coinDecimals: 6
18237
+ },
18128
18238
  {
18129
18239
  coinDenom: "pINJ30Sep2024",
18130
18240
  coinMinimalDenom: "p:inj:30Sep2024",
@@ -18140,6 +18250,11 @@ const hD = [
18140
18250
  coinMinimalDenom: "p:inj:31Dec2025",
18141
18251
  coinDecimals: 18
18142
18252
  },
18253
+ {
18254
+ coinDenom: "pINJ31Dec2026",
18255
+ coinMinimalDenom: "p:inj:31Dec2026",
18256
+ coinDecimals: 18
18257
+ },
18143
18258
  {
18144
18259
  coinDenom: "pLUNA30Sep2024",
18145
18260
  coinMinimalDenom: "p:uluna:30Sep2024",
@@ -18150,6 +18265,11 @@ const hD = [
18150
18265
  coinMinimalDenom: "p:uluna:31Dec2024",
18151
18266
  coinDecimals: 6
18152
18267
  },
18268
+ {
18269
+ coinDenom: "pLUNA31Dec2026",
18270
+ coinMinimalDenom: "p:uluna:31Dec2026",
18271
+ coinDecimals: 6
18272
+ },
18153
18273
  {
18154
18274
  coinDenom: "pLUNA31Dec2025",
18155
18275
  coinMinimalDenom: "p:uluna:31Dec2025",
@@ -18170,6 +18290,11 @@ const hD = [
18170
18290
  coinMinimalDenom: "p:uauuu:31Dec2025",
18171
18291
  coinDecimals: 6
18172
18292
  },
18293
+ {
18294
+ coinDenom: "pAUUU31Dec2026",
18295
+ coinMinimalDenom: "p:uauuu:31Dec2026",
18296
+ coinDecimals: 6
18297
+ },
18173
18298
  {
18174
18299
  coinDenom: "pstTIA30Sep2024",
18175
18300
  coinMinimalDenom: "p:stutia:30Sep2024",
@@ -18185,6 +18310,11 @@ const hD = [
18185
18310
  coinMinimalDenom: "p:stutia:31Dec2025",
18186
18311
  coinDecimals: 6
18187
18312
  },
18313
+ {
18314
+ coinDenom: "pstTIA31Dec2026",
18315
+ coinMinimalDenom: "p:stutia:31Dec2026",
18316
+ coinDecimals: 6
18317
+ },
18188
18318
  {
18189
18319
  coinDenom: "pstDYDX30Sep2024",
18190
18320
  coinMinimalDenom: "p:stadydx:30Sep2024",
@@ -18200,6 +18330,11 @@ const hD = [
18200
18330
  coinMinimalDenom: "p:stadydx:31Dec2025",
18201
18331
  coinDecimals: 18
18202
18332
  },
18333
+ {
18334
+ coinDenom: "pstDYDX31Dec2026",
18335
+ coinMinimalDenom: "p:stadydx:31Dec2026",
18336
+ coinDecimals: 18
18337
+ },
18203
18338
  {
18204
18339
  coinDenom: "pdATOM31Dec2024",
18205
18340
  coinMinimalDenom: "p:udatom:31Dec2024",
@@ -18215,6 +18350,11 @@ const hD = [
18215
18350
  coinMinimalDenom: "p:udatom:31Dec2025",
18216
18351
  coinDecimals: 6
18217
18352
  },
18353
+ {
18354
+ coinDenom: "pdATOM31Dec2026",
18355
+ coinMinimalDenom: "p:udatom:31Dec2026",
18356
+ coinDecimals: 6
18357
+ },
18218
18358
  {
18219
18359
  coinDenom: "pTIA31Dec2024",
18220
18360
  coinMinimalDenom: "p:utia:31Dec2024",
@@ -18225,6 +18365,11 @@ const hD = [
18225
18365
  coinMinimalDenom: "p:utia:31Dec2025",
18226
18366
  coinDecimals: 6
18227
18367
  },
18368
+ {
18369
+ coinDenom: "pTIA31Dec2026",
18370
+ coinMinimalDenom: "p:utia:31Dec2026",
18371
+ coinDecimals: 6
18372
+ },
18228
18373
  {
18229
18374
  coinDenom: "yATOM30Sep2024",
18230
18375
  coinMinimalDenom: "y:uatom:30Sep2024",
@@ -18240,6 +18385,11 @@ const hD = [
18240
18385
  coinMinimalDenom: "y:uatom:31Dec2025",
18241
18386
  coinDecimals: 6
18242
18387
  },
18388
+ {
18389
+ coinDenom: "yATOM31Dec2026",
18390
+ coinMinimalDenom: "y:uatom:31Dec2026",
18391
+ coinDecimals: 6
18392
+ },
18243
18393
  {
18244
18394
  coinDenom: "yOSMO30Sep2024",
18245
18395
  coinMinimalDenom: "y:uosmo:30Sep2024",
@@ -18255,6 +18405,11 @@ const hD = [
18255
18405
  coinMinimalDenom: "y:uosmo:31Dec2025",
18256
18406
  coinDecimals: 6
18257
18407
  },
18408
+ {
18409
+ coinDenom: "yOSMO31Dec2026",
18410
+ coinMinimalDenom: "y:uosmo:31Dec2026",
18411
+ coinDecimals: 6
18412
+ },
18258
18413
  {
18259
18414
  coinDenom: "yINJ30Sep2024",
18260
18415
  coinMinimalDenom: "y:inj:30Sep2024",
@@ -18270,6 +18425,11 @@ const hD = [
18270
18425
  coinMinimalDenom: "y:inj:31Dec2025",
18271
18426
  coinDecimals: 18
18272
18427
  },
18428
+ {
18429
+ coinDenom: "yINJ31Dec2026",
18430
+ coinMinimalDenom: "y:inj:31Dec2026",
18431
+ coinDecimals: 18
18432
+ },
18273
18433
  {
18274
18434
  coinDenom: "yLUNA30Sep2024",
18275
18435
  coinMinimalDenom: "y:uluna:30Sep2024",
@@ -18285,6 +18445,11 @@ const hD = [
18285
18445
  coinMinimalDenom: "y:uluna:31Dec2025",
18286
18446
  coinDecimals: 6
18287
18447
  },
18448
+ {
18449
+ coinDenom: "yLUNA31Dec2026",
18450
+ coinMinimalDenom: "y:uluna:31Dec2026",
18451
+ coinDecimals: 6
18452
+ },
18288
18453
  {
18289
18454
  coinDenom: "yAUUU30Sep2024",
18290
18455
  coinMinimalDenom: "y:uauuu:30Sep2024",
@@ -18300,6 +18465,11 @@ const hD = [
18300
18465
  coinMinimalDenom: "y:uauuu:31Dec2025",
18301
18466
  coinDecimals: 6
18302
18467
  },
18468
+ {
18469
+ coinDenom: "yAUUU31Dec2026",
18470
+ coinMinimalDenom: "y:uauuu:31Dec2026",
18471
+ coinDecimals: 6
18472
+ },
18303
18473
  {
18304
18474
  coinDenom: "ystTIA30Sep2024",
18305
18475
  coinMinimalDenom: "y:stutia:30Sep2024",
@@ -18315,20 +18485,30 @@ const hD = [
18315
18485
  coinMinimalDenom: "y:stutia:31Dec2025",
18316
18486
  coinDecimals: 6
18317
18487
  },
18488
+ {
18489
+ coinDenom: "ystTIA31Dec2026",
18490
+ coinMinimalDenom: "y:stutia:31Dec2026",
18491
+ coinDecimals: 6
18492
+ },
18318
18493
  {
18319
18494
  coinDenom: "ystDYDX30Sep2024",
18320
18495
  coinMinimalDenom: "y:stadydx:30Sep2024",
18321
- coinDecimals: 6
18496
+ coinDecimals: 18
18322
18497
  },
18323
18498
  {
18324
18499
  coinDenom: "ystDYDX31Dec2024",
18325
18500
  coinMinimalDenom: "y:stadydx:31Dec2024",
18326
- coinDecimals: 6
18501
+ coinDecimals: 18
18327
18502
  },
18328
18503
  {
18329
18504
  coinDenom: "ystDYDX31Dec2025",
18330
18505
  coinMinimalDenom: "y:stadydx:31Dec2025",
18331
- coinDecimals: 6
18506
+ coinDecimals: 18
18507
+ },
18508
+ {
18509
+ coinDenom: "ystDYDX31Dec2026",
18510
+ coinMinimalDenom: "y:stadydx:31Dec2026",
18511
+ coinDecimals: 18
18332
18512
  },
18333
18513
  {
18334
18514
  coinDenom: "ydATOM31Dec2024",
@@ -18345,6 +18525,11 @@ const hD = [
18345
18525
  coinMinimalDenom: "y:udatom:31Dec2025",
18346
18526
  coinDecimals: 6
18347
18527
  },
18528
+ {
18529
+ coinDenom: "ydATOM31Dec2026",
18530
+ coinMinimalDenom: "y:udatom:31Dec2026",
18531
+ coinDecimals: 6
18532
+ },
18348
18533
  {
18349
18534
  coinDenom: "yTIA31Dec2024",
18350
18535
  coinMinimalDenom: "y:utia:31Dec2024",
@@ -18355,6 +18540,11 @@ const hD = [
18355
18540
  coinMinimalDenom: "y:utia:31Dec2025",
18356
18541
  coinDecimals: 6
18357
18542
  },
18543
+ {
18544
+ coinDenom: "yTIA31Dec2026",
18545
+ coinMinimalDenom: "y:utia:31Dec2026",
18546
+ coinDecimals: 6
18547
+ },
18358
18548
  {
18359
18549
  coinDenom: "lp:6:usdc.axl-usdc",
18360
18550
  coinMinimalDenom: "lp:6:uusdc.axl-uusdc",
@@ -22517,6 +22707,47 @@ const hD = [
22517
22707
  coinType: 60
22518
22708
  }
22519
22709
  },
22710
+ {
22711
+ chainId: "xion-mainnet-1",
22712
+ currencies: [
22713
+ {
22714
+ coinDenom: "XION",
22715
+ coinMinimalDenom: "uxion",
22716
+ coinDecimals: 6
22717
+ }
22718
+ ],
22719
+ rest: "https://api.xion-mainnet-1.burnt.com",
22720
+ rpc: "https://rpc.xion-mainnet-1.burnt.com",
22721
+ bech32Config: {
22722
+ bech32PrefixAccAddr: "xion",
22723
+ bech32PrefixAccPub: "xionpub",
22724
+ bech32PrefixValAddr: "xionvaloper",
22725
+ bech32PrefixValPub: "xionvaloperpub",
22726
+ bech32PrefixConsAddr: "xionvalcons",
22727
+ bech32PrefixConsPub: "xionvalconspub"
22728
+ },
22729
+ chainName: "xion",
22730
+ feeCurrencies: [
22731
+ {
22732
+ coinDenom: "XION",
22733
+ coinMinimalDenom: "uxion",
22734
+ coinDecimals: 6,
22735
+ gasPriceStep: {
22736
+ low: 1e-3,
22737
+ average: 1e-3,
22738
+ high: 0.01
22739
+ }
22740
+ }
22741
+ ],
22742
+ stakeCurrency: {
22743
+ coinDenom: "XION",
22744
+ coinMinimalDenom: "uxion",
22745
+ coinDecimals: 6
22746
+ },
22747
+ bip44: {
22748
+ coinType: 118
22749
+ }
22750
+ },
22520
22751
  {
22521
22752
  chainId: "dimension_37-1",
22522
22753
  currencies: [
@@ -23372,8 +23603,8 @@ const hD = [
23372
23603
  coinDecimals: 6
23373
23604
  }
23374
23605
  ],
23375
- rest: "https://rest.provider-sentry-01.rs-testnet.polypore.xyz",
23376
- rpc: "https://rpc.provider-sentry-01.rs-testnet.polypore.xyz",
23606
+ rest: "https://rest.provider-sentry-01.ics-testnet.polypore.xyz",
23607
+ rpc: "https://rpc.provider-sentry-01.ics-testnet.polypore.xyz",
23377
23608
  bech32Config: {
23378
23609
  bech32PrefixAccAddr: "cosmos",
23379
23610
  bech32PrefixAccPub: "cosmospub",
@@ -24592,8 +24823,8 @@ const hD = [
24592
24823
  coinDecimals: 6
24593
24824
  }
24594
24825
  ],
24595
- rest: "https://api-eu-1.kaon.kyve.network",
24596
- rpc: "https://rpc-eu-1.kaon.kyve.network",
24826
+ rest: "https://api.kaon.kyve.network",
24827
+ rpc: "https://rpc.kaon.kyve.network",
24597
24828
  bech32Config: {
24598
24829
  bech32PrefixAccAddr: "kyve",
24599
24830
  bech32PrefixAccPub: "kyvepub",
@@ -27155,8 +27386,8 @@ const hD = [
27155
27386
  coinDecimals: 18
27156
27387
  }
27157
27388
  ],
27158
- rest: "https://testnet-burnt-api.lavenderfive.com",
27159
- rpc: "https://testnet-burnt-rpc.lavenderfive.com",
27389
+ rest: "https://api.xion-testnet-1.burnt.com",
27390
+ rpc: "https://rpc.xion-testnet-1.burnt.com",
27160
27391
  bech32Config: {
27161
27392
  bech32PrefixAccAddr: "xion",
27162
27393
  bech32PrefixAccPub: "xionpub",
@@ -27170,7 +27401,12 @@ const hD = [
27170
27401
  {
27171
27402
  coinDenom: "XION",
27172
27403
  coinMinimalDenom: "uxion",
27173
- coinDecimals: 6
27404
+ coinDecimals: 6,
27405
+ gasPriceStep: {
27406
+ low: 1e-3,
27407
+ average: 1e-3,
27408
+ high: 0.01
27409
+ }
27174
27410
  }
27175
27411
  ],
27176
27412
  stakeCurrency: {
@@ -30671,6 +30907,18 @@ const hD = [
30671
30907
  url: "https://explorer.whenmoonwhenlambo.money/kyve",
30672
30908
  tx_page: "https://explorer.whenmoonwhenlambo.money/kyve/txs/${txHash}",
30673
30909
  account_page: "https://explorer.whenmoonwhenlambo.money/kyve/account/${accountAddress}"
30910
+ },
30911
+ {
30912
+ kind: "KYVE Explorer",
30913
+ url: "https://explorer.kyve.network/kyve",
30914
+ tx_page: "https://explorer.kyve.network/kyve/tx/${txHash}",
30915
+ account_page: "https://explorer.kyve.network/kyve/account/${accountAddress}"
30916
+ },
30917
+ {
30918
+ kind: "Viewblock",
30919
+ url: "https://viewblock.io/kyve",
30920
+ tx_page: "https://viewblock.io/kyve/tx/${txHash}",
30921
+ account_page: "https://viewblock.io/kyve/address/${accountAddress}"
30674
30922
  }
30675
30923
  ]
30676
30924
  },
@@ -31064,6 +31312,10 @@ const hD = [
31064
31312
  }
31065
31313
  ]
31066
31314
  },
31315
+ {
31316
+ chainId: "milkyway",
31317
+ explorers: []
31318
+ },
31067
31319
  {
31068
31320
  chainId: "mainnet",
31069
31321
  explorers: [
@@ -33651,6 +33903,16 @@ const hD = [
33651
33903
  }
33652
33904
  ]
33653
33905
  },
33906
+ {
33907
+ chainId: "xion-mainnet-1",
33908
+ explorers: [
33909
+ {
33910
+ url: "https://explorer.burnt.com/xion-mainnet-1",
33911
+ tx_page: "https://explorer.burnt.com/xion-mainnet-1/tx/${txHash}",
33912
+ account_page: "https://explorer.burnt.com/xion-mainnet-1/account/${accountAddress}"
33913
+ }
33914
+ ]
33915
+ },
33654
33916
  {
33655
33917
  chainId: "dimension_37-1",
33656
33918
  explorers: [
@@ -34065,8 +34327,8 @@ const hD = [
34065
34327
  },
34066
34328
  {
34067
34329
  kind: "Ping.pub",
34068
- url: "https://explorer.rs-testnet.polypore.xyz/provider",
34069
- tx_page: "https://explorer.rs-testnet.polypore.xyz/provider/tx/${txHash}"
34330
+ url: "https://explorer.polypore.xyz/provider",
34331
+ tx_page: "https://explorer.polypore.xyz/provider/tx/${txHash}"
34070
34332
  }
34071
34333
  ]
34072
34334
  },
@@ -34426,6 +34688,12 @@ const hD = [
34426
34688
  url: "https://mintscan.io/kyve-testnet",
34427
34689
  tx_page: "https://mintscan.io/kyve-testnet/txs/${txHash}",
34428
34690
  account_page: "https://mintscan.io/kyve-testnet/account/${accountAddress}"
34691
+ },
34692
+ {
34693
+ kind: "KYVE Explorer",
34694
+ url: "https://explorer.kyve.network/kaon",
34695
+ tx_page: "https://explorer.kyve.network/kaon/tx/${txHash}",
34696
+ account_page: "https://explorer.kyve.network/kaon/account/${accountAddress}"
34429
34697
  }
34430
34698
  ]
34431
34699
  },
@@ -35201,11 +35469,6 @@ const hD = [
35201
35469
  tx_page: "https://explorer.burnt.com/xion-testnet-1/tx/${txHash}",
35202
35470
  account_page: "https://explorer.burnt.com/xion-testnet-1/account/${accountAddress}"
35203
35471
  },
35204
- {
35205
- url: "https://testnet.xion.explorers.guru",
35206
- tx_page: "https://testnet.xion.explorers.guru/transaction/${txHash}",
35207
- account_page: "https://testnet.xion.explorers.guru/account/${accountAddress}"
35208
- },
35209
35472
  {
35210
35473
  kind: "ITRocket",
35211
35474
  url: "https://testnet.itrocket.net/burnt",
@@ -36604,43 +36867,43 @@ const VD = new Intl.NumberFormat("en-US", {
36604
36867
  onClickEditDestinationWallet: o,
36605
36868
  swapExecutionState: i
36606
36869
  }) => {
36607
- var M, E, j, T;
36608
- const t = he(), { route: c } = U(Ue), a = U(Cn), r = e[0], s = e[e.length - 1], l = n == null ? void 0 : n.transferEvents, p = i === te.confirmed ? "completed" : (M = l == null ? void 0 : l[r.transferIndex]) == null ? void 0 : M.status, u = i === te.confirmed ? "completed" : (E = l == null ? void 0 : l[s.transferIndex]) == null ? void 0 : E.status, d = r.denomIn, x = s.denomOut, f = {
36609
- denom: d,
36870
+ var C, A, M, E;
36871
+ const t = he(), { route: c } = U(Ue), a = U(Cn), r = e[0], s = e[e.length - 1], l = n == null ? void 0 : n.transferEvents, p = i === te.confirmed ? "completed" : (C = l == null ? void 0 : l[r.transferIndex]) == null ? void 0 : C.status, u = i === te.confirmed ? "completed" : (A = l == null ? void 0 : l[s.transferIndex]) == null ? void 0 : A.status, d = {
36872
+ denom: r.denomIn,
36610
36873
  tokenAmount: r.amountIn,
36611
36874
  chainId: r.fromChainID ?? r.chainID,
36612
36875
  usdValue: c == null ? void 0 : c.usdAmountIn
36613
- }, w = {
36614
- denom: x,
36876
+ }, x = {
36877
+ denom: s.denomOut,
36615
36878
  tokenAmount: s.amountOut,
36616
36879
  chainId: s.toChainID ?? s.chainID,
36617
36880
  usdValue: c == null ? void 0 : c.usdAmountOut
36618
- }, H = s.signRequired, B = (j = l == null ? void 0 : l[r.transferIndex]) == null ? void 0 : j.fromExplorerLink, C = (T = l == null ? void 0 : l[s.transferIndex]) == null ? void 0 : T.toExplorerLink, A = W(() => {
36619
- var g;
36620
- if (H) return;
36621
- const h = a ? Object.keys(a).length - 1 : 0;
36622
- if (!(!((g = a == null ? void 0 : a[h]) != null && g.address) || i === te.pending || i === te.waitingForSigning || i === te.validatingGasBalance || i === te.confirmed))
36881
+ }, f = s.signRequired, w = (M = l == null ? void 0 : l[r.transferIndex]) == null ? void 0 : M.fromExplorerLink, H = (E = l == null ? void 0 : l[s.transferIndex]) == null ? void 0 : E.toExplorerLink, B = W(() => {
36882
+ var h;
36883
+ if (f) return;
36884
+ const j = a ? Object.keys(a).length - 1 : 0;
36885
+ if (!(!((h = a == null ? void 0 : a[j]) != null && h.address) || i === te.pending || i === te.waitingForSigning || i === te.validatingGasBalance || i === te.confirmed))
36623
36886
  return o;
36624
- }, [H, a, i, o]);
36887
+ }, [f, a, i, o]);
36625
36888
  return /* @__PURE__ */ q(GD, { justify: "space-between", children: [
36626
36889
  /* @__PURE__ */ m(
36627
36890
  Nr,
36628
36891
  {
36629
- ...f,
36892
+ ...d,
36630
36893
  status: p,
36631
36894
  context: "source",
36632
- explorerLink: B
36895
+ explorerLink: w
36633
36896
  }
36634
36897
  ),
36635
36898
  /* @__PURE__ */ m(WD, { color: t.primary.text.normal }),
36636
36899
  /* @__PURE__ */ m(
36637
36900
  Nr,
36638
36901
  {
36639
- ...w,
36902
+ ...x,
36640
36903
  icon: X.pen,
36641
36904
  status: u,
36642
- onClickEditDestinationWallet: A,
36643
- explorerLink: C,
36905
+ onClickEditDestinationWallet: B,
36906
+ explorerLink: H,
36644
36907
  context: "destination"
36645
36908
  }
36646
36909
  )
@@ -38599,14 +38862,14 @@ const pm = Zx(void 0), da = ao((e) => {
38599
38862
  A.currentTarget.selectionStart === A.currentTarget.selectionEnd && A.currentTarget.select();
38600
38863
  return;
38601
38864
  case "ArrowUp":
38602
- A.preventDefault(), M = new Ae(
38865
+ A.preventDefault(), M = new be(
38603
38866
  It(A.currentTarget.value) || "0"
38604
- ), A.shiftKey ? M = M.plus(10) : A.altKey || A.ctrlKey || A.metaKey ? M = M.plus(0.1) : M = M.plus(1), M.isNegative() && (M = new Ae(0)), o(M.toString());
38867
+ ), A.shiftKey ? M = M.plus(10) : A.altKey || A.ctrlKey || A.metaKey ? M = M.plus(0.1) : M = M.plus(1), M.isNegative() && (M = new be(0)), o(M.toString());
38605
38868
  break;
38606
38869
  case "ArrowDown":
38607
- A.preventDefault(), M = new Ae(
38870
+ A.preventDefault(), M = new be(
38608
38871
  It(A.currentTarget.value) || "0"
38609
- ), A.shiftKey ? M = M.minus(10) : A.altKey || A.ctrlKey || A.metaKey ? M = M.minus(0.1) : M = M.minus(1), M.isNegative() && (M = new Ae(0)), o(M.toString());
38872
+ ), A.shiftKey ? M = M.minus(10) : A.altKey || A.ctrlKey || A.metaKey ? M = M.minus(0.1) : M = M.minus(1), M.isNegative() && (M = new be(0)), o(M.toString());
38610
38873
  break;
38611
38874
  default:
38612
38875
  return;
@@ -40142,26 +40405,26 @@ const Cm = () => {
40142
40405
  const l = (() => {
40143
40406
  if (!r.gasPrice) return;
40144
40407
  const f = r.gasPrice.average || r.gasPrice.high || r.gasPrice.low;
40145
- return new lp(sp.fromUserInput(f, 18), r.denom);
40408
+ return new lp(sp.fromUserInput(be(f).toFixed(), 18), r.denom);
40146
40409
  })();
40147
40410
  if (!l) return;
40148
40411
  const p = i == null ? void 0 : i.map((f) => f.chainID).includes(e), d = mp(Math.ceil(parseFloat(String(p ? Q0 : Y0))), l).amount[0].amount;
40149
40412
  return {
40150
40413
  feeAmount: d,
40151
40414
  denom: r.denom,
40152
- balanceWithFees: Ae(s).minus(d).toString(),
40153
- isSufficient: s ? Ae(s).isGreaterThanOrEqualTo(Ae(d)) : !1
40415
+ balanceWithFees: be(s).minus(d).toString(),
40416
+ isSufficient: s ? be(s).isGreaterThanOrEqualTo(be(d)) : !1
40154
40417
  };
40155
40418
  }).filter((r) => r);
40156
40419
  }, [e, o, n, i]);
40157
40420
  }, D1 = () => {
40158
40421
  const e = U(Ee), { data: n } = U(fn), o = km(e == null ? void 0 : e.chainID), i = kt(), t = o == null ? void 0 : o.find((s) => s == null ? void 0 : s.isSufficient);
40159
40422
  if ((t == null ? void 0 : t.denom) !== (e == null ? void 0 : e.denom))
40160
- return !(!(e != null && e.amount) || Ae(i).isGreaterThanOrEqualTo(Ae(e == null ? void 0 : e.amount)));
40423
+ return !(!(e != null && e.amount) || be(i).isGreaterThanOrEqualTo(be(e == null ? void 0 : e.amount)));
40161
40424
  const c = n == null ? void 0 : n.find((s) => s.denom === (t == null ? void 0 : t.denom));
40162
40425
  if (!(t != null && t.balanceWithFees)) return !1;
40163
40426
  const a = en(t == null ? void 0 : t.balanceWithFees, c == null ? void 0 : c.decimals);
40164
- return !(e != null && e.amount ? Ae(a).isGreaterThanOrEqualTo(Ae(e == null ? void 0 : e.amount)) : !1);
40427
+ return !(e != null && e.amount ? be(a).isGreaterThanOrEqualTo(be(e == null ? void 0 : e.amount)) : !1);
40165
40428
  }, x1 = () => {
40166
40429
  var c, a, r, s, l, p, u;
40167
40430
  const [e] = ue(Ee), n = nn({
@@ -40195,7 +40458,7 @@ const Cm = () => {
40195
40458
  }, kt = () => {
40196
40459
  const { data: e } = Cm(), n = x1(), o = e == null ? void 0 : e.amount;
40197
40460
  if (n && o) {
40198
- const i = Ae(o).minus(n).toString(), t = en(i, e == null ? void 0 : e.decimals);
40461
+ const i = be(o).minus(n).toString(), t = en(i, e == null ? void 0 : e.decimals);
40199
40462
  return Number(t) > 0 ? t : "0";
40200
40463
  }
40201
40464
  return o && en(String(o), e == null ? void 0 : e.decimals);
@@ -40209,7 +40472,7 @@ const Cm = () => {
40209
40472
  if (!(n != null && n.amount)) return !1;
40210
40473
  if (!e) return !0;
40211
40474
  const t = o == null ? void 0 : o.find((c) => c.chainID === (n == null ? void 0 : n.chainID));
40212
- return (t == null ? void 0 : t.chainType) === "cosmos" ? i : !Ae(e).isGreaterThanOrEqualTo(Ae(n == null ? void 0 : n.amount));
40475
+ return (t == null ? void 0 : t.chainType) === "cosmos" ? i : !be(e).isGreaterThanOrEqualTo(be(n == null ? void 0 : n.amount));
40213
40476
  }, b1 = (e) => /* @__PURE__ */ q(
40214
40477
  "svg",
40215
40478
  {
@@ -41523,13 +41786,13 @@ const ug = (e) => {
41523
41786
  children: e
41524
41787
  },
41525
41788
  "skip-widget-wagmi-provider"
41526
- ), Em = ({ children: e }) => /* @__PURE__ */ m(kg, { children: /* @__PURE__ */ m(wg, { children: e }) }), Pm = new ip(), tf = (e) => {
41789
+ ), Em = ({ children: e }) => /* @__PURE__ */ m(kg, { children: /* @__PURE__ */ m(wg, { children: e }) }), Pm = new ip(), i3 = (e) => {
41527
41790
  const { theme: n } = Bm(e);
41528
41791
  return /* @__PURE__ */ m(zc, { theme: n, children: /* @__PURE__ */ m(Em, { children: /* @__PURE__ */ m(ts, { client: Pm, children: /* @__PURE__ */ m(ne.Provider, { children: /* @__PURE__ */ m(Fm, { children: /* @__PURE__ */ m(vm, {}) }) }) }, "skip-widget") }) });
41529
41792
  }, yg = (e) => {
41530
41793
  const { theme: n } = Bm(e);
41531
41794
  return /* @__PURE__ */ m(zc, { theme: n, children: /* @__PURE__ */ m(Em, { children: /* @__PURE__ */ m(ts, { client: Pm, children: /* @__PURE__ */ m(Fm, { children: /* @__PURE__ */ m(vm, {}) }) }, "skip-widget") }) });
41532
- }, cf = ({
41795
+ }, t3 = ({
41533
41796
  button: e = /* @__PURE__ */ m("button", { children: "show widget" }),
41534
41797
  ...n
41535
41798
  }) => {
@@ -41592,15 +41855,15 @@ const ug = (e) => {
41592
41855
  `;
41593
41856
  export {
41594
41857
  Js as H,
41595
- cf as S,
41596
- tf as W,
41858
+ t3 as S,
41859
+ i3 as W,
41597
41860
  ut as b,
41598
- nf as c,
41861
+ n3 as c,
41599
41862
  Wi as d,
41600
41863
  Ji as e,
41601
- ef as h,
41864
+ e3 as h,
41602
41865
  yu as l,
41603
- of as r,
41866
+ o3 as r,
41604
41867
  dd as s,
41605
41868
  Tc as t
41606
41869
  };
package/build/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { S as t, W as d, d as h, l as s } from "./index-Bjad8Lua.js";
1
+ import { S as t, W as d, d as h, l as s } from "./index-BlSkQg2a.js";
2
2
  export {
3
3
  t as ShowWidget,
4
4
  d as Widget,
@@ -1,4 +1,4 @@
1
- import { H as Pt, h as Ft, t as Gt, e as Ot, b as Wt, c as Xt, r as Dt, s as Qt } from "./index-Bjad8Lua.js";
1
+ import { H as Pt, h as Ft, t as Gt, e as Ot, b as Wt, c as Xt, r as Dt, s as Qt } from "./index-BlSkQg2a.js";
2
2
  /*! noble-curves - MIT License (c) 2022 Paul Miller (paulmillr.com) */
3
3
  const Ut = BigInt(0), ht = BigInt(1), Jt = BigInt(2);
4
4
  function nt(e) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@skip-go/widget",
3
3
  "description": "Swap widget",
4
- "version": "3.0.20",
4
+ "version": "3.0.21",
5
5
  "repository": {
6
6
  "url": "https://github.com/skip-mev/skip-go",
7
7
  "directory": "packages/widget"
@@ -39,7 +39,7 @@
39
39
  "@penumbra-zone/transport-dom": "^7.5.0",
40
40
  "@r2wc/react-to-web-component": "^2.0.3",
41
41
  "@radix-ui/react-dialog": "^1.1.1",
42
- "@skip-go/client": "0.15.2",
42
+ "@skip-go/client": "0.15.3",
43
43
  "@solana/spl-token": "^0.4.8",
44
44
  "@solana/wallet-adapter-backpack": "^0.1.14",
45
45
  "@solana/wallet-adapter-coinbase": "^0.1.19",