@azure/synapse-monitoring 1.0.0-alpha.20230419.1 → 1.0.0-alpha.20230519.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/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1926,6 +1926,9 @@ function getErrorMessage(e) {
|
|
|
1926
1926
|
|
|
1927
1927
|
// Copyright (c) Microsoft Corporation.
|
|
1928
1928
|
// Licensed under the MIT license.
|
|
1929
|
+
/*
|
|
1930
|
+
* NOTE: When moving this file, please update "react-native" section in package.json.
|
|
1931
|
+
*/
|
|
1929
1932
|
/**
|
|
1930
1933
|
* Generated Universally Unique Identifier
|
|
1931
1934
|
*
|
|
@@ -18852,10 +18855,7 @@ function createDefaultPipeline(options) {
|
|
|
18852
18855
|
}
|
|
18853
18856
|
function getCredentialScopes(options) {
|
|
18854
18857
|
if (options.credentialScopes) {
|
|
18855
|
-
|
|
18856
|
-
return Array.isArray(scopes)
|
|
18857
|
-
? scopes.map((scope) => new URL(scope).toString())
|
|
18858
|
-
: new URL(scopes).toString();
|
|
18858
|
+
return options.credentialScopes;
|
|
18859
18859
|
}
|
|
18860
18860
|
if (options.endpoint) {
|
|
18861
18861
|
return `${options.endpoint}/.default`;
|