@ecency/wallets 1.4.17 → 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.
@@ -1384,6 +1384,9 @@ declare function getPointsAssetTransactionsQueryOptions(username: string | undef
1384
1384
  asset: string;
1385
1385
  }[];
1386
1386
  id: number;
1387
+ from: string | undefined;
1388
+ to: string | undefined;
1389
+ memo: string | undefined;
1387
1390
  }[], Error, {
1388
1391
  created: Date;
1389
1392
  type: PointTransactionType;
@@ -1392,6 +1395,9 @@ declare function getPointsAssetTransactionsQueryOptions(username: string | undef
1392
1395
  asset: string;
1393
1396
  }[];
1394
1397
  id: number;
1398
+ from: string | undefined;
1399
+ to: string | undefined;
1400
+ memo: string | undefined;
1395
1401
  }[], (string | PointTransactionType | undefined)[]>, "queryFn"> & {
1396
1402
  queryFn?: _tanstack_react_query.QueryFunction<{
1397
1403
  created: Date;
@@ -1401,6 +1407,9 @@ declare function getPointsAssetTransactionsQueryOptions(username: string | undef
1401
1407
  asset: string;
1402
1408
  }[];
1403
1409
  id: number;
1410
+ from: string | undefined;
1411
+ to: string | undefined;
1412
+ memo: string | undefined;
1404
1413
  }[], (string | PointTransactionType | undefined)[], never> | undefined;
1405
1414
  } & {
1406
1415
  queryKey: (string | PointTransactionType | undefined)[] & {
@@ -1412,6 +1421,9 @@ declare function getPointsAssetTransactionsQueryOptions(username: string | undef
1412
1421
  asset: string;
1413
1422
  }[];
1414
1423
  id: number;
1424
+ from: string | undefined;
1425
+ to: string | undefined;
1426
+ memo: string | undefined;
1415
1427
  }[];
1416
1428
  [dataTagErrorSymbol]: Error;
1417
1429
  };
@@ -2264,7 +2264,7 @@ function getPointsAssetTransactionsQueryOptions(username, type) {
2264
2264
  }
2265
2265
  );
2266
2266
  const data = await response.json();
2267
- return data.map(({ created, type: type2, amount, id }) => ({
2267
+ return data.map(({ created, type: type2, amount, id, sender, receiver, memo }) => ({
2268
2268
  created: new Date(created),
2269
2269
  type: type2,
2270
2270
  results: [
@@ -2273,7 +2273,10 @@ function getPointsAssetTransactionsQueryOptions(username, type) {
2273
2273
  asset: "POINTS"
2274
2274
  }
2275
2275
  ],
2276
- id
2276
+ id,
2277
+ from: sender ?? void 0,
2278
+ to: receiver ?? void 0,
2279
+ memo: memo ?? void 0
2277
2280
  }));
2278
2281
  }
2279
2282
  });