@depay/widgets 6.5.0 → 6.5.1

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.
@@ -71380,11 +71380,11 @@ var ConfirmTokenSelectionDialog = (function (props) {
71380
71380
  setOpen(false);
71381
71381
  props.resolve({
71382
71382
  blockchain: token.blockchain,
71383
- address: token.external_id,
71383
+ address: token.external_id || token.address,
71384
71384
  symbol: token.symbol,
71385
71385
  name: token.name,
71386
71386
  decimals: token.decimals,
71387
- logo: token.image
71387
+ logo: token.image || token.logo
71388
71388
  });
71389
71389
  setTimeout(props.unmount, 300);
71390
71390
  };
package/dist/esm/index.js CHANGED
@@ -4757,11 +4757,11 @@ var ConfirmTokenSelectionDialog = (function (props) {
4757
4757
  setOpen(false);
4758
4758
  props.resolve({
4759
4759
  blockchain: token.blockchain,
4760
- address: token.external_id,
4760
+ address: token.external_id || token.address,
4761
4761
  symbol: token.symbol,
4762
4762
  name: token.name,
4763
4763
  decimals: token.decimals,
4764
- logo: token.image
4764
+ logo: token.image || token.logo
4765
4765
  });
4766
4766
  setTimeout(props.unmount, 300);
4767
4767
  };
@@ -71386,11 +71386,11 @@
71386
71386
  setOpen(false);
71387
71387
  props.resolve({
71388
71388
  blockchain: token.blockchain,
71389
- address: token.external_id,
71389
+ address: token.external_id || token.address,
71390
71390
  symbol: token.symbol,
71391
71391
  name: token.name,
71392
71392
  decimals: token.decimals,
71393
- logo: token.image
71393
+ logo: token.image || token.logo
71394
71394
  });
71395
71395
  setTimeout(props.unmount, 300);
71396
71396
  };
package/dist/umd/index.js CHANGED
@@ -4752,11 +4752,11 @@
4752
4752
  setOpen(false);
4753
4753
  props.resolve({
4754
4754
  blockchain: token.blockchain,
4755
- address: token.external_id,
4755
+ address: token.external_id || token.address,
4756
4756
  symbol: token.symbol,
4757
4757
  name: token.name,
4758
4758
  decimals: token.decimals,
4759
- logo: token.image
4759
+ logo: token.image || token.logo
4760
4760
  });
4761
4761
  setTimeout(props.unmount, 300);
4762
4762
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@depay/widgets",
3
3
  "moduleName": "DePayWidgets",
4
- "version": "6.5.0",
4
+ "version": "6.5.1",
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",