@ztimson/utils 0.27.1 → 0.27.2

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/objects.d.ts CHANGED
@@ -2,12 +2,12 @@ export type Delta = {
2
2
  [key: string]: any | Delta | null;
3
3
  };
4
4
  /**
5
- * Applies deltas in order to modify `target`.
6
- * @param base - Original
7
- * @param deltas - List of deltas to apply
5
+ * Applies deltas to `target`.
6
+ * @param base starting point
7
+ * @param deltas List of deltas to apply
8
8
  * @returns Mutated target
9
9
  */
10
- export declare function applyDelta(base: any, deltas: any): any;
10
+ export declare function applyDeltas(base: any, ...deltas: any): any;
11
11
  /**
12
12
  * Creates a nested delta that reverts `target` back to `old`.
13
13
  * @param old - Original object
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ztimson/utils",
3
- "version": "0.27.1",
3
+ "version": "0.27.2",
4
4
  "description": "Utility library",
5
5
  "author": "Zak Timson",
6
6
  "license": "MIT",