@vechain/connex-wallet-buddy
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,2 +0,2 @@ | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ConnexWalletBuddy=t():e.ConnexWalletBuddy=t()}(self,(function(){return(()=>{"use strict";var e={585:(e,t,o)=>{o.r(t),o.d(t,{create:()=>b});const n=class extends Promise{constructor(){if(arguments.length>0)return super(arguments[0]),this.resolve=()=>{throw new Error("Deferred.resolve is not callable")},void(this.reject=()=>{throw new Error("Deferred.reject is not callable")});let e,t;super(((o,n)=>{e=o,t=n})),this.resolve=e,this.reject=t}};var r=function(e,t,o){this.name=e,this.version=t,this.os=o,this.type="browser"},i=function(e,t,o,n){this.name=e,this.version=t,this.os=o,this.bot=n,this.type="bot-device"},s=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},a=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,d=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],c=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function l(e){var t=function(e){return""!==e&&d.reduce((function(t,o){var n=o[0],r=o[1];if(t)return t;var i=r.exec(e);return!!i&&[n,i]}),!1)}(e);if(!t)return null;var o=t[0],n=t[1];if("searchbot"===o)return new s;var l=n[1]&&n[1].split(/[._]/).slice(0,3);l?l.length<3&&(l=function(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<o;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,r++)n[r]=i[s];return n}(l,function(e){for(var t=[],o=0;o<e;o++)t.push("0");return t}(3-l.length))):l=[];var u=l.join("."),f=function(e){for(var t=0,o=c.length;t<o;t++){var n=c[t],r=n[0];if(n[1].exec(e))return r}return null}(e),h=a.exec(e);return h&&h[1]?new i(o,u,f,h[1]):new r(o,u,f)}const u="undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}:"undefined"!=typeof navigator?l(navigator.userAgent):"undefined"!=typeof process&&process.version?new function(e){this.version=e,this.type="node",this.name="node",this.os=process.platform}(process.version.slice(1)):null;var f=function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function s(e){try{d(n.next(e))}catch(e){i(e)}}function a(e){try{d(n.throw(e))}catch(e){i(e)}}function d(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}d((n=n.apply(e,t||[])).next())}))};const h="https://tos.vecha.in:5678/";function p(e){return new Promise((t=>{setTimeout(t,e)}))}function m(e,t,o,n,r){return f(this,void 0,void 0,(function*(){let i=0;const s=Date.now()+o;for(;Date.now()<s;)try{const o=yield Promise.race([r,fetch(new URL(`${e}${t}?wait=1`,n).href)]),i=yield Promise.race([r,o.text()]);if(i)return i}catch(e){if(++i>2)throw new Error("failed fetch response");yield Promise.race([r,p(3e3)])}throw new Error("timeout")}))}function w(e,t,o,r,i,s,a){return f(this,void 0,void 0,(function*(){const d=o.onAccepted,c={type:e,gid:r,payload:{message:t,options:Object.assign(Object.assign({},o),{onAccepted:void 0})},nonce:i()},l=JSON.stringify(c),h=s(l),w=new URL(h,a).href,b=new n;let y,g=!1;try{window.location.href="connex:sign?src="+encodeURIComponent(w)}catch(e){}try{yield function(e,t,o,n){return f(this,void 0,void 0,(function*(){const r=new URL(e,o).href;for(let e=0;e<3;e++)try{return yield Promise.race([n,fetch(r,{method:"POST",body:t,headers:new Headers({"Content-Type":"application/json"})})])}catch(e){yield Promise.race([n,p(2e3)])}throw new Error("failed to submit request")}))}(h,l,a,b),(()=>{f(this,void 0,void 0,(function*(){yield p(2e3),g||(y=function(e){const t=document.createElement("iframe");t.style.border="none",t.style.position="fixed",t.style.zIndex="999",t.style.width="100vw",t.style.height="110px",t.style.left=t.style.bottom="0px",t.src=URL.createObjectURL(new Blob(['<html> <head> <style>body,html{margin:0;box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{font-family:Roboto,-apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;font-size:16px;width:100vw;height:100vh}.lds-dual-ring{display:inline-block;width:1em;height:1em}.lds-dual-ring:after{content:"";display:block;width:1em;height:1em;border-radius:50%;border:.16em solid;border-color:currentColor transparent currentColor transparent;animation:lds-dual-ring .8s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.footer{background:rgba(0,0,0,.7);position:absolute;left:0;bottom:0;width:100%;color:#fff;padding:12px 16px 24px 16px;box-shadow:0 0 4px rgba(0,0,0,.3)}.button{border:0;background:#1e88e5;color:#fff;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.2;white-space:nowrap;text-decoration:none;padding:.25rem 1rem;margin-left:.5rem;margin-right:.5rem;cursor:pointer;outline:0}.close{border:0;background:0 0;color:#fff;font-size:1rem;text-decoration:none;padding:.25rem .5rem;margin-left:.5rem;margin-right:.5rem;cursor:pointer;outline:0}</style> </head> <body> <div class="footer"> <div> <div class="lds-dual-ring" style="margin-right:.5em"></div> Launching Sync2 ... <button style="float:right" class="close" onclick=\'post("close")\'>✕</button> </div> <div style="text-align:center;margin-top:.5rem"> <a href="javascript:post(\'lite\')" style="margin-right:2rem;color:#f5f5f5;font-size:90%">Try out Sync2-lite</a> <a class="button" href="https://github.com/vechain/sync2/releases" target="_blank">Install</a> </div> </div> <script>function post(e){parent.postMessage({src:"connex-helper",action:e},"*")}<\/script> </body> </html>'],{type:"text/html"})),document.body.appendChild(t);let o=()=>{document.body.removeChild(t),o=()=>{}};return window.addEventListener("message",(t=>{if(t.data&&"connex-helper"===t.data.src&&t.data.action)switch(t.data.action){case"close":return void o();case"lite":return void function(e){const t=(()=>{switch(u&&u.os){case"iOS":case"android":return{};default:return{target:"sync|"+window.location.host,features:"width=360,height=640,resizable,scrollbars=yes,dependent,modal"}}})();window.open(new URL("#/sign?src="+encodeURIComponent(e),"https://lite.sync.vecha.in/").href,t.target,t.features)}(e)}})),{hide(){o()}}}(w))}))})(),(()=>{f(this,void 0,void 0,(function*(){try{yield m(h,".accepted",6e4,a,b),g=!0,y&&y.hide(),d&&d()}catch(e){console.warn(e)}}))})();const e=yield m(h,".resp",6e5,a,b),t=JSON.parse(e);if(t.error)throw new Error(t.error);return t.payload}finally{y&&y.hide(),b.reject("aborted")}}))}function b(e,t,o,n){return{signTx:(r,i)=>w("tx",r,i,e,t,o,n||h),signCert:(r,i)=>w("cert",r,i,e,t,o,n||h)}}const y=JSON.parse('{"u2":"@vechain/connex-wallet-buddy","i8":"0.1.1"}');console.log(`[${y.u2}] v${y.i8} loaded`)}},t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}return o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(585)})()})); | ||
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ConnexWalletBuddy=t():e.ConnexWalletBuddy=t()}(self,(function(){return(()=>{"use strict";var e={585:(e,t,o)=>{o.r(t),o.d(t,{create:()=>g});const n=class extends Promise{constructor(){if(arguments.length>0)return super(arguments[0]),this.resolve=()=>{throw new Error("Deferred.resolve is not callable")},void(this.reject=()=>{throw new Error("Deferred.reject is not callable")});let e,t;super(((o,n)=>{e=o,t=n})),this.resolve=e,this.reject=t}};var r=function(e,t,o){this.name=e,this.version=t,this.os=o,this.type="browser"},i=function(e,t,o,n){this.name=e,this.version=t,this.os=o,this.bot=n,this.type="bot-device"},s=function(){this.type="bot",this.bot=!0,this.name="bot",this.version=null,this.os=null},a=/(nuhk|Googlebot|Yammybot|Openbot|Slurp|MSNBot|Ask\ Jeeves\/Teoma|ia_archiver)/,d=[["aol",/AOLShield\/([0-9\._]+)/],["edge",/Edge\/([0-9\._]+)/],["edge-ios",/EdgiOS\/([0-9\._]+)/],["yandexbrowser",/YaBrowser\/([0-9\._]+)/],["kakaotalk",/KAKAOTALK\s([0-9\.]+)/],["samsung",/SamsungBrowser\/([0-9\.]+)/],["silk",/\bSilk\/([0-9._-]+)\b/],["miui",/MiuiBrowser\/([0-9\.]+)$/],["beaker",/BeakerBrowser\/([0-9\.]+)/],["edge-chromium",/EdgA?\/([0-9\.]+)/],["chromium-webview",/(?!Chrom.*OPR)wv\).*Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["chrome",/(?!Chrom.*OPR)Chrom(?:e|ium)\/([0-9\.]+)(:?\s|$)/],["phantomjs",/PhantomJS\/([0-9\.]+)(:?\s|$)/],["crios",/CriOS\/([0-9\.]+)(:?\s|$)/],["firefox",/Firefox\/([0-9\.]+)(?:\s|$)/],["fxios",/FxiOS\/([0-9\.]+)/],["opera-mini",/Opera Mini.*Version\/([0-9\.]+)/],["opera",/Opera\/([0-9\.]+)(?:\s|$)/],["opera",/OPR\/([0-9\.]+)(:?\s|$)/],["ie",/Trident\/7\.0.*rv\:([0-9\.]+).*\).*Gecko$/],["ie",/MSIE\s([0-9\.]+);.*Trident\/[4-7].0/],["ie",/MSIE\s(7\.0)/],["bb10",/BB10;\sTouch.*Version\/([0-9\.]+)/],["android",/Android\s([0-9\.]+)/],["ios",/Version\/([0-9\._]+).*Mobile.*Safari.*/],["safari",/Version\/([0-9\._]+).*Safari/],["facebook",/FBAV\/([0-9\.]+)/],["instagram",/Instagram\s([0-9\.]+)/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Mobile/],["ios-webview",/AppleWebKit\/([0-9\.]+).*Gecko\)$/],["searchbot",/alexa|bot|crawl(er|ing)|facebookexternalhit|feedburner|google web preview|nagios|postrank|pingdom|slurp|spider|yahoo!|yandex/]],c=[["iOS",/iP(hone|od|ad)/],["Android OS",/Android/],["BlackBerry OS",/BlackBerry|BB10/],["Windows Mobile",/IEMobile/],["Amazon OS",/Kindle/],["Windows 3.11",/Win16/],["Windows 95",/(Windows 95)|(Win95)|(Windows_95)/],["Windows 98",/(Windows 98)|(Win98)/],["Windows 2000",/(Windows NT 5.0)|(Windows 2000)/],["Windows XP",/(Windows NT 5.1)|(Windows XP)/],["Windows Server 2003",/(Windows NT 5.2)/],["Windows Vista",/(Windows NT 6.0)/],["Windows 7",/(Windows NT 6.1)/],["Windows 8",/(Windows NT 6.2)/],["Windows 8.1",/(Windows NT 6.3)/],["Windows 10",/(Windows NT 10.0)/],["Windows ME",/Windows ME/],["Open BSD",/OpenBSD/],["Sun OS",/SunOS/],["Chrome OS",/CrOS/],["Linux",/(Linux)|(X11)/],["Mac OS",/(Mac_PowerPC)|(Macintosh)/],["QNX",/QNX/],["BeOS",/BeOS/],["OS/2",/OS\/2/]];function l(e){var t=function(e){return""!==e&&d.reduce((function(t,o){var n=o[0],r=o[1];if(t)return t;var i=r.exec(e);return!!i&&[n,i]}),!1)}(e);if(!t)return null;var o=t[0],n=t[1];if("searchbot"===o)return new s;var l=n[1]&&n[1].split(/[._]/).slice(0,3);l?l.length<3&&(l=function(){for(var e=0,t=0,o=arguments.length;t<o;t++)e+=arguments[t].length;var n=Array(e),r=0;for(t=0;t<o;t++)for(var i=arguments[t],s=0,a=i.length;s<a;s++,r++)n[r]=i[s];return n}(l,function(e){for(var t=[],o=0;o<e;o++)t.push("0");return t}(3-l.length))):l=[];var u=l.join("."),f=function(e){for(var t=0,o=c.length;t<o;t++){var n=c[t],r=n[0];if(n[1].exec(e))return r}return null}(e),h=a.exec(e);return h&&h[1]?new i(o,u,f,h[1]):new r(o,u,f)}const u="undefined"==typeof document&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product?new function(){this.type="react-native",this.name="react-native",this.version=null,this.os=null}:"undefined"!=typeof navigator?l(navigator.userAgent):"undefined"!=typeof process&&process.version?new function(e){this.version=e,this.type="node",this.name="node",this.os=process.platform}(process.version.slice(1)):null;const f=(()=>{let e=null;return()=>(e&&e.parentElement||(e=document.createElement("iframe"),e.style.display="none",document.body.appendChild(e)),e)})();var h=function(e,t,o,n){return new(o||(o=Promise))((function(r,i){function s(e){try{d(n.next(e))}catch(e){i(e)}}function a(e){try{d(n.throw(e))}catch(e){i(e)}}function d(e){var t;e.done?r(e.value):(t=e.value,t instanceof o?t:new o((function(e){e(t)}))).then(s,a)}d((n=n.apply(e,t||[])).next())}))};const p="https://tos.vecha.in:5678/";function m(e){return new Promise((t=>{setTimeout(t,e)}))}function w(e,t,o,n,r){return h(this,void 0,void 0,(function*(){let i=0;const s=Date.now()+o;for(;Date.now()<s;)try{const o=yield Promise.race([r,fetch(new URL(`${e}${t}?wait=1`,n).href)]),i=yield Promise.race([r,o.text()]);if(i)return i}catch(e){if(++i>2)throw new Error("failed fetch response");yield Promise.race([r,m(3e3)])}throw new Error("timeout")}))}function y(e,t,o,r,i,s,a){return h(this,void 0,void 0,(function*(){const d=o.onAccepted,c={type:e,gid:r,payload:{message:t,options:Object.assign(Object.assign({},o),{onAccepted:void 0})},nonce:i()},l=JSON.stringify(c),p=s(l),y=new URL(p,a).href,g=new n,b=function(e){try{f().contentWindow.location.href="connex:sign?src="+encodeURIComponent(e)}catch(e){}const t=function(){const e=document.createElement("iframe");return e.style.border="none",e.style.position="fixed",e.style.zIndex="9999",e.style.width="100vw",e.style.height="110px",e.style.left=e.style.bottom="0px",e.src=URL.createObjectURL(new Blob(['<html> <head> <meta charset="utf-8"> <style>body,html{margin:0;box-sizing:border-box}*,:after,:before{box-sizing:inherit}body{font-family:Roboto,-apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;-ms-text-size-adjust:100%;-webkit-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;line-height:1.5;font-size:16px;width:100vw;height:100vh}.lds-dual-ring{display:inline-block;width:1em;height:1em}.lds-dual-ring:after{content:"";display:block;width:1em;height:1em;border-radius:50%;border:.16em solid;border-color:currentColor transparent currentColor transparent;animation:lds-dual-ring .8s linear infinite}@keyframes lds-dual-ring{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}.footer{background:rgba(0,0,0,.7);position:absolute;left:0;bottom:0;width:100%;color:#fff;padding:12px 16px 24px 16px;box-shadow:0 0 4px rgba(0,0,0,.3)}.button{border:0;background:#1e88e5;color:#fff;font-family:system-ui,sans-serif;font-size:1rem;line-height:1.2;white-space:nowrap;text-decoration:none;padding:.25rem 1rem;margin-left:.5rem;margin-right:.5rem;cursor:pointer;outline:0}.close{border:0;background:0 0;color:#fff;font-size:1rem;text-decoration:none;padding:.25rem .5rem;margin-left:.5rem;margin-right:.5rem;cursor:pointer;outline:0}</style> </head> <body> <div class="footer"> <div> <div class="lds-dual-ring" style="margin-right:.5em"></div> Launching Sync2 ... <button style="float:right" class="close" onclick=\'post("close")\'>✕</button> </div> <div style="text-align:center;margin-top:.5rem"> <a href="javascript:post(\'lite\')" style="margin-right:2rem;color:#f5f5f5;font-size:90%">Try out Sync2-lite</a> <a class="button" href="https://github.com/vechain/sync2/releases" target="_blank">Install</a> </div> </div> <script>function post(e){parent.postMessage({src:"connex-helper",action:e},"*")}<\/script> </body> </html>'],{type:"text/html"})),e}(),o=n=>{if(n.data&&"connex-helper"===n.data.src&&n.data.action)switch(n.data.action){case"close":return void(t.parentNode&&(t.parentNode.removeChild(t),window.removeEventListener("message",o)));case"lite":return void function(e){const t=(()=>{switch(u&&u.os){case"iOS":case"android":return{};default:return{target:"sync|"+window.location.host,features:"width=360,height=640,resizable,scrollbars=yes,dependent,modal"}}})();window.open(new URL("#/sign?src="+encodeURIComponent(e),"https://lite.sync.vecha.in/").href,t.target,t.features)}(e)}};return{show(){t.parentNode||(document.body.appendChild(t),window.addEventListener("message",o))},hide(){t.parentNode&&(t.parentNode.removeChild(t),window.removeEventListener("message",o))}}}(y);let v=!1;try{yield function(e,t,o,n){return h(this,void 0,void 0,(function*(){const r=new URL(e,o).href;for(let e=0;e<3;e++)try{return yield Promise.race([n,fetch(r,{method:"POST",body:t,headers:new Headers({"Content-Type":"application/json"})})])}catch(e){yield Promise.race([n,m(2e3)])}throw new Error("failed to submit request")}))}(p,l,a,g),(()=>{h(this,void 0,void 0,(function*(){yield m(1500),!v&&b.show()}))})(),(()=>{h(this,void 0,void 0,(function*(){try{yield w(p,".accepted",6e4,a,g),v=!0,b.hide(),d&&d()}catch(e){console.warn(e)}}))})();const e=yield w(p,".resp",6e5,a,g),t=JSON.parse(e);if(t.error)throw new Error(t.error);return t.payload}finally{g.reject("aborted"),b.hide()}}))}function g(e,t,o,n){return{signTx:(r,i)=>y("tx",r,i,e,t,o,n||p),signCert:(r,i)=>y("cert",r,i,e,t,o,n||p)}}const b=JSON.parse('{"u2":"@vechain/connex-wallet-buddy","i8":"0.1.2"}');console.log(`[${b.u2}] v${b.i8} loaded`)}},t={};function o(n){if(t[n])return t[n].exports;var r=t[n]={exports:{}};return e[n](r,r.exports,o),r.exports}return o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o(585)})()})); | ||
//# sourceMappingURL=bundle.min.js.map |
@@ -1,3 +0,4 @@ | ||
export declare function show(src: string): { | ||
export declare function connect(src: string): { | ||
show(): void; | ||
hide(): void; | ||
}; |
@@ -19,7 +19,18 @@ import html from '../helper.html'; | ||
} | ||
export function show(src) { | ||
const getHiddenIframe = (() => { | ||
let iframe = null; | ||
return () => { | ||
if (!iframe || !iframe.parentElement) { | ||
iframe = document.createElement("iframe"); | ||
iframe.style.display = "none"; | ||
document.body.appendChild(iframe); | ||
} | ||
return iframe; | ||
}; | ||
})(); | ||
function createActionIframe() { | ||
const iframe = document.createElement('iframe'); | ||
iframe.style.border = 'none'; | ||
iframe.style.position = 'fixed'; | ||
iframe.style.zIndex = '999'; | ||
iframe.style.zIndex = '9999'; | ||
iframe.style.width = '100vw'; | ||
@@ -29,12 +40,18 @@ iframe.style.height = '110px'; | ||
iframe.src = URL.createObjectURL(new Blob([html], { type: 'text/html' })); | ||
document.body.appendChild(iframe); | ||
let hide = () => { | ||
document.body.removeChild(iframe); | ||
hide = () => { }; | ||
}; | ||
window.addEventListener('message', ev => { | ||
return iframe; | ||
} | ||
export function connect(src) { | ||
try { | ||
getHiddenIframe().contentWindow.location.href = `connex:sign?src=${encodeURIComponent(src)}`; | ||
} | ||
catch (_a) { } | ||
const actionFrame = createActionIframe(); | ||
const msgHandler = (ev) => { | ||
if (ev.data && ev.data.src === 'connex-helper' && ev.data.action) { | ||
switch (ev.data.action) { | ||
case 'close': | ||
hide(); | ||
if (actionFrame.parentNode) { | ||
actionFrame.parentNode.removeChild(actionFrame); | ||
window.removeEventListener('message', msgHandler); | ||
} | ||
return; | ||
@@ -46,7 +63,18 @@ case 'lite': | ||
} | ||
}); | ||
}; | ||
return { | ||
hide() { hide(); } | ||
show() { | ||
if (!actionFrame.parentNode) { | ||
document.body.appendChild(actionFrame); | ||
window.addEventListener('message', msgHandler); | ||
} | ||
}, | ||
hide() { | ||
if (actionFrame.parentNode) { | ||
actionFrame.parentNode.removeChild(actionFrame); | ||
window.removeEventListener('message', msgHandler); | ||
} | ||
} | ||
}; | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaGVscGVyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL2hlbHBlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLElBQUksTUFBTSxnQkFBZ0IsQ0FBQTtBQUNqQyxPQUFPLEVBQUUsT0FBTyxFQUFFLE1BQU0sV0FBVyxDQUFBO0FBRW5DLE1BQU0sZUFBZSxHQUFHLDZCQUE2QixDQUFBO0FBRXJELFNBQVMsY0FBYyxDQUFDLEdBQVc7SUFDL0IsTUFBTSxPQUFPLEdBQUcsQ0FBQyxHQUFHLEVBQUU7UUFDbEIsUUFBUSxPQUFPLElBQUksT0FBTyxDQUFDLEVBQUUsRUFBRTtZQUMzQixLQUFLLEtBQUssQ0FBQztZQUNYLEtBQUssU0FBUztnQkFDVixPQUFPLEVBQUUsQ0FBQTtZQUNiO2dCQUNJLE9BQU87b0JBQ0gsTUFBTSxFQUFFLFFBQVEsTUFBTSxDQUFDLFFBQVEsQ0FBQyxJQUFJLEVBQUU7b0JBQ3RDLFFBQVEsRUFBRSwrREFBK0Q7aUJBQzVFLENBQUE7U0FDUjtJQUNMLENBQUMsQ0FBQyxFQUFFLENBQUE7SUFFSixPQUFPLE1BQU0sQ0FBQyxJQUFJLENBQ2QsSUFBSSxHQUFHLENBQUMsY0FBYyxrQkFBa0IsQ0FBQyxHQUFHLENBQU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E1BQU0sRUFBRTtnQkFDcEIsS0FBSyxPQUFPO29CQUNSLElBQUksV0FBVyxDQUFDLFVBQVUsRUFBRTt3QkFDeEIsV0FBVyxDQUFDLFVBQVUsQ0FBQyxXQUFXLENBQUMsV0FBVyxDQUFDLENBQUE7d0JBQy9DLE1BQU0sQ0FBQyxtQkFBbUIsQ0FBQyxTQUFTLEVBQUUsVUFBVSxDQUFDLENBQUE7cUJBQ3BEO29CQUNELE9BQU07Z0JBQ1YsS0FBSyxNQUFNO29CQUNQLGNBQWMsQ0FBQyxHQUFHLENBQUMsQ0FBQTtvQkFDbkIsT0FBTTthQUNiO1NBQ0o7SUFDTCxDQUFDLENBQUE7SUFFRCxPQUFPO1FBQ0gsSUFBSTtZQUNBLElBQUksQ0FBQyxXQUFXLENBQUMsVUFBVSxFQUFFO2dCQUN6QixRQUFRLENBQUMsSUFBSSxDQUFDLFdBQVcsQ0FBQyxXQUFXLENBQUMsQ0FBQTtnQkFDdEMsTUFBTSxDQUFDLGdCQUFnQixDQUFDLFNBQVMsRUFBRSxVQUFVLENBQUMsQ0FBQTthQUNqRDtRQUNMLENBQUM7UUFDRCxJQUFJO1lBQ0EsSUFBSSxXQUFXLENBQUMsVUFBVSxFQUFFO2dCQUN4QixXQUFXLENBQUMsVUFBVSxDQUFDLFdBQVcsQ0FBQyxXQUFXLENBQUMsQ0FBQTtnQkFDL0MsTUFBTSxDQUFDLG1CQUFtQixDQUFDLFNBQVMsRUFBRSxVQUFVLENBQUMsQ0FBQTthQUNwRDtRQUNMLENBQUM7S0FDSixDQUFBO0FBQ0wsQ0FBQyJ9 |
@@ -94,16 +94,10 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { | ||
const abort = new Deferred(); | ||
let shownHelper; | ||
const helper = Helper.connect(src); | ||
let accepted = false; | ||
try { | ||
window.location.href = `connex:sign?src=${encodeURIComponent(src)}`; | ||
} | ||
catch (_a) { } | ||
try { | ||
// submit request and poll response | ||
yield submitRequest(rid, json, tosUrl, abort); | ||
void (() => __awaiter(this, void 0, void 0, function* () { | ||
yield sleep(2000); | ||
if (!accepted) { | ||
shownHelper = Helper.show(src); | ||
} | ||
yield sleep(1500); | ||
!accepted && helper.show(); | ||
}))(); | ||
@@ -114,3 +108,3 @@ void (() => __awaiter(this, void 0, void 0, function* () { | ||
accepted = true; | ||
shownHelper && shownHelper.hide(); | ||
helper.hide(); | ||
onAccepted && onAccepted(); | ||
@@ -130,4 +124,4 @@ } | ||
finally { | ||
shownHelper && shownHelper.hide(); | ||
abort.reject('aborted'); | ||
helper.hide(); | ||
} | ||
@@ -153,2 +147,2 @@ }); | ||
} | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9zcmMvaW5kZXgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7Ozs7O0FBQUEsT0FBTyxpREFBaUQsQ0FBQTtBQUN4RCxPQUFPLFFBQVEsTUFBTSxZQUFZLENBQUE7QUFDakMsT0FBTyxLQUFLLE1BQU0sTUFBTSxVQUFVLENBQUE7QUFFbEMsTUFBTSxlQUFlLEdBQUcsNEJBQTRCLENBQUE7QUFDcEQsTUFBTSxlQUFlLEdBQUcsV0FBVyxDQUFBO0FBQ25DLE1BQU0sV0FBVyxHQUFHLE9BQU8sQ0FBQTtBQW1CM0IsU0FBUyxLQUFLLENBQUMsRUFBVTtJQUNyQixPQUFPLElBQUksT0FBTyxDQUFDLE9BQU8sQ0FBQyxFQUFFO1FBQ3pCLFVBQVUsQ0FBQyxPQUFPLEVBQUUsRUFBRSxDQUFDLENBQUE7SUFDM0IsQ0FBQyxDQUFDLENBQUE7QUFDTixDQUFDO0FBR0QsU0FBZSxhQUFhLENBQUMsR0FBVyxFQUFFLElBQVksRUFBRSxNQUFjLEVBQUUsS0FBcUI7O1FBQ3pGLE1BQU0sR0FBRyxHQUFHLElB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ENBQUMsTUFBTSxFQUFFLEdBQUcsRUFBRSxPQUFPLEVBQUUsU0FBUyxFQUFFLEtBQUssRUFBRSxVQUFVLEVBQUUsTUFBTSxJQUFJLGVBQWUsQ0FBQyxDQUFBO1FBQzlGLENBQUM7S0FDSixDQUFBO0FBQ0wsQ0FBQyJ9 |
{ | ||
"name": "@vechain/connex-wallet-buddy", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"description": "to bridge connex sign request to wallet", | ||
@@ -5,0 +5,0 @@ "main": "dist/bundle.min.js", |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
78324
300
4