cidaas-javascript-sdk 5.1.0 → 5.1.2

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,18 +1,22 @@
1
- # [5.1.0](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/compare/v5.0.0...v5.1.0) (2025-11-14)
1
+ ## [5.1.2](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/compare/v5.1.1...v5.1.2) (2026-02-25)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * update doc ([9e8f48f](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/9e8f48fbe0a296435e7330a6c0cc22a12d506e06))
6
+ * semantic release format ([c9a9045](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/c9a90453672be396b6852ba2519f6bdbc377e21d))
7
7
 
8
+ # Changelog
8
9
 
9
- ### Features
10
+ ## V5.1.1
10
11
 
11
- * **login-service:** improve social login with flexible query parameters ([9492a9e](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/9492a9e52faa6f230662c949039119d84e88df8f))
12
- * **login-service:** improve social login with flexible query parameters ([21bb073](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/21bb07346878cf2550eeaf258523f1f568270d9c))
13
- * **login-service:** improve social login with flexible query parameters ([ed7bc6a](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/ed7bc6a46a06ab6bef5d4553e0e78802f2c950e0))
12
+ ### Fixed
13
+ - api adjustments for initiateAccountVerification(), verifyAccount(), getAllVerificationList(), initiateMFA(), authenticateMFA()
14
14
 
15
- # Changelog
15
+ ## V5.1.0
16
+
17
+ ### Changed
18
+ - improve social login with flexible query parameters
19
+ - update doc
16
20
 
17
21
  ## V5.0.0
18
22
 
@@ -67,6 +67,10 @@ export interface PasswordlessLoginRequest {
67
67
  * Either sub or q have to be provided, depends on what is given from the query parameter.
68
68
  */
69
69
  q?: string;
70
+ /**
71
+ * Link id used to complete Account Linking after successful authentication
72
+ */
73
+ 'link-id'?: string;
70
74
  }
71
75
  export interface FirstTimeChangePasswordRequest {
72
76
  /** Old password to be changed */
@@ -26,7 +26,7 @@ class VerificationService {
26
26
  */
27
27
  initiateAccountVerification(options) {
28
28
  try {
29
- const url = this.config.authority + "/verification-srv/account/initiate";
29
+ const url = `${this.config.authority}/verification-actions-srv/account/initiation`;
30
30
  const form = Helper_1.Helper.createForm(url, options);
31
31
  document.body.appendChild(form);
32
32
  form.submit();
@@ -51,7 +51,7 @@ class VerificationService {
51
51
  * ```
52
52
  */
53
53
  verifyAccount(options, headers) {
54
- const _serviceURL = this.config.authority + "/verification-srv/account/verify";
54
+ const _serviceURL = `${this.config.authority}/verification-actions-srv/account`;
55
55
  return Helper_1.Helper.createHttpPromise(options, _serviceURL, false, "POST", undefined, headers);
56
56
  }
57
57
  /**
@@ -112,7 +112,7 @@ class VerificationService {
112
112
  * ```
113
113
  */
114
114
  getAllVerificationList(access_token, headers) {
115
- const _serviceURL = `${this.config.authority}/verification-srv/config/list`;
115
+ const _serviceURL = `${this.config.authority}/verification-actions-srv/config`;
116
116
  if (access_token) {
117
117
  return Helper_1.Helper.createHttpPromise(undefined, _serviceURL, undefined, "GET", access_token, headers);
118
118
  }
@@ -244,7 +244,7 @@ class VerificationService {
244
244
  * ```
245
245
  */
246
246
  initiateMFA(options, headers) {
247
- const _serviceURL = this.config.authority + "/verification-srv/v2/authenticate/initiate/" + options.type;
247
+ const _serviceURL = `${this.config.authority}/verification-srv/authentication/${options.type}/initiation`;
248
248
  return Helper_1.Helper.createHttpPromise(options, _serviceURL, false, "POST", undefined, headers);
249
249
  }
250
250
  /**
@@ -266,7 +266,7 @@ class VerificationService {
266
266
  * ```
267
267
  */
268
268
  authenticateMFA(options, headers) {
269
- const _serviceURL = this.config.authority + "/verification-srv/v2/authenticate/authenticate/" + options.type;
269
+ const _serviceURL = `${this.config.authority}/verification-srv/authentication/${options.type}/verification`;
270
270
  return Helper_1.Helper.createHttpPromise(options, _serviceURL, undefined, "POST", undefined, headers);
271
271
  }
272
272
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cidaas-javascript-sdk",
3
- "version": "5.1.0",
3
+ "version": "5.1.2",
4
4
  "author": "cidaas by Widas ID GmbH",
5
5
  "description": "Cidaas native javascript sdk",
6
6
  "license": "MIT",