Skip to content

Commit 38fc9d9

Browse files
[Confidential Ledger] package version update (Azure#22609)
### Packages impacted by this PR ### Issues associated with this PR ### Describe the problem that is addressed by this PR ### What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen? ### Are there test cases added in this PR? _(If not, why?)_ ### Provide a list of related PRs _(if any)_ ### Command used to generate this PR:**_(Applicable only to SDK release request PRs)_ ### Checklists - [ ] Added impacted package name to the issue description - [ ] Does this PR needs any fixes in the SDK Generator?** _(If so, create an Issue in the [Autorest/typescript](https://github.com/Azure/autorest.typescript) repository and link it here)_ - [x] Added a changelog (if necessary)
1 parent 62662f5 commit 38fc9d9

File tree

6 files changed

+13
-11
lines changed

6 files changed

+13
-11
lines changed

sdk/confidentialledger/confidential-ledger-rest/CHANGELOG.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Release History
22

3-
## 1.0.0-beta.3 (Unreleased)
4-
3+
## 1.0.0 (2022-07-18)
4+
- Pageable collections and consortium endpoints
5+
- Renaming ledgerUri to ledgerEndpoint
6+
- postLedgerEntry changed to createLedgerEntry
57

68
## 1.0.0-beta.2 (2021-05-12)
79

sdk/confidentialledger/confidential-ledger-rest/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"sdk-type": "client",
44
"author": "Microsoft Corporation",
55
"description": "An isomorphic rest level client library for the Azure Confidential Ledger service.",
6-
"version": "1.0.0-beta.3",
6+
"version": "1.0.0",
77
"keywords": [
88
"node",
99
"azure",

sdk/confidentialledger/confidential-ledger-rest/review/confidential-ledger.api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,10 @@ export interface CollectionOutput {
2121
}
2222

2323
// @public (undocumented)
24-
function ConfidentialLedger(ledgerBaseUrl: string, ledgerIdentityCertificate: string, options?: ClientOptions): ConfidentialLedgerClient;
24+
function ConfidentialLedger(ledgerEndpoint: string, ledgerIdentityCertificate: string, options?: ClientOptions): ConfidentialLedgerClient;
2525

2626
// @public (undocumented)
27-
function ConfidentialLedger(ledgerBaseUrl: string, ledgerIdentityCertificate: string, credentials: TokenCredential, options?: ClientOptions): ConfidentialLedgerClient;
27+
function ConfidentialLedger(ledgerEndpoint: string, ledgerIdentityCertificate: string, credentials: TokenCredential, options?: ClientOptions): ConfidentialLedgerClient;
2828
export default ConfidentialLedger;
2929

3030
// @public (undocumented)

sdk/confidentialledger/confidential-ledger-rest/src/confidentialLedger.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,18 @@ import { ConfidentialLedgerClient } from "./generated/src/clientDefinitions";
88
import GeneratedConfidentialLedger from "./generated/src/confidentialLedger";
99

1010
export default function ConfidentialLedger(
11-
ledgerBaseUrl: string,
11+
ledgerEndpoint: string,
1212
ledgerIdentityCertificate: string,
1313
options?: ClientOptions
1414
): ConfidentialLedgerClient;
1515
export default function ConfidentialLedger(
16-
ledgerBaseUrl: string,
16+
ledgerEndpoint: string,
1717
ledgerIdentityCertificate: string,
1818
credentials: TokenCredential,
1919
options?: ClientOptions
2020
): ConfidentialLedgerClient;
2121
export default function ConfidentialLedger(
22-
ledgerBaseUrl: string,
22+
ledgerEndpoint: string,
2323
ledgerIdentityCertificate: string,
2424
credentialsOrOptions?: TokenCredential | ClientOptions,
2525
opts?: ClientOptions
@@ -36,7 +36,7 @@ export default function ConfidentialLedger(
3636

3737
const tlsOptions = options?.tlsOptions ?? {};
3838
tlsOptions.ca = ledgerIdentityCertificate;
39-
const confidentialLedger = GeneratedConfidentialLedger(ledgerBaseUrl, credentials!, {
39+
const confidentialLedger = GeneratedConfidentialLedger(ledgerEndpoint, credentials!, {
4040
...options,
4141
tlsOptions,
4242
});

sdk/confidentialledger/confidential-ledger-rest/src/generated/src/confidentialLedger.ts

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/confidentialledger/confidential-ledger-rest/swagger/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ generate-metadata: false
1212
license-header: MICROSOFT_MIT_NO_VERSION
1313
output-folder: ../src/generated
1414
input-file: https://github.com/Azure/azure-rest-api-specs/blob/main/specification/confidentialledger/data-plane/Microsoft.ConfidentialLedger/stable/2022-05-13/confidentialledger.json
15-
package-version: 1.0.0-beta.3
15+
package-version: 1.0.0
1616
hide-clients: true
1717
rest-level-client: true
1818
security: 'AADToken'

0 commit comments

Comments
 (0)