@multiversx/sdk-dapp-liquidity 1.1.1-alpha.2 → 1.1.1-alpha.4

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/package.json CHANGED
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "homepage": "https://github.com/multiversx/mx-sdk-dapp-liquidity#readme",
30
30
  "license": "MIT",
31
- "version": "1.1.1-alpha.2",
31
+ "version": "1.1.1-alpha.4",
32
32
  "main": "index.js",
33
33
  "module": "index.mjs",
34
34
  "types": "index.d.ts",
@@ -522,7 +522,11 @@ const Transfer = ({
522
522
  try {
523
523
  const txHash = latestMvxTransactionHash;
524
524
  sendTransactions({
525
- transactions: latestTransactions.map((tx) => ({ ...tx, txHash })),
525
+ transactions: latestTransactions.map((tx) => ({
526
+ ...tx,
527
+ txHash,
528
+ receiver: account.address
529
+ })),
526
530
  provider: (rate == null ? void 0 : rate.provider) ?? types_providerType.ProviderType.None,
527
531
  url: helpers_getApiURL.getApiURL() ?? "",
528
532
  token: nativeAuthToken ?? ""
@@ -519,7 +519,11 @@ const Transfer = ({
519
519
  try {
520
520
  const txHash = latestMvxTransactionHash;
521
521
  sendTransactions({
522
- transactions: latestTransactions.map((tx) => ({ ...tx, txHash })),
522
+ transactions: latestTransactions.map((tx) => ({
523
+ ...tx,
524
+ txHash,
525
+ receiver: account.address
526
+ })),
523
527
  provider: (rate == null ? void 0 : rate.provider) ?? ProviderType.None,
524
528
  url: getApiURL() ?? "",
525
529
  token: nativeAuthToken ?? ""