@wormhole-foundation/wormhole-connect 4.0.0-beta.1-development → 4.0.0

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 (59) hide show
  1. package/dist/main.js +1 -1
  2. package/lib/{aptos-5b4F4UXd.mjs → aptos-Dol0ReEK.mjs} +2 -2
  3. package/lib/{aptos-B_Yz-0gh.js → aptos-eGdJuKke.js} +1 -1
  4. package/lib/{basic-BdiYk8Hf.js → basic-B3aoOwRb.js} +1 -1
  5. package/lib/{basic-BclwqsOq.mjs → basic-BI1HDLIO.mjs} +3 -3
  6. package/lib/{basic-HasHL_DG.mjs → basic-C6oQe5cg.mjs} +3 -3
  7. package/lib/{basic-CuO6iz8a.js → basic-pJmrDH53.js} +1 -1
  8. package/lib/{constants-DnbaS3cF.mjs → constants-BPs5UFxq.mjs} +3 -3
  9. package/lib/constants-BqHCu7gS.js +1 -0
  10. package/lib/{core-COM78LTW.js → core-BN_eDiBJ.js} +3 -3
  11. package/lib/{core-DT_3gIqi.mjs → core-BZzw8R4f.mjs} +4 -4
  12. package/lib/{evm-Dv-WYu07.js → evm-BdbjSrMR.js} +1 -1
  13. package/lib/{evm-DoVrPE_X.mjs → evm-CUhPokEi.mjs} +3 -3
  14. package/lib/{evm-CUR4-a7F.mjs → evm-IC5cigOX.mjs} +3 -3
  15. package/lib/{evm-CoLwXequ.js → evm-bdCQPjof.js} +2 -2
  16. package/lib/hosted.js +1 -1
  17. package/lib/hosted.mjs +1 -1
  18. package/lib/{index-cggXdVJu.mjs → index-1boJ8yzF.mjs} +1 -1
  19. package/lib/{index-C8HxYDNY.js → index-943_uCEO.js} +1 -1
  20. package/lib/{index-CkGYgQTz.js → index-BeBO_sCU.js} +1 -1
  21. package/lib/{index-DaY7_eQ6.js → index-Blvg4PFN.js} +2 -2
  22. package/lib/{index-P9DbJOzh.js → index-BnMkdrhM.js} +1 -1
  23. package/lib/{index-B1KwS33G.mjs → index-CQ0RB2r3.mjs} +1 -1
  24. package/lib/{index-DZaOh3F9.mjs → index-CR3DmYPt.mjs} +3 -3
  25. package/lib/{index-BaYN-RHF.js → index-CbFvm_Mr.js} +1 -1
  26. package/lib/{index-B7Afz_5P.js → index-Cv9hvmqc.js} +1 -1
  27. package/lib/{index-cCBQV2Yv.js → index-D61fXWwH.js} +2 -2
  28. package/lib/{index-DlmQ0_RF.mjs → index-DJs1h8_N.mjs} +10 -10
  29. package/lib/{index-DGzoIr_I.mjs → index-N8cPdMnf.mjs} +1 -1
  30. package/lib/{index-B3idKQJG.mjs → index-UOvy4usi.mjs} +1 -1
  31. package/lib/{index-B2sVzSwb.mjs → index-dU3yVyBt.mjs} +1 -1
  32. package/lib/{index.es-5ecqX8B9.mjs → index.es-B5hLka3L.mjs} +3 -3
  33. package/lib/{index.es-owVcNlof.js → index.es-CSmeunOk.js} +3 -3
  34. package/lib/{index.es-LBG64XJ6.js → index.es-E2DQPkYK.js} +1 -1
  35. package/lib/{index.es-zNH_KzcH.mjs → index.es-Vlpe_OYB.mjs} +1 -1
  36. package/lib/index.js +1 -1
  37. package/lib/index.mjs +2 -2
  38. package/lib/mayan.js +1 -1
  39. package/lib/mayan.mjs +1 -1
  40. package/lib/{secp256k1-BF6Vm50D.mjs → secp256k1-B-wUOgWh.mjs} +1 -1
  41. package/lib/{secp256k1-DRTQ6WrU.js → secp256k1-BAjH_sHz.js} +1 -1
  42. package/lib/{secp256k1-BfK5OWRP.mjs → secp256k1-CpJIg24C.mjs} +1 -1
  43. package/lib/{secp256k1-Bb6lbAjK.js → secp256k1-Ds1M1Mtb.js} +1 -1
  44. package/lib/{secp256k1-D_GNj8sK.js → secp256k1-PbbUc2aU.js} +1 -1
  45. package/lib/{secp256k1-CqT-a-I8.mjs → secp256k1-YWWAmpaN.mjs} +1 -1
  46. package/lib/{solana-C1puc64V.mjs → solana-Bh5bkUXQ.mjs} +7 -7
  47. package/lib/{solana-CtBdJ6Wt.js → solana-sjjxa4_B.js} +4 -4
  48. package/lib/{solanaEmbed.esm-BpIKVhXq.js → solanaEmbed.esm-CDt8Bk0U.js} +1 -1
  49. package/lib/{solanaEmbed.esm-NdE_DQuw.mjs → solanaEmbed.esm-DGgxfQDB.mjs} +2 -2
  50. package/lib/{sui-DdujB9Bc.js → sui-Do5RtJvP.js} +1 -1
  51. package/lib/{sui-BW7tMLZs.mjs → sui-tKXg9e-c.mjs} +2 -2
  52. package/lib/{tokens-DI-tPIbd.mjs → tokens-CNITO7DN.mjs} +1 -1
  53. package/lib/{tokens-DJos2DwM.js → tokens-DhBcLH6x.js} +1 -1
  54. package/lib/{w3m-modal-DSY2qJYP.js → w3m-modal-BUP-c20y.js} +1 -1
  55. package/lib/{w3m-modal-C32eQxEe.mjs → w3m-modal-Bj2tG9wb.mjs} +2 -2
  56. package/lib/{w3m-modal-DgqSQLqZ.js → w3m-modal-CGeDlu49.js} +1 -1
  57. package/lib/{w3m-modal-B2VF8j7W.mjs → w3m-modal-D78VqEEI.mjs} +2 -2
  58. package/package.json +1 -1
  59. package/lib/constants-abC7FLXq.js +0 -1
package/lib/hosted.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./constants-abC7FLXq.js");function d(o,e={}){window.__CONNECT_CONFIG=e.config,window.__CONNECT_THEME=e.theme;const n=document.createElement("div");n.id="wormhole-connect";const c=e.version??s.CONNECT_VERSION,i=e.cdnBaseUrl??`https://cdn.jsdelivr.net/npm/@wormhole-foundation/wormhole-connect@${c}`,t=document.createElement("script");t.setAttribute("src",`${i}/dist/main.js`),t.setAttribute("type","module"),o.appendChild(n),o.appendChild(t)}exports.wormholeConnectHosted=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const s=require("./constants-BqHCu7gS.js");function d(o,e={}){window.__CONNECT_CONFIG=e.config,window.__CONNECT_THEME=e.theme;const n=document.createElement("div");n.id="wormhole-connect";const c=e.version??s.CONNECT_VERSION,i=e.cdnBaseUrl??`https://cdn.jsdelivr.net/npm/@wormhole-foundation/wormhole-connect@${c}`,t=document.createElement("script");t.setAttribute("src",`${i}/dist/main.js`),t.setAttribute("type","module"),o.appendChild(n),o.appendChild(t)}exports.wormholeConnectHosted=d;
package/lib/hosted.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { a as d } from "./constants-DnbaS3cF.mjs";
1
+ import { a as d } from "./constants-BPs5UFxq.mjs";
2
2
  function r(o, t = {}) {
3
3
  window.__CONNECT_CONFIG = t.config, window.__CONNECT_THEME = t.theme;
4
4
  const n = document.createElement("div");
@@ -1,4 +1,4 @@
1
- import "./index-B2sVzSwb.mjs";
1
+ import "./index-dU3yVyBt.mjs";
2
2
  import { EvmWormholeCore as K } from "./index-Bp4ojxz6.mjs";
3
3
  import { by as p, bJ as Q, bP as N, bD as s, h as X, O as R, ce as Y, ci as Z, m as P, b8 as $, aB as k, bs as E, q as B, aE as o, d as z, U as f0, dL as O, aF as W, az as e0, a as a0, aH as L, aI as H } from "./web3-BifDBsFp.mjs";
4
4
  import { E as h, C as _ } from "./platform-DtB8gGMl.mjs";
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./lit-element-CwBgQkCS.js"),s=require("./class-map-XAAEsuml.js"),d=require("./core-COM78LTW.js"),p={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:o}){return t.length<=e+r?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n?.replace("px","")),l=`${a}% ${a}% at 65% 40%`,v=[];for(let m=0;m<5;m+=1){const C=this.tintColor(o,.15*m);v.push(`rgb(${C[0]}, ${C[1]}, ${C[2]})`)}return`
1
+ "use strict";const c=require("./lit-element-CwBgQkCS.js"),s=require("./class-map-XAAEsuml.js"),d=require("./core-BN_eDiBJ.js"),p={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:o}){return t.length<=e+r?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n?.replace("px","")),l=`${a}% ${a}% at 65% 40%`,v=[];for(let m=0;m<5;m+=1){const C=this.tintColor(o,.15*m);v.push(`rgb(${C[0]}, ${C[1]}, ${C[2]})`)}return`
2
2
  --local-color-1: ${v[0]};
3
3
  --local-color-2: ${v[1]};
4
4
  --local-color-3: ${v[2]};
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./lit-element-CwBgQkCS.js"),s=require("./class-map-XAAEsuml.js"),d=require("./solana-CtBdJ6Wt.js"),p={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:o}){return t.length<=e+r?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n?.replace("px","")),l=`${a}% ${a}% at 65% 40%`,v=[];for(let m=0;m<5;m+=1){const C=this.tintColor(o,.15*m);v.push(`rgb(${C[0]}, ${C[1]}, ${C[2]})`)}return`
1
+ "use strict";const c=require("./lit-element-CwBgQkCS.js"),s=require("./class-map-XAAEsuml.js"),d=require("./solana-sjjxa4_B.js"),p={getSpacingStyles(t,e){if(Array.isArray(t))return t[e]?`var(--wui-spacing-${t[e]})`:void 0;if(typeof t=="string")return`var(--wui-spacing-${t})`},getFormattedDate(t){return new Intl.DateTimeFormat("en-US",{month:"short",day:"numeric"}).format(t)},getHostName(t){try{return new URL(t).hostname}catch{return""}},getTruncateString({string:t,charsStart:e,charsEnd:r,truncate:o}){return t.length<=e+r?t:o==="end"?`${t.substring(0,e)}...`:o==="start"?`...${t.substring(t.length-r)}`:`${t.substring(0,Math.floor(e))}...${t.substring(t.length-Math.floor(r))}`},generateAvatarColors(t){const r=t.toLowerCase().replace(/^0x/iu,"").replace(/[^a-f0-9]/gu,"").substring(0,6).padEnd(6,"0"),o=this.hexToRgb(r),n=getComputedStyle(document.documentElement).getPropertyValue("--w3m-border-radius-master"),a=100-3*Number(n?.replace("px","")),l=`${a}% ${a}% at 65% 40%`,v=[];for(let m=0;m<5;m+=1){const C=this.tintColor(o,.15*m);v.push(`rgb(${C[0]}, ${C[1]}, ${C[2]})`)}return`
2
2
  --local-color-1: ${v[0]};
3
3
  --local-color-2: ${v[1]};
4
4
  --local-color-3: ${v[2]};