@deliverart/sdk-js-core 2.23.13 → 2.23.15

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
@@ -27832,6 +27832,9 @@ var AbstractApiRequest = class {
27832
27832
  }
27833
27833
  return this.validateOutput(arrayParse.data, true);
27834
27834
  }
27835
+ if (Array.isArray(data)) {
27836
+ throw new OutputValidationError(arrayParse.error.issues);
27837
+ }
27835
27838
  }
27836
27839
  return this.validateOutput(data);
27837
27840
  }
package/dist/index.js CHANGED
@@ -27796,6 +27796,9 @@ var AbstractApiRequest = class {
27796
27796
  }
27797
27797
  return this.validateOutput(arrayParse.data, true);
27798
27798
  }
27799
+ if (Array.isArray(data)) {
27800
+ throw new OutputValidationError(arrayParse.error.issues);
27801
+ }
27799
27802
  }
27800
27803
  return this.validateOutput(data);
27801
27804
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@deliverart/sdk-js-core",
3
3
  "description": "Core SDK for DeliverArt, providing essential functionalities and utilities.",
4
- "version": "2.23.13",
4
+ "version": "2.23.15",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "devDependencies": {
27
27
  "@types/qs": "^6.14.0",
28
- "@deliverart/sdk-js-global-types": "2.23.13"
28
+ "@deliverart/sdk-js-global-types": "2.23.15"
29
29
  },
30
30
  "scripts": {
31
31
  "build": "tsup src/index.ts --dts --format esm,cjs",