@ecency/wallets 1.4.16 → 1.4.18

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.
@@ -2291,16 +2291,19 @@ function getPointsAssetTransactionsQueryOptions(username, type) {
2291
2291
  }
2292
2292
  );
2293
2293
  const data = await response.json();
2294
- return data.map(({ created, type: type2, amount, id }) => ({
2294
+ return data.map(({ created, type: type2, amount, id, sender, receiver, memo }) => ({
2295
2295
  created: new Date(created),
2296
2296
  type: type2,
2297
2297
  results: [
2298
2298
  {
2299
- amount: parseInt(amount),
2299
+ amount: parseFloat(amount),
2300
2300
  asset: "POINTS"
2301
2301
  }
2302
2302
  ],
2303
- id
2303
+ id,
2304
+ from: sender ?? void 0,
2305
+ to: receiver ?? void 0,
2306
+ memo: memo ?? void 0
2304
2307
  }));
2305
2308
  }
2306
2309
  });