@wormhole-foundation/wormhole-connect 2.4.0-beta.5-development → 2.4.0-beta.6-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 (92) hide show
  1. package/dist/main.js +3 -3
  2. package/dist/src/components/SampleApp/index.d.ts.map +1 -1
  3. package/dist/src/theme.d.ts +2 -0
  4. package/dist/src/theme.d.ts.map +1 -1
  5. package/dist/src/utils/coingecko.d.ts.map +1 -1
  6. package/dist/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
  7. package/dist/src/views/v2/Bridge/AssetPicker/index.d.ts.map +1 -1
  8. package/lib/{aptos-DWjNHjEr.js → aptos-B2d701iL.js} +2 -2
  9. package/lib/{aptos-BbcbhTYm.js → aptos-BYgw8KbL.js} +1 -1
  10. package/lib/{aptos-Bm_dl-Sm.mjs → aptos-Cx2NRBhV.mjs} +5 -5
  11. package/lib/{aptos-tST8jYJD.mjs → aptos-D32iveio.mjs} +2 -2
  12. package/lib/{base64-U98S6T0_.mjs → base64-CS-t4Jp3.mjs} +1 -1
  13. package/lib/{base64-z-NzkTcM.js → base64-KGHVh_fo.js} +1 -1
  14. package/lib/{ccip-4kkdFBy9.js → ccip-CkdoT4fo.js} +1 -1
  15. package/lib/{ccip-CzIVguK4.mjs → ccip-DT5SVCsk.mjs} +1 -1
  16. package/lib/{chunk-IMTC3J2M-BkF-uSqL.mjs → chunk-IMTC3J2M-BekcMtbR.mjs} +3 -3
  17. package/lib/{chunk-IMTC3J2M-D9V8xLCp.js → chunk-IMTC3J2M-Bp7UmuL7.js} +1 -1
  18. package/lib/{evm-YfeWQlF5.mjs → evm-C2wdlyGy.mjs} +5 -5
  19. package/lib/{evm-ENyRMNuv.js → evm-ZrLPh0aT.js} +1 -1
  20. package/lib/{evm-BSCCtd8A.js → evm-gtANOzh_.js} +3 -3
  21. package/lib/{evm-BVICyV8L.mjs → evm-pqv5AmPx.mjs} +6 -6
  22. package/lib/{index-ByKaNDA7.mjs → index-3CcycgxO.mjs} +2 -2
  23. package/lib/{index-DHo7otfk.js → index-3n8R7_nm.js} +1 -1
  24. package/lib/{index-DOydP0Ra.mjs → index-6KA_om4J.mjs} +2 -2
  25. package/lib/{index-DJ17vId9.mjs → index-B5zEqERt.mjs} +2 -2
  26. package/lib/{index-CRfcoCAy.mjs → index-B7w-Z1qw.mjs} +1 -1
  27. package/lib/{index-BpqVHbdc.js → index-BFhdLIwV.js} +4 -4
  28. package/lib/{index-0ALUTgtr.mjs → index-BQkj72G3.mjs} +3 -3
  29. package/lib/{index-COOq9Yre.js → index-BRaDJTdV.js} +1 -1
  30. package/lib/{index-Cio3MIbP.mjs → index-BS7yguuC.mjs} +2 -2
  31. package/lib/{index-tWdeaq3O.js → index-Bc6-KGpl.js} +1 -1
  32. package/lib/{index-C8mQJEzu.js → index-Be_nyvv-.js} +1 -1
  33. package/lib/{index-5StF040W.mjs → index-Bpw-luLW.mjs} +1 -1
  34. package/lib/{index-BvyrFhuS.mjs → index-BrFiV6ml.mjs} +2 -2
  35. package/lib/{index-DV3sBKmN.mjs → index-Bv3a66FQ.mjs} +1 -1
  36. package/lib/{index-IsMPgaBj.mjs → index-C8__-BvE.mjs} +2 -2
  37. package/lib/{index-DsQWOOoH.mjs → index-CN7rbmv3.mjs} +1 -1
  38. package/lib/{index-BH76Gm64.js → index-CNdN0i2J.js} +1 -1
  39. package/lib/{index-C9uP2nLx.js → index-CRb9IbJP.js} +1 -1
  40. package/lib/{index-CFDAWb0X.js → index-ChdaB60-.js} +1 -1
  41. package/lib/{index-xTj52Pcp.js → index-CkCqt7a-.js} +1 -1
  42. package/lib/{index-Gq1AaNfJ.js → index-ClFZzjWo.js} +1 -1
  43. package/lib/{index-Cm3sAIIe.mjs → index-Cxo7XEgx.mjs} +1 -1
  44. package/lib/{index-BxFyTBij.js → index-D2WzZE5z.js} +1 -1
  45. package/lib/{index-Me4j3SkB.js → index-D41-bb9L.js} +1 -1
  46. package/lib/{index-Z8OXKqvR.js → index-D6IPbglF.js} +1 -1
  47. package/lib/{index-DQIEuT2z.js → index-DIXRIs-8.js} +1 -1
  48. package/lib/{index-GzxoZgwg.js → index-DPBbWUgq.js} +1 -1
  49. package/lib/{index-VIbVNXaj.js → index-DSxGwgfz.js} +1 -1
  50. package/lib/{index-B4i6ANNh.mjs → index-DVX_Ui4H.mjs} +2 -2
  51. package/lib/{index-6NRj6D5S.mjs → index-DVsO6_MG.mjs} +28 -27
  52. package/lib/{index-CkmesAuC.mjs → index-DXqgaeP7.mjs} +1 -1
  53. package/lib/{index-DpiBI2wV.js → index-DfF1QWxf.js} +1 -1
  54. package/lib/{index-BArAN3-r.mjs → index-DkWk2Ei2.mjs} +4 -4
  55. package/lib/{index-BfHTgqOZ.js → index-DoxjwHxG.js} +1 -1
  56. package/lib/{index-CwCGT3bW.mjs → index-Dq6f4FNC.mjs} +2 -2
  57. package/lib/{index-BRWk1KLF.mjs → index-DssifKHm.mjs} +1 -1
  58. package/lib/{index-CbNgmtU7.mjs → index-DuydCAHj.mjs} +1 -1
  59. package/lib/{index-nvmWtaEp.js → index-KlmCOa1v.js} +1 -1
  60. package/lib/{index-DMGq-P-n.mjs → index-LDJw-t-c.mjs} +2 -2
  61. package/lib/{index-8rarLRXW.js → index-Lf0LuGqV.js} +1 -1
  62. package/lib/{index-C-xA8IEi.mjs → index-Nij_Saob.mjs} +3 -3
  63. package/lib/{index-CU761Hwu.js → index-SiongsQ9.js} +1 -1
  64. package/lib/{index-uAi7Hgz5.js → index-Vr5ewH9o.js} +1 -1
  65. package/lib/{index-DbFCRZIL.mjs → index-ZBFKA4Z2.mjs} +1 -1
  66. package/lib/{index-BfdWU9Y5.js → index-o-2ADG2m.js} +1 -1
  67. package/lib/{index-Ty2OFCqQ.mjs → index-rpNMowr_.mjs} +1 -1
  68. package/lib/{index.es-C6kXpySz.js → index.es-BF1IWsY6.js} +2 -2
  69. package/lib/{index.es-GYnz6s6j.mjs → index.es-CI_klE4T.mjs} +5 -5
  70. package/lib/index.js +1 -1
  71. package/lib/index.mjs +1 -1
  72. package/lib/{signer-BHB7SxtT.mjs → signer-B7IqWjWF.mjs} +1 -1
  73. package/lib/{signer-C1EeLbAG.js → signer-IUSxOc-V.js} +1 -1
  74. package/lib/{solana-Q0OdKPAe.mjs → solana-BjSKSZug.mjs} +4 -4
  75. package/lib/{solana-DzB5-MhL.js → solana-BlsRfkyh.js} +1 -1
  76. package/lib/solana-D7OBO42M.mjs +17 -0
  77. package/lib/solana-uNqtUduY.js +1 -0
  78. package/lib/{solanaEmbed.esm-BZupTABA.mjs → solanaEmbed.esm-C2yV7iVs.mjs} +1 -1
  79. package/lib/{solanaEmbed.esm-sERTASiF.js → solanaEmbed.esm-CLpBoYFx.js} +1 -1
  80. package/lib/src/components/SampleApp/index.d.ts.map +1 -1
  81. package/lib/src/theme.d.ts +2 -0
  82. package/lib/src/theme.d.ts.map +1 -1
  83. package/lib/src/utils/coingecko.d.ts.map +1 -1
  84. package/lib/src/views/v2/Bridge/AmountInput/index.d.ts.map +1 -1
  85. package/lib/src/views/v2/Bridge/AssetPicker/index.d.ts.map +1 -1
  86. package/lib/{sui-Dk9s2xZt.js → sui-5P-JTGT2.js} +1 -1
  87. package/lib/{sui-Hz2Goaqc.mjs → sui-B0N24-KV.mjs} +1 -1
  88. package/lib/{sui-CxxJykl3.js → sui-C-8cs2Zt.js} +1 -1
  89. package/lib/{sui-BrEJo3ss.mjs → sui-DpF0u1Gb.mjs} +5 -5
  90. package/package.json +1 -1
  91. package/lib/solana-C6wUNLMT.mjs +0 -17
  92. package/lib/solana-CVuGjBKt.js +0 -1
@@ -3,9 +3,9 @@ var wa = (e) => {
3
3
  };
4
4
  var Aa = (e, t, n) => t.has(e) || wa("Cannot " + n);
5
5
  var Tr = (e, t, n) => (Aa(e, t, "read from private field"), n ? n.call(e) : t.get(e)), Ia = (e, t, n) => t.has(e) ? wa("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Na = (e, t, n, r) => (Aa(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
6
- import { M as Xo, N as Ea, O as Wr, Q as qo, R as $o, T as ec, U as xa, V as tc, X as $e, Y as nc, Z as Kn, $ as rc, a0 as sc, a1 as ac, a2 as ic, a3 as oc, a4 as cc, a5 as lc, a6 as uc, a7 as tn, a8 as hc } from "./index-6NRj6D5S.mjs";
6
+ import { M as Xo, N as Ea, O as Wr, Q as qo, R as $o, T as ec, U as xa, V as tc, X as $e, Y as nc, Z as Kn, $ as rc, a0 as sc, a1 as ac, a2 as ic, a3 as oc, a4 as cc, a5 as lc, a6 as uc, a7 as tn, a8 as hc } from "./index-DVsO6_MG.mjs";
7
7
  import "react";
8
- import "./index-5StF040W.mjs";
8
+ import "./index-Bpw-luLW.mjs";
9
9
  var kt;
10
10
  class dc extends Xo {
11
11
  /**
@@ -4316,7 +4316,7 @@ async function gr(e, t) {
4316
4316
  });
4317
4317
  return C === "0x" ? { data: void 0 } : { data: C };
4318
4318
  } catch (N) {
4319
- const I = Hu(N), { offchainLookup: l, offchainLookupSignature: b } = await import("./ccip-CzIVguK4.mjs");
4319
+ const I = Hu(N), { offchainLookup: l, offchainLookupSignature: b } = await import("./ccip-DT5SVCsk.mjs");
4320
4320
  if ((I == null ? void 0 : I.slice(0, 10)) === b && f)
4321
4321
  return { data: await l(e, { data: I, to: f }) };
4322
4322
  throw Yu(N, {
@@ -13979,7 +13979,7 @@ var xd = Object.defineProperty, Dd = function(e, t, n) {
13979
13979
  case 0:
13980
13980
  return !Jt(i, Vt) || a || o ? (h = !((c = i.options) === null || c === void 0) && c.infuraId ? {} : i.chains.reduce(function(f, m) {
13981
13981
  return ti(Yn({}, f), vo({}, m.id, m.rpcUrls.default.http[0]));
13982
- }, {}), [4, import("./index-C-xA8IEi.mjs")]) : [3, 2];
13982
+ }, {}), [4, import("./index-Nij_Saob.mjs")]) : [3, 2];
13983
13983
  case 1:
13984
13984
  d = p.sent().default, Yr(i, Vt, new d(ti(Yn({}, i.options), { chainId: a, rpc: Yn({}, h, (u = i.options) === null || u === void 0 ? void 0 : u.rpc) }))), p.label = 2;
13985
13985
  case 2:
@@ -15579,7 +15579,7 @@ Es = async function() {
15579
15579
  };
15580
15580
  fa = /* @__PURE__ */ new WeakSet();
15581
15581
  Vo = async function() {
15582
- const { EthereumProvider: e } = await import("./index.es-GYnz6s6j.mjs"), t = this.chains.map(({ id: n }) => n);
15582
+ const { EthereumProvider: e } = await import("./index.es-CI_klE4T.mjs"), t = this.chains.map(({ id: n }) => n);
15583
15583
  if (t.length) {
15584
15584
  const {
15585
15585
  projectId: n,
@@ -1 +1 @@
1
- "use strict";var _=Object.defineProperty;var G=s=>{throw TypeError(s)};var D=(s,i,e)=>i in s?_(s,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[i]=e;var f=(s,i,e)=>D(s,typeof i!="symbol"?i+"":i,e),q=(s,i,e)=>i.has(s)||G("Cannot "+e);var l=(s,i,e)=>(q(s,i,"read from private field"),e?e.call(s):i.get(s)),p=(s,i,e)=>i.has(s)?G("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(s):i.set(s,e),c=(s,i,e,t)=>(q(s,i,"write to private field"),t?t.call(s,e):i.set(s,e),e);var A=(s,i,e,t)=>({set _(a){c(s,i,a,e)},get _(){return l(s,i,t)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-BpqVHbdc.js");var o,g;const v=class v extends r.AbstractSigner{constructor(e){super(e.provider);f(this,"signer");p(this,o);p(this,g);r.defineProperties(this,{signer:e}),c(this,o,null),c(this,g,0)}async getAddress(){return this.signer.getAddress()}connect(e){return new v(this.signer.connect(e))}async getNonce(e){if(e==="pending"){l(this,o)==null&&c(this,o,super.getNonce("pending"));const t=l(this,g);return await l(this,o)+t}return super.getNonce(e)}increment(){A(this,g)._++}reset(){c(this,g,0),c(this,o,null)}async sendTransaction(e){const t=this.getNonce("pending");return this.increment(),e=await this.signer.populateTransaction(e),e.nonce=await t,await this.signer.sendTransaction(e)}signTransaction(e){return this.signer.signTransaction(e)}signMessage(e){return this.signer.signMessage(e)}signTypedData(e,t,a){return this.signer.signTypedData(e,t,a)}};o=new WeakMap,g=new WeakMap;let P=v;async function O(s,i,e){const t=typeof i=="string"?new r.Wallet(i,s):i,a=(e==null?void 0:e.chain)??(await r.EvmPlatform.chainFromRpc(s))[1],n=new P(t);if(n.provider===null)try{n.connect(s)}catch(d){console.error("Cannot connect to network for signer",d)}return new b(a,await t.getAddress(),n,e)}class b extends r.PlatformNativeSigner{constructor(e,t,a,n){super(e,t,a);f(this,"opts");this.opts=n}chain(){return this._chain}address(){return this._address}async sign(e){var w,y,T,C,x,S,E;const t=this.chain(),a=[];let n=500000n,d=100000000000n,m=1500000000n,u=100000000n;if(((w=this.opts)==null?void 0:w.overrides)===void 0&&t!=="Celo"){const h=await this._signer.provider.getFeeData();d=h.gasPrice??d,m=h.maxFeePerGas??m,u=h.maxPriorityFeePerGas??u}((y=this.opts)==null?void 0:y.gasLimit)!==void 0&&(n=this.opts.gasLimit),((T=this.opts)==null?void 0:T.maxGasLimit)!==void 0&&(n=n>((C=this.opts)==null?void 0:C.maxGasLimit)?(x=this.opts)==null?void 0:x.maxGasLimit:n);const F=t==="Oasis"?{gasLimit:n,gasPrice:d,type:0}:{gasLimit:n,maxFeePerGas:m,maxPriorityFeePerGas:u};for(const h of e){const{transaction:L,description:N}=h;(S=this.opts)!=null&&S.debug&&console.log(`Signing: ${N} for ${this.address()}`);const B={...L,...F,from:this.address(),nonce:await this._signer.getNonce(),...(E=this.opts)==null?void 0:E.overrides};a.push(await this._signer.signTransaction(B))}return a}}const $={Address:r.EvmAddress,Platform:r.EvmPlatform,getSigner:O,protocols:{WormholeCore:()=>Promise.resolve().then(()=>require("./index-BpqVHbdc.js")).then(s=>s.index$1),TokenBridge:()=>Promise.resolve().then(()=>require("./index-C9uP2nLx.js")),PorticoBridge:()=>Promise.resolve().then(()=>require("./index-nvmWtaEp.js")),CircleBridge:()=>Promise.resolve().then(()=>require("./index-DpiBI2wV.js")),TBTCBridge:()=>Promise.resolve().then(()=>require("./index-BfHTgqOZ.js"))},getChain:(s,i,e)=>new r.EvmChain(i,new r.EvmPlatform(s,r.applyChainsConfigConfigOverrides(s,r._platform,{[i]:e})))};exports.default=$;
1
+ "use strict";var _=Object.defineProperty;var G=s=>{throw TypeError(s)};var D=(s,i,e)=>i in s?_(s,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):s[i]=e;var f=(s,i,e)=>D(s,typeof i!="symbol"?i+"":i,e),q=(s,i,e)=>i.has(s)||G("Cannot "+e);var l=(s,i,e)=>(q(s,i,"read from private field"),e?e.call(s):i.get(s)),p=(s,i,e)=>i.has(s)?G("Cannot add the same private member more than once"):i instanceof WeakSet?i.add(s):i.set(s,e),c=(s,i,e,t)=>(q(s,i,"write to private field"),t?t.call(s,e):i.set(s,e),e);var A=(s,i,e,t)=>({set _(a){c(s,i,a,e)},get _(){return l(s,i,t)}});Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-BFhdLIwV.js");var o,g;const v=class v extends r.AbstractSigner{constructor(e){super(e.provider);f(this,"signer");p(this,o);p(this,g);r.defineProperties(this,{signer:e}),c(this,o,null),c(this,g,0)}async getAddress(){return this.signer.getAddress()}connect(e){return new v(this.signer.connect(e))}async getNonce(e){if(e==="pending"){l(this,o)==null&&c(this,o,super.getNonce("pending"));const t=l(this,g);return await l(this,o)+t}return super.getNonce(e)}increment(){A(this,g)._++}reset(){c(this,g,0),c(this,o,null)}async sendTransaction(e){const t=this.getNonce("pending");return this.increment(),e=await this.signer.populateTransaction(e),e.nonce=await t,await this.signer.sendTransaction(e)}signTransaction(e){return this.signer.signTransaction(e)}signMessage(e){return this.signer.signMessage(e)}signTypedData(e,t,a){return this.signer.signTypedData(e,t,a)}};o=new WeakMap,g=new WeakMap;let P=v;async function O(s,i,e){const t=typeof i=="string"?new r.Wallet(i,s):i,a=(e==null?void 0:e.chain)??(await r.EvmPlatform.chainFromRpc(s))[1],n=new P(t);if(n.provider===null)try{n.connect(s)}catch(d){console.error("Cannot connect to network for signer",d)}return new b(a,await t.getAddress(),n,e)}class b extends r.PlatformNativeSigner{constructor(e,t,a,n){super(e,t,a);f(this,"opts");this.opts=n}chain(){return this._chain}address(){return this._address}async sign(e){var w,y,T,C,x,S,E;const t=this.chain(),a=[];let n=500000n,d=100000000000n,m=1500000000n,u=100000000n;if(((w=this.opts)==null?void 0:w.overrides)===void 0&&t!=="Celo"){const h=await this._signer.provider.getFeeData();d=h.gasPrice??d,m=h.maxFeePerGas??m,u=h.maxPriorityFeePerGas??u}((y=this.opts)==null?void 0:y.gasLimit)!==void 0&&(n=this.opts.gasLimit),((T=this.opts)==null?void 0:T.maxGasLimit)!==void 0&&(n=n>((C=this.opts)==null?void 0:C.maxGasLimit)?(x=this.opts)==null?void 0:x.maxGasLimit:n);const F=t==="Oasis"?{gasLimit:n,gasPrice:d,type:0}:{gasLimit:n,maxFeePerGas:m,maxPriorityFeePerGas:u};for(const h of e){const{transaction:L,description:N}=h;(S=this.opts)!=null&&S.debug&&console.log(`Signing: ${N} for ${this.address()}`);const B={...L,...F,from:this.address(),nonce:await this._signer.getNonce(),...(E=this.opts)==null?void 0:E.overrides};a.push(await this._signer.signTransaction(B))}return a}}const $={Address:r.EvmAddress,Platform:r.EvmPlatform,getSigner:O,protocols:{WormholeCore:()=>Promise.resolve().then(()=>require("./index-BFhdLIwV.js")).then(s=>s.index$1),TokenBridge:()=>Promise.resolve().then(()=>require("./index-CRb9IbJP.js")),PorticoBridge:()=>Promise.resolve().then(()=>require("./index-KlmCOa1v.js")),CircleBridge:()=>Promise.resolve().then(()=>require("./index-DfF1QWxf.js")),TBTCBridge:()=>Promise.resolve().then(()=>require("./index-DoxjwHxG.js"))},getChain:(s,i,e)=>new r.EvmChain(i,new r.EvmPlatform(s,r.applyChainsConfigConfigOverrides(s,r._platform,{[i]:e})))};exports.default=$;