@dcl-regenesislabs/mobile-hub 1.0.0-20757928235.commit-b3d789a → 1.0.0-20758375146.commit-52c1b5b

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.
@@ -1,4 +1,4 @@
1
- import{i as M,C as K,A as N,O as q,a as L,b as P,c as He,d as u,E as F,R as B,e as U,f as Kt,g as ye,h as ge,H as Yn,r as J,j as me,T as Lt,S as Me,M as kn,k as An,l as Bn,m as Pn,w as Oe,n as fe,o as Xn,p as Zn,q as Gt,s as Ln,W as Nt}from"./core-DA2gUngt.js";import{n as d,r as T,c as O,o as j,U as ce,i as ei,t as ti,e as ni}from"./index-CJG34S_2.js";import{a as ii}from"./index-Dn8UEJKP.js";import"./index-D68J4FGm.js";var Be=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};let ve=class extends M{constructor(){super(),this.unsubscribe=[],this.tabIdx=void 0,this.connectors=K.state.connectors,this.count=N.state.count,this.filteredCount=N.state.filteredWallets.length,this.isFetchingRecommendedWallets=N.state.isFetchingRecommendedWallets,this.unsubscribe.push(K.subscribeKey("connectors",t=>this.connectors=t),N.subscribeKey("count",t=>this.count=t),N.subscribeKey("filteredWallets",t=>this.filteredCount=t.length),N.subscribeKey("isFetchingRecommendedWallets",t=>this.isFetchingRecommendedWallets=t))}disconnectedCallback(){this.unsubscribe.forEach(t=>t())}render(){const t=this.connectors.find(c=>c.id==="walletConnect"),{allWallets:i}=q.state;if(!t||i==="HIDE"||i==="ONLY_MOBILE"&&!L.isMobile())return null;const r=N.state.featured.length,o=this.count+r,n=o<10?o:Math.floor(o/10)*10,s=this.filteredCount>0?this.filteredCount:n;let a=`${s}`;this.filteredCount>0?a=`${this.filteredCount}`:s<o&&(a=`${s}+`);const l=P.hasAnyConnection(He.CONNECTOR_ID.WALLET_CONNECT);return u`
1
+ import{i as M,C as K,A as N,O as q,a as L,b as P,c as He,d as u,E as F,R as B,e as U,f as Kt,g as ye,h as ge,H as Yn,r as J,j as me,T as Lt,S as Me,M as kn,k as An,l as Bn,m as Pn,w as Oe,n as fe,o as Xn,p as Zn,q as Gt,s as Ln,W as Nt}from"./core-BBLJuI_X.js";import{n as d,r as T,c as O,o as j,U as ce,i as ei,t as ti,e as ni}from"./index-BZlrjP3Z.js";import{a as ii}from"./index-DZdhdqWs.js";import"./index-CZcWiNLw.js";var Be=function(e,t,i,r){var o=arguments.length,n=o<3?t:r===null?r=Object.getOwnPropertyDescriptor(t,i):r,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")n=Reflect.decorate(e,t,i,r);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(n=(o<3?s(n):o>3?s(t,i,n):s(t,i))||n);return o>3&&n&&Object.defineProperty(t,i,n),n};let ve=class extends M{constructor(){super(),this.unsubscribe=[],this.tabIdx=void 0,this.connectors=K.state.connectors,this.count=N.state.count,this.filteredCount=N.state.filteredWallets.length,this.isFetchingRecommendedWallets=N.state.isFetchingRecommendedWallets,this.unsubscribe.push(K.subscribeKey("connectors",t=>this.connectors=t),N.subscribeKey("count",t=>this.count=t),N.subscribeKey("filteredWallets",t=>this.filteredCount=t.length),N.subscribeKey("isFetchingRecommendedWallets",t=>this.isFetchingRecommendedWallets=t))}disconnectedCallback(){this.unsubscribe.forEach(t=>t())}render(){const t=this.connectors.find(c=>c.id==="walletConnect"),{allWallets:i}=q.state;if(!t||i==="HIDE"||i==="ONLY_MOBILE"&&!L.isMobile())return null;const r=N.state.featured.length,o=this.count+r,n=o<10?o:Math.floor(o/10)*10,s=this.filteredCount>0?this.filteredCount:n;let a=`${s}`;this.filteredCount>0?a=`${this.filteredCount}`:s<o&&(a=`${s}+`);const l=P.hasAnyConnection(He.CONNECTOR_ID.WALLET_CONNECT);return u`
2
2
  <wui-list-wallet
3
3
  name="Search Wallet"
4
4
  walletIcon="search"