Skip to content

Commit d528220

Browse files
committed
v13.0.17: fix error dialog
1 parent 392c797 commit d528220

20 files changed

+34
-138
lines changed

dist/esm/index.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/index.evm.js

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6881,9 +6881,6 @@ var ConnectStack = (function (props) {
68816881
open = _useContext.open,
68826882
close = _useContext.close;
68836883

6884-
var _useContext2 = useContext(ConfigurationContext),
6885-
loginWith = _useContext2.loginWith;
6886-
68876884
var _useState = useState(),
68886885
_useState2 = _slicedToArray$1(_useState, 2),
68896886
wallet = _useState2[0],
@@ -7154,17 +7151,6 @@ var ConnectStack = (function (props) {
71547151
useEffect(function () {
71557152
delete localStorage['WALLETCONNECT_DEEPLINK_CHOICE'];
71567153
}, []);
7157-
useEffect(function () {
7158-
if (loginWith) {
7159-
var foundWallet = allWallets.find(function (wallet) {
7160-
return wallet.name == loginWith;
7161-
});
7162-
7163-
if (foundWallet) {
7164-
connectExtension(foundWallet);
7165-
}
7166-
}
7167-
}, []);
71687154
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ReactDialogStack, {
71697155
open: open,
71707156
close: close,
@@ -7841,7 +7827,7 @@ var ErrorProvider = (function (props) {
78417827
}, /*#__PURE__*/React.createElement("div", {
78427828
className: "Dialog ReactDialogAnimation"
78437829
}, /*#__PURE__*/React.createElement("div", {
7844-
className: "DialogHeader"
7830+
className: "DialogHeader TextLeft"
78457831
}, /*#__PURE__*/React.createElement("div", {
78467832
className: "PaddingTopS PaddingLeftS PaddingRightS"
78477833
}, /*#__PURE__*/React.createElement("a", {
@@ -9012,7 +8998,7 @@ var WalletProvider = (function (props) {
90128998

90138999
var Login = function Login(options) {
90149000
requireReactVersion();
9015-
var style, error, document, message, endpoint, recover, wallet, wallets, loginWith;
9001+
var style, error, document, message, endpoint, recover, wallet, wallets;
90169002

90179003
if (_typeof$1(options) == 'object') {
90189004
style = options.style;
@@ -9023,7 +9009,6 @@ var Login = function Login(options) {
90239009
recover = options.recover;
90249010
wallet = options.wallet;
90259011
wallets = options.wallets;
9026-
loginWith = options.loginWith;
90279012
}
90289013

90299014
return new Promise( /*#__PURE__*/function () {
@@ -9052,8 +9037,7 @@ var Login = function Login(options) {
90529037
endpoint: endpoint || '/login',
90539038
recoverSignature: recover,
90549039
wallet: wallet,
9055-
wallets: wallets,
9056-
loginWith: loginWith
9040+
wallets: wallets
90579041
}
90589042
}, /*#__PURE__*/React.createElement(UpdatableProvider, null, /*#__PURE__*/React.createElement(ClosableProvider, {
90599043
unmount: userClosedDialog

dist/esm/index.evm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/index.js

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6883,9 +6883,6 @@ var ConnectStack = (function (props) {
68836883
open = _useContext.open,
68846884
close = _useContext.close;
68856885

6886-
var _useContext2 = useContext(ConfigurationContext),
6887-
loginWith = _useContext2.loginWith;
6888-
68896886
var _useState = useState(),
68906887
_useState2 = _slicedToArray(_useState, 2),
68916888
wallet = _useState2[0],
@@ -7156,17 +7153,6 @@ var ConnectStack = (function (props) {
71567153
useEffect(function () {
71577154
delete localStorage['WALLETCONNECT_DEEPLINK_CHOICE'];
71587155
}, []);
7159-
useEffect(function () {
7160-
if (loginWith) {
7161-
var foundWallet = allWallets.find(function (wallet) {
7162-
return wallet.name == loginWith;
7163-
});
7164-
7165-
if (foundWallet) {
7166-
connectExtension(foundWallet);
7167-
}
7168-
}
7169-
}, []);
71707156
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ReactDialogStack, {
71717157
open: open,
71727158
close: close,
@@ -7843,7 +7829,7 @@ var ErrorProvider = (function (props) {
78437829
}, /*#__PURE__*/React.createElement("div", {
78447830
className: "Dialog ReactDialogAnimation"
78457831
}, /*#__PURE__*/React.createElement("div", {
7846-
className: "DialogHeader"
7832+
className: "DialogHeader TextLeft"
78477833
}, /*#__PURE__*/React.createElement("div", {
78487834
className: "PaddingTopS PaddingLeftS PaddingRightS"
78497835
}, /*#__PURE__*/React.createElement("a", {
@@ -8959,7 +8945,7 @@ var WalletProvider = (function (props) {
89598945

89608946
var Login = function Login(options) {
89618947
requireReactVersion();
8962-
var style, error, document, message, endpoint, recover, wallet, wallets, loginWith;
8948+
var style, error, document, message, endpoint, recover, wallet, wallets;
89638949

89648950
if (_typeof(options) == 'object') {
89658951
style = options.style;
@@ -8970,7 +8956,6 @@ var Login = function Login(options) {
89708956
recover = options.recover;
89718957
wallet = options.wallet;
89728958
wallets = options.wallets;
8973-
loginWith = options.loginWith;
89748959
}
89758960

89768961
return new Promise( /*#__PURE__*/function () {
@@ -8999,8 +8984,7 @@ var Login = function Login(options) {
89998984
endpoint: endpoint || '/login',
90008985
recoverSignature: recover,
90018986
wallet: wallet,
9002-
wallets: wallets,
9003-
loginWith: loginWith
8987+
wallets: wallets
90048988
}
90058989
}, /*#__PURE__*/React.createElement(UpdatableProvider, null, /*#__PURE__*/React.createElement(ClosableProvider, {
90068990
unmount: userClosedDialog

dist/esm/index.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/index.svm.js

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6882,9 +6882,6 @@ var ConnectStack = (function (props) {
68826882
open = _useContext.open,
68836883
close = _useContext.close;
68846884

6885-
var _useContext2 = useContext(ConfigurationContext),
6886-
loginWith = _useContext2.loginWith;
6887-
68886885
var _useState = useState(),
68896886
_useState2 = _slicedToArray(_useState, 2),
68906887
wallet = _useState2[0],
@@ -7155,17 +7152,6 @@ var ConnectStack = (function (props) {
71557152
useEffect(function () {
71567153
delete localStorage['WALLETCONNECT_DEEPLINK_CHOICE'];
71577154
}, []);
7158-
useEffect(function () {
7159-
if (loginWith) {
7160-
var foundWallet = allWallets.find(function (wallet) {
7161-
return wallet.name == loginWith;
7162-
});
7163-
7164-
if (foundWallet) {
7165-
connectExtension(foundWallet);
7166-
}
7167-
}
7168-
}, []);
71697155
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(ReactDialogStack, {
71707156
open: open,
71717157
close: close,
@@ -7842,7 +7828,7 @@ var ErrorProvider = (function (props) {
78427828
}, /*#__PURE__*/React.createElement("div", {
78437829
className: "Dialog ReactDialogAnimation"
78447830
}, /*#__PURE__*/React.createElement("div", {
7845-
className: "DialogHeader"
7831+
className: "DialogHeader TextLeft"
78467832
}, /*#__PURE__*/React.createElement("div", {
78477833
className: "PaddingTopS PaddingLeftS PaddingRightS"
78487834
}, /*#__PURE__*/React.createElement("a", {
@@ -9013,7 +8999,7 @@ var WalletProvider = (function (props) {
90138999

90149000
var Login = function Login(options) {
90159001
requireReactVersion();
9016-
var style, error, document, message, endpoint, recover, wallet, wallets, loginWith;
9002+
var style, error, document, message, endpoint, recover, wallet, wallets;
90179003

90189004
if (_typeof(options) == 'object') {
90199005
style = options.style;
@@ -9024,7 +9010,6 @@ var Login = function Login(options) {
90249010
recover = options.recover;
90259011
wallet = options.wallet;
90269012
wallets = options.wallets;
9027-
loginWith = options.loginWith;
90289013
}
90299014

90309015
return new Promise( /*#__PURE__*/function () {
@@ -9053,8 +9038,7 @@ var Login = function Login(options) {
90539038
endpoint: endpoint || '/login',
90549039
recoverSignature: recover,
90559040
wallet: wallet,
9056-
wallets: wallets,
9057-
loginWith: loginWith
9041+
wallets: wallets
90589042
}
90599043
}, /*#__PURE__*/React.createElement(UpdatableProvider, null, /*#__PURE__*/React.createElement(ClosableProvider, {
90609044
unmount: userClosedDialog

dist/esm/index.svm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/umd/index.bundle.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/umd/index.evm.js

Lines changed: 3 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6880,9 +6880,6 @@
68806880
open = _useContext.open,
68816881
close = _useContext.close;
68826882

6883-
var _useContext2 = React.useContext(ConfigurationContext),
6884-
loginWith = _useContext2.loginWith;
6885-
68866883
var _useState = React.useState(),
68876884
_useState2 = _slicedToArray$1(_useState, 2),
68886885
wallet = _useState2[0],
@@ -7153,17 +7150,6 @@
71537150
React.useEffect(function () {
71547151
delete localStorage['WALLETCONNECT_DEEPLINK_CHOICE'];
71557152
}, []);
7156-
React.useEffect(function () {
7157-
if (loginWith) {
7158-
var foundWallet = allWallets.find(function (wallet) {
7159-
return wallet.name == loginWith;
7160-
});
7161-
7162-
if (foundWallet) {
7163-
connectExtension(foundWallet);
7164-
}
7165-
}
7166-
}, []);
71677153
return /*#__PURE__*/React__default['default'].createElement("div", null, /*#__PURE__*/React__default['default'].createElement(reactDialogStack.ReactDialogStack, {
71687154
open: open,
71697155
close: close,
@@ -7840,7 +7826,7 @@
78407826
}, /*#__PURE__*/React__default['default'].createElement("div", {
78417827
className: "Dialog ReactDialogAnimation"
78427828
}, /*#__PURE__*/React__default['default'].createElement("div", {
7843-
className: "DialogHeader"
7829+
className: "DialogHeader TextLeft"
78447830
}, /*#__PURE__*/React__default['default'].createElement("div", {
78457831
className: "PaddingTopS PaddingLeftS PaddingRightS"
78467832
}, /*#__PURE__*/React__default['default'].createElement("a", {
@@ -9011,7 +8997,7 @@
90118997

90128998
var Login = function Login(options) {
90138999
requireReactVersion();
9014-
var style, error, document, message, endpoint, recover, wallet, wallets, loginWith;
9000+
var style, error, document, message, endpoint, recover, wallet, wallets;
90159001

90169002
if (_typeof$1(options) == 'object') {
90179003
style = options.style;
@@ -9022,7 +9008,6 @@
90229008
recover = options.recover;
90239009
wallet = options.wallet;
90249010
wallets = options.wallets;
9025-
loginWith = options.loginWith;
90269011
}
90279012

90289013
return new Promise( /*#__PURE__*/function () {
@@ -9051,8 +9036,7 @@
90519036
endpoint: endpoint || '/login',
90529037
recoverSignature: recover,
90539038
wallet: wallet,
9054-
wallets: wallets,
9055-
loginWith: loginWith
9039+
wallets: wallets
90569040
}
90579041
}, /*#__PURE__*/React__default['default'].createElement(UpdatableProvider, null, /*#__PURE__*/React__default['default'].createElement(ClosableProvider, {
90589042
unmount: userClosedDialog

dist/umd/index.evm.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)