@zeniai/client-epic-state 4.19.24-betaRR19 → 4.19.24-betaRR20

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.
@@ -19,7 +19,28 @@ 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': '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(() => { });
22
+ fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', {
23
+ method: 'POST',
24
+ headers: {
25
+ 'Content-Type': 'application/json',
26
+ 'X-Debug-Session-Id': '620b68',
27
+ },
28
+ body: JSON.stringify({
29
+ sessionId: '620b68',
30
+ location: 'fetchDepositAccountListEpic.ts:mergeMap',
31
+ message: 'deposit-accounts response inspection',
32
+ data: {
33
+ isSuccess,
34
+ hasData,
35
+ statusCode,
36
+ topLevelKeys,
37
+ dataKeys,
38
+ depositAccountsCount: (_b = respData === null || respData === void 0 ? void 0 : respData.deposit_accounts) === null || _b === void 0 ? void 0 : _b.length,
39
+ },
40
+ timestamp: Date.now(),
41
+ hypothesisId: 'H3',
42
+ }),
43
+ }).catch(() => { });
23
44
  // #endregion
24
45
  if (isSuccess) {
25
46
  const depositAccounts = (_d = (_c = response.data) === null || _c === void 0 ? void 0 : _c.deposit_accounts) !== null && _d !== void 0 ? _d : [];
@@ -39,7 +60,25 @@ const fetchDepositAccountListEpic = (actions$, _state$, zeniAPI) => actions$.pip
39
60
  }), (0, operators_1.catchError)((error) => {
40
61
  var _a;
41
62
  // #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': '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(() => { });
63
+ fetch('http://127.0.0.1:7242/ingest/3d86d94d-63fc-405c-92bd-d68a0fc3a8c8', {
64
+ method: 'POST',
65
+ headers: {
66
+ 'Content-Type': 'application/json',
67
+ 'X-Debug-Session-Id': '620b68',
68
+ },
69
+ body: JSON.stringify({
70
+ sessionId: '620b68',
71
+ location: 'fetchDepositAccountListEpic.ts:catchError',
72
+ message: 'deposit-accounts API catchError',
73
+ data: {
74
+ errorMsg: String(error === null || error === void 0 ? void 0 : error.message),
75
+ errorName: error === null || error === void 0 ? void 0 : error.name,
76
+ errorStack: (_a = error === null || error === void 0 ? void 0 : error.stack) === null || _a === void 0 ? void 0 : _a.slice(0, 200),
77
+ },
78
+ timestamp: Date.now(),
79
+ hypothesisId: 'H3',
80
+ }),
81
+ }).catch(() => { });
43
82
  // #endregion
44
83
  return (0, rxjs_1.of)((0, depositAccountListReducer_1.updateDepositAccountListFetchStatus)({
45
84
  fetchState: 'Error',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "4.19.24-betaRR19",
3
+ "version": "4.19.24-betaRR20",
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",