@azure/keyvault-secrets 4.5.0 → 4.5.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
@@ -644,7 +644,7 @@ class KeyVaultClient extends coreHttpCompat__namespace.ExtendedServiceClient {
644
644
  const defaults = {
645
645
  requestContentType: "application/json; charset=utf-8"
646
646
  };
647
- const packageDetails = `azsdk-js-keyvault-secrets/4.5.0`;
647
+ const packageDetails = `azsdk-js-keyvault-secrets/4.5.1`;
648
648
  const userAgentPrefix = options.userAgentOptions && options.userAgentOptions.userAgentPrefix
649
649
  ? `${options.userAgentOptions.userAgentPrefix} ${packageDetails}`
650
650
  : `${packageDetails}`;
@@ -1410,7 +1410,7 @@ function getSecretFromSecretBundle(bundle) {
1410
1410
 
1411
1411
  // Copyright (c) Microsoft Corporation.
1412
1412
  // Licensed under the MIT license.
1413
- const SDK_VERSION = "4.5.0";
1413
+ const SDK_VERSION = "4.5.1";
1414
1414
 
1415
1415
  // Copyright (c) Microsoft Corporation.
1416
1416
  const tracingClient = coreTracing.createTracingClient({
@@ -1897,7 +1897,7 @@ class SecretClient {
1897
1897
  }
1898
1898
  }
1899
1899
  while (continuationState.continuationToken) {
1900
- const currentSetResponse = yield tslib.__await(tracingClient.withSpan("SecretClient.listPropertiesOfSecretVersionsPage", options, (updatedOptions) => this.client.getSecretVersions(continuationState.continuationToken, secretName, updatedOptions)));
1900
+ const currentSetResponse = yield tslib.__await(tracingClient.withSpan("SecretClient.listPropertiesOfSecretVersionsPage", options, (updatedOptions) => this.client.getSecretVersionsNext(this.vaultUrl, secretName, continuationState.continuationToken, updatedOptions)));
1901
1901
  continuationState.continuationToken = currentSetResponse.nextLink;
1902
1902
  if (currentSetResponse.value) {
1903
1903
  yield yield tslib.__await(currentSetResponse.value.map((bundle) => getSecretFromSecretBundle(bundle).properties));