@azure/identity 3.2.0-alpha.20230330.2 → 3.2.0-alpha.20230405.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.
Potentially problematic release.
This version of @azure/identity might be problematic. Click here for more details.
package/dist/index.js
CHANGED
|
@@ -473,7 +473,7 @@ class MsalBaseUtilities {
|
|
|
473
473
|
}
|
|
474
474
|
// transformations.ts
|
|
475
475
|
function publicToMsal(account) {
|
|
476
|
-
const [environment] = account.authority.match(/([a-z]*\.[a-z]*\.[a-z]*)/) || [];
|
|
476
|
+
const [environment] = account.authority.match(/([a-z]*\.[a-z]*\.[a-z]*)/) || [""];
|
|
477
477
|
return Object.assign(Object.assign({}, account), { localAccountId: account.homeAccountId, environment });
|
|
478
478
|
}
|
|
479
479
|
function msalToPublic(clientId, account) {
|