squarecommonblhelper 9.2.1 → 9.2.3

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/README.md CHANGED
@@ -15,6 +15,16 @@ helper for common bl for my projects.
15
15
 
16
16
  ## changelog
17
17
 
18
+ ### v9.2.3
19
+
20
+ - AuthenticationCommonBL:
21
+ - updateUserRecoveryMethodsV0 now compatible with square_common_bl>=6.0.0
22
+
23
+ ### v9.2.2
24
+
25
+ - AuthenticationCommonBL:
26
+ - bugfix in updateUserRecoveryMethodsV0 query parameters (string[] instead of comma separated list).
27
+
18
28
  ### v9.2.1
19
29
 
20
30
  - AuthenticationCommonBL:
@@ -259,12 +259,12 @@ class AuthenticationCommonBL {
259
259
  // headers
260
260
  { access_token: accessToken },
261
261
  // body
262
- undefined,
263
- // query params
264
262
  {
265
- recovery_methods_to_add: recoveryMethodsToAdd.join(","),
266
- recovery_methods_to_remove: recoveryMethodsToRemove.join(","),
267
- });
263
+ recovery_methods_to_add: recoveryMethodsToAdd,
264
+ recovery_methods_to_remove: recoveryMethodsToRemove,
265
+ },
266
+ // query params
267
+ undefined);
268
268
  return updateUserRecoveryMethodsV0ResponseZ.parse(data);
269
269
  }
270
270
  catch (error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "squarecommonblhelper",
3
- "version": "9.2.1",
3
+ "version": "9.2.3",
4
4
  "description": "helper for common bl for my projects.",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -34,7 +34,7 @@
34
34
  "node": ">=18.0.0"
35
35
  },
36
36
  "dependencies": {
37
- "squarecommons": "^2.3.0",
37
+ "squarecommons": "^2.4.0",
38
38
  "zod": "^3.24.1"
39
39
  }
40
40
  }