reactjrx 1.56.0 → 1.57.0

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.
package/dist/index.cjs CHANGED
@@ -1475,8 +1475,7 @@ const mergeResults = (stream$) => stream$.pipe(
1475
1475
  {
1476
1476
  data: void 0,
1477
1477
  error: void 0,
1478
- // fetchStatus: "idle",
1479
- status: "loading"
1478
+ status: "pending"
1480
1479
  }
1481
1480
  ),
1482
1481
  rxjs.distinctUntilChanged(
@@ -1540,7 +1539,7 @@ const createMutationRunner = ({
1540
1539
  rxjs.takeUntil(queryIsOver$)
1541
1540
  );
1542
1541
  const loading$ = rxjs.of({
1543
- status: "loading"
1542
+ status: "pending"
1544
1543
  });
1545
1544
  return rxjs.merge(
1546
1545
  loading$,
package/dist/index.js CHANGED
@@ -1473,8 +1473,7 @@ const mergeResults = (stream$) => stream$.pipe(
1473
1473
  {
1474
1474
  data: void 0,
1475
1475
  error: void 0,
1476
- // fetchStatus: "idle",
1477
- status: "loading"
1476
+ status: "pending"
1478
1477
  }
1479
1478
  ),
1480
1479
  distinctUntilChanged(
@@ -1538,7 +1537,7 @@ const createMutationRunner = ({
1538
1537
  takeUntil(queryIsOver$)
1539
1538
  );
1540
1539
  const loading$ = of({
1541
- status: "loading"
1540
+ status: "pending"
1542
1541
  });
1543
1542
  return merge(
1544
1543
  loading$,
@@ -22,7 +22,7 @@ import { type Query, type QueryResult } from "../types";
22
22
  export type MapOperator = "switch" | "concat" | "merge";
23
23
  export interface MutationResult<R> {
24
24
  data: R | undefined;
25
- status: "idle" | "loading" | "error" | "success";
25
+ status: "idle" | "pending" | "error" | "success";
26
26
  error: unknown;
27
27
  }
28
28
  export interface MutationObservedResult<R> extends MutationResult<R> {
@@ -11,7 +11,7 @@ export declare function useMutation<Args = void, R = undefined>(options: AsyncQu
11
11
  isPending: boolean;
12
12
  isPaused: boolean;
13
13
  data: R | undefined;
14
- status: "error" | "idle" | "loading" | "success";
14
+ status: "error" | "idle" | "success" | "pending";
15
15
  error: unknown;
16
16
  mutate: (mutationArgs: Args) => void;
17
17
  reset: () => void;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "reactjrx",
3
3
  "private": false,
4
- "version": "1.56.0",
4
+ "version": "1.57.0",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"