From bae3a6ea841f34fefcbc881065a51c89501240ea Mon Sep 17 00:00:00 2001 From: Kosala Hemachandra <10602065+kvhnuke@users.noreply.github.com> Date: Mon, 25 Oct 2021 15:10:50 -0700 Subject: [PATCH] devop: release 2.2.0-beta.14 --- CHANGELOG.md | 3 ++ dist/cjs/index.js | 112 +++++++++++++++++++++++++++++++++------- dist/esm/index.js | 112 +++++++++++++++++++++++++++++++++------- example/app/src/App.vue | 2 +- package-lock.json | 10 ++-- package.json | 2 +- 6 files changed, 198 insertions(+), 43 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1434b9b..986d28a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +- ### Release 2.2.0-beta.14 +- UI + - ### Release 2.2.0-beta.12 - add eth_signTypedData_v4 diff --git a/dist/cjs/index.js b/dist/cjs/index.js index a90fc627..a242f832 100644 --- a/dist/cjs/index.js +++ b/dist/cjs/index.js @@ -316,7 +316,7 @@ function _nonIterableSpread() { var name = "@myetherwallet/mewconnect-web-client"; var homepage = "https://github.com/myetherwallet/MEWconnect-web-client"; -var version = "2.2.0-beta.12"; +var version = "2.2.0-beta.13"; var main = "dist/cjs/index.js"; var module$1 = "dist/esm/index.js"; var scripts = { @@ -2589,25 +2589,25 @@ var icon$1 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWAAAAIACAMAAACLo0a5 var icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWAAAAIACAMAAACLo0a5AAACBFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA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vO71kVYrevH+xf+XXPj1Z/dSqZb+8RrC78rPvP8QFe09b45uOfl4+cucWPy5NjebX0ryEHV7w/vHT852eBL546/tGdwPSGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQUtD/AU3DG9nVZ5KhAAAAAElFTkSuQmCC'; -var cssStyles = "\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n\n .outer-container-mew-modal {\n font-family: 'Roboto', sans-serif;\n box-sizing: border-box;\n bottom: 0;\n color: #050f19;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n left: 0;\n position: absolute;\n right: 0;\n text-align: center;\n top: 0;\n min-width: 450px;\n max-width: 450px;\n max-height: 558px;\n }\n \n .container-mew-modal {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n text-align: center;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 0;\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n padding-bottom: 16px;\n padding-top: 16px;\n position: relative;\n max-width: 450px;\n max-height: 404px;\n width: 100%;\n top: 0;\n }\n \n .upper-text {\n position: relative;\n left: 0;\n bottom: 15px;\n }\n \n .close-mew-modal{\n position: absolute;\n padding-top: 10px;\n right: 10px !important;\n top: 0;\n width: 20px;\n cursor: pointer;\n z-index: 10;\n }\n \n .qr-code {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n height: 210px;\n width: 210px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n box-sizing: border-box;\n background-color: white;\n border-radius: 8px;\n display: inline-block;\n }\n .text-one {\n min-width: 380px;\n height: 30px;\n color: rgba(0, 0, 0);\n font-size: 24px;\n font-family: 'Roboto', sans-serif;\n font-weight: 500;\n text-align: center;\n letter-spacing: 0.3px;\n line-height: 30px;\n box-sizing: border-box;\n padding-bottom: 8px;\n }\n .text-two {\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.55);\n font-weight: normal;\n height: 16px;\n letter-spacing: 0.17px;\n text-align: center;\n min-width: 265px;\n padding-top: 8px;\n }\n .list-style {\n width: 278px;\n height: 48px;\n color: rgba(0, 0, 0, 0.55);\n font-size: 12px;\n font-family: 'Roboto', sans-serif;\n font-weight: normal;\n letter-spacing: 0.15px;\n line-height: 16px;\n margin-left: 20px;\n list-style-position: outside;\n text-align: left;\n position: relative;\n left: 30px\n }\n .list-style li {\n margin-left: 0;\n padding-left: 10px;\n }\n .bottom-background {\n position: absolute;\n bottom: 0;\n right: 64px;\n border-radius: 0 0 16px 16px;\n background: rgb(249, 250, 251);\n text-align: center;\n padding-top: 25px;\n padding-bottom: 15px;\n max-width: 450px;\n margin-left: auto;\n margin-right: auto;\n }\n .bottom-container-mew-modal {\n position: relative;\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n text-align: center;\n box-sizing: border-box;\n margin-bottom: 16px;\n display: flex;\n flex-direction: row;\n flex-flow: row wrap;\n justify-content: center;\n left: -15px;\n \n }\n .bottom-container-mew-modal-text {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n box-sizing: border-box;\n font-size: 13px;\n margin: 0;\n opacity: 0.5;\n text-align: left;\n }\n .bottom-container-mew-modal-text-old {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n box-sizing: border-box;\n font-size: 13px;\n margin: 0;\n opacity: 0.5;\n padding: 16px;\n text-align: center;\n }\n\n .left {\n margin-right: 15px;\n }\n\n .spaceman-background {\n background-color: white;\n border-radius: 10px;\n }\n\n .center{\n align-items: center;\n }\n\n .right {\n align-items: flex-start;\n text-align: left;\n }\n\n .left-img {\n padding-right: 10px;\n }\n\n p {\n margin: 0;\n padding-bottom: 5px;\n }\n .bottom {\n color: rgba(0, 0, 0, 0.55);\n font-size: 12px;\n font-family: 'Roboto', sans-serif;\n font-weight: lighter;\n letter-spacing: 0.15px;\n }\n \n .bottom-link {\n text-decoration: none;\n color: rgba(5, 192, 165);\n cursor: pointer;\n }\n \n #refresh-container-mew-modal {\n background: #33c7b0;\n border-radius: 5px;\n padding: 5px;\n }\n \n #refresh-container-mew-modal:hover {\n background: #238677;\n }\n\n .refreshIcon {\n padding-top: 5px;\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n cursor: pointer;\n color: #fffff;\n }\n\n .hidden {\n display: none;\n }\n \n .get-text {\n width: 265px;\n height: 16px;\n color: rgb(0, 0, 0);\n font-size: 14px;\n font-family: 'Roboto', sans-serif;\n font-weight: normal;\n letter-spacing: 0.17px;\n }\n \n .camera-icon {\n opacity: 0.54;\n position: relative;\n bottom: -2px;\n height: 14px;\n width: 14px;\n }\n \n #google-link:hover {\n cursor: pointer;\n }\n \n #apple-link:hover {\n cursor: pointer;\n }\n \n .warn-color {\n color: orange;\n }\n \n .loader-mew,\n .loader-mew:after {\n border-radius: 50%;\n width: 10em;\n height: 10em;\n }\n .loader-mew {\n margin: 20px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 1em solid rgba(166,183,183, 0.2);\n border-right: 1em solid rgba(166,183,183, 0.2);\n border-bottom: 1em solid rgba(166,183,183, 0.2);\n border-left: 1em solid rgba(8, 165, 178, 1);\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: load8 1.1s infinite linear;\n animation: load8 1.1s infinite linear;\n }\n @-webkit-keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n @keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n "; +var cssStyles = "\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n\n .outer-container-mew-modal {\n font-family: 'Roboto', sans-serif;\n box-sizing: border-box;\n bottom: 0;\n color: #050f19;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n left: 0;\n position: absolute;\n right: 0;\n text-align: center;\n top: 0;\n min-width: 450px;\n max-width: 450px;\n max-height: 558px;\n }\n \n .container-mew-modal {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n text-align: center;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 0;\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n padding-bottom: 16px;\n padding-top: 16px;\n position: relative;\n max-width: 450px;\n max-height: 404px;\n width: 100%;\n top: 0;\n }\n \n .upper-text {\n position: relative;\n left: 0;\n bottom: 15px;\n }\n \n .close-mew-modal{\n position: absolute;\n padding-top: 10px;\n right: 10px !important;\n top: 0;\n width: 20px;\n cursor: pointer;\n z-index: 10;\n }\n \n .mew-qr-code {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n height: 210px;\n width: 210px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n box-sizing: border-box;\n background-color: white;\n border-radius: 8px;\n display: inline-block;\n }\n .mew-text-one {\n min-width: 380px;\n height: 30px;\n color: rgba(0, 0, 0);\n font-size: 24px;\n font-family: 'Roboto', sans-serif;\n font-weight: 500;\n text-align: center;\n letter-spacing: 0.3px;\n line-height: 30px;\n box-sizing: border-box;\n padding-bottom: 8px;\n }\n .mew-text-two {\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.55);\n font-weight: normal;\n height: 16px;\n letter-spacing: 0.17px;\n text-align: center;\n min-width: 265px;\n padding-top: 8px;\n }\n .mew-list-style {\n width: 278px;\n height: 48px;\n color: rgba(0, 0, 0, 0.55);\n font-size: 12px;\n font-family: 'Roboto', sans-serif;\n font-weight: normal;\n letter-spacing: 0.15px;\n line-height: 16px;\n margin-left: 20px;\n list-style-position: outside;\n text-align: left;\n position: relative;\n left: 30px\n }\n .mew-list-style li {\n margin-left: 0;\n padding-left: 10px;\n }\n .mew-bottom-background {\n position: absolute;\n bottom: 0;\n right: 64px;\n border-radius: 0 0 16px 16px;\n background: rgb(249, 250, 251);\n text-align: center;\n padding-top: 25px;\n padding-bottom: 15px;\n max-width: 450px;\n margin-left: auto;\n margin-right: auto;\n }\n .bottom-container-mew-modal {\n position: relative;\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n text-align: center;\n box-sizing: border-box;\n margin-bottom: 16px;\n display: flex;\n flex-direction: row;\n flex-flow: row wrap;\n justify-content: center;\n left: -15px;\n \n }\n\n .bottom-container-mew-modal > .left {\n margin-right: 15px;\n }\n\n .bottom-container-mew-modal > .center {\n margin-right: 15px;\n }\n\n .bottom-container-mew-modal > .right {\n align-items: flex-start;\n text-align: left;\n }\n\n .bottom-container-mew-modal > .left-img {\n padding-right: 10px;\n }\n\n .bottom-container-mew-modal-text {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n box-sizing: border-box;\n font-size: 13px;\n margin: 0;\n opacity: 0.5;\n text-align: left;\n }\n .bottom-container-mew-modal-text-old {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n box-sizing: border-box;\n font-size: 13px;\n margin: 0;\n opacity: 0.5;\n padding: 16px;\n text-align: center;\n }\n\n .spaceman-background {\n background-color: white;\n border-radius: 10px;\n }\n\n p {\n margin: 0;\n padding-bottom: 5px;\n }\n\n .mew-bottom {\n color: rgba(0, 0, 0, 0.55);\n font-size: 12px;\n font-family: 'Roboto', sans-serif;\n font-weight: lighter;\n letter-spacing: 0.15px;\n }\n \n .bottom-link {\n text-decoration: none;\n color: rgba(5, 192, 165);\n cursor: pointer;\n }\n \n #refresh-container-mew-modal {\n background: #33c7b0;\n border-radius: 5px;\n padding: 5px;\n }\n \n #refresh-container-mew-modal:hover {\n background: #238677;\n }\n\n .refreshIcon {\n padding-top: 5px;\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n cursor: pointer;\n color: #fffff;\n }\n\n .mew-hidden {\n display: none;\n }\n \n .mew-get-text {\n width: 265px;\n height: 16px;\n color: rgb(0, 0, 0);\n font-size: 14px;\n font-family: 'Roboto', sans-serif;\n font-weight: normal;\n letter-spacing: 0.17px;\n }\n \n .mew-camera-icon {\n opacity: 0.54;\n position: relative;\n bottom: -2px;\n height: 14px;\n width: 14px;\n }\n \n #mew-google-link:hover {\n cursor: pointer;\n }\n \n #mew-apple-link:hover {\n cursor: pointer;\n }\n \n .mew-warn-color {\n color: orange;\n }\n \n .loader-mew,\n .loader-mew:after {\n border-radius: 50%;\n width: 10em;\n height: 10em;\n }\n .loader-mew {\n margin: 20px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 1em solid rgba(166,183,183, 0.2);\n border-right: 1em solid rgba(166,183,183, 0.2);\n border-bottom: 1em solid rgba(166,183,183, 0.2);\n border-left: 1em solid rgba(8, 165, 178, 1);\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: load8 1.1s infinite linear;\n animation: load8 1.1s infinite linear;\n }\n @-webkit-keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n @keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n "; var htmlDesign = function htmlDesign(refresh, image, playStore, appStore, camera, iconImage, iosLink, androidLink) { - return "\n
\n
\n
\n \n
\n
\n\n

Connect to MEW wallet app

\n

Scan this code to connect

\n
\n
\n

Connecting...

Creating encrypted peer-to-peer connection
\n
\n \n
\n
\n Try Again \n
\n\n
    \n
  1. Open MEW wallet app on your mobile device
  2. \n
  3. Click icon in the top right corner
  4. \n
  5. Scan this code to connect
  6. \n
\n
\n
\n
\n
\n \n
\n
\n
\n

Don't have MEW wallet app?

\n

\n \n\n \n\n\n\n
\n
\n\n
\n
\n Powered by MEWconnect protocol
\n brought to you by MyEtherWallet\n
\n
\n
\n\n"); + return "\n
\n
\n
\n \n
\n
\n\n

Connect to MEW wallet app

\n

Scan this code to connect

\n
\n
\n

Connecting...

Creating encrypted peer-to-peer connection
\n
\n \n
\n
\n Try Again \n
\n\n
    \n
  1. Open MEW wallet app on your mobile device
  2. \n
  3. Click icon in the top right corner
  4. \n
  5. Scan this code to connect
  6. \n
\n
\n
\n
\n
\n \n
\n
\n
\n

Don't have MEW wallet app?

\n

\n \n\n \n\n\n\n
\n
\n\n
\n
\n Powered by MEWconnect protocol
\n brought to you by MyEtherWallet\n
\n
\n
\n\n"); }; -var noticetext = "\n\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n\n\n div#Notifications.hidden {\n visibility: hidden;\n }\n \n div#Notifications.hidden {\n visibility: hidden;\n }\n\n div#qrcodeError.shown {\n visibility: visible;\n }\n \n div#qrcodeError.hidden {\n visibility: hidden;\n }\n div#retry-button-mew.hidden {\n display: none;\n }\n\n #Notifications,\n #Notifications * {\n\n animation: none;\n animation-delay: 0;\n animation-direction: normal;\n animation-duration: 0;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n backface-visibility: visible;\n background: 0;\n background-attachment: scroll;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0 0;\n background-position-x: 0;\n background-position-y: 0;\n background-repeat: repeat;\n background-size: auto auto;\n border-collapse: separate;\n border-image: none;\n border-spacing: 0;\n border-radius: 0;\n border: medium none inherit;\n bottom: auto;\n box-shadow: none;\n box-sizing: border-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: inherit;\n columns: auto;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule: medium none currentColor;\n column-rule-color: currentColor;\n column-rule-style: none;\n column-span: 1;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font-family: 'Roboto', sans-serif;\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n height: auto;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n list-style: disc outside none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 0;\n outline: invert none medium;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n pointer-events: auto;\n position: static;\n quotes: \"\\201C\" \"\\201D\" \"\\2018\" \"\\2019\";\n right: auto;\n tab-size: 8;\n table-layout: auto;\n text-align: inherit;\n text-align-last: auto;\n text-decoration: none;\n text-decoration-color: inherit;\n text-decoration-line: none;\n text-decoration-style: solid;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n transform: none;\n transform-style: flat;\n transition: none;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: none;\n transition-timing-function: ease;\n unicode-bidi: normal;\n vertical-align: baseline;\n white-space: normal;\n widows: 0;\n width: auto;\n word-spacing: normal;\n z-index: 9999999999;\n all: initial;\n all: unset;\n\n }\n\n #Notifications * {\n font-family: 'Roboto', sans-serif;\n font-weight: 500;\n box-sizing: border-box;\n }\n\n #Notifications {\n position: fixed;\n top: 0;\n right: 0;\n text-align: right;\n z-index: 2147483647;\n }\n\n #Notifications style {\n display: none;\n }\n\n #Notifications .Notification {\n display: block;\n margin: 8px 16px 0 16px;\n }\n\n #Notifications .NotificationBox {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n color: black;\n margin: 0;\n font-size: 14px;\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 0px 8px rgba(0, 0, 0, 0.04);\n border-radius: 16px;\n transition: opacity 0.25s, transform 0.25s;\n opacity: 0;\n transform: translateX(25%);\n text-align: left;\n overflow: hidden;\n }\n\n #Notifications\n .Notificationshow\n .NotificationBox {\n opacity: 1;\n transform: translateX(0);\n }\n\n #Notifications .NotificationContent {\n background-color: rgb(249, 250, 251);\n display: flex;\n flex-direction: row;\n padding: 8px 8px 8px 16px;\n align-items: center;\n user-select: none;\n cursor: pointer;\n }\n\n #Notifications .NotificationMessage {\n display: block;\n color: black;\n line-height: 1.5;\n }\n\n #Notifications .NotificationChevron {\n display: block;\n margin-left: 8px;\n transition: transform 0.05s;\n }\n\n #Notifications .NotificationProgressBar {\n display: block;\n height: 2px;\n position: relative;\n }\n\n #Notifications .NotificationProgressBar::before {\n display: block;\n position: absolute;\n content: \"\";\n left: -100%;\n width: 100%;\n height: 100%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n animation: MewNotificationProgressBar 2s linear infinite;\n }\n\n @keyframes MewNotificationProgressBar {\n 0% {\n left: 0;\n width: 0%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 25% {\n left: 0;\n width: 100%;\n }\n 50% {\n left: 100%;\n width: 0%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 50.01% {\n background-image: linear-gradient(\n to left,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 75% {\n left: 0;\n width: 100%;\n }\n 100% {\n left: 0;\n width: 0%;\n background-image: linear-gradient(\n to left,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n }\n\n #Notifications\n .NotificationExpand\n .NotificationProgressBar {\n margin-bottom: -1px;\n }\n\n #Notifications\n .NotificationExpand\n .NotificationChevron {\n transform: rotateZ(180deg);\n }\n\n #Notifications .NotificationActions {\n display: none;\n flex-direction: column;\n border-top: 1px solid #f5f7f8;\n padding: 8px 16px;\n }\n\n #Notifications\n .NotificationExpand\n .NotificationActions {\n display: flex;\n }\n\n #Notifications .NotificationAction {\n color: #888;\n margin: 8px 0;\n }\n\n #Notifications .NotificationButtonInfo {\n margin: 0 8px 0 0;\n }\n\n #Notifications .NotificationButton {\n color: #33c7b0;\n -webkit-text-fill-color: #33c7b0;\n cursor: pointer;\n display: inline;\n margin: 0;\n padding: 0;\n -webkit-appearance: none;\n transition: opacity 0.25s;\n }\n\n #Notifications .NotificationButton:active {\n opacity: 0.6;\n }\n\n #Notifications .NotificationContent .spaceman-background {\n background-color: rgb(249, 250, 251);\n border-radius: 10px;\n height: 50px;\n width: 50px;\n }\n "; +var noticetext = "\n\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n\n\n div#Notifications.mew-hidden {\n visibility: hidden;\n }\n \n div#Notifications.mew-hidden {\n visibility: hidden;\n }\n\n div#qrcodeError.shown {\n visibility: visible;\n }\n \n div#qrcodeError.mew-hidden {\n visibility: hidden;\n }\n div#retry-button-mew.mew-hidden {\n display: none;\n }\n\n #Notifications,\n #Notifications * {\n\n animation: none;\n animation-delay: 0;\n animation-direction: normal;\n animation-duration: 0;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n backface-visibility: visible;\n background: 0;\n background-attachment: scroll;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0 0;\n background-position-x: 0;\n background-position-y: 0;\n background-repeat: repeat;\n background-size: auto auto;\n border-collapse: separate;\n border-image: none;\n border-spacing: 0;\n border-radius: 0;\n border: medium none inherit;\n bottom: auto;\n box-shadow: none;\n box-sizing: border-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: inherit;\n columns: auto;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule: medium none currentColor;\n column-rule-color: currentColor;\n column-rule-style: none;\n column-span: 1;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font-family: 'Roboto', sans-serif;\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n height: auto;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n list-style: disc outside none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 0;\n outline: invert none medium;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n pointer-events: auto;\n position: static;\n quotes: \"\\201C\" \"\\201D\" \"\\2018\" \"\\2019\";\n right: auto;\n tab-size: 8;\n table-layout: auto;\n text-align: inherit;\n text-align-last: auto;\n text-decoration: none;\n text-decoration-color: inherit;\n text-decoration-line: none;\n text-decoration-style: solid;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n transform: none;\n transform-style: flat;\n transition: none;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: none;\n transition-timing-function: ease;\n unicode-bidi: normal;\n vertical-align: baseline;\n white-space: normal;\n widows: 0;\n width: auto;\n word-spacing: normal;\n z-index: 9999999999;\n all: initial;\n all: unset;\n\n }\n\n #Notifications * {\n font-family: 'Roboto', sans-serif;\n font-weight: 500;\n box-sizing: border-box;\n }\n\n #Notifications {\n position: fixed;\n top: 0;\n right: 0;\n text-align: right;\n z-index: 2147483647;\n }\n\n #Notifications style {\n display: none;\n }\n\n #Notifications .Notification {\n display: block;\n margin: 8px 16px 0 16px;\n }\n\n #Notifications .NotificationBox {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n color: black;\n margin: 0;\n font-size: 14px;\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 0px 8px rgba(0, 0, 0, 0.04);\n border-radius: 16px;\n transition: opacity 0.25s, transform 0.25s;\n opacity: 0;\n transform: translateX(25%);\n text-align: left;\n overflow: hidden;\n }\n\n #Notifications\n .Notificationshow\n .NotificationBox {\n opacity: 1;\n transform: translateX(0);\n }\n\n #Notifications .NotificationContent {\n background-color: rgb(249, 250, 251);\n display: flex;\n flex-direction: row;\n padding: 8px 8px 8px 16px;\n align-items: center;\n user-select: none;\n cursor: pointer;\n }\n\n #Notifications .NotificationMessage {\n display: block;\n color: black;\n line-height: 1.5;\n }\n\n #Notifications .NotificationChevron {\n display: block;\n margin-left: 8px;\n transition: transform 0.05s;\n }\n\n #Notifications .NotificationProgressBar {\n display: block;\n height: 2px;\n position: relative;\n }\n\n #Notifications .NotificationProgressBar::before {\n display: block;\n position: absolute;\n content: \"\";\n left: -100%;\n width: 100%;\n height: 100%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n animation: MewNotificationProgressBar 2s linear infinite;\n }\n\n @keyframes MewNotificationProgressBar {\n 0% {\n left: 0;\n width: 0%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 25% {\n left: 0;\n width: 100%;\n }\n 50% {\n left: 100%;\n width: 0%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 50.01% {\n background-image: linear-gradient(\n to left,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 75% {\n left: 0;\n width: 100%;\n }\n 100% {\n left: 0;\n width: 0%;\n background-image: linear-gradient(\n to left,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n }\n\n #Notifications\n .NotificationExpand\n .NotificationProgressBar {\n margin-bottom: -1px;\n }\n\n #Notifications\n .NotificationExpand\n .NotificationChevron {\n transform: rotateZ(180deg);\n }\n\n #Notifications .NotificationActions {\n display: none;\n flex-direction: column;\n border-top: 1px solid #f5f7f8;\n padding: 8px 16px;\n }\n\n #Notifications\n .NotificationExpand\n .NotificationActions {\n display: flex;\n }\n\n #Notifications .NotificationAction {\n color: #888;\n margin: 8px 0;\n }\n\n #Notifications .NotificationButtonInfo {\n margin: 0 8px 0 0;\n }\n\n #Notifications .NotificationButton {\n color: #33c7b0;\n -webkit-text-fill-color: #33c7b0;\n cursor: pointer;\n display: inline;\n margin: 0;\n padding: 0;\n -webkit-appearance: none;\n transition: opacity 0.25s;\n }\n\n #Notifications .NotificationButton:active {\n opacity: 0.6;\n }\n\n #Notifications .NotificationContent .spaceman-background {\n background-color: rgb(249, 250, 251);\n border-radius: 10px;\n height: 50px;\n width: 50px;\n }\n "; var windowInformer = function windowInformer(spaceman) { - return "\n
\n
\n
\n \n
Requesting to connect using MEW wallet
\n
\n
\n
\n
Don\u2019t see the popup?\n \n
\n
Made a mistake?\n \n
\n
Refresh QRcode and \n \n
\n
Failed to generate QR code. Please cancel and retry.\n
\n
\n
\n
\n"); + return "\n
\n
\n
\n \n
Requesting to connect using MEW wallet
\n
\n
\n
\n
Don\u2019t see the popup?\n \n
\n
Made a mistake?\n \n
\n
Refresh QRcode and \n \n
\n
Failed to generate QR code. Please cancel and retry.\n
\n
\n
\n
\n"); }; var modalFrame = function modalFrame(innerContent) { - return "\n
\n
\n
\n
\n ".concat(innerContent, "\n
\n
\n
\n"); + return "\n
\n
\n
\n
\n ".concat(innerContent, "\n
\n
\n
\n"); }; var modalCSS = function modalCSS() { var additionalCss = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; - return "\n".concat(additionalCss, "\n\n #mew-mobile-modal-dialog section.modal-content{\n position: fixed;\n min-width: 448px;\n max-width: 448px;\n min-height: 558px;\n max-height: 558px;\n width: 100%;\n height: 100%;\n border-radius: 16px;\n }\n \n .mew-wallet-modal {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n background: black;\n cursor: default;\n visibility: hidden;\n opacity: 0;\n transition: all 0.35s ease-in;\n }\n\n .mew-wallet-modal.is-visible {\n visibility: visible;\n opacity: 0.25;\n z-index: 999999;\n }\n\n div.modal-dialog {\n position: fixed;\n background: rgb(255, 255, 255);\n border-radius: 16px;\n box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05),\n 0px 3px 6px 0px rgba(0, 0, 0, 0.05),\n 0px 8px 16px 0px rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n min-width: 448px;\n max-width: 448px;\n min-height: 558px;\n max-height: 558px;\n overflow: auto;\n opacity: 0;\n visibility: hidden;\n z-index: 999999;\n }\n\n .mew-wallet-modal-container-mew-modal {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n background-color: transparent;\n cursor: default;\n visibility: hidden;\n opacity: 0;\n transition: all 0.35s ease-in;\n z-index: 999999;\n }\n\n div.mew-wallet-modal-container-mew-modal.is-visible {\n visibility: visible;\n opacity: 1;\n background-color: transparent;\n }\n\n div.modal-dialog.is-visible {\n visibility: visible;\n opacity: 1;\n z-index: 99999999999999;\n }\n\n .modal-dialog > * {\n /* padding: 1rem; */\n }\n\n .modal-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .modal-header .close-modal {\n font-size: 1.5rem;\n }\n\n"); + return "\n".concat(additionalCss, "\n\n #mew-mobile-modal-dialog section.mew-wallet-modal-content{\n position: fixed;\n min-width: 448px;\n max-width: 448px;\n min-height: 558px;\n max-height: 558px;\n width: 100%;\n height: 100%;\n border-radius: 16px;\n }\n \n .mew-wallet-modal {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n background: black;\n cursor: default;\n visibility: hidden;\n opacity: 0;\n transition: all 0.35s ease-in;\n }\n\n .mew-wallet-modal.is-visible {\n visibility: visible;\n opacity: 0.25;\n z-index: 999999;\n }\n\n div.mew-wallet-modal-dialog {\n position: fixed;\n background: rgb(255, 255, 255);\n border-radius: 16px;\n box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05),\n 0px 3px 6px 0px rgba(0, 0, 0, 0.05),\n 0px 8px 16px 0px rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n min-width: 448px;\n max-width: 448px;\n min-height: 558px;\n max-height: 558px;\n overflow: auto;\n opacity: 0;\n visibility: hidden;\n z-index: 999999;\n }\n\n .mew-wallet-modal-container-mew-modal {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n background-color: transparent;\n cursor: default;\n visibility: hidden;\n opacity: 0;\n transition: all 0.35s ease-in;\n z-index: 999999;\n }\n\n div.mew-wallet-modal-container-mew-modal.is-visible {\n visibility: visible;\n opacity: 1;\n background-color: transparent;\n }\n\n div.mew-wallet-modal-dialog.is-visible {\n visibility: visible;\n opacity: 1;\n z-index: 99999999999999;\n }\n\n .mew-wallet-modal-dialog > * {\n /* padding: 1rem; */\n }\n\n .modal-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .modal-header .close-modal {\n font-size: 1.5rem;\n }\n\n"); }; var IOS_LINK = 'https://apps.apple.com/app/apple-store/id1464614025?pt=118781877&ct=mc&mt=8'; @@ -6956,7 +6956,7 @@ var MEWProvider = function MEWProvider(host, options, store, eventHub) { } }; -var tokens$4 = [ +var tokens$5 = [ { symbol: "$AAPL", address: "0x41eFc0253ee7Ea44400abB5F907FDbfdEbc82bec", @@ -35431,7 +35431,7 @@ var ETH = { blockExplorerTX: 'https://etherscan.io/tx/[[txHash]]', blockExplorerAddr: 'https://etherscan.io/address/[[address]]', chainID: 1, - tokens: tokens$4, + tokens: tokens$5, contracts: [], currencyName: 'ETH' }; @@ -35465,7 +35465,7 @@ var KOV = { currencyName: 'KOV' }; -var tokens$3 = [ +var tokens$4 = [ { symbol: "*PLASMA", address: "0x95D7321EdCe519419ba1DbC60A89bAfbF55EAC0D", @@ -35615,12 +35615,12 @@ var ROP = { blockExplorerTX: 'https://ropsten.etherscan.io/tx/[[txHash]]', blockExplorerAddr: 'https://ropsten.etherscan.io/address/[[address]]', chainID: 3, - tokens: tokens$3, + tokens: tokens$4, contracts: [], currencyName: 'ROP' }; -var tokens$2 = [ +var tokens$3 = [ { symbol: "$DG", address: "0x2a93172c8DCCbfBC60a39d56183B7279a2F647b4", @@ -36115,12 +36115,12 @@ var MATIC = { blockExplorerTX: 'https://polygonscan.com/tx/[[txHash]]', blockExplorerAddr: 'https://polygonscan.com/address/[[address]]', chainID: 137, - tokens: tokens$2, + tokens: tokens$3, contracts: [], currencyName: 'MATIC' }; -var tokens$1 = [ +var tokens$2 = [ { symbol: "1INCH", address: "0x111111111117dC0aa78b770fA6A738034120C302", @@ -38195,12 +38195,12 @@ var BSC = { blockExplorerTX: 'https://bscscan.com/tx/[[txHash]]', blockExplorerAddr: 'https://bscscan.com/address/[[address]]', chainID: 56, - tokens: tokens$1, + tokens: tokens$2, contracts: [], currencyName: 'BNB' }; -var tokens = [ +var tokens$1 = [ { symbol: "BEC", address: "0x085fb4f24031EAedbC2B611AA528f22343eB52Db", @@ -38230,7 +38230,7 @@ var ETC = { blockExplorerTX: 'https://blockscout.com/etc/mainnet/tx/[[txHash]]', blockExplorerAddr: 'https://blockscout.com/etc/mainnet/address/[[address]]', chainID: 61, - tokens: tokens, + tokens: tokens$1, contracts: [], currencyName: 'ETC' }; @@ -38247,6 +38247,81 @@ var RIN = { currencyName: 'RIN' }; +var tokens = [ + { + symbol: "OMG", + address: "0xe1E2ec9a85C607092668789581251115bCBD20de", + decimals: 18 + }, + { + symbol: "USDT", + address: "0x5DE1677344D3Cb0D7D465c10b72A8f60699C062d", + decimals: 6 + }, + { + symbol: "DAI", + address: "0xf74195Bb8a5cf652411867c5C2C5b8C2a402be35", + decimals: 18 + }, + { + symbol: "USDC", + address: "0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc", + decimals: 6 + }, + { + symbol: "WBTC", + address: "0xdc0486f8bf31DF57a952bcd3c1d3e166e3d9eC8b", + decimals: 8 + }, + { + symbol: "REPv2", + address: "0x8b5B1E971862015bc058234FC11ce6C4a4c536dD", + decimals: 18 + }, + { + symbol: "BAT", + address: "0xc0C16dF1ee7dcEFb88C55003C49F57AA416A3578", + decimals: 18 + }, + { + symbol: "ZRX", + address: "0xf135f13Db3B114107dCB0B32B6c9e10fFF5a6987", + decimals: 18 + }, + { + symbol: "SUSHI", + address: "0x5fFccc55C0d2fd6D3AC32C26C020B3267e933F1b", + decimals: 18 + }, + { + symbol: "LINK", + address: "0xD5D5030831eE83e22a2C9a5cF99931A50c676433", + decimals: 18 + }, + { + symbol: "UNI", + address: "0xDBDE1347fED5dC03C74059010D571a16417d307e", + decimals: 18 + }, + { + symbol: "DODO", + address: "0x572c5B5BF34f75FB62c39b9BFE9A75bb0bb47984", + decimals: 18 + } +]; + +var BOBA = { + name: 'Boba', + name_long: 'Boba', + homePage: 'https://boba.network', + blockExplorerTX: 'https://blockexplorer.boba.network/tx/[[txHash]]', + blockExplorerAddr: 'https://blockexplorer.boba.network/address/[[address]]', + chainID: 288, + tokens: tokens, + contracts: [], + currencyName: 'oETH' +}; + var Networks = /*#__PURE__*/Object.freeze({ __proto__: null, ETH: ETH, @@ -38256,7 +38331,8 @@ var Networks = /*#__PURE__*/Object.freeze({ MATIC: MATIC, BSC: BSC, ETC: ETC, - RIN: RIN + RIN: RIN, + BOBA: BOBA }); var APP_STORE_LINK = IOS_LINK; diff --git a/dist/esm/index.js b/dist/esm/index.js index cea32e2e..07c72ed8 100644 --- a/dist/esm/index.js +++ b/dist/esm/index.js @@ -293,7 +293,7 @@ function _nonIterableSpread() { var name = "@myetherwallet/mewconnect-web-client"; var homepage = "https://github.com/myetherwallet/MEWconnect-web-client"; -var version = "2.2.0-beta.12"; +var version = "2.2.0-beta.13"; var main = "dist/cjs/index.js"; var module = "dist/esm/index.js"; var scripts = { @@ -2566,25 +2566,25 @@ var icon$1 = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWAAAAIACAMAAACLo0a5 var icon = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAWAAAAIACAMAAACLo0a5AAACBFBMVEUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAD////e4JKpAAAAqnRSTlMAAQ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6fXa9fa7mt8QZ3nt1ubumXM1vaTM8dee15X7tzbcc4V9eX23le57uh7JuiXe7b6z2nWlf81vGDLe+N3e1IXe+0YV/MW+xygFX90MJt8SfK/MXqx51Nr+RZ3i8e+Fiq+vO5jfqDNdXfXmxr9adzW/EGX77lsUWiyIs2zeS8OK+UYSl+0YRXso3grB83wjCS/sGF9bgG1x4Od/Awjp8Awsv7xtUWItvUOF2vgGF9fgGFG7vG0xYk28w4Sy+gYR1+QYSzuYbRFibbxDhrL4BhPX5BhDO7ltYWKNvYeFOfAsK6/QtKNyZbyFhrb6FhDv1LSCs17eAcOe+uYU1++YWzuObU1i3b07hfL65hLX75hLO65tDWL9vDuH8vh0LW/DtWLiIL9GaToQbNTJRrZOHgdfXFFts1V8zL/VJPxnpwezPeBi7uehi1azv+fnwXjLTfaezvn+nGmC1wUyPlHjtNjJUz5FM7+8bqgRZ7f72726d3lYhU1WG27/h9N3vhlqtOvS/5Zc68i0yV+9f2nzLtHNlwNXuGmktvdQbm8lkW/65zH/ZP9wZeLV1uxf/e7oro4+Q2TaNLv5o2vO71kVYrevH+xf+XXPj1Z/dSqZb+8RrC78rPvP8QFe09b45uOfl4+cucWPy5NjebX0ryEHV7w/vHT852eBL546/tGdwPSGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQQgghhBBCCCGEEEIIIYQQUtD/AU3DG9nVZ5KhAAAAAElFTkSuQmCC'; -var cssStyles = "\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n\n .outer-container-mew-modal {\n font-family: 'Roboto', sans-serif;\n box-sizing: border-box;\n bottom: 0;\n color: #050f19;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n left: 0;\n position: absolute;\n right: 0;\n text-align: center;\n top: 0;\n min-width: 450px;\n max-width: 450px;\n max-height: 558px;\n }\n \n .container-mew-modal {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n text-align: center;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 0;\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n padding-bottom: 16px;\n padding-top: 16px;\n position: relative;\n max-width: 450px;\n max-height: 404px;\n width: 100%;\n top: 0;\n }\n \n .upper-text {\n position: relative;\n left: 0;\n bottom: 15px;\n }\n \n .close-mew-modal{\n position: absolute;\n padding-top: 10px;\n right: 10px !important;\n top: 0;\n width: 20px;\n cursor: pointer;\n z-index: 10;\n }\n \n .qr-code {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n height: 210px;\n width: 210px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n box-sizing: border-box;\n background-color: white;\n border-radius: 8px;\n display: inline-block;\n }\n .text-one {\n min-width: 380px;\n height: 30px;\n color: rgba(0, 0, 0);\n font-size: 24px;\n font-family: 'Roboto', sans-serif;\n font-weight: 500;\n text-align: center;\n letter-spacing: 0.3px;\n line-height: 30px;\n box-sizing: border-box;\n padding-bottom: 8px;\n }\n .text-two {\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.55);\n font-weight: normal;\n height: 16px;\n letter-spacing: 0.17px;\n text-align: center;\n min-width: 265px;\n padding-top: 8px;\n }\n .list-style {\n width: 278px;\n height: 48px;\n color: rgba(0, 0, 0, 0.55);\n font-size: 12px;\n font-family: 'Roboto', sans-serif;\n font-weight: normal;\n letter-spacing: 0.15px;\n line-height: 16px;\n margin-left: 20px;\n list-style-position: outside;\n text-align: left;\n position: relative;\n left: 30px\n }\n .list-style li {\n margin-left: 0;\n padding-left: 10px;\n }\n .bottom-background {\n position: absolute;\n bottom: 0;\n right: 64px;\n border-radius: 0 0 16px 16px;\n background: rgb(249, 250, 251);\n text-align: center;\n padding-top: 25px;\n padding-bottom: 15px;\n max-width: 450px;\n margin-left: auto;\n margin-right: auto;\n }\n .bottom-container-mew-modal {\n position: relative;\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n text-align: center;\n box-sizing: border-box;\n margin-bottom: 16px;\n display: flex;\n flex-direction: row;\n flex-flow: row wrap;\n justify-content: center;\n left: -15px;\n \n }\n .bottom-container-mew-modal-text {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n box-sizing: border-box;\n font-size: 13px;\n margin: 0;\n opacity: 0.5;\n text-align: left;\n }\n .bottom-container-mew-modal-text-old {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n box-sizing: border-box;\n font-size: 13px;\n margin: 0;\n opacity: 0.5;\n padding: 16px;\n text-align: center;\n }\n\n .left {\n margin-right: 15px;\n }\n\n .spaceman-background {\n background-color: white;\n border-radius: 10px;\n }\n\n .center{\n align-items: center;\n }\n\n .right {\n align-items: flex-start;\n text-align: left;\n }\n\n .left-img {\n padding-right: 10px;\n }\n\n p {\n margin: 0;\n padding-bottom: 5px;\n }\n .bottom {\n color: rgba(0, 0, 0, 0.55);\n font-size: 12px;\n font-family: 'Roboto', sans-serif;\n font-weight: lighter;\n letter-spacing: 0.15px;\n }\n \n .bottom-link {\n text-decoration: none;\n color: rgba(5, 192, 165);\n cursor: pointer;\n }\n \n #refresh-container-mew-modal {\n background: #33c7b0;\n border-radius: 5px;\n padding: 5px;\n }\n \n #refresh-container-mew-modal:hover {\n background: #238677;\n }\n\n .refreshIcon {\n padding-top: 5px;\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n cursor: pointer;\n color: #fffff;\n }\n\n .hidden {\n display: none;\n }\n \n .get-text {\n width: 265px;\n height: 16px;\n color: rgb(0, 0, 0);\n font-size: 14px;\n font-family: 'Roboto', sans-serif;\n font-weight: normal;\n letter-spacing: 0.17px;\n }\n \n .camera-icon {\n opacity: 0.54;\n position: relative;\n bottom: -2px;\n height: 14px;\n width: 14px;\n }\n \n #google-link:hover {\n cursor: pointer;\n }\n \n #apple-link:hover {\n cursor: pointer;\n }\n \n .warn-color {\n color: orange;\n }\n \n .loader-mew,\n .loader-mew:after {\n border-radius: 50%;\n width: 10em;\n height: 10em;\n }\n .loader-mew {\n margin: 20px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 1em solid rgba(166,183,183, 0.2);\n border-right: 1em solid rgba(166,183,183, 0.2);\n border-bottom: 1em solid rgba(166,183,183, 0.2);\n border-left: 1em solid rgba(8, 165, 178, 1);\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: load8 1.1s infinite linear;\n animation: load8 1.1s infinite linear;\n }\n @-webkit-keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n @keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n "; +var cssStyles = "\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n\n .outer-container-mew-modal {\n font-family: 'Roboto', sans-serif;\n box-sizing: border-box;\n bottom: 0;\n color: #050f19;\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n left: 0;\n position: absolute;\n right: 0;\n text-align: center;\n top: 0;\n min-width: 450px;\n max-width: 450px;\n max-height: 558px;\n }\n \n .container-mew-modal {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n text-align: center;\n box-sizing: border-box;\n display: flex;\n flex-direction: column;\n flex-grow: 1;\n flex-shrink: 0;\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n padding-bottom: 16px;\n padding-top: 16px;\n position: relative;\n max-width: 450px;\n max-height: 404px;\n width: 100%;\n top: 0;\n }\n \n .upper-text {\n position: relative;\n left: 0;\n bottom: 15px;\n }\n \n .close-mew-modal{\n position: absolute;\n padding-top: 10px;\n right: 10px !important;\n top: 0;\n width: 20px;\n cursor: pointer;\n z-index: 10;\n }\n \n .mew-qr-code {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n height: 210px;\n width: 210px;\n margin-left: auto;\n margin-right: auto;\n text-align: center;\n box-sizing: border-box;\n background-color: white;\n border-radius: 8px;\n display: inline-block;\n }\n .mew-text-one {\n min-width: 380px;\n height: 30px;\n color: rgba(0, 0, 0);\n font-size: 24px;\n font-family: 'Roboto', sans-serif;\n font-weight: 500;\n text-align: center;\n letter-spacing: 0.3px;\n line-height: 30px;\n box-sizing: border-box;\n padding-bottom: 8px;\n }\n .mew-text-two {\n font-family: 'Roboto', sans-serif;\n font-size: 14px;\n color: rgba(0, 0, 0, 0.55);\n font-weight: normal;\n height: 16px;\n letter-spacing: 0.17px;\n text-align: center;\n min-width: 265px;\n padding-top: 8px;\n }\n .mew-list-style {\n width: 278px;\n height: 48px;\n color: rgba(0, 0, 0, 0.55);\n font-size: 12px;\n font-family: 'Roboto', sans-serif;\n font-weight: normal;\n letter-spacing: 0.15px;\n line-height: 16px;\n margin-left: 20px;\n list-style-position: outside;\n text-align: left;\n position: relative;\n left: 30px\n }\n .mew-list-style li {\n margin-left: 0;\n padding-left: 10px;\n }\n .mew-bottom-background {\n position: absolute;\n bottom: 0;\n right: 64px;\n border-radius: 0 0 16px 16px;\n background: rgb(249, 250, 251);\n text-align: center;\n padding-top: 25px;\n padding-bottom: 15px;\n max-width: 450px;\n margin-left: auto;\n margin-right: auto;\n }\n .bottom-container-mew-modal {\n position: relative;\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n text-align: center;\n box-sizing: border-box;\n margin-bottom: 16px;\n display: flex;\n flex-direction: row;\n flex-flow: row wrap;\n justify-content: center;\n left: -15px;\n \n }\n\n .bottom-container-mew-modal > .left {\n margin-right: 15px;\n }\n\n .bottom-container-mew-modal > .center {\n margin-right: 15px;\n }\n\n .bottom-container-mew-modal > .right {\n align-items: flex-start;\n text-align: left;\n }\n\n .bottom-container-mew-modal > .left-img {\n padding-right: 10px;\n }\n\n .bottom-container-mew-modal-text {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n box-sizing: border-box;\n font-size: 13px;\n margin: 0;\n opacity: 0.5;\n text-align: left;\n }\n .bottom-container-mew-modal-text-old {\n font-family: 'Roboto', sans-serif;\n color: #050f19;\n box-sizing: border-box;\n font-size: 13px;\n margin: 0;\n opacity: 0.5;\n padding: 16px;\n text-align: center;\n }\n\n .spaceman-background {\n background-color: white;\n border-radius: 10px;\n }\n\n p {\n margin: 0;\n padding-bottom: 5px;\n }\n\n .mew-bottom {\n color: rgba(0, 0, 0, 0.55);\n font-size: 12px;\n font-family: 'Roboto', sans-serif;\n font-weight: lighter;\n letter-spacing: 0.15px;\n }\n \n .bottom-link {\n text-decoration: none;\n color: rgba(5, 192, 165);\n cursor: pointer;\n }\n \n #refresh-container-mew-modal {\n background: #33c7b0;\n border-radius: 5px;\n padding: 5px;\n }\n \n #refresh-container-mew-modal:hover {\n background: #238677;\n }\n\n .refreshIcon {\n padding-top: 5px;\n justify-content: center;\n margin-left: auto;\n margin-right: auto;\n cursor: pointer;\n color: #fffff;\n }\n\n .mew-hidden {\n display: none;\n }\n \n .mew-get-text {\n width: 265px;\n height: 16px;\n color: rgb(0, 0, 0);\n font-size: 14px;\n font-family: 'Roboto', sans-serif;\n font-weight: normal;\n letter-spacing: 0.17px;\n }\n \n .mew-camera-icon {\n opacity: 0.54;\n position: relative;\n bottom: -2px;\n height: 14px;\n width: 14px;\n }\n \n #mew-google-link:hover {\n cursor: pointer;\n }\n \n #mew-apple-link:hover {\n cursor: pointer;\n }\n \n .mew-warn-color {\n color: orange;\n }\n \n .loader-mew,\n .loader-mew:after {\n border-radius: 50%;\n width: 10em;\n height: 10em;\n }\n .loader-mew {\n margin: 20px auto;\n font-size: 10px;\n position: relative;\n text-indent: -9999em;\n border-top: 1em solid rgba(166,183,183, 0.2);\n border-right: 1em solid rgba(166,183,183, 0.2);\n border-bottom: 1em solid rgba(166,183,183, 0.2);\n border-left: 1em solid rgba(8, 165, 178, 1);\n -webkit-transform: translateZ(0);\n -ms-transform: translateZ(0);\n transform: translateZ(0);\n -webkit-animation: load8 1.1s infinite linear;\n animation: load8 1.1s infinite linear;\n }\n @-webkit-keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n @keyframes load8 {\n 0% {\n -webkit-transform: rotate(0deg);\n transform: rotate(0deg);\n }\n 100% {\n -webkit-transform: rotate(360deg);\n transform: rotate(360deg);\n }\n }\n "; var htmlDesign = function htmlDesign(refresh, image, playStore, appStore, camera, iconImage, iosLink, androidLink) { - return "\n
\n
\n
\n \n
\n
\n\n

Connect to MEW wallet app

\n

Scan this code to connect

\n
\n
\n

Connecting...

Creating encrypted peer-to-peer connection
\n
\n \n
\n
\n Try Again \n
\n\n
    \n
  1. Open MEW wallet app on your mobile device
  2. \n
  3. Click icon in the top right corner
  4. \n
  5. Scan this code to connect
  6. \n
\n
\n
\n
\n
\n \n
\n
\n
\n

Don't have MEW wallet app?

\n

\n \n\n \n\n\n\n
\n
\n\n
\n
\n Powered by MEWconnect protocol
\n brought to you by MyEtherWallet\n
\n
\n
\n\n"); + return "\n
\n
\n
\n \n
\n
\n\n

Connect to MEW wallet app

\n

Scan this code to connect

\n
\n
\n

Connecting...

Creating encrypted peer-to-peer connection
\n
\n \n
\n
\n Try Again \n
\n\n
    \n
  1. Open MEW wallet app on your mobile device
  2. \n
  3. Click icon in the top right corner
  4. \n
  5. Scan this code to connect
  6. \n
\n
\n
\n
\n
\n \n
\n
\n
\n

Don't have MEW wallet app?

\n

\n \n\n \n\n\n\n
\n
\n\n
\n
\n Powered by MEWconnect protocol
\n brought to you by MyEtherWallet\n
\n
\n
\n\n"); }; -var noticetext = "\n\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n\n\n div#Notifications.hidden {\n visibility: hidden;\n }\n \n div#Notifications.hidden {\n visibility: hidden;\n }\n\n div#qrcodeError.shown {\n visibility: visible;\n }\n \n div#qrcodeError.hidden {\n visibility: hidden;\n }\n div#retry-button-mew.hidden {\n display: none;\n }\n\n #Notifications,\n #Notifications * {\n\n animation: none;\n animation-delay: 0;\n animation-direction: normal;\n animation-duration: 0;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n backface-visibility: visible;\n background: 0;\n background-attachment: scroll;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0 0;\n background-position-x: 0;\n background-position-y: 0;\n background-repeat: repeat;\n background-size: auto auto;\n border-collapse: separate;\n border-image: none;\n border-spacing: 0;\n border-radius: 0;\n border: medium none inherit;\n bottom: auto;\n box-shadow: none;\n box-sizing: border-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: inherit;\n columns: auto;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule: medium none currentColor;\n column-rule-color: currentColor;\n column-rule-style: none;\n column-span: 1;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font-family: 'Roboto', sans-serif;\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n height: auto;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n list-style: disc outside none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 0;\n outline: invert none medium;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n pointer-events: auto;\n position: static;\n quotes: \"\\201C\" \"\\201D\" \"\\2018\" \"\\2019\";\n right: auto;\n tab-size: 8;\n table-layout: auto;\n text-align: inherit;\n text-align-last: auto;\n text-decoration: none;\n text-decoration-color: inherit;\n text-decoration-line: none;\n text-decoration-style: solid;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n transform: none;\n transform-style: flat;\n transition: none;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: none;\n transition-timing-function: ease;\n unicode-bidi: normal;\n vertical-align: baseline;\n white-space: normal;\n widows: 0;\n width: auto;\n word-spacing: normal;\n z-index: 9999999999;\n all: initial;\n all: unset;\n\n }\n\n #Notifications * {\n font-family: 'Roboto', sans-serif;\n font-weight: 500;\n box-sizing: border-box;\n }\n\n #Notifications {\n position: fixed;\n top: 0;\n right: 0;\n text-align: right;\n z-index: 2147483647;\n }\n\n #Notifications style {\n display: none;\n }\n\n #Notifications .Notification {\n display: block;\n margin: 8px 16px 0 16px;\n }\n\n #Notifications .NotificationBox {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n color: black;\n margin: 0;\n font-size: 14px;\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 0px 8px rgba(0, 0, 0, 0.04);\n border-radius: 16px;\n transition: opacity 0.25s, transform 0.25s;\n opacity: 0;\n transform: translateX(25%);\n text-align: left;\n overflow: hidden;\n }\n\n #Notifications\n .Notificationshow\n .NotificationBox {\n opacity: 1;\n transform: translateX(0);\n }\n\n #Notifications .NotificationContent {\n background-color: rgb(249, 250, 251);\n display: flex;\n flex-direction: row;\n padding: 8px 8px 8px 16px;\n align-items: center;\n user-select: none;\n cursor: pointer;\n }\n\n #Notifications .NotificationMessage {\n display: block;\n color: black;\n line-height: 1.5;\n }\n\n #Notifications .NotificationChevron {\n display: block;\n margin-left: 8px;\n transition: transform 0.05s;\n }\n\n #Notifications .NotificationProgressBar {\n display: block;\n height: 2px;\n position: relative;\n }\n\n #Notifications .NotificationProgressBar::before {\n display: block;\n position: absolute;\n content: \"\";\n left: -100%;\n width: 100%;\n height: 100%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n animation: MewNotificationProgressBar 2s linear infinite;\n }\n\n @keyframes MewNotificationProgressBar {\n 0% {\n left: 0;\n width: 0%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 25% {\n left: 0;\n width: 100%;\n }\n 50% {\n left: 100%;\n width: 0%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 50.01% {\n background-image: linear-gradient(\n to left,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 75% {\n left: 0;\n width: 100%;\n }\n 100% {\n left: 0;\n width: 0%;\n background-image: linear-gradient(\n to left,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n }\n\n #Notifications\n .NotificationExpand\n .NotificationProgressBar {\n margin-bottom: -1px;\n }\n\n #Notifications\n .NotificationExpand\n .NotificationChevron {\n transform: rotateZ(180deg);\n }\n\n #Notifications .NotificationActions {\n display: none;\n flex-direction: column;\n border-top: 1px solid #f5f7f8;\n padding: 8px 16px;\n }\n\n #Notifications\n .NotificationExpand\n .NotificationActions {\n display: flex;\n }\n\n #Notifications .NotificationAction {\n color: #888;\n margin: 8px 0;\n }\n\n #Notifications .NotificationButtonInfo {\n margin: 0 8px 0 0;\n }\n\n #Notifications .NotificationButton {\n color: #33c7b0;\n -webkit-text-fill-color: #33c7b0;\n cursor: pointer;\n display: inline;\n margin: 0;\n padding: 0;\n -webkit-appearance: none;\n transition: opacity 0.25s;\n }\n\n #Notifications .NotificationButton:active {\n opacity: 0.6;\n }\n\n #Notifications .NotificationContent .spaceman-background {\n background-color: rgb(249, 250, 251);\n border-radius: 10px;\n height: 50px;\n width: 50px;\n }\n "; +var noticetext = "\n\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@500;700&display=swap');\n @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');\n\n\n div#Notifications.mew-hidden {\n visibility: hidden;\n }\n \n div#Notifications.mew-hidden {\n visibility: hidden;\n }\n\n div#qrcodeError.shown {\n visibility: visible;\n }\n \n div#qrcodeError.mew-hidden {\n visibility: hidden;\n }\n div#retry-button-mew.mew-hidden {\n display: none;\n }\n\n #Notifications,\n #Notifications * {\n\n animation: none;\n animation-delay: 0;\n animation-direction: normal;\n animation-duration: 0;\n animation-fill-mode: none;\n animation-iteration-count: 1;\n animation-name: none;\n animation-play-state: running;\n animation-timing-function: ease;\n backface-visibility: visible;\n background: 0;\n background-attachment: scroll;\n background-clip: border-box;\n background-color: transparent;\n background-image: none;\n background-origin: padding-box;\n background-position: 0 0;\n background-position-x: 0;\n background-position-y: 0;\n background-repeat: repeat;\n background-size: auto auto;\n border-collapse: separate;\n border-image: none;\n border-spacing: 0;\n border-radius: 0;\n border: medium none inherit;\n bottom: auto;\n box-shadow: none;\n box-sizing: border-box;\n caption-side: top;\n clear: none;\n clip: auto;\n color: inherit;\n columns: auto;\n column-count: auto;\n column-fill: balance;\n column-gap: normal;\n column-rule: medium none currentColor;\n column-rule-color: currentColor;\n column-rule-style: none;\n column-span: 1;\n column-width: auto;\n content: normal;\n counter-increment: none;\n counter-reset: none;\n cursor: auto;\n direction: ltr;\n display: inline;\n empty-cells: show;\n float: none;\n font-family: 'Roboto', sans-serif;\n font-size: medium;\n font-style: normal;\n font-variant: normal;\n font-weight: normal;\n height: auto;\n hyphens: none;\n left: auto;\n letter-spacing: normal;\n line-height: normal;\n list-style: disc outside none;\n margin: 0;\n max-height: none;\n max-width: none;\n min-height: 0;\n min-width: 0;\n opacity: 1;\n orphans: 0;\n outline: invert none medium;\n overflow: visible;\n overflow-x: visible;\n overflow-y: visible;\n padding: 0;\n page-break-after: auto;\n page-break-before: auto;\n page-break-inside: auto;\n perspective: none;\n perspective-origin: 50% 50%;\n pointer-events: auto;\n position: static;\n quotes: \"\\201C\" \"\\201D\" \"\\2018\" \"\\2019\";\n right: auto;\n tab-size: 8;\n table-layout: auto;\n text-align: inherit;\n text-align-last: auto;\n text-decoration: none;\n text-decoration-color: inherit;\n text-decoration-line: none;\n text-decoration-style: solid;\n text-indent: 0;\n text-shadow: none;\n text-transform: none;\n top: auto;\n transform: none;\n transform-style: flat;\n transition: none;\n transition-delay: 0s;\n transition-duration: 0s;\n transition-property: none;\n transition-timing-function: ease;\n unicode-bidi: normal;\n vertical-align: baseline;\n white-space: normal;\n widows: 0;\n width: auto;\n word-spacing: normal;\n z-index: 9999999999;\n all: initial;\n all: unset;\n\n }\n\n #Notifications * {\n font-family: 'Roboto', sans-serif;\n font-weight: 500;\n box-sizing: border-box;\n }\n\n #Notifications {\n position: fixed;\n top: 0;\n right: 0;\n text-align: right;\n z-index: 2147483647;\n }\n\n #Notifications style {\n display: none;\n }\n\n #Notifications .Notification {\n display: block;\n margin: 8px 16px 0 16px;\n }\n\n #Notifications .NotificationBox {\n display: flex;\n flex-direction: column;\n background-color: #fff;\n color: black;\n margin: 0;\n font-size: 14px;\n box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06),\n 0px 0px 8px rgba(0, 0, 0, 0.04);\n border-radius: 16px;\n transition: opacity 0.25s, transform 0.25s;\n opacity: 0;\n transform: translateX(25%);\n text-align: left;\n overflow: hidden;\n }\n\n #Notifications\n .Notificationshow\n .NotificationBox {\n opacity: 1;\n transform: translateX(0);\n }\n\n #Notifications .NotificationContent {\n background-color: rgb(249, 250, 251);\n display: flex;\n flex-direction: row;\n padding: 8px 8px 8px 16px;\n align-items: center;\n user-select: none;\n cursor: pointer;\n }\n\n #Notifications .NotificationMessage {\n display: block;\n color: black;\n line-height: 1.5;\n }\n\n #Notifications .NotificationChevron {\n display: block;\n margin-left: 8px;\n transition: transform 0.05s;\n }\n\n #Notifications .NotificationProgressBar {\n display: block;\n height: 2px;\n position: relative;\n }\n\n #Notifications .NotificationProgressBar::before {\n display: block;\n position: absolute;\n content: \"\";\n left: -100%;\n width: 100%;\n height: 100%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n animation: MewNotificationProgressBar 2s linear infinite;\n }\n\n @keyframes MewNotificationProgressBar {\n 0% {\n left: 0;\n width: 0%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 25% {\n left: 0;\n width: 100%;\n }\n 50% {\n left: 100%;\n width: 0%;\n background-image: linear-gradient(\n to right,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 50.01% {\n background-image: linear-gradient(\n to left,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n 75% {\n left: 0;\n width: 100%;\n }\n 100% {\n left: 0;\n width: 0%;\n background-image: linear-gradient(\n to left,\n rgba(22, 82, 240, 0) 0%,\n rgba(51, 199, 176, 1) 100%\n );\n }\n }\n\n #Notifications\n .NotificationExpand\n .NotificationProgressBar {\n margin-bottom: -1px;\n }\n\n #Notifications\n .NotificationExpand\n .NotificationChevron {\n transform: rotateZ(180deg);\n }\n\n #Notifications .NotificationActions {\n display: none;\n flex-direction: column;\n border-top: 1px solid #f5f7f8;\n padding: 8px 16px;\n }\n\n #Notifications\n .NotificationExpand\n .NotificationActions {\n display: flex;\n }\n\n #Notifications .NotificationAction {\n color: #888;\n margin: 8px 0;\n }\n\n #Notifications .NotificationButtonInfo {\n margin: 0 8px 0 0;\n }\n\n #Notifications .NotificationButton {\n color: #33c7b0;\n -webkit-text-fill-color: #33c7b0;\n cursor: pointer;\n display: inline;\n margin: 0;\n padding: 0;\n -webkit-appearance: none;\n transition: opacity 0.25s;\n }\n\n #Notifications .NotificationButton:active {\n opacity: 0.6;\n }\n\n #Notifications .NotificationContent .spaceman-background {\n background-color: rgb(249, 250, 251);\n border-radius: 10px;\n height: 50px;\n width: 50px;\n }\n "; var windowInformer = function windowInformer(spaceman) { - return "\n
\n
\n
\n \n
Requesting to connect using MEW wallet
\n
\n
\n
\n
Don\u2019t see the popup?\n \n
\n
Made a mistake?\n \n
\n
Refresh QRcode and \n \n
\n
Failed to generate QR code. Please cancel and retry.\n
\n
\n
\n
\n"); + return "\n
\n
\n
\n \n
Requesting to connect using MEW wallet
\n
\n
\n
\n
Don\u2019t see the popup?\n \n
\n
Made a mistake?\n \n
\n
Refresh QRcode and \n \n
\n
Failed to generate QR code. Please cancel and retry.\n
\n
\n
\n
\n"); }; var modalFrame = function modalFrame(innerContent) { - return "\n
\n
\n
\n
\n ".concat(innerContent, "\n
\n
\n
\n"); + return "\n
\n
\n
\n
\n ".concat(innerContent, "\n
\n
\n
\n"); }; var modalCSS = function modalCSS() { var additionalCss = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ''; - return "\n".concat(additionalCss, "\n\n #mew-mobile-modal-dialog section.modal-content{\n position: fixed;\n min-width: 448px;\n max-width: 448px;\n min-height: 558px;\n max-height: 558px;\n width: 100%;\n height: 100%;\n border-radius: 16px;\n }\n \n .mew-wallet-modal {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n background: black;\n cursor: default;\n visibility: hidden;\n opacity: 0;\n transition: all 0.35s ease-in;\n }\n\n .mew-wallet-modal.is-visible {\n visibility: visible;\n opacity: 0.25;\n z-index: 999999;\n }\n\n div.modal-dialog {\n position: fixed;\n background: rgb(255, 255, 255);\n border-radius: 16px;\n box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05),\n 0px 3px 6px 0px rgba(0, 0, 0, 0.05),\n 0px 8px 16px 0px rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n min-width: 448px;\n max-width: 448px;\n min-height: 558px;\n max-height: 558px;\n overflow: auto;\n opacity: 0;\n visibility: hidden;\n z-index: 999999;\n }\n\n .mew-wallet-modal-container-mew-modal {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n background-color: transparent;\n cursor: default;\n visibility: hidden;\n opacity: 0;\n transition: all 0.35s ease-in;\n z-index: 999999;\n }\n\n div.mew-wallet-modal-container-mew-modal.is-visible {\n visibility: visible;\n opacity: 1;\n background-color: transparent;\n }\n\n div.modal-dialog.is-visible {\n visibility: visible;\n opacity: 1;\n z-index: 99999999999999;\n }\n\n .modal-dialog > * {\n /* padding: 1rem; */\n }\n\n .modal-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .modal-header .close-modal {\n font-size: 1.5rem;\n }\n\n"); + return "\n".concat(additionalCss, "\n\n #mew-mobile-modal-dialog section.mew-wallet-modal-content{\n position: fixed;\n min-width: 448px;\n max-width: 448px;\n min-height: 558px;\n max-height: 558px;\n width: 100%;\n height: 100%;\n border-radius: 16px;\n }\n \n .mew-wallet-modal {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n background: black;\n cursor: default;\n visibility: hidden;\n opacity: 0;\n transition: all 0.35s ease-in;\n }\n\n .mew-wallet-modal.is-visible {\n visibility: visible;\n opacity: 0.25;\n z-index: 999999;\n }\n\n div.mew-wallet-modal-dialog {\n position: fixed;\n background: rgb(255, 255, 255);\n border-radius: 16px;\n box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.05),\n 0px 3px 6px 0px rgba(0, 0, 0, 0.05),\n 0px 8px 16px 0px rgba(0, 0, 0, 0.05);\n display: flex;\n align-items: center;\n justify-content: center;\n position: relative;\n min-width: 448px;\n max-width: 448px;\n min-height: 558px;\n max-height: 558px;\n overflow: auto;\n opacity: 0;\n visibility: hidden;\n z-index: 999999;\n }\n\n .mew-wallet-modal-container-mew-modal {\n position: fixed;\n top: 0;\n left: 0;\n right: 0;\n bottom: 0;\n display: flex;\n align-items: center;\n justify-content: center;\n padding: 1rem;\n background-color: transparent;\n cursor: default;\n visibility: hidden;\n opacity: 0;\n transition: all 0.35s ease-in;\n z-index: 999999;\n }\n\n div.mew-wallet-modal-container-mew-modal.is-visible {\n visibility: visible;\n opacity: 1;\n background-color: transparent;\n }\n\n div.mew-wallet-modal-dialog.is-visible {\n visibility: visible;\n opacity: 1;\n z-index: 99999999999999;\n }\n\n .mew-wallet-modal-dialog > * {\n /* padding: 1rem; */\n }\n\n .modal-header {\n display: flex;\n align-items: center;\n justify-content: space-between;\n }\n\n .modal-header .close-modal {\n font-size: 1.5rem;\n }\n\n"); }; var IOS_LINK = 'https://apps.apple.com/app/apple-store/id1464614025?pt=118781877&ct=mc&mt=8'; @@ -6933,7 +6933,7 @@ var MEWProvider = function MEWProvider(host, options, store, eventHub) { } }; -var tokens$4 = [ +var tokens$5 = [ { symbol: "$AAPL", address: "0x41eFc0253ee7Ea44400abB5F907FDbfdEbc82bec", @@ -35408,7 +35408,7 @@ var ETH = { blockExplorerTX: 'https://etherscan.io/tx/[[txHash]]', blockExplorerAddr: 'https://etherscan.io/address/[[address]]', chainID: 1, - tokens: tokens$4, + tokens: tokens$5, contracts: [], currencyName: 'ETH' }; @@ -35442,7 +35442,7 @@ var KOV = { currencyName: 'KOV' }; -var tokens$3 = [ +var tokens$4 = [ { symbol: "*PLASMA", address: "0x95D7321EdCe519419ba1DbC60A89bAfbF55EAC0D", @@ -35592,12 +35592,12 @@ var ROP = { blockExplorerTX: 'https://ropsten.etherscan.io/tx/[[txHash]]', blockExplorerAddr: 'https://ropsten.etherscan.io/address/[[address]]', chainID: 3, - tokens: tokens$3, + tokens: tokens$4, contracts: [], currencyName: 'ROP' }; -var tokens$2 = [ +var tokens$3 = [ { symbol: "$DG", address: "0x2a93172c8DCCbfBC60a39d56183B7279a2F647b4", @@ -36092,12 +36092,12 @@ var MATIC = { blockExplorerTX: 'https://polygonscan.com/tx/[[txHash]]', blockExplorerAddr: 'https://polygonscan.com/address/[[address]]', chainID: 137, - tokens: tokens$2, + tokens: tokens$3, contracts: [], currencyName: 'MATIC' }; -var tokens$1 = [ +var tokens$2 = [ { symbol: "1INCH", address: "0x111111111117dC0aa78b770fA6A738034120C302", @@ -38172,12 +38172,12 @@ var BSC = { blockExplorerTX: 'https://bscscan.com/tx/[[txHash]]', blockExplorerAddr: 'https://bscscan.com/address/[[address]]', chainID: 56, - tokens: tokens$1, + tokens: tokens$2, contracts: [], currencyName: 'BNB' }; -var tokens = [ +var tokens$1 = [ { symbol: "BEC", address: "0x085fb4f24031EAedbC2B611AA528f22343eB52Db", @@ -38207,7 +38207,7 @@ var ETC = { blockExplorerTX: 'https://blockscout.com/etc/mainnet/tx/[[txHash]]', blockExplorerAddr: 'https://blockscout.com/etc/mainnet/address/[[address]]', chainID: 61, - tokens: tokens, + tokens: tokens$1, contracts: [], currencyName: 'ETC' }; @@ -38224,6 +38224,81 @@ var RIN = { currencyName: 'RIN' }; +var tokens = [ + { + symbol: "OMG", + address: "0xe1E2ec9a85C607092668789581251115bCBD20de", + decimals: 18 + }, + { + symbol: "USDT", + address: "0x5DE1677344D3Cb0D7D465c10b72A8f60699C062d", + decimals: 6 + }, + { + symbol: "DAI", + address: "0xf74195Bb8a5cf652411867c5C2C5b8C2a402be35", + decimals: 18 + }, + { + symbol: "USDC", + address: "0x66a2A913e447d6b4BF33EFbec43aAeF87890FBbc", + decimals: 6 + }, + { + symbol: "WBTC", + address: "0xdc0486f8bf31DF57a952bcd3c1d3e166e3d9eC8b", + decimals: 8 + }, + { + symbol: "REPv2", + address: "0x8b5B1E971862015bc058234FC11ce6C4a4c536dD", + decimals: 18 + }, + { + symbol: "BAT", + address: "0xc0C16dF1ee7dcEFb88C55003C49F57AA416A3578", + decimals: 18 + }, + { + symbol: "ZRX", + address: "0xf135f13Db3B114107dCB0B32B6c9e10fFF5a6987", + decimals: 18 + }, + { + symbol: "SUSHI", + address: "0x5fFccc55C0d2fd6D3AC32C26C020B3267e933F1b", + decimals: 18 + }, + { + symbol: "LINK", + address: "0xD5D5030831eE83e22a2C9a5cF99931A50c676433", + decimals: 18 + }, + { + symbol: "UNI", + address: "0xDBDE1347fED5dC03C74059010D571a16417d307e", + decimals: 18 + }, + { + symbol: "DODO", + address: "0x572c5B5BF34f75FB62c39b9BFE9A75bb0bb47984", + decimals: 18 + } +]; + +var BOBA = { + name: 'Boba', + name_long: 'Boba', + homePage: 'https://boba.network', + blockExplorerTX: 'https://blockexplorer.boba.network/tx/[[txHash]]', + blockExplorerAddr: 'https://blockexplorer.boba.network/address/[[address]]', + chainID: 288, + tokens: tokens, + contracts: [], + currencyName: 'oETH' +}; + var Networks = /*#__PURE__*/Object.freeze({ __proto__: null, ETH: ETH, @@ -38233,7 +38308,8 @@ var Networks = /*#__PURE__*/Object.freeze({ MATIC: MATIC, BSC: BSC, ETC: ETC, - RIN: RIN + RIN: RIN, + BOBA: BOBA }); var APP_STORE_LINK = IOS_LINK; diff --git a/example/app/src/App.vue b/example/app/src/App.vue index 4a7ecfaf..5330c06c 100644 --- a/example/app/src/App.vue +++ b/example/app/src/App.vue @@ -417,7 +417,7 @@ export default { }; }, mounted() { - localStorage.debug = '*'; + //localStorage.debug = '*'; console.log('LOADEDED'); // todo remove dev item this.connect = new mewConnect.Provider({ windowClosedError: true, diff --git a/package-lock.json b/package-lock.json index 398274ae..dd20a1e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7525,6 +7525,11 @@ "requires": { "async-limiter": "~1.0.0" } + }, + "xmlhttprequest-ssl": { + "version": "1.6.1", + "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.6.1.tgz", + "integrity": "sha512-rNip/8D9Y/1dl3E2kgsEnvqZhFN15WAFBYsMCdLrQmlEoFCRp7somLaIxvx4yobEmgJm78YF0gvCL/saacX3ww==" } } }, @@ -21030,11 +21035,6 @@ "integrity": "sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==", "dev": true }, - "xmlhttprequest-ssl": { - "version": "1.5.5", - "resolved": "https://registry.npmjs.org/xmlhttprequest-ssl/-/xmlhttprequest-ssl-1.5.5.tgz", - "integrity": "sha1-wodrBhaKrcQOV9l+gRkayPQ5iz4=" - }, "xtend": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/xtend/-/xtend-4.0.2.tgz", diff --git a/package.json b/package.json index b85725fc..18fade41 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@myetherwallet/mewconnect-web-client", "homepage": "https://github.com/myetherwallet/MEWconnect-web-client", - "version": "2.2.0-beta.13", + "version": "2.2.0-beta.14", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "scripts": {