@multiversx/sdk-dapp 2.9.0 → 2.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@multiversx/sdk-dapp",
3
- "version": "2.9.0",
3
+ "version": "2.9.1",
4
4
  "description": "A library to hold the main logic for a dapp on the MultiversX blockchain",
5
5
  "author": "MultiversX",
6
6
  "license": "GPL-3.0-or-later",
@@ -1,2 +0,0 @@
1
- import{a as e}from"./chunk-5MAICJIA.js";import{g as r,m as o}from"./chunk-HBP5N4FR.js";var a={};r(a,{UnlockPage:()=>e});o();export{a};
2
- //# sourceMappingURL=chunk-6KPQQHCC.js.map
@@ -1,33 +0,0 @@
1
- import{m as n}from"./chunk-HBP5N4FR.js";n();var o=`.dapp-core-component__extensionLoginButton-styles__extension-login {
2
- color: inherit;
3
- }
4
-
5
- .dapp-core-component__extensionLoginButton-styles__title {
6
- color: inherit;
7
- display: flex;
8
- }
9
-
10
- .dapp-core-component__extensionLoginButton-styles__wrapper {
11
- color: inherit;
12
- }
13
-
14
- .dapp-core-component__extensionLoginButton-styles__login-text {
15
- color: inherit;
16
- }
17
-
18
- .dapp-core-component__extensionLoginButton-styles__no-extension-button-wrapper {
19
- color: inherit;
20
- }
21
-
22
- .dapp-core-component__extensionLoginButton-styles__noExtensionButtonContent {
23
- color: inherit;
24
- }
25
-
26
- .dapp-core-component__extensionLoginButton-styles__no-extension-button-title {
27
- color: inherit;
28
- }
29
-
30
- .dapp-core-component__extensionLoginButton-styles__no-extension-button-icon {
31
- color: inherit;
32
- }`;document.head.appendChild(document.createElement("style")).appendChild(document.createTextNode(o));var s={"extension-login":"dapp-core-component__extensionLoginButton-styles__extension-login",extensionLogin:"dapp-core-component__extensionLoginButton-styles__extension-login",title:"dapp-core-component__extensionLoginButton-styles__title",wrapper:"dapp-core-component__extensionLoginButton-styles__wrapper","login-text":"dapp-core-component__extensionLoginButton-styles__login-text",loginText:"dapp-core-component__extensionLoginButton-styles__login-text","no-extension-button-wrapper":"dapp-core-component__extensionLoginButton-styles__no-extension-button-wrapper",noExtensionButtonWrapper:"dapp-core-component__extensionLoginButton-styles__no-extension-button-wrapper",noExtensionButtonContent:"dapp-core-component__extensionLoginButton-styles__noExtensionButtonContent","no-extension-button-title":"dapp-core-component__extensionLoginButton-styles__no-extension-button-title",noExtensionButtonTitle:"dapp-core-component__extensionLoginButton-styles__no-extension-button-title","no-extension-button-icon":"dapp-core-component__extensionLoginButton-styles__no-extension-button-icon",noExtensionButtonIcon:"dapp-core-component__extensionLoginButton-styles__no-extension-button-icon"};export{o as a,s as b};
33
- //# sourceMappingURL=chunk-CGDJYIJX.js.map
@@ -1,2 +0,0 @@
1
- import{a}from"./chunk-MVX3RRDQ.js";import{b as o}from"./chunk-CGDJYIJX.js";import{a as l}from"./chunk-XVNI577V.js";import{a as r}from"./chunk-532JEGBO.js";import{m as s}from"./chunk-HBP5N4FR.js";s();import n from"react";import{faArrowRight as v}from"@fortawesome/free-solid-svg-icons";import{FontAwesomeIcon as L}from"@fortawesome/react-fontawesome";import b from"classnames";var T=l(),M=({token:m,className:e="dapp-extension-login",children:i,callbackRoute:p,buttonClassName:d,nativeAuth:x,loginButtonText:g="MultiversX DeFi Wallet",onLoginRedirect:u,disabled:f,"data-testid":c="extensionLoginButton"})=>{let[B]=r({callbackRoute:p,token:m,onLoginRedirect:u,nativeAuth:x}),E=navigator.userAgent.indexOf("Firefox")!=-1,t={noExtensionButtonWrapper:b(o.noExtensionButtonWrapper,e),noExtensionButtonContent:o.noExtensionButtonContent,noExtensionButtonTitle:o.noExtensionButtonTitle,noExtensionButtonIcon:o.noExtensionButtonIcon};return T?n.createElement(a,{onLogin:()=>{B()},className:e,btnClassName:d,text:g,disabled:f,"data-testid":c},i):n.createElement("a",{rel:"noreferrer",href:E?"https://addons.mozilla.org/en-US/firefox/addon/multiversx-defi-wallet":"https://chrome.google.com/webstore/detail/multiversx-defi-wallet/dngmlblcodfobpdpecaadgfbcggfjfnm",target:"_blank",className:t.noExtensionButtonWrapper},i||n.createElement("div",{className:t.noExtensionButtonContent},n.createElement("div",{className:t.noExtensionButtonTitle},"MultiversX DeFi Wallet"),n.createElement(L,{className:t.noExtensionButtonIcon,icon:v})))};export{M as a};
2
- //# sourceMappingURL=chunk-EFQZA6SB.js.map