@zeniai/client-epic-state 5.0.50-betaAS1 → 5.0.50-betaAS2
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.
|
@@ -2,6 +2,12 @@ import orderBy from 'lodash/orderBy';
|
|
|
2
2
|
import { getDepositAccountTransactionByIds } from '../../../../entity/depositAccountTransaction/depositAccountTransactionSelector';
|
|
3
3
|
export const getDepositAccountTransactionList = (state, depositAccountId, transactionsCount) => {
|
|
4
4
|
const { depositAccountTransactionListState, depositAccountTransactionState } = state;
|
|
5
|
+
console.log('________________________________________________________');
|
|
6
|
+
console.log('getDepositAccountTransactionList called with ', {
|
|
7
|
+
depositAccountId,
|
|
8
|
+
transactionsCount,
|
|
9
|
+
});
|
|
10
|
+
console.log('________________________________________________________');
|
|
5
11
|
const transactionsByDeposit = depositAccountTransactionListState.byDepositId[depositAccountId];
|
|
6
12
|
const transactionIds = transactionsByDeposit?.transactions ?? [];
|
|
7
13
|
const transactionsUnsorted = getDepositAccountTransactionByIds(depositAccountTransactionState, transactionIds);
|
|
@@ -8,6 +8,12 @@ const orderBy_1 = __importDefault(require("lodash/orderBy"));
|
|
|
8
8
|
const depositAccountTransactionSelector_1 = require("../../../../entity/depositAccountTransaction/depositAccountTransactionSelector");
|
|
9
9
|
const getDepositAccountTransactionList = (state, depositAccountId, transactionsCount) => {
|
|
10
10
|
const { depositAccountTransactionListState, depositAccountTransactionState } = state;
|
|
11
|
+
console.log('________________________________________________________');
|
|
12
|
+
console.log('getDepositAccountTransactionList called with ', {
|
|
13
|
+
depositAccountId,
|
|
14
|
+
transactionsCount,
|
|
15
|
+
});
|
|
16
|
+
console.log('________________________________________________________');
|
|
11
17
|
const transactionsByDeposit = depositAccountTransactionListState.byDepositId[depositAccountId];
|
|
12
18
|
const transactionIds = transactionsByDeposit?.transactions ?? [];
|
|
13
19
|
const transactionsUnsorted = (0, depositAccountTransactionSelector_1.getDepositAccountTransactionByIds)(depositAccountTransactionState, transactionIds);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.0.50-
|
|
3
|
+
"version": "5.0.50-betaAS2",
|
|
4
4
|
"description": "Shared module between Web & Mobile containing required abstractions for state management, async network communication. ",
|
|
5
5
|
"main": "lib/index.js",
|
|
6
6
|
"module": "lib/esm/index.js",
|