@auxilium/datalynk-client 0.9.11 → 0.9.12

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
@@ -2654,7 +2654,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
2654
2654
  * @return {Promise<SlicePromise[]>} API Response
2655
2655
  */
2656
2656
  chain(...requests) {
2657
- return this.request({ "$/tools/action_chain": requests.map((r) => r instanceof Slice ? r.raw : r) });
2657
+ return this.request({ "$/tools/action_chain": requests.flatMap((r) => r instanceof Slice ? r.raw : r) });
2658
2658
  }
2659
2659
  /**
2660
2660
  * Organize multiple requests into a single mapped request
package/dist/index.mjs CHANGED
@@ -2650,7 +2650,7 @@ class Api {
2650
2650
  * @return {Promise<SlicePromise[]>} API Response
2651
2651
  */
2652
2652
  chain(...requests) {
2653
- return this.request({ "$/tools/action_chain": requests.map((r) => r instanceof Slice ? r.raw : r) });
2653
+ return this.request({ "$/tools/action_chain": requests.flatMap((r) => r instanceof Slice ? r.raw : r) });
2654
2654
  }
2655
2655
  /**
2656
2656
  * Organize multiple requests into a single mapped request
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@auxilium/datalynk-client",
3
3
  "description": "Datalynk client library",
4
4
  "repository": "https://gitlab.auxiliumgroup.com/auxilium/datalynk/datalynk-client",
5
- "version": "0.9.11",
5
+ "version": "0.9.12",
6
6
  "author": "Zak Timson <zaktimson@gmail.com>",
7
7
  "private": false,
8
8
  "main": "./dist/index.cjs",