Skip to content

Commit

Permalink
Regenerate and Release Attestation SDK (#13279)
Browse files Browse the repository at this point in the history
* Regenerate and Release Attestation SDK

* Update Version
  • Loading branch information
sarangan12 authored Jan 19, 2021
1 parent e209d74 commit 4b10bd3
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 12 deletions.
3 changes: 2 additions & 1 deletion sdk/attestation/attestation/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Release History

## 1.0.0-beta.2 (Unreleased)
## 1.0.0-beta.2 (2021-01-19)

Regenerated Attestation SDK. The properties alg, kid and use in JsonWebKey object have been marked as optional.

## 1.0.0-beta.1 (2021-01-15)

Expand Down
6 changes: 3 additions & 3 deletions sdk/attestation/attestation/review/attestation.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -160,20 +160,20 @@ export interface InitTimeData {

// @public (undocumented)
export interface JsonWebKey {
alg: string;
alg?: string;
crv?: string;
d?: string;
dp?: string;
dq?: string;
e?: string;
k?: string;
kid: string;
kid?: string;
kty: string;
n?: string;
p?: string;
q?: string;
qi?: string;
use: string;
use?: string;
x?: string;
x5C?: string[];
y?: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import * as coreHttp from "@azure/core-http";
import { AttestationClientOptionalParams } from "./models";

const packageName = "@azure/attestation";
const packageVersion = "1.0.0-beta.1";
const packageVersion = "1.0.0-beta.2";

export class AttestationClientContext extends coreHttp.ServiceClient {
instanceUrl: string;
Expand Down
6 changes: 3 additions & 3 deletions sdk/attestation/attestation/src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export interface JsonWebKey {
* established by [JWA] or be a value that contains a Collision-
* Resistant Name.
*/
alg: string;
alg?: string;
/**
* The "crv" (curve) parameter identifies the curve type
*/
Expand Down Expand Up @@ -219,7 +219,7 @@ export interface JsonWebKey {
* equivalent alternatives by the application using them.) The "kid"
* value is a case-sensitive string.
*/
kid: string;
kid?: string;
/**
* The "kty" (key type) parameter identifies the cryptographic algorithm
* family used with the key, such as "RSA" or "EC". "kty" values should
Expand Down Expand Up @@ -250,7 +250,7 @@ export interface JsonWebKey {
* a public key is used for encrypting data or verifying the signature
* on data. Values are commonly "sig" (signature) or "enc" (encryption).
*/
use: string;
use?: string;
/**
* X coordinate for the Elliptic Curve point
*/
Expand Down
3 changes: 0 additions & 3 deletions sdk/attestation/attestation/src/models/mappers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,6 @@ export const JsonWebKey: coreHttp.CompositeMapper = {
modelProperties: {
alg: {
serializedName: "alg",
required: true,
type: {
name: "String"
}
Expand Down Expand Up @@ -330,7 +329,6 @@ export const JsonWebKey: coreHttp.CompositeMapper = {
},
kid: {
serializedName: "kid",
required: true,
type: {
name: "String"
}
Expand Down Expand Up @@ -368,7 +366,6 @@ export const JsonWebKey: coreHttp.CompositeMapper = {
},
use: {
serializedName: "use",
required: true,
type: {
name: "String"
}
Expand Down
2 changes: 1 addition & 1 deletion sdk/attestation/attestation/swagger/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

```yaml
package-name: "@azure/attestation"
package-version: 1.0.0-beta.1
package-version: 1.0.0-beta.2
generate-metadata: false
license-header: MICROSOFT_MIT_NO_VERSION
output-folder: ../
Expand Down

0 comments on commit 4b10bd3

Please sign in to comment.