resurgence-data 1.1.54 → 1.1.55
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.
@@ -80,7 +80,7 @@ __decorate([
|
|
80
80
|
__decorate([
|
81
81
|
(0, swagger_1.ApiProperty)({ description: "Total amount of the transaction" }),
|
82
82
|
(0, class_validator_1.IsNotEmpty)({ message: "Transaction Total is required" }),
|
83
|
-
(0, class_validator_1.
|
83
|
+
(0, class_validator_1.IsInt)({ message: "Invalid transaction total format" }),
|
84
84
|
__metadata("design:type", Number)
|
85
85
|
], PaymentRequestDto.prototype, "transactionTotal", void 0);
|
86
86
|
__decorate([
|
package/package.json
CHANGED
@@ -70,7 +70,7 @@ export class PaymentRequestDto {
|
|
70
70
|
|
71
71
|
@ApiProperty({ description: "Total amount of the transaction" })
|
72
72
|
@IsNotEmpty({ message: "Transaction Total is required" })
|
73
|
-
@
|
73
|
+
@IsInt({ message: "Invalid transaction total format" })
|
74
74
|
transactionTotal: number;
|
75
75
|
|
76
76
|
@ApiProperty({ description: "Charge currency" })
|