cidaas-javascript-sdk 3.1.5 → 4.0.1
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 +54 -2
- package/README.md +96 -2508
- 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 +204 -177
- package/dist/web-auth/WebAuth.d.ts +219 -454
- package/dist/web-auth/WebAuth.js +370 -904
- package/package.json +2 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,58 @@
|
|
|
1
|
-
## [
|
|
1
|
+
## [4.0.1](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/compare/v4.0.0...v4.0.1) (2024-01-08)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Bug Fixes
|
|
5
5
|
|
|
6
|
-
*
|
|
6
|
+
* semantic format to release new version ([ed1ebbf](https://gitlab.widas.de/cidaas-public-devkits/cidaas-public-sdks/cidaas-javascript-sdk/commit/ed1ebbff01ce924803f8b2f2ca4b0bb189753f29))
|
|
7
|
+
|
|
8
|
+
# Changelog
|
|
9
|
+
|
|
10
|
+
## V4.0.1
|
|
11
|
+
|
|
12
|
+
### Changed
|
|
13
|
+
- initiateMFA() function will no longer require accessToken as parameter
|
|
14
|
+
|
|
15
|
+
## V4.0.0
|
|
16
|
+
|
|
17
|
+
If you are upgrading from v3.x.x, please see ['UPGRADING.md'](UPGRADING.md)
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
- fix vulnerabilities from `npm audit`
|
|
21
|
+
- fix sdk usage from CDN
|
|
22
|
+
- fix silent sign in flow
|
|
23
|
+
- fix device flow
|
|
24
|
+
- fix enrollment flow
|
|
25
|
+
- fix revokeClaimConsent() function
|
|
26
|
+
- fix getLoginURL() function
|
|
27
|
+
- fix updateProfileImage() function
|
|
28
|
+
- fix getUserActivities() function
|
|
29
|
+
- fix error if query parameter are not included in userCheckExists() function
|
|
30
|
+
- fix missing logo on npmjs
|
|
31
|
+
|
|
32
|
+
### Added
|
|
33
|
+
- add more unit tests.
|
|
34
|
+
- add initiateEnrollment() functions to verification service
|
|
35
|
+
- add initiateDeviceCode() & offlineTokenCheck() functions to token service
|
|
36
|
+
|
|
37
|
+
### Changed
|
|
38
|
+
- **Breaking** authentication module can't be access publicly anymore, instead WebAuth should be used to access authentication functions.
|
|
39
|
+
- **Breaking** popup & silent authentication functions is directly implemented in WebAuth instead of using mode.
|
|
40
|
+
- **Breaking** silentSignIn is now returning promise
|
|
41
|
+
- **Breaking** getLoginURL() function return promise instead of string
|
|
42
|
+
- **Breaking** access_token option should be provided to revokeClaimConsent() function in consent service
|
|
43
|
+
- **Breaking** use function parameter instead of cidaas configuration file: `cidaas_version` to handle resetPassword
|
|
44
|
+
- **Breaking** change getCommunicationStatus parameter
|
|
45
|
+
- **Breaking** rename functions with version name
|
|
46
|
+
- **Breaking** rename getScopeConsentVersionDetails() function to getConsentVersionDetails()
|
|
47
|
+
- **Breaking** rename updateStatus() function to getEnrollmentStatus()
|
|
48
|
+
- **Breaking** rename getDeviceInfo() function to createDeviceInfo()
|
|
49
|
+
- **Breaking** rename getScopeConsentDetails() function to loginPrecheck()
|
|
50
|
+
- **Breaking** getMissingFieldsLogin() is now reimplemented as getMissingFields()
|
|
51
|
+
- document functions description and usage as typedoc instead in readme file.
|
|
52
|
+
- update cancelMFA() to call the latest cancel endpoint
|
|
53
|
+
- update getUserActivities() to call the latest cancel endpoint
|
|
54
|
+
|
|
55
|
+
### Removed
|
|
56
|
+
- **Breaking** remove deprecated functions
|
|
57
|
+
- **Breaking** remove duplicate functions
|
|
58
|
+
- **Breaking** remove functions which are not supported anymore
|