@zeniai/client-epic-state 5.0.81-betaAD01 → 5.0.81-betaAD02

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.
@@ -26,7 +26,7 @@ function buildOptimisticPinPayload_TEMP_PIN_OPTIMISTIC(state, chatSessionId, isP
26
26
  export const updateChatSessionPinEpic = (actions$, state$, zeniAPI) => actions$.pipe(filter(updateChatSessionPin.match), switchMap((action) => {
27
27
  const { chatSessionId, isPinned } = action.payload;
28
28
  return zeniAPI
29
- .putAndGetJSON(`${zeniAPI.apiEndPoints.aiCfoMicroServiceBaseUrl}/1.0/sessions/${chatSessionId}`, { is_pinned: isPinned })
29
+ .putAndGetJSON(`https://dev.api.zeni.ai/version/chat/anjali/sessions/${chatSessionId}`, { is_pinned: isPinned })
30
30
  .pipe(mergeMap((response) => {
31
31
  if (isSuccessResponse(response) && response.data != null) {
32
32
  return of(mergeChatSessionFromPutResponse(response.data));
@@ -29,7 +29,7 @@ function buildOptimisticPinPayload_TEMP_PIN_OPTIMISTIC(state, chatSessionId, isP
29
29
  const updateChatSessionPinEpic = (actions$, state$, zeniAPI) => actions$.pipe((0, operators_1.filter)(aiCfoViewReducer_1.updateChatSessionPin.match), (0, operators_1.switchMap)((action) => {
30
30
  const { chatSessionId, isPinned } = action.payload;
31
31
  return zeniAPI
32
- .putAndGetJSON(`${zeniAPI.apiEndPoints.aiCfoMicroServiceBaseUrl}/1.0/sessions/${chatSessionId}`, { is_pinned: isPinned })
32
+ .putAndGetJSON(`https://dev.api.zeni.ai/version/chat/anjali/sessions/${chatSessionId}`, { is_pinned: isPinned })
33
33
  .pipe((0, operators_1.mergeMap)((response) => {
34
34
  if ((0, responsePayload_1.isSuccessResponse)(response) && response.data != null) {
35
35
  return (0, rxjs_1.of)((0, aiCfoReducer_1.mergeChatSessionFromPutResponse)(response.data));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/client-epic-state",
3
- "version": "5.0.81-betaAD01",
3
+ "version": "5.0.81-betaAD02",
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",
@@ -108,6 +108,7 @@
108
108
  "test:typecheck": "echo 'Typechecking test files...' && NODE_OPTIONS=--max-old-space-size=4096 time tsc -p tsconfig.typecheck.json",
109
109
  "test:typecheck-modified-files": "chmod +x ./scripts/tsc-modified-files.sh && ./scripts/tsc-modified-files.sh master tsconfig.typecheck.json",
110
110
  "test": "pnpm lint-modified-files && pnpm test:typecheck-modified-files && vitest run --typecheck",
111
+ "test:full": "vitest run --typecheck",
111
112
  "lint": "eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0 --fix",
112
113
  "lint-modified-files": "chmod +x ./scripts/lint-modified-files.sh && ./scripts/lint-modified-files.sh",
113
114
  "lint:fix-modified-files": "chmod +x ./scripts/lint-modified-files.sh && LINT_FIX=true ./scripts/lint-modified-files.sh",