@aws-sdk/client-payment-cryptography-data 3.398.0 → 3.404.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.
|
@@ -395,6 +395,7 @@ const MacAttributesFilterSensitiveLog = (obj) => {
|
|
|
395
395
|
exports.MacAttributesFilterSensitiveLog = MacAttributesFilterSensitiveLog;
|
|
396
396
|
const GenerateMacInputFilterSensitiveLog = (obj) => ({
|
|
397
397
|
...obj,
|
|
398
|
+
...(obj.MessageData && { MessageData: smithy_client_1.SENSITIVE_STRING }),
|
|
398
399
|
...(obj.GenerationAttributes && { GenerationAttributes: (0, exports.MacAttributesFilterSensitiveLog)(obj.GenerationAttributes) }),
|
|
399
400
|
});
|
|
400
401
|
exports.GenerateMacInputFilterSensitiveLog = GenerateMacInputFilterSensitiveLog;
|
|
@@ -455,6 +456,7 @@ const TranslatePinDataInputFilterSensitiveLog = (obj) => ({
|
|
|
455
456
|
...(obj.OutgoingTranslationAttributes && {
|
|
456
457
|
OutgoingTranslationAttributes: (0, exports.TranslationIsoFormatsFilterSensitiveLog)(obj.OutgoingTranslationAttributes),
|
|
457
458
|
}),
|
|
459
|
+
...(obj.EncryptedPinBlock && { EncryptedPinBlock: smithy_client_1.SENSITIVE_STRING }),
|
|
458
460
|
});
|
|
459
461
|
exports.TranslatePinDataInputFilterSensitiveLog = TranslatePinDataInputFilterSensitiveLog;
|
|
460
462
|
const SessionKeyAmexFilterSensitiveLog = (obj) => ({
|
|
@@ -513,6 +515,8 @@ const VerifyCardValidationDataInputFilterSensitiveLog = (obj) => ({
|
|
|
513
515
|
exports.VerifyCardValidationDataInputFilterSensitiveLog = VerifyCardValidationDataInputFilterSensitiveLog;
|
|
514
516
|
const VerifyMacInputFilterSensitiveLog = (obj) => ({
|
|
515
517
|
...obj,
|
|
518
|
+
...(obj.MessageData && { MessageData: smithy_client_1.SENSITIVE_STRING }),
|
|
519
|
+
...(obj.Mac && { Mac: smithy_client_1.SENSITIVE_STRING }),
|
|
516
520
|
...(obj.VerificationAttributes && {
|
|
517
521
|
VerificationAttributes: (0, exports.MacAttributesFilterSensitiveLog)(obj.VerificationAttributes),
|
|
518
522
|
}),
|
|
@@ -375,6 +375,7 @@ export const MacAttributesFilterSensitiveLog = (obj) => {
|
|
|
375
375
|
};
|
|
376
376
|
export const GenerateMacInputFilterSensitiveLog = (obj) => ({
|
|
377
377
|
...obj,
|
|
378
|
+
...(obj.MessageData && { MessageData: SENSITIVE_STRING }),
|
|
378
379
|
...(obj.GenerationAttributes && { GenerationAttributes: MacAttributesFilterSensitiveLog(obj.GenerationAttributes) }),
|
|
379
380
|
});
|
|
380
381
|
export const GeneratePinDataInputFilterSensitiveLog = (obj) => ({
|
|
@@ -428,6 +429,7 @@ export const TranslatePinDataInputFilterSensitiveLog = (obj) => ({
|
|
|
428
429
|
...(obj.OutgoingTranslationAttributes && {
|
|
429
430
|
OutgoingTranslationAttributes: TranslationIsoFormatsFilterSensitiveLog(obj.OutgoingTranslationAttributes),
|
|
430
431
|
}),
|
|
432
|
+
...(obj.EncryptedPinBlock && { EncryptedPinBlock: SENSITIVE_STRING }),
|
|
431
433
|
});
|
|
432
434
|
export const SessionKeyAmexFilterSensitiveLog = (obj) => ({
|
|
433
435
|
...obj,
|
|
@@ -477,6 +479,8 @@ export const VerifyCardValidationDataInputFilterSensitiveLog = (obj) => ({
|
|
|
477
479
|
});
|
|
478
480
|
export const VerifyMacInputFilterSensitiveLog = (obj) => ({
|
|
479
481
|
...obj,
|
|
482
|
+
...(obj.MessageData && { MessageData: SENSITIVE_STRING }),
|
|
483
|
+
...(obj.Mac && { Mac: SENSITIVE_STRING }),
|
|
480
484
|
...(obj.VerificationAttributes && {
|
|
481
485
|
VerificationAttributes: MacAttributesFilterSensitiveLog(obj.VerificationAttributes),
|
|
482
486
|
}),
|
|
@@ -85,7 +85,7 @@ export interface EncryptDataCommandOutput extends EncryptDataOutput, __MetadataB
|
|
|
85
85
|
* const response = await client.send(command);
|
|
86
86
|
* // { // EncryptDataOutput
|
|
87
87
|
* // KeyArn: "STRING_VALUE", // required
|
|
88
|
-
* // KeyCheckValue: "STRING_VALUE",
|
|
88
|
+
* // KeyCheckValue: "STRING_VALUE",
|
|
89
89
|
* // CipherText: "STRING_VALUE", // required
|
|
90
90
|
* // };
|
|
91
91
|
*
|
|
@@ -898,7 +898,7 @@ export interface EncryptDataOutput {
|
|
|
898
898
|
* @public
|
|
899
899
|
* <p>The key check value (KCV) of the encryption key. The KCV is used to check if all parties holding a given key have the same key or to detect that a key has changed. Amazon Web Services Payment Cryptography calculates the KCV by using standard algorithms, typically by encrypting 8 or 16 bytes or "00" or "01" and then truncating the result to the first 3 bytes, or 6 hex digits, of the resulting cryptogram.</p>
|
|
900
900
|
*/
|
|
901
|
-
KeyCheckValue
|
|
901
|
+
KeyCheckValue?: string;
|
|
902
902
|
/**
|
|
903
903
|
* @public
|
|
904
904
|
* <p>The encrypted ciphertext.</p>
|
|
@@ -464,7 +464,7 @@ export interface EncryptDataInput {
|
|
|
464
464
|
}
|
|
465
465
|
export interface EncryptDataOutput {
|
|
466
466
|
KeyArn: string | undefined;
|
|
467
|
-
KeyCheckValue
|
|
467
|
+
KeyCheckValue?: string;
|
|
468
468
|
CipherText: string | undefined;
|
|
469
469
|
}
|
|
470
470
|
export interface GenerateCardValidationDataInput {
|
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.
|
|
4
|
+
"version": "3.404.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|