@gls_spain/gps-common 35.10.7 → 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,3 +1,10 @@
1
+ ## [35.10.8](https://github.com/GLS-Spain/gps-common/compare/v35.10.7...v35.10.8) (2025-06-04)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * change type password to string ([9108b8c](https://github.com/GLS-Spain/gps-common/commit/9108b8cf418dda1a0aeb24b051315c2435ccb6ef))
7
+
1
8
  ## [35.10.7](https://github.com/GLS-Spain/gps-common/compare/v35.10.6...v35.10.7) (2025-06-01)
2
9
 
3
10
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gls_spain/gps-common",
3
- "version": "35.10.7",
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,