@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.solana.js
CHANGED
|
@@ -113,7 +113,6 @@ var allWallets = [{
|
|
|
113
113
|
"mobile": {
|
|
114
114
|
"ios": {
|
|
115
115
|
"native": "phantom:",
|
|
116
|
-
"universal": "https://phantom.app/ul",
|
|
117
116
|
"open": function open() {
|
|
118
117
|
return "https://phantom.app/ul/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
|
|
119
118
|
},
|
|
@@ -124,7 +123,6 @@ var allWallets = [{
|
|
|
124
123
|
},
|
|
125
124
|
"android": {
|
|
126
125
|
"native": "phantom:",
|
|
127
|
-
"universal": "https://phantom.app/ul",
|
|
128
126
|
"connect": "SolanaMobileWalletAdapter",
|
|
129
127
|
"qr": function qr() {
|
|
130
128
|
return "phantom://browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
|
|
@@ -280,6 +278,12 @@ var allWallets = [{
|
|
|
280
278
|
"universal": "https://uniswap.org/app",
|
|
281
279
|
"connect": "WalletConnectV2",
|
|
282
280
|
"qr": "WalletConnectV2"
|
|
281
|
+
},
|
|
282
|
+
"android": {
|
|
283
|
+
"native": "uniswap:",
|
|
284
|
+
"universal": "https://uniswap.org/app",
|
|
285
|
+
"connect": "WalletConnectV2",
|
|
286
|
+
"qr": "WalletConnectV2"
|
|
283
287
|
}
|
|
284
288
|
},
|
|
285
289
|
"logo": "https://img1.depay.com/wallets/uniswap_wallet.jpg",
|
|
@@ -22001,14 +22005,14 @@ var ConnectWalletDialog = (function (props) {
|
|
|
22001
22005
|
style: {
|
|
22002
22006
|
width: "50px"
|
|
22003
22007
|
}
|
|
22008
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
22009
|
+
className: "PaddingTopXS"
|
|
22004
22010
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22005
22011
|
className: "Loading Icon medium",
|
|
22006
22012
|
style: {
|
|
22007
|
-
position: 'relative'
|
|
22008
|
-
top: '4px',
|
|
22009
|
-
left: '1px'
|
|
22013
|
+
position: 'relative'
|
|
22010
22014
|
}
|
|
22011
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
22015
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
22012
22016
|
className: "PaddingLeftS LineHeightXS"
|
|
22013
22017
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22014
22018
|
className: "CardText FontWeightMedium"
|
|
@@ -22048,14 +22052,14 @@ var ConnectWalletDialog = (function (props) {
|
|
|
22048
22052
|
style: {
|
|
22049
22053
|
width: "50px"
|
|
22050
22054
|
}
|
|
22055
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
22056
|
+
className: "PaddingTopXS"
|
|
22051
22057
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22052
22058
|
className: "Loading Icon medium",
|
|
22053
22059
|
style: {
|
|
22054
|
-
position: 'relative'
|
|
22055
|
-
top: '2px',
|
|
22056
|
-
left: '0px'
|
|
22060
|
+
position: 'relative'
|
|
22057
22061
|
}
|
|
22058
|
-
})), /*#__PURE__*/React.createElement("div", {
|
|
22062
|
+
}))), /*#__PURE__*/React.createElement("div", {
|
|
22059
22063
|
className: "PaddingLeftS LineHeightXS"
|
|
22060
22064
|
}, /*#__PURE__*/React.createElement("div", {
|
|
22061
22065
|
className: "CardText FontWeightMedium"
|
|
@@ -22551,7 +22555,8 @@ var SelectWalletDialog = (function (props) {
|
|
|
22551
22555
|
className: "PaddingBottomXS PaddingLeftS PaddingRightS"
|
|
22552
22556
|
}, detectedWallets.filter(function (wallet, index, array) {
|
|
22553
22557
|
return array.findIndex(function (target) {
|
|
22554
|
-
|
|
22558
|
+
var _target$info, _wallet$info;
|
|
22559
|
+
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);
|
|
22555
22560
|
}) === index;
|
|
22556
22561
|
}).map(function (wallet, index) {
|
|
22557
22562
|
var walletMetaData = allWallets.find(function (walletFromList) {
|
|
@@ -26338,9 +26343,9 @@ var ChangePaymentDialog = (function (props) {
|
|
|
26338
26343
|
}, "Payment options"), displayedPaymentValue != undefined && /*#__PURE__*/React.createElement("div", {
|
|
26339
26344
|
className: "FontSizeL TextCenter FontWeightBold"
|
|
26340
26345
|
}, /*#__PURE__*/React.createElement("strong", null, displayedPaymentValue.toString())), /*#__PURE__*/React.createElement("div", {
|
|
26341
|
-
className: "
|
|
26346
|
+
className: "PaddingTopS"
|
|
26342
26347
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26343
|
-
className: "
|
|
26348
|
+
className: "TextLeft",
|
|
26344
26349
|
style: {
|
|
26345
26350
|
height: "32px"
|
|
26346
26351
|
}
|
|
@@ -26431,12 +26436,11 @@ var ChangePaymentDialog = (function (props) {
|
|
|
26431
26436
|
return onChangeSearch(event, fuse, allPaymentOptions);
|
|
26432
26437
|
}
|
|
26433
26438
|
}))))),
|
|
26434
|
-
bodyClassName: "ScrollHeight",
|
|
26435
26439
|
bodyRef: listElement,
|
|
26436
26440
|
body: /*#__PURE__*/React.createElement("div", {
|
|
26437
|
-
className: "PaddingTopXS PaddingBottomS"
|
|
26441
|
+
className: "ScrollHeight PaddingTopXS PaddingBottomS"
|
|
26438
26442
|
}, /*#__PURE__*/React.createElement("div", {
|
|
26439
|
-
className: "PaddingLeftM PaddingRightM"
|
|
26443
|
+
className: "PaddingLeftM PaddingRightM PaddingBottomM"
|
|
26440
26444
|
}, displayedPaymentOptions, displayedPaymentOptions.length === 0 && /*#__PURE__*/React.createElement("div", {
|
|
26441
26445
|
className: "TextCenter Opacity05 PaddingTopS PaddingBottomS"
|
|
26442
26446
|
}, /*#__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.")))),
|