@gls_spain/gps-common 35.10.6 → 35.10.7

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,10 +1,17 @@
1
- ## [35.10.6](https://github.com/GLS-Spain/gps-common/compare/v35.10.5...v35.10.6) (2025-05-29)
1
+ ## [35.10.7](https://github.com/GLS-Spain/gps-common/compare/v35.10.6...v35.10.7) (2025-06-01)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * add max lenght validation and add communcations errors ([315e28f](https://github.com/GLS-Spain/gps-common/commit/315e28faaee03e664690411e65cd41785de82609))
6
+ * modify schema create and update shopUser type of password ([99d0ca3](https://github.com/GLS-Spain/gps-common/commit/99d0ca30b248f557a79834ed69b42883b43f9e76))
7
7
 
8
+ ## [35.10.6](https://github.com/GLS-Spain/gps-common/compare/v35.10.5...v35.10.6) (2025-05-29)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * add max lenght validation and add communcations errors ([315e28f](https://github.com/GLS-Spain/gps-common/commit/315e28faaee03e664690411e65cd41785de82609))
14
+
8
15
  ## [35.10.5](https://github.com/GLS-Spain/gps-common/compare/v35.10.4...v35.10.5) (2025-05-22)
9
16
 
10
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.10.6",
3
+ "version": "35.10.7",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -213,7 +213,7 @@ const createShopUserRequest = () =>
213
213
  type: 'object',
214
214
  properties: {
215
215
  ...pickProperties(shopUser(), ['_id', 'createdAt', 'username', 'loginEnabled', 'name', 'emails', 'phones', 'nif', 'address']),
216
- password: password(),
216
+ password: { type: 'string', trim: true },
217
217
  passwordExpired: { type: 'string', trim: true },
218
218
  },
219
219
  required: ['username', 'loginEnabled', 'name', 'password'],
@@ -260,7 +260,7 @@ const updateShopUserRequest = () =>
260
260
  type: 'object',
261
261
  properties: {
262
262
  ...pickProperties(shopUser(), ['loginEnabled', 'name', 'emails', 'phones'], ['nif', 'address']),
263
- password: password(),
263
+ password: { type: 'string',trim: true },
264
264
  passwordExpired: { type: 'string',trim: true },
265
265
  },
266
266
  minProperties: 1,