@gls_spain/gps-common 35.10.6 → 35.10.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,10 +1,24 @@
1
- ## [35.10.6](https://github.com/GLS-Spain/gps-common/compare/v35.10.5...v35.10.6) (2025-05-29)
1
+ ## [35.10.8](https://github.com/GLS-Spain/gps-common/compare/v35.10.7...v35.10.8) (2025-06-04)
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
+ * change type password to string ([9108b8c](https://github.com/GLS-Spain/gps-common/commit/9108b8cf418dda1a0aeb24b051315c2435ccb6ef))
7
7
 
8
+ ## [35.10.7](https://github.com/GLS-Spain/gps-common/compare/v35.10.6...v35.10.7) (2025-06-01)
9
+
10
+
11
+ ### Bug Fixes
12
+
13
+ * modify schema create and update shopUser type of password ([99d0ca3](https://github.com/GLS-Spain/gps-common/commit/99d0ca30b248f557a79834ed69b42883b43f9e76))
14
+
15
+ ## [35.10.6](https://github.com/GLS-Spain/gps-common/compare/v35.10.5...v35.10.6) (2025-05-29)
16
+
17
+
18
+ ### Bug Fixes
19
+
20
+ * add max lenght validation and add communcations errors ([315e28f](https://github.com/GLS-Spain/gps-common/commit/315e28faaee03e664690411e65cd41785de82609))
21
+
8
22
  ## [35.10.5](https://github.com/GLS-Spain/gps-common/compare/v35.10.4...v35.10.5) (2025-05-22)
9
23
 
10
24
 
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.8",
4
4
  "description": "Errors, schemas and documentation for the Parcel Shops project",
5
5
  "keywords": [
6
6
  "gls"
@@ -89,7 +89,7 @@ const createSuperAdminRequest = () =>
89
89
  type: 'object',
90
90
  properties: {
91
91
  ...pickProperties(superAdmin(), ['_id', 'createdAt', 'username', 'loginEnabled', 'name', 'emails', 'phones', 'nif', 'address']),
92
- password: password(),
92
+ password: { type: 'string', trim: true },
93
93
  },
94
94
  required: ['username', 'loginEnabled', 'name', 'password'],
95
95
  additionalProperties: false,
@@ -108,7 +108,7 @@ const updateSuperAdminRequest = () =>
108
108
  type: 'object',
109
109
  properties: {
110
110
  ...pickProperties(superAdmin(), ['loginEnabled', 'name', 'emails', 'phones'], ['nif', 'address']),
111
- password: password(),
111
+ password: { type: 'string', trim: true },
112
112
  },
113
113
  minProperties: 1,
114
114
  additionalProperties: false,
@@ -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,