@wormhole-foundation/wormhole-connect 1.1.8 → 1.1.9-beta.0-development

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.
Files changed (134) hide show
  1. package/dist/assets/{algorand-Bg-MfjsH.js → algorand-vDDEz6KP.js} +2 -2
  2. package/dist/assets/{ccip-atE20ZEL.js → ccip-B1JPJPOY.js} +1 -1
  3. package/dist/assets/{cosmwasm-xANzAboS.js → cosmwasm-DP4CIVSM.js} +2 -2
  4. package/dist/assets/{evm-B20gvxWA.js → evm-BB3755Wr.js} +1 -1
  5. package/dist/assets/{evm-DiRlPnyB.js → evm-FvO3h1wl.js} +4 -4
  6. package/dist/assets/{index-C6qclzFA.js → index-B1mp7Z63.js} +1 -1
  7. package/dist/assets/{index-eLk_b8u9.js → index-BU0ECMia.js} +1 -1
  8. package/dist/assets/{index-DyD6kblh.js → index-BbJVBTsE.js} +1 -1
  9. package/dist/assets/{index-BYxgRLLh.js → index-BhEp9mlK.js} +1 -1
  10. package/dist/assets/{index-D3WFv54i.js → index-Bvun80fl.js} +1 -1
  11. package/dist/assets/{index-jD6ZZ5Tu.js → index-Bz-32kSJ.js} +1 -1
  12. package/dist/assets/{index-CLcPjTbq.js → index-CVb8oZT5.js} +2 -2
  13. package/dist/assets/index-DP2zLB5d.js +5 -0
  14. package/dist/assets/index-Dp6gvGvL.js +2 -0
  15. package/dist/assets/{index-CxijOPcm.js → index-re-SltAL.js} +1 -1
  16. package/dist/assets/{index-DOuohql9.js → index-tGkAuFX0.js} +1 -1
  17. package/dist/assets/{index.es-BxGbRBbk.js → index.es-D8YphuI4.js} +2 -2
  18. package/dist/assets/{solana-DOaiyZir.js → solana-Bc-ePjuF.js} +1 -1
  19. package/dist/assets/{sui-mXOoFb4M.js → sui-DVNpNCUB.js} +4 -4
  20. package/dist/assets/{unsignedTransaction-0WUum9tP.js → unsignedTransaction-CPy_oMd2.js} +1 -1
  21. package/dist/assets/unsignedTransaction-arVvzoJx.js +1 -0
  22. package/dist/main.js +58 -58
  23. package/dist/src/config/mainnet/tokens.d.ts.map +1 -1
  24. package/dist/src/config/testnet/tokens.d.ts.map +1 -1
  25. package/dist/src/hooks/useTransactionHistoryWHScan.d.ts.map +1 -1
  26. package/dist/src/icons/Chains/WORLD.d.ts.map +1 -1
  27. package/dist/src/icons/TokenIcons.d.ts.map +1 -1
  28. package/dist/src/icons/Tokens/WORLD.d.ts +4 -0
  29. package/dist/src/icons/Tokens/WORLD.d.ts.map +1 -0
  30. package/dist/src/utils/sdkv2.d.ts.map +1 -1
  31. package/lib/{algorand-DUcbNcTT.mjs → algorand-CprzAHj4.mjs} +3 -3
  32. package/lib/{algorand-BvtlkYvW.js → algorand-D2kn_YCP.js} +1 -1
  33. package/lib/{aptos-B4rlOyU6.mjs → aptos-Cbdd7TGX.mjs} +3 -3
  34. package/lib/{aptos-BhgRAjHC.js → aptos-CooxpMkq.js} +2 -2
  35. package/lib/{aptos-nQowjIcb.mjs → aptos-CxfujMIg.mjs} +1 -1
  36. package/lib/{aptos-DhzeFi4o.js → aptos-D4EZf1pL.js} +1 -1
  37. package/lib/{ccip-jzRXPLFO.mjs → ccip-B7sQsroM.mjs} +1 -1
  38. package/lib/{ccip-BGUsNrsA.js → ccip-l4G3agzc.js} +1 -1
  39. package/lib/{cosmwasm-CGeqw6cI.js → cosmwasm-CzoZmAov.js} +2 -2
  40. package/lib/{cosmwasm-DrywDSkp.mjs → cosmwasm-r9Dcfq2_.mjs} +6 -6
  41. package/lib/{events-DuoZYNKO.mjs → events-BD3jHr55.mjs} +1 -1
  42. package/lib/{events-COjha8bx.js → events-DPG_k7aT.js} +1 -1
  43. package/lib/{evm-BBDClE2g.js → evm-CWPWco3x.js} +4 -4
  44. package/lib/{evm-BuIItcEA.mjs → evm-CqZH4qDI.mjs} +12 -12
  45. package/lib/{evm-CYnUn08H.js → evm-DA0UVqiZ.js} +1 -1
  46. package/lib/{evm-CEj34i-Y.mjs → evm-MLYkwdYo.mjs} +7 -7
  47. package/lib/{index-CdExxm-8.mjs → index-1P7DtP2r.mjs} +2 -2
  48. package/lib/{index-CJEjOaWr.mjs → index-5sE8OCOP.mjs} +1 -1
  49. package/lib/{index-NNKFqYq6.js → index-B2ALlGbm.js} +1 -1
  50. package/lib/{index-BJvQdk3o.js → index-B72tCThM.js} +7 -7
  51. package/lib/{index-CWM3H2LC.js → index-B9-xYyXd.js} +1 -1
  52. package/lib/{index-Bbhbkgfa.mjs → index-B9mhdAdq.mjs} +2 -2
  53. package/lib/{index-D9h0sJ3x.mjs → index-BA3kjRAK.mjs} +1 -1
  54. package/lib/{index-BIVNmWjC.js → index-BKK6e2Zn.js} +1 -1
  55. package/lib/{index-CRv6XxH6.mjs → index-BYIBymjK.mjs} +2 -2
  56. package/lib/{index-Cyjyg63s.js → index-BbDtFGWT.js} +1 -1
  57. package/lib/{index-DKptU_Hc.mjs → index-Bp9D0p75.mjs} +4 -4
  58. package/lib/{index-uAstvLd8.mjs → index-Bt79Gcg4.mjs} +2 -2
  59. package/lib/{index-Dc5wV51P.mjs → index-BwifXygO.mjs} +218 -125
  60. package/lib/{index-B6AFQ_fB.js → index-C-_dVgsh.js} +1 -1
  61. package/lib/{index-Bh9u5bZu.mjs → index-C41sqz-E.mjs} +2 -2
  62. package/lib/{index-B2JFHCjY.js → index-CGpV5u19.js} +1 -1
  63. package/lib/{index-BTncL8og.js → index-CRM9RIQm.js} +1 -1
  64. package/lib/{index-B-LwhonE.js → index-CT6UJ_EL.js} +1 -1
  65. package/lib/{index-CTHiXye2.js → index-CWJxT6vs.js} +1 -1
  66. package/lib/{index-Ds_oSleh.js → index-CgdZLNBr.js} +1 -1
  67. package/lib/{index-CjexIr7B.mjs → index-Ch4JHScc.mjs} +2 -2
  68. package/lib/{index-BJuAlURA.mjs → index-CjBfG1PD.mjs} +3 -3
  69. package/lib/index-CuMsUIvK.js +5 -0
  70. package/lib/{index-Cdpg2Kj3.mjs → index-CzSNeEZ7.mjs} +2 -2
  71. package/lib/{index-BXkKxPSN.mjs → index-D0i-3BNU.mjs} +2 -2
  72. package/lib/{index-a5wU3oUB.js → index-D2NQOwWl.js} +1 -1
  73. package/lib/{index-vjvft509.js → index-D6IvMYTY.js} +1 -1
  74. package/lib/{index-CXIAreWV.js → index-D6_pFYbp.js} +1 -1
  75. package/lib/{index-BISC0EuN.mjs → index-D7o-xpfy.mjs} +2 -2
  76. package/lib/index-DG-zySXj.js +1 -0
  77. package/lib/index-DPkB79ju.mjs +3816 -0
  78. package/lib/{index-DcurocLc.mjs → index-DTDgv8BR.mjs} +2 -2
  79. package/lib/{index-DdeuHj0J.mjs → index-D_HXrfx2.mjs} +1 -1
  80. package/lib/{index-qoWS15WJ.mjs → index-DfZldCn-.mjs} +4 -4
  81. package/lib/{index-D9fbH3oE.mjs → index-Dfq8cOSZ.mjs} +11 -11
  82. package/lib/{index-A72nDBhY.mjs → index-DgCVdoY_.mjs} +1 -1
  83. package/lib/{index-BuGRcK_Q.js → index-DsaeOVzT.js} +1 -1
  84. package/lib/{index-8IabBseN.js → index-DtJmfQmV.js} +1 -1
  85. package/lib/{index-D5tJ7kz1.js → index-HoGFMJt0.js} +1 -1
  86. package/lib/{index-BeJsTgpu.mjs → index-JEf11FIl.mjs} +4 -4
  87. package/lib/{index-D7uCV0-2.mjs → index-LhBPWv5M.mjs} +140 -149
  88. package/lib/{index-DlnKgVH2.js → index-LnwD-DoX.js} +1 -1
  89. package/lib/{index-HLOU4jOA.mjs → index-QA9dpScn.mjs} +2 -2
  90. package/lib/{index-Bi4OJr6O.js → index-ZlQhJUEX.js} +1 -1
  91. package/lib/index-qXJjecnK.js +5 -0
  92. package/lib/{index-DEi8dfu-.js → index-ruz_whBI.js} +1 -1
  93. package/lib/{index.es-tj48a6VI.mjs → index.es-DpTW5wIE.mjs} +5 -5
  94. package/lib/{index.es-ex5QzFoQ.js → index.es-Pku98btF.js} +2 -2
  95. package/lib/index.js +1 -1
  96. package/lib/index.mjs +2 -2
  97. package/lib/{keccak-CVFfUSfU.mjs → keccak-DWESGy_C.mjs} +1 -1
  98. package/lib/{keccak-CzODwJ6V.js → keccak-Rx7RS8L6.js} +1 -1
  99. package/lib/{pbkdf2-DLmVRSHA.js → pbkdf2-6hG-XBJs.js} +1 -1
  100. package/lib/{pbkdf2-GUTNazYD.mjs → pbkdf2-BVpVer9L.mjs} +1 -1
  101. package/lib/{signer-rbcgQjZj.js → signer-DhWIDOWp.js} +1 -1
  102. package/lib/{signer-Cqs1I7RB.mjs → signer-Dz4VN8ZI.mjs} +1 -1
  103. package/lib/solana-B6zAgqCg.mjs +16 -0
  104. package/lib/{solana-DoqT3pca.js → solana-BWM14UIk.js} +1 -1
  105. package/lib/solana-CKkJ-kf3.js +1 -0
  106. package/lib/{solana-7ZFkKRtX.mjs → solana-Dvddqnn3.mjs} +4 -4
  107. package/lib/{solanaEmbed.esm-Bkti_f5v.js → solanaEmbed.esm-Ghqj1fn8.js} +1 -1
  108. package/lib/{solanaEmbed.esm-LdO_IpPZ.mjs → solanaEmbed.esm-qmqvaX26.mjs} +3 -3
  109. package/lib/src/config/mainnet/tokens.d.ts.map +1 -1
  110. package/lib/src/config/testnet/tokens.d.ts.map +1 -1
  111. package/lib/src/hooks/useTransactionHistoryWHScan.d.ts.map +1 -1
  112. package/lib/src/icons/Chains/WORLD.d.ts.map +1 -1
  113. package/lib/src/icons/TokenIcons.d.ts.map +1 -1
  114. package/lib/src/icons/Tokens/WORLD.d.ts +4 -0
  115. package/lib/src/icons/Tokens/WORLD.d.ts.map +1 -0
  116. package/lib/src/utils/sdkv2.d.ts.map +1 -1
  117. package/lib/{sui-DfRirJoo.js → sui-BAoaV0fk.js} +1 -1
  118. package/lib/{sui-Df7REI6I.js → sui-COMAcPz7.js} +2 -2
  119. package/lib/{sui-Ch7mNd_P.mjs → sui-DKW6LQmE.mjs} +74 -75
  120. package/lib/{sui-BffnXOND.mjs → sui-DWDf6r1T.mjs} +1 -1
  121. package/lib/{unsignedTransaction-CvjJdjtG.js → unsignedTransaction-B9dxNqAu.js} +1 -1
  122. package/lib/unsignedTransaction-BD81leu1.mjs +16 -0
  123. package/lib/unsignedTransaction-DzSLsK-p.js +1 -0
  124. package/lib/{unsignedTransaction-CsCwFMvo.mjs → unsignedTransaction-T9pxJxVn.mjs} +4 -4
  125. package/package.json +17 -17
  126. package/dist/assets/index-CKe5Sopa.js +0 -2
  127. package/dist/src/utils/repairVaa.d.ts +0 -4
  128. package/dist/src/utils/repairVaa.d.ts.map +0 -1
  129. package/lib/index-BsHKXTKU.js +0 -1
  130. package/lib/index-DgbQ-dwi.js +0 -5
  131. package/lib/solana-BYPpXpJs.js +0 -1
  132. package/lib/solana-CcjhlsWI.mjs +0 -16
  133. package/lib/src/utils/repairVaa.d.ts +0 -4
  134. package/lib/src/utils/repairVaa.d.ts.map +0 -1
@@ -1,8 +1,8 @@
1
1
  var Tn = Object.defineProperty;
2
2
  var En = (t, e, r) => e in t ? Tn(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
3
3
  var we = (t, e, r) => En(t, typeof e != "symbol" ? e + "" : e, r);
4
- import { v as ut, w as Le, x as Bt, y as O, z as Mt, B as oe, D as vn, M as Pt, F as Me, G as ce, H as kn, I as Fe, J as gr, C as xn, K as pr, L as _n, N as In, i as An, k as On, l as Cn, O as jn, o as Bn, p as lt, q as Mn, Q as Je, t as Pn, R as Rn, T as xr, U as _r, n as fe, c as $n } from "./index-Dc5wV51P.mjs";
5
- import { p as Nn } from "./pbkdf2-GUTNazYD.mjs";
4
+ import { v as ut, w as Le, x as jt, y as O, z as Mt, B as oe, D as vn, M as Pt, F as Me, G as ce, H as kn, I as Fe, J as gr, C as xn, K as pr, L as _n, N as In, i as An, k as On, l as Cn, O as Bn, o as jn, p as lt, q as Mn, Q as Je, t as Pn, R as Rn, T as xr, U as _r, n as fe, c as $n } from "./index-BwifXygO.mjs";
5
+ import { p as Nn } from "./pbkdf2-BVpVer9L.mjs";
6
6
  function H(t) {
7
7
  return Uint8Array.from(atob(t), (e) => e.charCodeAt(0));
8
8
  }
@@ -310,7 +310,7 @@ var Cr = (t, e, r) => {
310
310
  throw TypeError("Cannot add the same private member more than once");
311
311
  e instanceof WeakSet ? e.add(t) : e.set(t, r);
312
312
  }, nt = (t, e, r, n) => (Cr(t, e, "write to private field"), e.set(t, r), r), be, _e, Xe, ae;
313
- const jr = class {
313
+ const Br = class {
314
314
  constructor(t) {
315
315
  rt(this, be, void 0), rt(this, _e, void 0), this.name = t.name, this.read = t.read, this.serializedSize = t.serializedSize ?? (() => null), nt(this, be, t.write), nt(this, _e, t.serialize ?? ((e, r) => {
316
316
  const n = new Or({ size: this.serializedSize(e) ?? void 0, ...r });
@@ -333,7 +333,7 @@ const jr = class {
333
333
  input: e,
334
334
  output: r
335
335
  }) {
336
- return new jr({
336
+ return new Br({
337
337
  name: t ?? this.name,
338
338
  read: (n) => r(this.read(n)),
339
339
  write: (n, s) => W(this, be).call(this, e(n), s),
@@ -343,12 +343,12 @@ const jr = class {
343
343
  });
344
344
  }
345
345
  };
346
- let K = jr;
346
+ let K = Br;
347
347
  be = /* @__PURE__ */ new WeakMap();
348
348
  _e = /* @__PURE__ */ new WeakMap();
349
- const Br = Symbol.for("@mysten/serialized-bcs");
349
+ const jr = Symbol.for("@mysten/serialized-bcs");
350
350
  function $t(t) {
351
- return !!t && typeof t == "object" && t[Br] === !0;
351
+ return !!t && typeof t == "object" && t[jr] === !0;
352
352
  }
353
353
  class Vn {
354
354
  constructor(e, r) {
@@ -356,7 +356,7 @@ class Vn {
356
356
  }
357
357
  // Used to brand SerializedBcs so that they can be identified, even between multiple copies
358
358
  // of the @mysten/bcs package are installed
359
- get [Br]() {
359
+ get [jr]() {
360
360
  return !0;
361
361
  }
362
362
  toBytes() {
@@ -1290,13 +1290,13 @@ ${JSON.stringify(t)}`);
1290
1290
  );
1291
1291
  else {
1292
1292
  const k = i.indexOf(p);
1293
- let { name: S, params: j } = this.parseTypeName(d[k]);
1293
+ let { name: S, params: B } = this.parseTypeName(d[k]);
1294
1294
  if (this.hasType(S)) {
1295
1295
  this.getTypeInterface(S)._encodeRaw.call(
1296
1296
  this,
1297
1297
  o,
1298
1298
  u[g],
1299
- j,
1299
+ B,
1300
1300
  f
1301
1301
  );
1302
1302
  continue;
@@ -1336,12 +1336,12 @@ ${JSON.stringify(t)}`);
1336
1336
  );
1337
1337
  else {
1338
1338
  const k = i.indexOf(p);
1339
- let { name: S, params: j } = this.parseTypeName(u[k]);
1339
+ let { name: S, params: B } = this.parseTypeName(u[k]);
1340
1340
  if (this.hasType(S)) {
1341
1341
  f[g] = this.getTypeInterface(S)._decodeRaw.call(
1342
1342
  this,
1343
1343
  o,
1344
- j,
1344
+ B,
1345
1345
  d
1346
1346
  );
1347
1347
  continue;
@@ -1417,9 +1417,9 @@ Received: "${JSON.stringify(u)}"`
1417
1417
  let y = n[p], k = r[y];
1418
1418
  if (o.write8(p), k === null)
1419
1419
  return o;
1420
- let S = i.indexOf(k), j = S === -1 ? k : d[S];
1420
+ let S = i.indexOf(k), B = S === -1 ? k : d[S];
1421
1421
  {
1422
- let { name: M, params: se } = this.parseTypeName(j);
1422
+ let { name: M, params: se } = this.parseTypeName(B);
1423
1423
  return this.getTypeInterface(M)._encodeRaw.call(
1424
1424
  this,
1425
1425
  o,
@@ -1439,9 +1439,9 @@ Received: "${JSON.stringify(u)}"`
1439
1439
  return { [g]: !0 };
1440
1440
  let y = i.indexOf(p), k = y === -1 ? p : u[y];
1441
1441
  {
1442
- let { name: S, params: j } = this.parseTypeName(k);
1442
+ let { name: S, params: B } = this.parseTypeName(k);
1443
1443
  return {
1444
- [g]: this.getTypeInterface(S)._decodeRaw.call(this, o, j, d)
1444
+ [g]: this.getTypeInterface(S)._decodeRaw.call(this, o, B, d)
1445
1445
  };
1446
1446
  }
1447
1447
  }
@@ -1949,7 +1949,7 @@ function es(t) {
1949
1949
  }
1950
1950
  const ts = (t) => Ur(`mnemonic${t}`);
1951
1951
  function rs(t, e = "") {
1952
- return Nn(Bt, es(t).nfkd, ts(e), { c: 2048, dkLen: 64 });
1952
+ return Nn(jt, es(t).nfkd, ts(e), { c: 2048, dkLen: 64 });
1953
1953
  }
1954
1954
  const ns = "0.50.1", ss = "1.19.0", is = {
1955
1955
  "-32700": "ParseError",
@@ -1984,7 +1984,7 @@ var Ut = (t, e, r) => {
1984
1984
  get _() {
1985
1985
  return _(t, e, n);
1986
1986
  }
1987
- }), Vr = (t, e, r) => (Ut(t, e, "access private method"), r), he, je, ee, ge, Re, Ee, Tt, Lr, Dt, qr;
1987
+ }), Vr = (t, e, r) => (Ut(t, e, "access private method"), r), he, Be, ee, ge, Re, Ee, Tt, Lr, Dt, qr;
1988
1988
  function cs(t) {
1989
1989
  const e = new URL(t);
1990
1990
  return e.protocol = e.protocol.replace("http", "ws"), e.toString();
@@ -1998,7 +1998,7 @@ const us = {
1998
1998
  };
1999
1999
  class ds {
2000
2000
  constructor(e, r = {}) {
2001
- if (ie(this, Tt), ie(this, Dt), ie(this, he, 0), ie(this, je, 0), ie(this, ee, null), ie(this, ge, null), ie(this, Re, /* @__PURE__ */ new Set()), ie(this, Ee, /* @__PURE__ */ new Map()), this.endpoint = e, this.options = { ...us, ...r }, !this.options.WebSocketConstructor)
2001
+ if (ie(this, Tt), ie(this, Dt), ie(this, he, 0), ie(this, Be, 0), ie(this, ee, null), ie(this, ge, null), ie(this, Re, /* @__PURE__ */ new Set()), ie(this, Ee, /* @__PURE__ */ new Map()), this.endpoint = e, this.options = { ...us, ...r }, !this.options.WebSocketConstructor)
2002
2002
  throw new Error("Missing WebSocket constructor");
2003
2003
  this.endpoint.startsWith("http") && (this.endpoint = cs(this.endpoint));
2004
2004
  }
@@ -2024,7 +2024,7 @@ class ds {
2024
2024
  }
2025
2025
  }
2026
2026
  he = /* @__PURE__ */ new WeakMap();
2027
- je = /* @__PURE__ */ new WeakMap();
2027
+ Be = /* @__PURE__ */ new WeakMap();
2028
2028
  ee = /* @__PURE__ */ new WeakMap();
2029
2029
  ge = /* @__PURE__ */ new WeakMap();
2030
2030
  Re = /* @__PURE__ */ new WeakMap();
@@ -2034,9 +2034,9 @@ Lr = function() {
2034
2034
  return _(this, ge) ? _(this, ge) : (Te(this, ge, new Promise((t) => {
2035
2035
  var e;
2036
2036
  (e = _(this, ee)) == null || e.close(), Te(this, ee, new this.options.WebSocketConstructor(this.endpoint)), _(this, ee).addEventListener("open", () => {
2037
- Te(this, je, 0), t(_(this, ee));
2037
+ Te(this, Be, 0), t(_(this, ee));
2038
2038
  }), _(this, ee).addEventListener("close", () => {
2039
- os(this, je)._++, _(this, je) <= this.options.maxReconnects && setTimeout(() => {
2039
+ os(this, Be)._++, _(this, Be) <= this.options.maxReconnects && setTimeout(() => {
2040
2040
  Vr(this, Dt, qr).call(this);
2041
2041
  }, this.options.reconnectTimeout);
2042
2042
  }), _(this, ee).addEventListener("message", ({ data: r }) => {
@@ -2093,10 +2093,10 @@ var zt = (t, e, r) => {
2093
2093
  if (e.has(t))
2094
2094
  throw TypeError("Cannot add the same private member more than once");
2095
2095
  e instanceof WeakSet ? e.add(t) : e.set(t, r);
2096
- }, Et = (t, e, r, n) => (zt(t, e, "write to private field"), e.set(t, r), r), fs = (t, e, r) => (zt(t, e, "access private method"), r), Ae, F, Be, vt, Wr;
2096
+ }, Et = (t, e, r, n) => (zt(t, e, "write to private field"), e.set(t, r), r), fs = (t, e, r) => (zt(t, e, "access private method"), r), Ae, F, je, vt, Wr;
2097
2097
  class hs {
2098
2098
  constructor(e) {
2099
- Ke(this, vt), Ke(this, Ae, 0), Ke(this, F, void 0), Ke(this, Be, void 0), Et(this, F, e);
2099
+ Ke(this, vt), Ke(this, Ae, 0), Ke(this, F, void 0), Ke(this, je, void 0), Et(this, F, e);
2100
2100
  }
2101
2101
  fetch(e, r) {
2102
2102
  const n = z(this, F).fetch ?? globalThis.fetch;
@@ -2143,17 +2143,17 @@ class hs {
2143
2143
  }
2144
2144
  Ae = /* @__PURE__ */ new WeakMap();
2145
2145
  F = /* @__PURE__ */ new WeakMap();
2146
- Be = /* @__PURE__ */ new WeakMap();
2146
+ je = /* @__PURE__ */ new WeakMap();
2147
2147
  vt = /* @__PURE__ */ new WeakSet();
2148
2148
  Wr = function() {
2149
2149
  var t;
2150
- if (!z(this, Be)) {
2150
+ if (!z(this, je)) {
2151
2151
  const e = z(this, F).WebSocketConstructor ?? globalThis.WebSocket;
2152
2152
  if (!e)
2153
2153
  throw new Error(
2154
2154
  "The current environment does not support WebSocket, you can provide a WebSocketConstructor in the options for SuiHTTPTransport."
2155
2155
  );
2156
- Et(this, Be, new ds(
2156
+ Et(this, je, new ds(
2157
2157
  ((t = z(this, F).websocket) == null ? void 0 : t.url) ?? z(this, F).url,
2158
2158
  {
2159
2159
  WebSocketConstructor: e,
@@ -2161,7 +2161,7 @@ Wr = function() {
2161
2161
  }
2162
2162
  ));
2163
2163
  }
2164
- return z(this, Be);
2164
+ return z(this, je);
2165
2165
  };
2166
2166
  const gs = /^vector<(.+)>$/, ps = /^([^:]+)::([^:]+)::([^<]+)(<(.+)>)?/;
2167
2167
  class te {
@@ -2616,13 +2616,13 @@ const ks = Pe(
2616
2616
  hasPublicTransfer: P(),
2617
2617
  version: l(),
2618
2618
  bcsBytes: l()
2619
- }), js = h({
2619
+ }), Bs = h({
2620
2620
  id: l(),
2621
2621
  /** A mapping from module name to Move bytecode enocded in base64*/
2622
2622
  moduleMap: Z(l(), l())
2623
- }), Bs = C([
2623
+ }), js = C([
2624
2624
  Pe(Cs, h({ dataType: w("moveObject") })),
2625
- Pe(js, h({ dataType: w("package") }))
2625
+ Pe(Bs, h({ dataType: w("package") }))
2626
2626
  ]);
2627
2627
  BigInt(1e9);
2628
2628
  const Zr = h({
@@ -2653,7 +2653,7 @@ const Zr = h({
2653
2653
  /**
2654
2654
  * Move object content or package content in BCS bytes, default to be undefined unless SuiObjectDataOptions.showBcs is set to true
2655
2655
  */
2656
- bcs: A(m(Bs)),
2656
+ bcs: A(m(js)),
2657
2657
  /**
2658
2658
  * The owner of this object. Default to be undefined unless SuiObjectDataOptions.showOwner is set to true
2659
2659
  */
@@ -3290,7 +3290,7 @@ var or = (t, e, r) => {
3290
3290
  if (e.has(t))
3291
3291
  throw TypeError("Cannot add the same private member more than once");
3292
3292
  e instanceof WeakSet ? e.add(t) : e.set(t, r);
3293
- }, Ze = (t, e, r, n) => (or(t, e, "write to private field"), e.set(t, r), r), B = (t, e, r) => (or(t, e, "access private method"), r), b, Oe, Ye, Ce, Qe, de, ye, cr, cn, ur, un, dr, dn, lr, ln, et, It;
3293
+ }, Ze = (t, e, r, n) => (or(t, e, "write to private field"), e.set(t, r), r), j = (t, e, r) => (or(t, e, "access private method"), r), b, Oe, Ye, Ce, Qe, de, ye, cr, cn, ur, un, dr, dn, lr, ln, et, It;
3294
3294
  const bi = {
3295
3295
  maxPureArgumentSize: 16 * 1024,
3296
3296
  maxTxGas: 5e10,
@@ -3422,9 +3422,9 @@ const At = class {
3422
3422
  get pure() {
3423
3423
  return Object.defineProperty(this, "pure", {
3424
3424
  enumerable: !1,
3425
- value: Xs((t, e) => $t(t) ? B(this, Oe, Ye).call(this, "pure", {
3425
+ value: Xs((t, e) => $t(t) ? j(this, Oe, Ye).call(this, "pure", {
3426
3426
  Pure: Array.from(t.toBytes())
3427
- }) : B(this, Oe, Ye).call(this, "pure", t instanceof Uint8Array ? $.Pure(t) : e ? $.Pure(t, e) : t))
3427
+ }) : j(this, Oe, Ye).call(this, "pure", t instanceof Uint8Array ? $.Pure(t) : e ? $.Pure(t, e) : t))
3428
3428
  }), this.pure;
3429
3429
  }
3430
3430
  /** Returns an argument for the gas coin, to be used in a transaction. */
@@ -3440,7 +3440,7 @@ const At = class {
3440
3440
  const e = wr(t), r = E(this, b).inputs.find(
3441
3441
  (n) => n.type === "object" && e === wr(n.value)
3442
3442
  );
3443
- return r && U(r.value, xt) && "Shared" in r.value.Object && U(t, xt) && "Shared" in t.Object && (r.value.Object.Shared.mutable = r.value.Object.Shared.mutable || t.Object.Shared.mutable), r ?? B(this, Oe, Ye).call(this, "object", typeof t == "string" ? O(t) : t);
3443
+ return r && U(r.value, xt) && "Shared" in r.value.Object && U(t, xt) && "Shared" in t.Object && (r.value.Object.Shared.mutable = r.value.Object.Shared.mutable || t.Object.Shared.mutable), r ?? j(this, Oe, Ye).call(this, "object", typeof t == "string" ? O(t) : t);
3444
3444
  }
3445
3445
  /**
3446
3446
  * Add a new object input to the transaction using the fully-resolved object reference.
@@ -3474,7 +3474,7 @@ const At = class {
3474
3474
  le.SplitCoins(
3475
3475
  typeof t == "string" ? this.object(t) : t,
3476
3476
  e.map(
3477
- (r) => typeof r == "number" || typeof r == "bigint" || typeof r == "string" ? this.pure.u64(r) : B(this, Ce, Qe).call(this, r)
3477
+ (r) => typeof r == "number" || typeof r == "bigint" || typeof r == "string" ? this.pure.u64(r) : j(this, Ce, Qe).call(this, r)
3478
3478
  )
3479
3479
  )
3480
3480
  );
@@ -3517,7 +3517,7 @@ const At = class {
3517
3517
  }) {
3518
3518
  return this.add(
3519
3519
  le.MoveCall({
3520
- arguments: t == null ? void 0 : t.map((n) => B(this, Ce, Qe).call(this, n)),
3520
+ arguments: t == null ? void 0 : t.map((n) => j(this, Ce, Qe).call(this, n)),
3521
3521
  typeArguments: e,
3522
3522
  target: r
3523
3523
  })
@@ -3527,7 +3527,7 @@ const At = class {
3527
3527
  return this.add(
3528
3528
  le.TransferObjects(
3529
3529
  t.map((r) => typeof r == "string" ? this.object(r) : r),
3530
- typeof e == "string" ? this.pure.address(e) : B(this, Ce, Qe).call(this, e)
3530
+ typeof e == "string" ? this.pure.address(e) : j(this, Ce, Qe).call(this, e)
3531
3531
  )
3532
3532
  );
3533
3533
  }
@@ -3564,14 +3564,14 @@ const At = class {
3564
3564
  }
3565
3565
  /** Build the transaction to BCS bytes. */
3566
3566
  async build(t = {}) {
3567
- return await B(this, et, It).call(this, t), E(this, b).build({
3568
- maxSizeBytes: B(this, de, ye).call(this, "maxTxSizeBytes", t),
3567
+ return await j(this, et, It).call(this, t), E(this, b).build({
3568
+ maxSizeBytes: j(this, de, ye).call(this, "maxTxSizeBytes", t),
3569
3569
  onlyTransactionKind: t.onlyTransactionKind
3570
3570
  });
3571
3571
  }
3572
3572
  /** Derive transaction digest */
3573
3573
  async getDigest(t = {}) {
3574
- return await B(this, et, It).call(this, t), E(this, b).getDigest();
3574
+ return await j(this, et, It).call(this, t), E(this, b).getDigest();
3575
3575
  }
3576
3576
  };
3577
3577
  let _i = At;
@@ -3610,7 +3610,7 @@ ye = function(t, { protocolConfig: e, limits: r }) {
3610
3610
  };
3611
3611
  cr = /* @__PURE__ */ new WeakSet();
3612
3612
  cn = function(t) {
3613
- const e = B(this, de, ye).call(this, "maxPureArgumentSize", t);
3613
+ const e = j(this, de, ye).call(this, "maxPureArgumentSize", t);
3614
3614
  E(this, b).inputs.forEach((r, n) => {
3615
3615
  if (U(r.value, at) && r.value.Pure.length > e)
3616
3616
  throw new Error(
@@ -3621,7 +3621,7 @@ cn = function(t) {
3621
3621
  ur = /* @__PURE__ */ new WeakSet();
3622
3622
  un = async function(t) {
3623
3623
  if (E(this, b).gasConfig.payment) {
3624
- const s = B(this, de, ye).call(this, "maxGasObjects", t);
3624
+ const s = j(this, de, ye).call(this, "maxGasObjects", t);
3625
3625
  if (E(this, b).gasConfig.payment.length > s)
3626
3626
  throw new Error(`Payment objects exceed maximum amount: ${s}`);
3627
3627
  }
@@ -3630,7 +3630,7 @@ un = async function(t) {
3630
3630
  const e = E(this, b).gasConfig.owner ?? E(this, b).sender, n = (await Ue(t).getCoins({
3631
3631
  owner: e,
3632
3632
  coinType: kn
3633
- })).data.filter((s) => !E(this, b).inputs.find((a) => U(a.value, ot) && "Object" in a.value && "ImmOrOwned" in a.value.Object ? s.coinObjectId === a.value.Object.ImmOrOwned.objectId : !1)).slice(0, B(this, de, ye).call(this, "maxGasObjects", t) - 1).map((s) => ({
3633
+ })).data.filter((s) => !E(this, b).inputs.find((a) => U(a.value, ot) && "Object" in a.value && "ImmOrOwned" in a.value.Object ? s.coinObjectId === a.value.Object.ImmOrOwned.objectId : !1)).slice(0, j(this, de, ye).call(this, "maxGasObjects", t) - 1).map((s) => ({
3634
3634
  objectId: s.coinObjectId,
3635
3635
  digest: s.digest,
3636
3636
  version: s.version
@@ -3679,22 +3679,22 @@ ln = async function(t) {
3679
3679
  const S = e[k.index];
3680
3680
  if (U(S.value, ot))
3681
3681
  return;
3682
- const j = S.value, M = _t(p, j);
3682
+ const B = S.value, M = _t(p, B);
3683
3683
  if (M) {
3684
- S.value = $.Pure(j, M);
3684
+ S.value = $.Pure(B, M);
3685
3685
  return;
3686
3686
  }
3687
3687
  if (ar(p) != null || typeof p == "object" && "TypeParameter" in p) {
3688
- if (typeof j != "string")
3688
+ if (typeof B != "string")
3689
3689
  throw new Error(
3690
3690
  `Expect the argument to be an object id string, got ${JSON.stringify(
3691
- j,
3691
+ B,
3692
3692
  null,
3693
3693
  2
3694
3694
  )}`
3695
3695
  );
3696
3696
  s.push({
3697
- id: j,
3697
+ id: B,
3698
3698
  input: S,
3699
3699
  normalizedType: p
3700
3700
  });
@@ -3702,7 +3702,7 @@ ln = async function(t) {
3702
3702
  }
3703
3703
  throw new Error(
3704
3704
  `Unknown call arg type ${JSON.stringify(p, null, 2)} for value ${JSON.stringify(
3705
- j,
3705
+ B,
3706
3706
  null,
3707
3707
  2
3708
3708
  )}`
@@ -3725,8 +3725,8 @@ ln = async function(t) {
3725
3725
  if (d.length)
3726
3726
  throw new Error(`The following input objects are invalid: ${d.join(", ")}`);
3727
3727
  s.forEach(({ id: f, input: g, normalizedType: p }) => {
3728
- var j;
3729
- const y = u.get(f), k = (j = y.data) == null ? void 0 : j.owner, S = k && typeof k == "object" && "Shared" in k ? k.Shared.initial_shared_version : void 0;
3728
+ var B;
3729
+ const y = u.get(f), k = (B = y.data) == null ? void 0 : B.owner, S = k && typeof k == "object" && "Shared" in k ? k.Shared.initial_shared_version : void 0;
3730
3730
  if (S) {
3731
3731
  const M = p != null && kt(p) == null && Qr(p) == null, se = Js(g.value) || M || p != null && kt(p) != null;
3732
3732
  g.value = $.SharedObjectRef({
@@ -3742,13 +3742,13 @@ et = /* @__PURE__ */ new WeakSet();
3742
3742
  It = async function(t) {
3743
3743
  if (!t.onlyTransactionKind && !E(this, b).sender)
3744
3744
  throw new Error("Missing transaction sender");
3745
- if (!t.protocolConfig && !t.limits && t.client && (t.protocolConfig = await t.client.getProtocolConfig()), await Promise.all([B(this, dr, dn).call(this, t), B(this, lr, ln).call(this, t)]), !t.onlyTransactionKind && (await B(this, ur, un).call(this, t), !E(this, b).gasConfig.budget)) {
3745
+ if (!t.protocolConfig && !t.limits && t.client && (t.protocolConfig = await t.client.getProtocolConfig()), await Promise.all([j(this, dr, dn).call(this, t), j(this, lr, ln).call(this, t)]), !t.onlyTransactionKind && (await j(this, ur, un).call(this, t), !E(this, b).gasConfig.budget)) {
3746
3746
  const e = await Ue(t).dryRunTransactionBlock({
3747
3747
  transactionBlock: E(this, b).build({
3748
- maxSizeBytes: B(this, de, ye).call(this, "maxTxSizeBytes", t),
3748
+ maxSizeBytes: j(this, de, ye).call(this, "maxTxSizeBytes", t),
3749
3749
  overrides: {
3750
3750
  gasConfig: {
3751
- budget: String(B(this, de, ye).call(this, "maxTxGas", t)),
3751
+ budget: String(j(this, de, ye).call(this, "maxTxGas", t)),
3752
3752
  payment: []
3753
3753
  }
3754
3754
  }
@@ -3764,7 +3764,7 @@ It = async function(t) {
3764
3764
  s > n ? s : n
3765
3765
  );
3766
3766
  }
3767
- B(this, cr, cn).call(this, t);
3767
+ j(this, cr, cn).call(this, t);
3768
3768
  };
3769
3769
  const Ii = Symbol.for("@mysten/SuiClient");
3770
3770
  class Ai {
@@ -4302,7 +4302,7 @@ function Ci(t) {
4302
4302
  function Sa(t) {
4303
4303
  return typeof t == "object" && "id" in t;
4304
4304
  }
4305
- const ji = 16 * 1024, Ta = (t) => I.ser("vector<u8>", t, { maxSize: ji }).toBytes(), Ea = async (t, e) => {
4305
+ const Bi = 16 * 1024, Ta = (t) => I.ser("vector<u8>", t, { maxSize: Bi }).toBytes(), Ea = async (t, e) => {
4306
4306
  const { data: r, error: n } = await t.getObject({
4307
4307
  id: e,
4308
4308
  options: { showContent: !0 }
@@ -4312,7 +4312,7 @@ const ji = 16 * 1024, Ta = (t) => I.ser("vector<u8>", t, { maxSize: ji }).toByte
4312
4312
  if (!r || !fr(r.content))
4313
4313
  throw new Error(`Cannot get oject for state id ${e}: ` + r);
4314
4314
  return _n(r.content.type);
4315
- }, Bi = async (t, e) => {
4315
+ }, ji = async (t, e) => {
4316
4316
  if (!oe(e))
4317
4317
  throw new Error(`Invalid object ID: ${e}`);
4318
4318
  const r = await t.getObject({
@@ -4390,20 +4390,20 @@ const ji = 16 * 1024, Ta = (t) => I.ser("vector<u8>", t, { maxSize: ji }).toByte
4390
4390
  static nativeTokenId(e, r) {
4391
4391
  if (!Q.isSupportedChain(r))
4392
4392
  throw new Error(`invalid chain for ${Ot}: ${r}`);
4393
- return Cn.tokenId(r, jn);
4393
+ return Cn.tokenId(r, Bn);
4394
4394
  }
4395
4395
  static isNativeTokenId(e, r, n) {
4396
4396
  return !Q.isSupportedChain(r) || n.chain !== r ? !1 : this.nativeTokenId(e, r) === n;
4397
4397
  }
4398
4398
  static isSupportedChain(e) {
4399
- return Bn(e) === Q._platform;
4399
+ return jn(e) === Q._platform;
4400
4400
  }
4401
4401
  static async getDecimals(e, r, n) {
4402
4402
  if (lt(n))
4403
4403
  return Mn(Q._platform);
4404
4404
  const s = new Je(n);
4405
4405
  try {
4406
- const a = await Bi(r, s.toString());
4406
+ const a = await ji(r, s.toString());
4407
4407
  if (a && "decimals" in a)
4408
4408
  return a.decimals;
4409
4409
  } catch {
@@ -4578,9 +4578,9 @@ function yn(t) {
4578
4578
  return y;
4579
4579
  const k = [];
4580
4580
  for (let S = 0; S < p.length; ++S) {
4581
- const j = p.charAt(S), M = pn[j];
4581
+ const B = p.charAt(S), M = pn[B];
4582
4582
  if (M === void 0)
4583
- return "Unknown character " + j;
4583
+ return "Unknown character " + B;
4584
4584
  y = ke(y) ^ M, !(S + 6 >= p.length) && k.push(M);
4585
4585
  }
4586
4586
  return y !== e ? "Invalid checksum for " + a : { prefix: g, words: k };
@@ -4858,7 +4858,7 @@ function na(t) {
4858
4858
  return me(ra(t));
4859
4859
  }
4860
4860
  const sa = "ed25519 seed", ia = 2147483648, aa = new RegExp("^m(\\/[0-9]+')+$"), wn = (t) => t.replace("'", ""), oa = (t) => {
4861
- const r = _r.create(Bt, sa).update(qe(t)).digest(), n = r.slice(0, 32), s = r.slice(32);
4861
+ const r = _r.create(jt, sa).update(qe(t)).digest(), n = r.slice(0, 32), s = r.slice(32);
4862
4862
  return {
4863
4863
  key: n,
4864
4864
  chainCode: s
@@ -4868,7 +4868,7 @@ const sa = "ed25519 seed", ia = 2147483648, aa = new RegExp("^m(\\/[0-9]+')+$"),
4868
4868
  new DataView(n).setUint32(0, r);
4869
4869
  const i = new Uint8Array(1 + t.length + n.byteLength);
4870
4870
  i.set(new Uint8Array(1).fill(0)), i.set(t, 1), i.set(new Uint8Array(n, 0, n.byteLength), t.length + 1);
4871
- const a = _r.create(Bt, e).update(i).digest(), o = a.slice(0, 32), u = a.slice(32);
4871
+ const a = _r.create(jt, e).update(i).digest(), o = a.slice(0, 32), u = a.slice(32);
4872
4872
  return {
4873
4873
  key: o,
4874
4874
  chainCode: u
@@ -4959,16 +4959,16 @@ class da {
4959
4959
  );
4960
4960
  }
4961
4961
  }
4962
- const jt = 32;
4962
+ const Bt = 32;
4963
4963
  class Sn extends da {
4964
4964
  /**
4965
4965
  * Create a new Ed25519PublicKey object
4966
4966
  * @param value ed25519 public key as buffer or base-64 encoded string
4967
4967
  */
4968
4968
  constructor(e) {
4969
- if (super(), typeof e == "string" ? this.data = H(e) : e instanceof Uint8Array ? this.data = e : this.data = Uint8Array.from(e), this.data.length !== jt)
4969
+ if (super(), typeof e == "string" ? this.data = H(e) : e instanceof Uint8Array ? this.data = e : this.data = Uint8Array.from(e), this.data.length !== Bt)
4970
4970
  throw new Error(
4971
- `Invalid public key input. Expected ${jt} bytes, got ${this.data.length}`
4971
+ `Invalid public key input. Expected ${Bt} bytes, got ${this.data.length}`
4972
4972
  );
4973
4973
  }
4974
4974
  /**
@@ -5006,7 +5006,7 @@ class Sn extends da {
5006
5006
  return fe.sign.detached.verify(e, n, this.toRawBytes());
5007
5007
  }
5008
5008
  }
5009
- Sn.SIZE = jt;
5009
+ Sn.SIZE = Bt;
5010
5010
  const kr = "m/44'/784'/0'/0'/0'";
5011
5011
  class Se extends ea {
5012
5012
  /**
@@ -5145,10 +5145,9 @@ const ha = {
5145
5145
  Platform: De,
5146
5146
  getSigner: la,
5147
5147
  protocols: {
5148
- WormholeCore: () => import("./index-DcurocLc.mjs"),
5149
- TokenBridge: () => import("./index-D7uCV0-2.mjs")
5150
- // TODO uncomment when enabling Sui CCTP
5151
- //CircleBridge: () => import("@wormhole-foundation/sdk-sui-cctp"),
5148
+ WormholeCore: () => import("./index-DTDgv8BR.mjs"),
5149
+ TokenBridge: () => import("./index-LhBPWv5M.mjs"),
5150
+ CircleBridge: () => import("./index-DPkB79ju.mjs")
5152
5151
  },
5153
5152
  getChain: (t, e, r) => new hn(e, new De(t, $n(t, Ot, { [e]: r })))
5154
5153
  }, _a = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
@@ -5163,7 +5162,7 @@ export {
5163
5162
  wa as d,
5164
5163
  ma as e,
5165
5164
  ka as f,
5166
- Bi as g,
5165
+ ji as g,
5167
5166
  va as h,
5168
5167
  Ci as i,
5169
5168
  Ea as j,
@@ -1,5 +1,5 @@
1
1
  import { g as nM, R as SM } from "./wallets-B07Re9vF.mjs";
2
- import { aO as CM, aR as q, bg as zM, bh as _, aP as EM, aY as Z } from "./index-Dc5wV51P.mjs";
2
+ import { aO as CM, aR as q, bg as zM, bh as _, aP as EM, aY as Z } from "./index-BwifXygO.mjs";
3
3
  class wM extends TypeError {
4
4
  constructor(i, t) {
5
5
  let A;
@@ -1 +1 @@
1
- "use strict";var l=Object.defineProperty;var u=(s,e,t)=>e in s?l(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var a=(s,e,t)=>u(s,typeof e!="symbol"?e+"":e,t);const r=require("./cosmwasm-CGeqw6cI.js"),i=require("./index-BJvQdk3o.js");function m(s,e){let t=i.averageGasPrices.get(s,e);return t||(t="0.1"),r.build$1.calculateFee(i.DEFAULT_FEE*1.5,`${t}${r.CosmwasmPlatform.getNativeDenom(s,e)}`)}function g(s,e,t,n){return{typeUrl:i.MSG_EXECUTE_CONTRACT_TYPE_URL,value:r.tx$14.MsgExecuteContract.fromPartial({sender:s,contract:e,msg:i.bytes.encode(JSON.stringify(t)),funds:n})}}class d{constructor(e,t,n,c,o=!1){a(this,"transaction");a(this,"network");a(this,"chain");a(this,"description");a(this,"parallelizable");this.transaction=e,this.network=t,this.chain=n,this.description=c,this.parallelizable=o}}exports.CosmwasmUnsignedTransaction=d;exports.buildExecuteMsg=g;exports.computeFee=m;
1
+ "use strict";var l=Object.defineProperty;var u=(s,e,t)=>e in s?l(s,e,{enumerable:!0,configurable:!0,writable:!0,value:t}):s[e]=t;var a=(s,e,t)=>u(s,typeof e!="symbol"?e+"":e,t);const r=require("./cosmwasm-CzoZmAov.js"),i=require("./index-B72tCThM.js");function m(s,e){let t=i.averageGasPrices.get(s,e);return t||(t="0.1"),r.build$1.calculateFee(i.DEFAULT_FEE*1.5,`${t}${r.CosmwasmPlatform.getNativeDenom(s,e)}`)}function g(s,e,t,n){return{typeUrl:i.MSG_EXECUTE_CONTRACT_TYPE_URL,value:r.tx$14.MsgExecuteContract.fromPartial({sender:s,contract:e,msg:i.bytes.encode(JSON.stringify(t)),funds:n})}}class d{constructor(e,t,n,c,o=!1){a(this,"transaction");a(this,"network");a(this,"chain");a(this,"description");a(this,"parallelizable");this.transaction=e,this.network=t,this.chain=n,this.description=c,this.parallelizable=o}}exports.CosmwasmUnsignedTransaction=d;exports.buildExecuteMsg=g;exports.computeFee=m;
@@ -0,0 +1,16 @@
1
+ var c = Object.defineProperty;
2
+ var l = (a, i, t) => i in a ? c(a, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : a[i] = t;
3
+ var s = (a, i, t) => l(a, typeof i != "symbol" ? i + "" : i, t);
4
+ class h {
5
+ constructor(i, t, n, r, e = !1) {
6
+ s(this, "transaction");
7
+ s(this, "network");
8
+ s(this, "chain");
9
+ s(this, "description");
10
+ s(this, "parallelizable");
11
+ this.transaction = i, this.network = t, this.chain = n, this.description = r, this.parallelizable = e;
12
+ }
13
+ }
14
+ export {
15
+ h as S
16
+ };
@@ -0,0 +1 @@
1
+ "use strict";var e=Object.defineProperty;var l=(n,i,s)=>i in n?e(n,i,{enumerable:!0,configurable:!0,writable:!0,value:s}):n[i]=s;var t=(n,i,s)=>l(n,typeof i!="symbol"?i+"":i,s);class o{constructor(i,s,a,r,c=!1){t(this,"transaction");t(this,"network");t(this,"chain");t(this,"description");t(this,"parallelizable");this.transaction=i,this.network=s,this.chain=a,this.description=r,this.parallelizable=c}}exports.SuiUnsignedTransaction=o;
@@ -1,8 +1,8 @@
1
1
  var n = Object.defineProperty;
2
2
  var o = (e, a, t) => a in e ? n(e, a, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[a] = t;
3
3
  var s = (e, a, t) => o(e, typeof a != "symbol" ? a + "" : a, t);
4
- import { a1 as l, C as m, a2 as u } from "./cosmwasm-DrywDSkp.mjs";
5
- import { cX as f, cY as g, cZ as p, ad as E } from "./index-Dc5wV51P.mjs";
4
+ import { a1 as l, C as m, a2 as u } from "./cosmwasm-r9Dcfq2_.mjs";
5
+ import { cY as f, cZ as g, c_ as p, ad as E } from "./index-BwifXygO.mjs";
6
6
  function h(e, a) {
7
7
  let t = f.get(e, a);
8
8
  return t || (t = "0.1"), l.calculateFee(g * 1.5, `${t}${m.getNativeDenom(e, a)}`);
@@ -18,7 +18,7 @@ function T(e, a, t, r) {
18
18
  })
19
19
  };
20
20
  }
21
- class F {
21
+ class _ {
22
22
  constructor(a, t, r, i, c = !1) {
23
23
  s(this, "transaction");
24
24
  s(this, "network");
@@ -29,7 +29,7 @@ class F {
29
29
  }
30
30
  }
31
31
  export {
32
- F as C,
32
+ _ as C,
33
33
  T as b,
34
34
  h as c
35
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wormhole-foundation/wormhole-connect",
3
- "version": "1.1.8",
3
+ "version": "1.1.9-beta.0-development",
4
4
  "repository": "github:wormhole-foundation/wormhole-connect",
5
5
  "main": "./lib/index.js",
6
6
  "module": "./lib/index.mjs",
@@ -40,8 +40,8 @@
40
40
  "@solana/spl-token": "^0.3.9",
41
41
  "@solana/wallet-adapter-wallets": "^0.19.25",
42
42
  "@solana/web3.js": "^1.95.8",
43
- "@wormhole-foundation/sdk": "^1.3.0-beta.2",
44
- "@wormhole-foundation/sdk-definitions": "^1.3.0-beta.2",
43
+ "@wormhole-foundation/sdk": "1.3.0-beta.3",
44
+ "@wormhole-foundation/sdk-definitions": "1.3.0-beta.3",
45
45
  "@wormhole-foundation/sdk-definitions-ntt": "^0.6.1",
46
46
  "@wormhole-foundation/sdk-evm-ntt": "^0.6.1",
47
47
  "@wormhole-foundation/sdk-icons": "^1.0.0",
@@ -155,28 +155,28 @@
155
155
  "@ledgerhq/devices": "6.27.1"
156
156
  },
157
157
  "@mayanfinance/wormhole-sdk-route": {
158
- "@wormhole-foundation/sdk-connect": "^1.3.0-beta.2",
159
- "@wormhole-foundation/sdk-evm": "^1.3.0-beta.2",
160
- "@wormhole-foundation/sdk-solana": "^1.3.0-beta.2"
158
+ "@wormhole-foundation/sdk-connect": "1.3.0-beta.3",
159
+ "@wormhole-foundation/sdk-evm": "1.3.0-beta.3",
160
+ "@wormhole-foundation/sdk-solana": "1.3.0-beta.3"
161
161
  },
162
162
  "@wormhole-foundation/sdk-definitions-ntt": {
163
- "@wormhole-foundation/sdk-base": "^1.3.0-beta.2",
164
- "@wormhole-foundation/sdk-definitions": "^1.3.0-beta.2"
163
+ "@wormhole-foundation/sdk-base": "1.3.0-beta.3",
164
+ "@wormhole-foundation/sdk-definitions": "1.3.0-beta.3"
165
165
  },
166
166
  "@wormhole-foundation/sdk-evm-ntt": {
167
- "@wormhole-foundation/sdk-base": "^1.3.0-beta.2",
168
- "@wormhole-foundation/sdk-definitions": "^1.3.0-beta.2",
169
- "@wormhole-foundation/sdk-evm": "^1.3.0-beta.2",
170
- "@wormhole-foundation/sdk-evm-core": "^1.3.0-beta.2"
167
+ "@wormhole-foundation/sdk-base": "1.3.0-beta.3",
168
+ "@wormhole-foundation/sdk-definitions": "1.3.0-beta.3",
169
+ "@wormhole-foundation/sdk-evm": "1.3.0-beta.3",
170
+ "@wormhole-foundation/sdk-evm-core": "1.3.0-beta.3"
171
171
  },
172
172
  "@wormhole-foundation/sdk-route-ntt": {
173
- "@wormhole-foundation/sdk-connect": "^1.3.0-beta.2"
173
+ "@wormhole-foundation/sdk-connect": "1.3.0-beta.3"
174
174
  },
175
175
  "@wormhole-foundation/sdk-solana-ntt": {
176
- "@wormhole-foundation/sdk-base": "^1.3.0-beta.2",
177
- "@wormhole-foundation/sdk-definitions": "^1.3.0-beta.2",
178
- "@wormhole-foundation/sdk-solana": "^1.3.0-beta.2",
179
- "@wormhole-foundation/sdk-solana-core": "^1.3.0-beta.2"
176
+ "@wormhole-foundation/sdk-base": "1.3.0-beta.3",
177
+ "@wormhole-foundation/sdk-definitions": "1.3.0-beta.3",
178
+ "@wormhole-foundation/sdk-solana": "1.3.0-beta.3",
179
+ "@wormhole-foundation/sdk-solana-core": "1.3.0-beta.3"
180
180
  },
181
181
  "@wormhole-foundation/wormhole-connect": {
182
182
  "aptos": "1.5.0"