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 +78 -2
- package/README.md +100 -2511
- package/dist/authentication/index.d.ts +90 -26
- package/dist/authentication/index.js +117 -56
- package/dist/index.d.ts +1 -2
- package/dist/index.js +1 -3
- package/dist/web-auth/ConsentService.d.ts +87 -23
- package/dist/web-auth/ConsentService.js +95 -32
- package/dist/web-auth/Entities.d.ts +22 -39
- package/dist/web-auth/Helper.d.ts +1 -1
- package/dist/web-auth/Helper.js +20 -5
- package/dist/web-auth/JwtHelper.d.ts +7 -0
- package/dist/web-auth/JwtHelper.js +90 -0
- package/dist/web-auth/LoginService.d.ts +99 -58
- package/dist/web-auth/LoginService.js +100 -128
- package/dist/web-auth/TokenService.d.ts +120 -25
- package/dist/web-auth/TokenService.js +161 -36
- package/dist/web-auth/UserService.d.ts +260 -62
- package/dist/web-auth/UserService.js +304 -153
- package/dist/web-auth/VerificationService.d.ts +198 -99
- package/dist/web-auth/VerificationService.js +200 -177
- package/dist/web-auth/WebAuth.d.ts +219 -454
- package/dist/web-auth/WebAuth.js +366 -905
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,82 @@
|
|
|
1
|
-
|
|
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
|
-
*
|
|
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
|