@azure/synapse-monitoring 1.0.0-alpha.20230509.1 → 1.0.0-alpha.20230522.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 CHANGED
@@ -18855,10 +18855,7 @@ function createDefaultPipeline(options) {
18855
18855
  }
18856
18856
  function getCredentialScopes(options) {
18857
18857
  if (options.credentialScopes) {
18858
- const scopes = options.credentialScopes;
18859
- return Array.isArray(scopes)
18860
- ? scopes.map((scope) => new URL(scope).toString())
18861
- : new URL(scopes).toString();
18858
+ return options.credentialScopes;
18862
18859
  }
18863
18860
  if (options.endpoint) {
18864
18861
  return `${options.endpoint}/.default`;