@mmstack/resource 20.2.10 → 20.3.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/index.d.ts CHANGED
@@ -577,6 +577,11 @@ type MutationResourceOptions<TResult, TRaw = TResult, TMutation = TResult, TCTX
577
577
  * @param ctx The context value returned by the `onMutate` callback (or `undefined` if `onMutate` was not provided or returned `undefined`).
578
578
  */
579
579
  onSettled?: (ctx: NoInfer<TCTX>) => void;
580
+ /**
581
+ * Whether to queue the mutation requests and execute them in series. For example if network is unavailable or circuit breaker is open.
582
+ * @default false
583
+ */
584
+ queue?: boolean;
580
585
  equal?: ValueEqualityFn<TMutation>;
581
586
  };
582
587
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mmstack/resource",
3
- "version": "20.2.10",
3
+ "version": "20.3.0",
4
4
  "keywords": [
5
5
  "angular",
6
6
  "signals",
@@ -17,9 +17,7 @@
17
17
  },
18
18
  "homepage": "https://github.com/mihajm/mmstack/blob/master/packages/resource",
19
19
  "dependencies": {
20
- "uuid": "~11.1.0",
21
20
  "@mmstack/primitives": "^20.0.3",
22
- "@mmstack/object": "^20.0.0",
23
21
  "tslib": "^2.3.0"
24
22
  },
25
23
  "peerDependencies": {