@azure/attestation 1.0.1-alpha.20240827.1 → 1.0.1-alpha.20240829.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.
Files changed (43) hide show
  1. package/dist/index.js +15 -15
  2. package/dist/index.js.map +1 -1
  3. package/dist-esm/src/attestationAdministrationClient.js +1 -1
  4. package/dist-esm/src/attestationAdministrationClient.js.map +1 -1
  5. package/dist-esm/src/attestationClient.js +1 -1
  6. package/dist-esm/src/attestationClient.js.map +1 -1
  7. package/dist-esm/src/index.js +1 -1
  8. package/dist-esm/src/index.js.map +1 -1
  9. package/dist-esm/src/logger.js +1 -1
  10. package/dist-esm/src/logger.js.map +1 -1
  11. package/dist-esm/src/models/attestationPolicyToken.js +1 -1
  12. package/dist-esm/src/models/attestationPolicyToken.js.map +1 -1
  13. package/dist-esm/src/models/attestationResponse.js +1 -1
  14. package/dist-esm/src/models/attestationResponse.js.map +1 -1
  15. package/dist-esm/src/models/attestationResult.js +1 -1
  16. package/dist-esm/src/models/attestationResult.js.map +1 -1
  17. package/dist-esm/src/models/attestationSigner.js +1 -1
  18. package/dist-esm/src/models/attestationSigner.js.map +1 -1
  19. package/dist-esm/src/models/attestationToken.js +1 -1
  20. package/dist-esm/src/models/attestationToken.js.map +1 -1
  21. package/dist-esm/src/models/index.js +1 -1
  22. package/dist-esm/src/models/index.js.map +1 -1
  23. package/dist-esm/src/models/policyResult.js +1 -1
  24. package/dist-esm/src/models/policyResult.js.map +1 -1
  25. package/dist-esm/src/models/storedAttestationPolicy.js +1 -1
  26. package/dist-esm/src/models/storedAttestationPolicy.js.map +1 -1
  27. package/dist-esm/src/utils/base64.browser.js +1 -1
  28. package/dist-esm/src/utils/base64.browser.js.map +1 -1
  29. package/dist-esm/src/utils/base64.js +1 -1
  30. package/dist-esm/src/utils/base64.js.map +1 -1
  31. package/dist-esm/src/utils/buffer.browser.js +1 -1
  32. package/dist-esm/src/utils/buffer.browser.js.map +1 -1
  33. package/dist-esm/src/utils/buffer.js +1 -1
  34. package/dist-esm/src/utils/buffer.js.map +1 -1
  35. package/dist-esm/src/utils/helpers.js +1 -1
  36. package/dist-esm/src/utils/helpers.js.map +1 -1
  37. package/dist-esm/src/utils/textEncoding.browser.js +1 -1
  38. package/dist-esm/src/utils/textEncoding.browser.js.map +1 -1
  39. package/dist-esm/src/utils/typeDeserializer.js +1 -1
  40. package/dist-esm/src/utils/typeDeserializer.js.map +1 -1
  41. package/dist-esm/src/utils/utf8.js +1 -1
  42. package/dist-esm/src/utils/utf8.js.map +1 -1
  43. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -71,7 +71,7 @@ exports.KnownPolicyModification = void 0;
71
71
  })(exports.KnownPolicyModification || (exports.KnownPolicyModification = {}));
72
72
 
73
73
  // Copyright (c) Microsoft Corporation.
74
- // Licensed under the MIT license.
74
+ // Licensed under the MIT License.
75
75
  const decoder = typeof Buffer === "undefined" ? new TextDecoder("ascii") : undefined;
76
76
  const encoder = typeof Buffer === "undefined" ? new TextEncoder() : undefined;
77
77
  const decode = decoder
@@ -98,7 +98,7 @@ function bytesToString(content) {
98
98
  }
99
99
 
100
100
  // Copyright (c) Microsoft Corporation.
101
- // Licensed under the MIT license.
101
+ // Licensed under the MIT License.
102
102
  /**
103
103
  * The TypeDeserializer class enables easy access to the Attestation Model serialization
104
104
  * and deserialization APIs.
@@ -881,7 +881,7 @@ var Mappers = /*#__PURE__*/Object.freeze({
881
881
  });
882
882
 
883
883
  // Copyright (c) Microsoft Corporation.
884
- // Licensed under the MIT license.
884
+ // Licensed under the MIT License.
885
885
  /*
886
886
  * Copyright (c) Microsoft Corporation.
887
887
  * Licensed under the MIT License.
@@ -914,7 +914,7 @@ class StoredAttestationPolicy {
914
914
  }
915
915
 
916
916
  // Copyright (c) Microsoft Corporation.
917
- // Licensed under the MIT license.
917
+ // Licensed under the MIT License.
918
918
  /**
919
919
  * Encodes a string in base64 format.
920
920
  * @param value - the string to encode
@@ -966,7 +966,7 @@ function hexToByteArray(value) {
966
966
  }
967
967
 
968
968
  // Copyright (c) Microsoft Corporation.
969
- // Licensed under the MIT license.
969
+ // Licensed under the MIT License.
970
970
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
971
971
  /// <reference path="../jsrsasign.d.ts"/>
972
972
  /** Create an AttestationSigningKey from the provided private key and certificate.
@@ -1020,7 +1020,7 @@ function hexToBase64(value) {
1020
1020
  }
1021
1021
 
1022
1022
  // Copyright (c) Microsoft Corporation.
1023
- // Licensed under the MIT license.
1023
+ // Licensed under the MIT License.
1024
1024
  /**
1025
1025
  *
1026
1026
  * @param key - JsonWebKey for signing key.
@@ -1037,7 +1037,7 @@ function _attestationSignerFromGenerated(key) {
1037
1037
  }
1038
1038
 
1039
1039
  // Copyright (c) Microsoft Corporation.
1040
- // Licensed under the MIT license.
1040
+ // Licensed under the MIT License.
1041
1041
  // eslint-disable-next-line @typescript-eslint/triple-slash-reference
1042
1042
  /// <reference path="../jsrsasign.d.ts"/>
1043
1043
  /**
@@ -1383,7 +1383,7 @@ function safeJsonParse(thing) {
1383
1383
  }
1384
1384
 
1385
1385
  // Copyright (c) Microsoft Corporation.
1386
- // Licensed under the MIT license.
1386
+ // Licensed under the MIT License.
1387
1387
  /** Constructs an AttestationToken containing an Attestation Policy document.
1388
1388
  *
1389
1389
  * @param policy - Attestation policy to embed in the attestation token.
@@ -2053,7 +2053,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
2053
2053
  }
2054
2054
 
2055
2055
  // Copyright (c) Microsoft Corporation.
2056
- // Licensed under the MIT license.
2056
+ // Licensed under the MIT License.
2057
2057
  /**
2058
2058
  * The \@azure/logger configuration for this package.
2059
2059
  *
@@ -2062,7 +2062,7 @@ class GeneratedClient extends coreClient__namespace.ServiceClient {
2062
2062
  const logger = logger$1.createClientLogger("attestation");
2063
2063
 
2064
2064
  // Copyright (c) Microsoft Corporation.
2065
- // Licensed under the MIT license.
2065
+ // Licensed under the MIT License.
2066
2066
  /** Create an AttestationResponse object.
2067
2067
  *
2068
2068
  * @param token - Token which was returned from the attestation service.
@@ -2075,7 +2075,7 @@ function createAttestationResponse(token, value) {
2075
2075
  }
2076
2076
 
2077
2077
  // Copyright (c) Microsoft Corporation.
2078
- // Licensed under the MIT license.
2078
+ // Licensed under the MIT License.
2079
2079
  /**
2080
2080
  * A Microsoft Azure Attestation response token body - the body of a response token issued by MAA
2081
2081
  */
@@ -2242,7 +2242,7 @@ function _attestationResultFromGenerated(generated) {
2242
2242
  }
2243
2243
 
2244
2244
  // Copyright (c) Microsoft Corporation.
2245
- // Licensed under the MIT license.
2245
+ // Licensed under the MIT License.
2246
2246
  /**
2247
2247
  * Converts an attestation input from Uint8Array/Buffer/Blob to Uint8Array.
2248
2248
  *
@@ -2261,7 +2261,7 @@ async function Uint8ArrayFromInput(input) {
2261
2261
  }
2262
2262
 
2263
2263
  // Copyright (c) Microsoft Corporation.
2264
- // Licensed under the MIT license.
2264
+ // Licensed under the MIT License.
2265
2265
  /**
2266
2266
  * Attestation Client class.
2267
2267
  *
@@ -2482,7 +2482,7 @@ class AttestationClient {
2482
2482
  }
2483
2483
 
2484
2484
  // Copyright (c) Microsoft Corporation.
2485
- // Licensed under the MIT license.
2485
+ // Licensed under the MIT License.
2486
2486
  /**
2487
2487
  * Create a new instance of a {@link PolicyResult} from a raw JSON object.
2488
2488
  * @param rawJson - JSON Policy Result object returned from the Attestation service.
@@ -2502,7 +2502,7 @@ function _policyResultFromGenerated(rawJson) {
2502
2502
  }
2503
2503
 
2504
2504
  // Copyright (c) Microsoft Corporation.
2505
- // Licensed under the MIT license.
2505
+ // Licensed under the MIT License.
2506
2506
  /**
2507
2507
  * Attestation Client class.
2508
2508
  *