@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/umd/index.js CHANGED
@@ -110,7 +110,6 @@
110
110
  "mobile": {
111
111
  "ios": {
112
112
  "native": "phantom:",
113
- "universal": "https://phantom.app/ul",
114
113
  "open": function open() {
115
114
  return "https://phantom.app/ul/browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
116
115
  },
@@ -121,7 +120,6 @@
121
120
  },
122
121
  "android": {
123
122
  "native": "phantom:",
124
- "universal": "https://phantom.app/ul",
125
123
  "connect": "SolanaMobileWalletAdapter",
126
124
  "qr": function qr() {
127
125
  return "phantom://browse/".concat(encodeURIComponent(window.location.toString()), "?ref=").concat(encodeURIComponent(window.location.origin.toString()));
@@ -277,6 +275,12 @@
277
275
  "universal": "https://uniswap.org/app",
278
276
  "connect": "WalletConnectV2",
279
277
  "qr": "WalletConnectV2"
278
+ },
279
+ "android": {
280
+ "native": "uniswap:",
281
+ "universal": "https://uniswap.org/app",
282
+ "connect": "WalletConnectV2",
283
+ "qr": "WalletConnectV2"
280
284
  }
281
285
  },
282
286
  "logo": "https://img1.depay.com/wallets/uniswap_wallet.jpg",
@@ -21998,14 +22002,14 @@
21998
22002
  style: {
21999
22003
  width: "50px"
22000
22004
  }
22005
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
22006
+ className: "PaddingTopXS"
22001
22007
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22002
22008
  className: "Loading Icon medium",
22003
22009
  style: {
22004
- position: 'relative',
22005
- top: '4px',
22006
- left: '1px'
22010
+ position: 'relative'
22007
22011
  }
22008
- })), /*#__PURE__*/React__default["default"].createElement("div", {
22012
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
22009
22013
  className: "PaddingLeftS LineHeightXS"
22010
22014
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22011
22015
  className: "CardText FontWeightMedium"
@@ -22045,14 +22049,14 @@
22045
22049
  style: {
22046
22050
  width: "50px"
22047
22051
  }
22052
+ }, /*#__PURE__*/React__default["default"].createElement("div", {
22053
+ className: "PaddingTopXS"
22048
22054
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22049
22055
  className: "Loading Icon medium",
22050
22056
  style: {
22051
- position: 'relative',
22052
- top: '2px',
22053
- left: '0px'
22057
+ position: 'relative'
22054
22058
  }
22055
- })), /*#__PURE__*/React__default["default"].createElement("div", {
22059
+ }))), /*#__PURE__*/React__default["default"].createElement("div", {
22056
22060
  className: "PaddingLeftS LineHeightXS"
22057
22061
  }, /*#__PURE__*/React__default["default"].createElement("div", {
22058
22062
  className: "CardText FontWeightMedium"
@@ -22548,7 +22552,8 @@
22548
22552
  className: "PaddingBottomXS PaddingLeftS PaddingRightS"
22549
22553
  }, detectedWallets.filter(function (wallet, index, array) {
22550
22554
  return array.findIndex(function (target) {
22551
- return target.info.name === wallet.info.name;
22555
+ var _target$info, _wallet$info;
22556
+ 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);
22552
22557
  }) === index;
22553
22558
  }).map(function (wallet, index) {
22554
22559
  var walletMetaData = allWallets.find(function (walletFromList) {
@@ -26280,9 +26285,9 @@
26280
26285
  }, "Payment options"), displayedPaymentValue != undefined && /*#__PURE__*/React__default["default"].createElement("div", {
26281
26286
  className: "FontSizeL TextCenter FontWeightBold"
26282
26287
  }, /*#__PURE__*/React__default["default"].createElement("strong", null, displayedPaymentValue.toString())), /*#__PURE__*/React__default["default"].createElement("div", {
26283
- className: "PaddingTopXS"
26288
+ className: "PaddingTopS"
26284
26289
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26285
- className: "PaddingTopXS PaddingBottomXS TextLeft",
26290
+ className: "TextLeft",
26286
26291
  style: {
26287
26292
  height: "32px"
26288
26293
  }
@@ -26373,12 +26378,11 @@
26373
26378
  return onChangeSearch(event, fuse, allPaymentOptions);
26374
26379
  }
26375
26380
  }))))),
26376
- bodyClassName: "ScrollHeight",
26377
26381
  bodyRef: listElement,
26378
26382
  body: /*#__PURE__*/React__default["default"].createElement("div", {
26379
- className: "PaddingTopXS PaddingBottomS"
26383
+ className: "ScrollHeight PaddingTopXS PaddingBottomS"
26380
26384
  }, /*#__PURE__*/React__default["default"].createElement("div", {
26381
- className: "PaddingLeftM PaddingRightM"
26385
+ className: "PaddingLeftM PaddingRightM PaddingBottomM"
26382
26386
  }, displayedPaymentOptions, displayedPaymentOptions.length === 0 && /*#__PURE__*/React__default["default"].createElement("div", {
26383
26387
  className: "TextCenter Opacity05 PaddingTopS PaddingBottomS"
26384
26388
  }, /*#__PURE__*/React__default["default"].createElement("strong", null, "Nothing found for the given search term."), /*#__PURE__*/React__default["default"].createElement("br", null), /*#__PURE__*/React__default["default"].createElement("strong", null, "Please search for something else.")))),