@zeniai/client-epic-state 4.19.24-betaRR17 → 4.19.24-betaRR18

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.
@@ -23,7 +23,7 @@ const getChargeCardRepaymentDetail = (state) => {
23
23
  }
24
24
  }
25
25
  // #region agent log
26
- fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '88d521' }, body: JSON.stringify({ sessionId: '88d521', location: 'chargeCardRepaymentDetailSelector.ts:selector', message: 'transferFromAccounts data flow', data: { depositFetchState: depositAccountsView.fetchState, paymentFetchState: paymentAccountsView.fetchState, depositAccountsCount: depositAccountsView.depositAccounts.length, paymentAccountsCount: paymentAccountsView.paymentAccounts.length, transferFromAccountsCount: transferFromAccounts.length, enteredIfBlock: paymentAccountsView.fetchState === 'Completed', accountIdsLength: (_b = depositAccountListState.accountIds) === null || _b === void 0 ? void 0 : _b.length, depositAccTypes: transferFromAccounts.map(a => a.accType) }, timestamp: Date.now(), hypothesisId: 'H1', runId: 'post-fix' }) }).catch(() => { });
26
+ fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '620b68' }, body: JSON.stringify({ sessionId: '620b68', location: 'chargeCardRepaymentDetailSelector.ts:selector', message: 'transferFromAccounts data flow', data: { depositFetchState: depositAccountsView.fetchState, paymentFetchState: paymentAccountsView.fetchState, depositAccountsCount: depositAccountsView.depositAccounts.length, paymentAccountsCount: paymentAccountsView.paymentAccounts.length, transferFromAccountsCount: transferFromAccounts.length, enteredIfBlock: paymentAccountsView.fetchState === 'Completed', accountIdsLength: (_b = depositAccountListState.accountIds) === null || _b === void 0 ? void 0 : _b.length, depositAccTypes: transferFromAccounts.map(a => a.accType) }, timestamp: Date.now(), hypothesisId: 'H1' }) }).catch(() => { });
27
27
  // #endregion
28
28
  const reducedFetchState = (0, reduceFetchState_1.reduceAnyCompletedFetchState)([
29
29
  depositAccountsView,
@@ -16,7 +16,7 @@ const fetchChargeCardRepaymentDetailEpic = (actions$, state$) => actions$.pipe((
16
16
  fetchChargeCardRepaymentDetailActions.push((0, depositAccountListReducer_1.fetchDepositAccountList)());
17
17
  }
18
18
  // #region agent log
19
- fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '88d521' }, body: JSON.stringify({ sessionId: '88d521', location: 'fetchChargeCardRepaymentDetailEpic.ts:epic', message: 'fetchChargeCardRepaymentDetailEpic dispatch', data: { depositListFetchState: depositAccounts.fetchState, willFetchDeposit, accountIdsLength: (_a = depositAccounts.accountIds) === null || _a === void 0 ? void 0 : _a.length }, timestamp: Date.now(), hypothesisId: 'H3' }) }).catch(() => { });
19
+ fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '620b68' }, body: JSON.stringify({ sessionId: '620b68', location: 'fetchChargeCardRepaymentDetailEpic.ts:epic', message: 'fetchChargeCardRepaymentDetailEpic dispatch', data: { depositListFetchState: depositAccounts.fetchState, willFetchDeposit, accountIdsLength: (_a = depositAccounts.accountIds) === null || _a === void 0 ? void 0 : _a.length }, timestamp: Date.now(), hypothesisId: 'H1' }) }).catch(() => { });
20
20
  // #endregion
21
21
  const paymentAccounts = state.paymentAccountListState;
22
22
  if (paymentAccounts.fetchState !== 'In-Progress' &&
@@ -19,7 +19,7 @@ const fetchDepositAccountListEpic = (actions$, _state$, zeniAPI) => actions$.pip
19
19
  const respData = response === null || response === void 0 ? void 0 : response.data;
20
20
  const dataKeys = respData != null ? Object.keys(respData) : [];
21
21
  const topLevelKeys = response != null ? Object.keys(response) : [];
22
- fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '88d521' }, body: JSON.stringify({ sessionId: '88d521', location: 'fetchDepositAccountListEpic.ts:mergeMap', message: 'deposit-accounts response inspection', data: { isSuccess, hasData, statusCode, topLevelKeys, dataKeys, depositAccountsCount: (_b = respData === null || respData === void 0 ? void 0 : respData.deposit_accounts) === null || _b === void 0 ? void 0 : _b.length }, timestamp: Date.now(), hypothesisId: 'response-structure' }) }).catch(() => { });
22
+ fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '620b68' }, body: JSON.stringify({ sessionId: '620b68', location: 'fetchDepositAccountListEpic.ts:mergeMap', message: 'deposit-accounts response inspection', data: { isSuccess, hasData, statusCode, topLevelKeys, dataKeys, depositAccountsCount: (_b = respData === null || respData === void 0 ? void 0 : respData.deposit_accounts) === null || _b === void 0 ? void 0 : _b.length }, timestamp: Date.now(), hypothesisId: 'H3' }) }).catch(() => { });
23
23
  // #endregion
24
24
  if (isSuccess) {
25
25
  const depositAccounts = (_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.deposit_accounts) !== null && _d !== void 0 ? _d : [];
@@ -39,7 +39,7 @@ const fetchDepositAccountListEpic = (actions$, _state$, zeniAPI) => actions$.pip
39
39
  }), (0, operators_1.catchError)((error) => {
40
40
  var _a;
41
41
  // #region agent log
42
- fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '88d521' }, body: JSON.stringify({ sessionId: '88d521', location: 'fetchDepositAccountListEpic.ts:catchError', message: 'deposit-accounts API catchError', data: { errorMsg: String(error === null || error === void 0 ? void 0 : error.message), errorName: error === null || error === void 0 ? void 0 : error.name, errorStack: (_a = error === null || error === void 0 ? void 0 : error.stack) === null || _a === void 0 ? void 0 : _a.slice(0, 200) }, timestamp: Date.now(), hypothesisId: 'catchError' }) }).catch(() => { });
42
+ fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', { method: 'POST', headers: { 'Content-Type': 'application/json', 'X-Debug-Session-Id': '620b68' }, body: JSON.stringify({ sessionId: '620b68', location: 'fetchDepositAccountListEpic.ts:catchError', message: 'deposit-accounts API catchError', data: { errorMsg: String(error === null || error === void 0 ? void 0 : error.message), errorName: error === null || error === void 0 ? void 0 : error.name, errorStack: (_a = error === null || error === void 0 ? void 0 : error.stack) === null || _a === void 0 ? void 0 : _a.slice(0, 200) }, timestamp: Date.now(), hypothesisId: 'H3' }) }).catch(() => { });
43
43
  // #endregion
44
44
  return (0, rxjs_1.of)((0, depositAccountListReducer_1.updateDepositAccountListFetchStatus)({
45
45
  fetchState: 'Error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.19.24-betaRR17",
3
+ "version": "4.19.24-betaRR18",
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
  "types": "lib/index.d.ts",