@depay/widgets 12.3.19 → 12.3.21
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/dist/esm/index.bundle.js +29 -4
- package/dist/esm/index.evm.js +20 -16
- package/dist/esm/index.evm.js.map +1 -1
- package/dist/esm/index.js +20 -16
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.solana.js +20 -16
- package/dist/esm/index.solana.js.map +1 -1
- package/dist/umd/index.bundle.js +29 -4
- package/dist/umd/index.evm.js +20 -16
- package/dist/umd/index.evm.js.map +1 -1
- package/dist/umd/index.js +20 -16
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/index.solana.js +20 -16
- package/dist/umd/index.solana.js.map +1 -1
- package/package.json +11 -5
package/dist/esm/index.js
CHANGED
|
@@ -114,7 +114,6 @@ var allWallets = [{
|
|
|
114
114
|
"mobile": {
|
|
115
115
|
"ios": {
|
|
116
116
|
"native": "phantom:",
|
|
117
|
-
"universal": "https://phantom.app/ul",
|
|
118
117
|
"open": function open() {
|
|
119
118
|
return "https://phantom.app/ul/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
|
|
120
119
|
},
|
|
@@ -125,7 +124,6 @@ var allWallets = [{
|
|
|
125
124
|
},
|
|
126
125
|
"android": {
|
|
127
126
|
"native": "phantom:",
|
|
128
|
-
"universal": "https://phantom.app/ul",
|
|
129
127
|
"connect": "SolanaMobileWalletAdapter",
|
|
130
128
|
"qr": function qr() {
|
|
131
129
|
return "phantom://browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
|
|
@@ -281,6 +279,12 @@ var allWallets = [{
|
|
|
281
279
|
"universal": "https://uniswap.org/app",
|
|
282
280
|
"connect": "WalletConnectV2",
|
|
283
281
|
"qr": "WalletConnectV2"
|
|
282
|
+
},
|
|
283
|
+
"android": {
|
|
284
|
+
"native": "uniswap:",
|
|
285
|
+
"universal": "https://uniswap.org/app",
|
|
286
|
+
"connect": "WalletConnectV2",
|
|
287
|
+
"qr": "WalletConnectV2"
|
|
284
288
|
}
|
|
285
289
|
},
|
|
286
290
|
"logo": "https://img1.depay.com/wallets/uniswap_wallet.jpg",
|
|
@@ -22002,14 +22006,14 @@ var ConnectWalletDialog = (function (props) {
|
|
|
22002
22006
|
style: {
|
|
22003
22007
|
width: "50px"
|
|
22004
22008
|
}
|
|
22009
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
22010
|
+
className: "PaddingTopXS"
|
|
22005
22011
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22006
22012
|
className: "Loading Icon medium",
|
|
22007
22013
|
style: {
|
|
22008
|
-
position: 'relative'
|
|
22009
|
-
top: '4px',
|
|
22010
|
-
left: '1px'
|
|
22014
|
+
position: 'relative'
|
|
22011
22015
|
}
|
|
22012
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
22016
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
22013
22017
|
className: "PaddingLeftS LineHeightXS"
|
|
22014
22018
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22015
22019
|
className: "CardText FontWeightMedium"
|
|
@@ -22049,14 +22053,14 @@ var ConnectWalletDialog = (function (props) {
|
|
|
22049
22053
|
style: {
|
|
22050
22054
|
width: "50px"
|
|
22051
22055
|
}
|
|
22056
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
22057
|
+
className: "PaddingTopXS"
|
|
22052
22058
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22053
22059
|
className: "Loading Icon medium",
|
|
22054
22060
|
style: {
|
|
22055
|
-
position: 'relative'
|
|
22056
|
-
top: '2px',
|
|
22057
|
-
left: '0px'
|
|
22061
|
+
position: 'relative'
|
|
22058
22062
|
}
|
|
22059
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
22063
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
22060
22064
|
className: "PaddingLeftS LineHeightXS"
|
|
22061
22065
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22062
22066
|
className: "CardText FontWeightMedium"
|
|
@@ -22552,7 +22556,8 @@ var SelectWalletDialog = (function (props) {
|
|
|
22552
22556
|
className: "PaddingBottomXS PaddingLeftS PaddingRightS"
|
|
22553
22557
|
}, detectedWallets.filter(function (wallet, index, array) {
|
|
22554
22558
|
return array.findIndex(function (target) {
|
|
22555
|
-
|
|
22559
|
+
var _target$info, _wallet$info;
|
|
22560
|
+
return (target === null || target === void 0 || (_target$info = target.info) === null || _target$info === void 0 ? void 0 : _target$info.name) === (wallet === null || wallet === void 0 || (_wallet$info = wallet.info) === null || _wallet$info === void 0 ? void 0 : _wallet$info.name);
|
|
22556
22561
|
}) === index;
|
|
22557
22562
|
}).map(function (wallet, index) {
|
|
22558
22563
|
var walletMetaData = allWallets.find(function (walletFromList) {
|
|
@@ -26284,9 +26289,9 @@ var ChangePaymentDialog = (function (props) {
|
|
|
26284
26289
|
}, "Payment options"), displayedPaymentValue != undefined && /*#__PURE__*/React.createElement("div", {
|
|
26285
26290
|
className: "FontSizeL TextCenter FontWeightBold"
|
|
26286
26291
|
}, /*#__PURE__*/React.createElement("strong", null, displayedPaymentValue.toString())), /*#__PURE__*/React.createElement("div", {
|
|
26287
|
-
className: "
|
|
26292
|
+
className: "PaddingTopS"
|
|
26288
26293
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26289
|
-
className: "
|
|
26294
|
+
className: "TextLeft",
|
|
26290
26295
|
style: {
|
|
26291
26296
|
height: "32px"
|
|
26292
26297
|
}
|
|
@@ -26377,12 +26382,11 @@ var ChangePaymentDialog = (function (props) {
|
|
|
26377
26382
|
return onChangeSearch(event, fuse, allPaymentOptions);
|
|
26378
26383
|
}
|
|
26379
26384
|
}))))),
|
|
26380
|
-
bodyClassName: "ScrollHeight",
|
|
26381
26385
|
bodyRef: listElement,
|
|
26382
26386
|
body: /*#__PURE__*/React.createElement("div", {
|
|
26383
|
-
className: "PaddingTopXS PaddingBottomS"
|
|
26387
|
+
className: "ScrollHeight PaddingTopXS PaddingBottomS"
|
|
26384
26388
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26385
|
-
className: "PaddingLeftM PaddingRightM"
|
|
26389
|
+
className: "PaddingLeftM PaddingRightM PaddingBottomM"
|
|
26386
26390
|
}, displayedPaymentOptions, displayedPaymentOptions.length === 0 && /*#__PURE__*/React.createElement("div", {
|
|
26387
26391
|
className: "TextCenter Opacity05 PaddingTopS PaddingBottomS"
|
|
26388
26392
|
}, /*#__PURE__*/React.createElement("strong", null, "Nothing found for the given search term."), /*#__PURE__*/React.createElement("br", null), /*#__PURE__*/React.createElement("strong", null, "Please search for something else.")))),
|