@zeniai/client-epic-state 5.1.4-betaML2 → 5.1.4-betaML3
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.
|
@@ -28,7 +28,13 @@ export const backgroundRefetchReviewTabEpic = (actions$, state$, zeniAPI) => act
|
|
|
28
28
|
page_size: PAGE_SIZE,
|
|
29
29
|
search_text: reviewUiState.searchString,
|
|
30
30
|
};
|
|
31
|
-
return zeniAPI.getJSON(
|
|
31
|
+
return zeniAPI.getJSON(`https://dev.api.zeni.ai/version/1.0/mohanrajoria/expense-automation/transactions?query=${encodeURIComponent(JSON.stringify(queryParam))}`
|
|
32
|
+
// `${
|
|
33
|
+
// zeniAPI.apiEndPoints.accountMicroServiceBaseUrl
|
|
34
|
+
// }/1.0/expense-automation/transactions?query=${encodeURIComponent(
|
|
35
|
+
// JSON.stringify(queryParam)
|
|
36
|
+
// )}`
|
|
37
|
+
);
|
|
32
38
|
};
|
|
33
39
|
return fetchPage(null).pipe(expand((response) => {
|
|
34
40
|
if (!isSuccessResponse(response) || response.data == null) {
|
|
@@ -31,7 +31,13 @@ const backgroundRefetchReviewTabEpic = (actions$, state$, zeniAPI) => actions$.p
|
|
|
31
31
|
page_size: PAGE_SIZE,
|
|
32
32
|
search_text: reviewUiState.searchString,
|
|
33
33
|
};
|
|
34
|
-
return zeniAPI.getJSON(
|
|
34
|
+
return zeniAPI.getJSON(`https://dev.api.zeni.ai/version/1.0/mohanrajoria/expense-automation/transactions?query=${encodeURIComponent(JSON.stringify(queryParam))}`
|
|
35
|
+
// `${
|
|
36
|
+
// zeniAPI.apiEndPoints.accountMicroServiceBaseUrl
|
|
37
|
+
// }/1.0/expense-automation/transactions?query=${encodeURIComponent(
|
|
38
|
+
// JSON.stringify(queryParam)
|
|
39
|
+
// )}`
|
|
40
|
+
);
|
|
35
41
|
};
|
|
36
42
|
return fetchPage(null).pipe((0, operators_1.expand)((response) => {
|
|
37
43
|
if (!(0, responsePayload_1.isSuccessResponse)(response) || response.data == null) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/client-epic-state",
|
|
3
|
-
"version": "5.1.4-
|
|
3
|
+
"version": "5.1.4-betaML3",
|
|
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",
|