cidaas-javascript-sdk 3.1.4 → 4.0.0

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,6 +1,82 @@
1
- ## [3.1.4](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/compare/v3.1.3...v3.1.4) (2023-09-06)
1
+ # [4.0.0](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/compare/v3.1.5...v4.0.0) (2023-12-12)
2
2
 
3
3
 
4
4
  ### Bug Fixes
5
5
 
6
- * update ci ([6bb80e0](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/6bb80e01aed3cd92a18303d0bf4ea74d29e8d9f6))
6
+ * resolved conflicts ([3727cc0](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/3727cc042cfb4232038b0cb970778ff12b803349))
7
+ * resolved the merge conflicts ([8c41cbe](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/8c41cbe413e48660a3457914916e9ac44e77b8dd))
8
+ * switch to GET method on getLinkedUsers ([a8302fe](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/a8302fe47500df9b4c127a7b140afa7755ce3d81))
9
+ * updated the testcases, docs in ts and removed the docs from readme ([bc59f82](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/bc59f82e43ee5fe8925d0539dd1661a1e752dda6))
10
+
11
+
12
+ * feat()!: upgrade to v4 ([041b774](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/041b774095a6139f344c32abdec42d7d1be77610))
13
+
14
+
15
+ ### BREAKING CHANGES
16
+
17
+ * ### Changed
18
+ - **Breaking** authentication module can't be access publicly anymore, instead WebAuth should be used to access authentication functions.
19
+ - **Breaking** popup & silent authentication functions is directly implemented in WebAuth instead of using mode.
20
+ - **Breaking** silentSignIn is now returning promise
21
+ - **Breaking** getLoginURL() function return promise instead of string
22
+ - **Breaking** access_token option should be provided to revokeClaimConsent() function in consent service
23
+ - **Breaking** use function parameter instead of cidaas configuration file: `cidaas_version` to handle resetPassword
24
+ - **Breaking** change getCommunicationStatus parameter
25
+ - **Breaking** rename functions with version name
26
+ - **Breaking** rename getScopeConsentVersionDetails() function to getConsentVersionDetails()
27
+ - **Breaking** rename updateStatus() function to getEnrollmentStatus()
28
+ - **Breaking** rename getDeviceInfo() function to createDeviceInfo()
29
+ - **Breaking** rename getScopeConsentDetails() function to loginPrecheck()
30
+ - **Breaking** getMissingFieldsLogin() is now reimplemented as getMissingFields()
31
+
32
+ ### Removed
33
+ - **Breaking** remove deprecated functions
34
+ - **Breaking** remove duplicate functions
35
+ - **Breaking** remove functions which are not supported anymore
36
+
37
+ # Changelog
38
+
39
+ ## V4.0.0
40
+
41
+ If you are upgrading from v3.x.x, please see ['UPGRADING.md'](UPGRADING.md)
42
+
43
+ ### Fixed
44
+ - fix vulnerabilities from `npm audit`
45
+ - fix sdk usage from CDN
46
+ - fix silent sign in flow
47
+ - fix device flow
48
+ - fix enrollment flow
49
+ - fix revokeClaimConsent() function
50
+ - fix getLoginURL() function
51
+ - fix updateProfileImage() function
52
+ - fix getUserActivities() function
53
+ - fix error if query parameter are not included in userCheckExists() function
54
+ - fix missing logo on npmjs
55
+
56
+ ### Added
57
+ - add more unit tests.
58
+ - add initiateEnrollment() functions to verification service
59
+ - add initiateDeviceCode() & offlineTokenCheck() functions to token service
60
+
61
+ ### Changed
62
+ - **Breaking** authentication module can't be access publicly anymore, instead WebAuth should be used to access authentication functions.
63
+ - **Breaking** popup & silent authentication functions is directly implemented in WebAuth instead of using mode.
64
+ - **Breaking** silentSignIn is now returning promise
65
+ - **Breaking** getLoginURL() function return promise instead of string
66
+ - **Breaking** access_token option should be provided to revokeClaimConsent() function in consent service
67
+ - **Breaking** use function parameter instead of cidaas configuration file: `cidaas_version` to handle resetPassword
68
+ - **Breaking** change getCommunicationStatus parameter
69
+ - **Breaking** rename functions with version name
70
+ - **Breaking** rename getScopeConsentVersionDetails() function to getConsentVersionDetails()
71
+ - **Breaking** rename updateStatus() function to getEnrollmentStatus()
72
+ - **Breaking** rename getDeviceInfo() function to createDeviceInfo()
73
+ - **Breaking** rename getScopeConsentDetails() function to loginPrecheck()
74
+ - **Breaking** getMissingFieldsLogin() is now reimplemented as getMissingFields()
75
+ - document functions description and usage as typedoc instead in readme file.
76
+ - update cancelMFA() to call the latest cancel endpoint
77
+ - update getUserActivities() to call the latest cancel endpoint
78
+
79
+ ### Removed
80
+ - **Breaking** remove deprecated functions
81
+ - **Breaking** remove duplicate functions
82
+ - **Breaking** remove functions which are not supported anymore