@gls_spain/gps-common 34.31.7 → 34.31.8

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [34.31.8](https://github.com/GLS-Spain/gps-common/compare/v34.31.7...v34.31.8) (2023-11-22)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * fix array excludes to array of string array ([7d2c3ea](https://github.com/GLS-Spain/gps-common/commit/7d2c3ea72162d9994e9ef0dc0b49d7dc273c36eb))
7
+
1
8
  ## [34.31.7](https://github.com/GLS-Spain/gps-common/compare/v34.31.6...v34.31.7) (2023-11-21)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "34.31.7",
3
+ "version": "34.31.8",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -300,8 +300,14 @@ const expedition = () => ({
300
300
  title:'excludes or includes CP',
301
301
  type:'object',
302
302
  properties:{
303
- exclude: { type: 'array', items: { type: 'string', trim:true}, minItems:2, maxItems:2},
304
- include: { type: 'array', items: { type: 'string', trim:true}, minItems:2, maxItems:2}
303
+ exclude: {
304
+ type: 'array',
305
+ items: { type: 'array', items:{type: 'string',trim:true}, minItems:2, maxItems:2} ,
306
+ },
307
+ include: {
308
+ type: 'array',
309
+ items: { type: 'array', items:{type: 'string',trim:true}, minItems:2, maxItems:2} ,
310
+ },
305
311
  },
306
312
  additionalProperties:false
307
313
  }