@azure/msal-common 1.7.2 → 2.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.
Files changed (40) hide show
  1. package/CHANGELOG.json +93 -0
  2. package/changelog.md +27 -4
  3. package/dist/index.es.js +1170 -1082
  4. package/dist/index.js +857 -769
  5. package/dist/src/account/AccountInfo.d.ts +3 -0
  6. package/dist/src/authority/Authority.d.ts +8 -1
  7. package/dist/src/cache/CacheManager.d.ts +5 -1
  8. package/dist/src/cache/entities/AccountEntity.d.ts +7 -2
  9. package/dist/src/cache/entities/CacheRecord.d.ts +6 -6
  10. package/dist/src/client/AuthorizationCodeClient.d.ts +8 -2
  11. package/dist/src/client/BaseClient.d.ts +9 -4
  12. package/dist/src/client/ClientCredentialClient.d.ts +21 -1
  13. package/dist/src/client/DeviceCodeClient.d.ts +1 -1
  14. package/dist/src/client/OnBehalfOfClient.d.ts +30 -1
  15. package/dist/src/client/RefreshTokenClient.d.ts +2 -2
  16. package/dist/src/client/SilentFlowClient.d.ts +1 -1
  17. package/dist/src/client/UsernamePasswordClient.d.ts +1 -1
  18. package/dist/src/config/ClientConfiguration.d.ts +19 -6
  19. package/dist/src/error/AuthError.d.ts +2 -2
  20. package/dist/src/error/ClientAuthError.d.ts +35 -1
  21. package/dist/src/error/ClientConfigurationError.d.ts +8 -0
  22. package/dist/src/error/InteractionRequiredAuthError.d.ts +2 -2
  23. package/dist/src/error/ServerError.d.ts +1 -2
  24. package/dist/src/index.d.ts +2 -0
  25. package/dist/src/logger/Logger.d.ts +7 -1
  26. package/dist/src/request/AuthorizationCodeRequest.d.ts +2 -2
  27. package/dist/src/request/AuthorizationUrlRequest.d.ts +9 -9
  28. package/dist/src/request/BaseAuthRequest.d.ts +2 -2
  29. package/dist/src/request/ClientCredentialRequest.d.ts +1 -1
  30. package/dist/src/request/EndSessionRequest.d.ts +3 -3
  31. package/dist/src/request/RefreshTokenRequest.d.ts +1 -1
  32. package/dist/src/request/RequestParameterBuilder.d.ts +12 -2
  33. package/dist/src/request/SilentFlowRequest.d.ts +1 -1
  34. package/dist/src/response/AuthenticationResult.d.ts +5 -2
  35. package/dist/src/response/AuthorizationCodePayload.d.ts +12 -0
  36. package/dist/src/response/ResponseHandler.d.ts +4 -3
  37. package/dist/src/response/ServerAuthorizationCodeResponse.d.ts +4 -0
  38. package/dist/src/utils/Constants.d.ts +1 -0
  39. package/dist/src/utils/StringUtils.d.ts +8 -2
  40. package/package.json +1 -1
package/CHANGELOG.json CHANGED
@@ -1,6 +1,99 @@
1
1
  {
2
2
  "name": "@azure/msal-common",
3
3
  "entries": [
4
+ {
5
+ "date": "Mon, 07 Dec 2020 22:19:03 GMT",
6
+ "tag": "@azure/msal-common_v2.0.0",
7
+ "version": "2.0.0",
8
+ "comments": {
9
+ "patch": [
10
+ {
11
+ "comment": "Fix login loop with empty query string (#2707)",
12
+ "author": "thomas.norling@microsoft.com",
13
+ "commit": "307307edb3d9877caca3874d17f35faf2bae6180",
14
+ "package": "@azure/msal-common"
15
+ },
16
+ {
17
+ "comment": "Expose idTokenClaims on AccountInfo (#2554)",
18
+ "author": "janutter@microsoft.com",
19
+ "commit": "cb2165aad7995d904ec49ade565d907dc314ce16",
20
+ "package": "@azure/msal-common"
21
+ },
22
+ {
23
+ "comment": "Add matchPattern string util for wildcard matching for urls (#2678)",
24
+ "author": "janutter@microsoft.com",
25
+ "commit": "4642741f3def4cdb575cc0a228f88e19f84e3da5",
26
+ "package": "@azure/msal-common"
27
+ },
28
+ {
29
+ "comment": "fix: added missing async (AzureAD/microsoft-authentication-library-for-js#2652)",
30
+ "author": "patrick@ruhkopf.me",
31
+ "commit": "1c0df2fc1468fb094c76da04de91271ffb4461c7",
32
+ "package": "@azure/msal-common"
33
+ },
34
+ {
35
+ "comment": "Log messages contain package name and version (#2589)",
36
+ "author": "thomas.norling@microsoft.com",
37
+ "commit": "4568c16bd425e242cdb799ec59b3508654cc2e45",
38
+ "package": "@azure/msal-common"
39
+ }
40
+ ],
41
+ "minor": [
42
+ {
43
+ "comment": "Add clone to Logger (#2670)",
44
+ "author": "joarroyo@microsoft.com",
45
+ "commit": "9efb3ba5886eaf6f3a3cd36957ab9fcb7399278a",
46
+ "package": "@azure/msal-common"
47
+ },
48
+ {
49
+ "comment": "Enable the instance_aware flow (#1804)",
50
+ "author": "prkanher@microsoft.com",
51
+ "commit": "3e616e162149f4e57257b70e6d481c4596d91ef9",
52
+ "package": "@azure/msal-common"
53
+ },
54
+ {
55
+ "comment": "Support id_token_hint on logout request (#2587)",
56
+ "author": "thomas.norling@microsoft.com",
57
+ "commit": "fa9b7009f094b3c17a6d177fcec9b736320735c0",
58
+ "package": "@azure/msal-common"
59
+ }
60
+ ],
61
+ "major": [
62
+ {
63
+ "comment": "Enable StrictNullChecks (#2602)",
64
+ "author": "thomas.norling@microsoft.com",
65
+ "commit": "ebf18c6daead16f8cfd2afb3b63cbd59fc63046a",
66
+ "package": "@azure/msal-common"
67
+ },
68
+ {
69
+ "comment": "Rename request types and change required fields (#2512)",
70
+ "author": "thomas.norling@microsoft.com",
71
+ "commit": "5b891222d674eb5664af9187f319a61b50341f55",
72
+ "package": "@azure/msal-common"
73
+ }
74
+ ],
75
+ "none": [
76
+ {
77
+ "comment": "Enforce triple equals in eslint",
78
+ "author": "janutter@microsoft.com",
79
+ "commit": "5975eb4077a2b4372683e68af4d748b0808134ab",
80
+ "package": "@azure/msal-common"
81
+ },
82
+ {
83
+ "comment": "Package-lock update",
84
+ "author": "thomas.norling@microsoft.com",
85
+ "commit": "9c029bc074ecd32483a45cfab8721f0771c31e55",
86
+ "package": "@azure/msal-common"
87
+ },
88
+ {
89
+ "comment": "Remove console.log in unit tests (#2629)",
90
+ "author": "thomas.norling@microsoft.com",
91
+ "commit": "b89d8029a3703b2bfa1f9399456e652fe6f26e4f",
92
+ "package": "@azure/msal-common"
93
+ }
94
+ ]
95
+ }
96
+ },
4
97
  {
5
98
  "date": "Wed, 11 Nov 2020 23:33:20 GMT",
6
99
  "tag": "@azure/msal-common_v1.7.2",
package/changelog.md CHANGED
@@ -1,17 +1,40 @@
1
1
  # Change Log - @azure/msal-common
2
2
 
3
- This log was last generated on Wed, 11 Nov 2020 23:33:20 GMT and should not be manually modified.
3
+ This log was last generated on Mon, 07 Dec 2020 22:19:03 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
- ## 1.7.2
7
+ ## 2.0.0
8
8
 
9
- Wed, 11 Nov 2020 23:33:20 GMT
9
+ Mon, 07 Dec 2020 22:19:03 GMT
10
+
11
+ ### Major changes
12
+
13
+ - Enable StrictNullChecks (#2602) (thomas.norling@microsoft.com)
14
+ - Rename request types and change required fields (#2512) (thomas.norling@microsoft.com)
15
+
16
+ ### Minor changes
17
+
18
+ - Add clone to Logger (#2670) (joarroyo@microsoft.com)
19
+ - Enable the instance_aware flow (#1804) (prkanher@microsoft.com)
20
+ - Support id_token_hint on logout request (#2587) (thomas.norling@microsoft.com)
10
21
 
11
22
  ### Patches
12
23
 
13
- - Add getAbsolutePath helper function to UrlString class (#2560) (thomas.norling@microsoft.com)
24
+ - Fix login loop with empty query string (#2707) (thomas.norling@microsoft.com)
25
+ - Expose idTokenClaims on AccountInfo (#2554) (janutter@microsoft.com)
26
+ - Add matchPattern string util for wildcard matching for urls (#2678) (janutter@microsoft.com)
27
+ - fix: added missing async (AzureAD/microsoft-authentication-library-for-js#2652) (patrick@ruhkopf.me)
28
+ - Log messages contain package name and version (#2589) (thomas.norling@microsoft.com)
14
29
 
30
+ ## 1.7.2
31
+
32
+ Wed, 11 Nov 2020 23:33:20 GMT
33
+
34
+ ### Patches
35
+
36
+ - Add getAbsolutePath helper function to UrlString class (#2560) (thomas.norling@microsoft.com)
37
+
15
38
  ## 1.7.1
16
39
 
17
40
  Tue, 10 Nov 2020 01:48:44 GMT