@depay/widgets 7.0.0 → 7.0.3

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
@@ -741,6 +741,7 @@
741
741
 
742
742
  if (accounts == undefined || accounts.length == 0) {
743
743
  navigate('ConnectingWallet');
744
+ props.connect(wallet);
744
745
  }
745
746
 
746
747
  case 5:
@@ -834,6 +835,7 @@
834
835
  setWallet = _useState4[1];
835
836
 
836
837
  var connect = function connect(wallet) {
838
+ console.log('CONNECT');
837
839
  wallet.connect().then( /*#__PURE__*/_asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee() {
838
840
  var accounts;
839
841
  return regenerator.wrap(function _callee$(_context) {
@@ -908,8 +910,6 @@
908
910
  account: accounts[0],
909
911
  accounts: accounts
910
912
  });
911
- } else {
912
- connect(wallet);
913
913
  }
914
914
 
915
915
  case 5:
@@ -1416,7 +1416,7 @@
1416
1416
  },
1417
1417
  fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"'
1418
1418
  }, style);
1419
- return [ResetStyle(), DialogStyle(style), ButtonCircularStyle(), ButtonPrimaryStyle(style), CardStyle(style), PoweredByStyle(style), GraphicStyle(), SkeletonStyle(), TokenAmountStyle(), TextStyle(style), FontStyle(style), IconStyle(style), OpacityStyle(style), PaddingStyle(), HeightStyle(), LoadingTextStyle(style), RangeSliderStyle(style), InputStyle(style), TextButtonStyle(style), ImageStyle(style), BlockchainLogoStyle(style), SearchStyle(style), TokenImageStyle(style), AlertStyle(style), TableStyle(style), LinkStyle(style), TooltipStyle(style)].join('');
1419
+ return [ResetStyle(), DialogStyle(), ButtonCircularStyle(), ButtonPrimaryStyle(style), CardStyle(style), PoweredByStyle(style), GraphicStyle(), SkeletonStyle(), TokenAmountStyle(), TextStyle(style), FontStyle(style), IconStyle(style), OpacityStyle(), PaddingStyle(), HeightStyle(), LoadingTextStyle(style), RangeSliderStyle(style), InputStyle(), TextButtonStyle(style), ImageStyle(), BlockchainLogoStyle(), SearchStyle(style), TokenImageStyle(), AlertStyle(), TableStyle(), LinkStyle(style), TooltipStyle(style)].join('');
1420
1420
  });
1421
1421
 
1422
1422
  var mount = (function (_ref, content) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/widgets",
3
3
  "moduleName": "DePayWidgets",
4
- "version": "7.0.0",
4
+ "version": "7.0.3",
5
5
  "description": "Web3 Payments with any token. DePay simplifies and improves Web3 Payments with the power of DeFi. Accept any token with on-the-fly conversion.",
6
6
  "main": "./dist/umd/index.js",
7
7
  "module": "./dist/esm/index.js",
@@ -38,7 +38,7 @@
38
38
  "@depay/react-dialog-stack": "^6.0.0",
39
39
  "@depay/react-shadow-dom": "^5.0.0",
40
40
  "@depay/react-token-image": "^4.0.0",
41
- "@depay/walletconnect-v1": "^1.1.0",
41
+ "@depay/walletconnect-v1": "^1.7.8",
42
42
  "@depay/web3-assets": "^6.3.0",
43
43
  "@depay/web3-blockchains": "^4.5.1",
44
44
  "@depay/web3-client": "^8.2.1",
@@ -46,7 +46,7 @@
46
46
  "@depay/web3-exchanges": "^9.0.0",
47
47
  "@depay/web3-payments": "^10.3.1",
48
48
  "@depay/web3-tokens": "^8.1.0",
49
- "@depay/web3-wallets": "^11.0.1",
49
+ "@depay/web3-wallets": "^11.0.3",
50
50
  "decimal.js": "^10.3.1"
51
51
  },
52
52
  "peerDependencies": {