@aws-sdk/client-payment-cryptography-data 3.845.0 → 3.847.0

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-cjs/index.js CHANGED
@@ -438,7 +438,8 @@ var EncryptionDecryptionAttributes;
438
438
  var KeyCheckValueAlgorithm = {
439
439
  ANSI_X9_24: "ANSI_X9_24",
440
440
  CMAC: "CMAC",
441
- HMAC: "HMAC"
441
+ HMAC: "HMAC",
442
+ SHA_1: "SHA_1"
442
443
  };
443
444
  var SymmetricKeyAlgorithm = {
444
445
  AES_128: "AES_128",
@@ -578,6 +579,7 @@ var DerivationMethodAttributes;
578
579
  })(DerivationMethodAttributes || (DerivationMethodAttributes = {}));
579
580
  var MacAlgorithm = {
580
581
  CMAC: "CMAC",
582
+ HMAC: "HMAC",
581
583
  HMAC_SHA224: "HMAC_SHA224",
582
584
  HMAC_SHA256: "HMAC_SHA256",
583
585
  HMAC_SHA384: "HMAC_SHA384",
@@ -128,6 +128,7 @@ export const KeyCheckValueAlgorithm = {
128
128
  ANSI_X9_24: "ANSI_X9_24",
129
129
  CMAC: "CMAC",
130
130
  HMAC: "HMAC",
131
+ SHA_1: "SHA_1",
131
132
  };
132
133
  export const SymmetricKeyAlgorithm = {
133
134
  AES_128: "AES_128",
@@ -241,6 +242,7 @@ export var DerivationMethodAttributes;
241
242
  })(DerivationMethodAttributes || (DerivationMethodAttributes = {}));
242
243
  export const MacAlgorithm = {
243
244
  CMAC: "CMAC",
245
+ HMAC: "HMAC",
244
246
  HMAC_SHA224: "HMAC_SHA224",
245
247
  HMAC_SHA256: "HMAC_SHA256",
246
248
  HMAC_SHA384: "HMAC_SHA384",
@@ -38,7 +38,7 @@ declare const GenerateMacCommand_base: {
38
38
  * KeyIdentifier: "STRING_VALUE", // required
39
39
  * MessageData: "STRING_VALUE", // required
40
40
  * GenerationAttributes: { // MacAttributes Union: only one key present
41
- * Algorithm: "ISO9797_ALGORITHM1" || "ISO9797_ALGORITHM3" || "CMAC" || "HMAC_SHA224" || "HMAC_SHA256" || "HMAC_SHA384" || "HMAC_SHA512",
41
+ * Algorithm: "ISO9797_ALGORITHM1" || "ISO9797_ALGORITHM3" || "CMAC" || "HMAC" || "HMAC_SHA224" || "HMAC_SHA256" || "HMAC_SHA384" || "HMAC_SHA512",
42
42
  * EmvMac: { // MacAlgorithmEmv
43
43
  * MajorKeyDerivationMode: "EMV_OPTION_A" || "EMV_OPTION_B", // required
44
44
  * PrimaryAccountNumber: "STRING_VALUE", // required
@@ -39,7 +39,7 @@ declare const VerifyMacCommand_base: {
39
39
  * MessageData: "STRING_VALUE", // required
40
40
  * Mac: "STRING_VALUE", // required
41
41
  * VerificationAttributes: { // MacAttributes Union: only one key present
42
- * Algorithm: "ISO9797_ALGORITHM1" || "ISO9797_ALGORITHM3" || "CMAC" || "HMAC_SHA224" || "HMAC_SHA256" || "HMAC_SHA384" || "HMAC_SHA512",
42
+ * Algorithm: "ISO9797_ALGORITHM1" || "ISO9797_ALGORITHM3" || "CMAC" || "HMAC" || "HMAC_SHA224" || "HMAC_SHA256" || "HMAC_SHA384" || "HMAC_SHA512",
43
43
  * EmvMac: { // MacAlgorithmEmv
44
44
  * MajorKeyDerivationMode: "EMV_OPTION_A" || "EMV_OPTION_B", // required
45
45
  * PrimaryAccountNumber: "STRING_VALUE", // required
@@ -857,6 +857,7 @@ export declare const KeyCheckValueAlgorithm: {
857
857
  readonly ANSI_X9_24: "ANSI_X9_24";
858
858
  readonly CMAC: "CMAC";
859
859
  readonly HMAC: "HMAC";
860
+ readonly SHA_1: "SHA_1";
860
861
  };
861
862
  /**
862
863
  * @public
@@ -1497,6 +1498,7 @@ export interface GenerateCardValidationDataOutput {
1497
1498
  */
1498
1499
  export declare const MacAlgorithm: {
1499
1500
  readonly CMAC: "CMAC";
1501
+ readonly HMAC: "HMAC";
1500
1502
  readonly HMAC_SHA224: "HMAC_SHA224";
1501
1503
  readonly HMAC_SHA256: "HMAC_SHA256";
1502
1504
  readonly HMAC_SHA384: "HMAC_SHA384";
@@ -457,6 +457,7 @@ export declare const KeyCheckValueAlgorithm: {
457
457
  readonly ANSI_X9_24: "ANSI_X9_24";
458
458
  readonly CMAC: "CMAC";
459
459
  readonly HMAC: "HMAC";
460
+ readonly SHA_1: "SHA_1";
460
461
  };
461
462
  export type KeyCheckValueAlgorithm =
462
463
  (typeof KeyCheckValueAlgorithm)[keyof typeof KeyCheckValueAlgorithm];
@@ -712,6 +713,7 @@ export interface GenerateCardValidationDataOutput {
712
713
  }
713
714
  export declare const MacAlgorithm: {
714
715
  readonly CMAC: "CMAC";
716
+ readonly HMAC: "HMAC";
715
717
  readonly HMAC_SHA224: "HMAC_SHA224";
716
718
  readonly HMAC_SHA256: "HMAC_SHA256";
717
719
  readonly HMAC_SHA384: "HMAC_SHA384";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-payment-cryptography-data",
3
3
  "description": "AWS SDK for JavaScript Payment Cryptography Data Client for Node.js, Browser and React Native",
4
- "version": "3.845.0",
4
+ "version": "3.847.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-payment-cryptography-data",
@@ -20,17 +20,17 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.845.0",
24
- "@aws-sdk/credential-provider-node": "3.845.0",
23
+ "@aws-sdk/core": "3.846.0",
24
+ "@aws-sdk/credential-provider-node": "3.846.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-user-agent": "3.845.0",
28
+ "@aws-sdk/middleware-user-agent": "3.846.0",
29
29
  "@aws-sdk/region-config-resolver": "3.840.0",
30
30
  "@aws-sdk/types": "3.840.0",
31
31
  "@aws-sdk/util-endpoints": "3.845.0",
32
32
  "@aws-sdk/util-user-agent-browser": "3.840.0",
33
- "@aws-sdk/util-user-agent-node": "3.845.0",
33
+ "@aws-sdk/util-user-agent-node": "3.846.0",
34
34
  "@smithy/config-resolver": "^4.1.4",
35
35
  "@smithy/core": "^3.7.0",
36
36
  "@smithy/fetch-http-handler": "^5.1.0",