@miden-npm/angular 2.0.9 → 2.1.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.
@@ -2249,7 +2249,7 @@ class PayByCardComponent {
2249
2249
  processedResponse.transactionReference.trim() !== '') {
2250
2250
  this.paymentAuthorized.emit({
2251
2251
  paymentId: processedResponse.transactionReference,
2252
- paymentDate: response.data.updatedAt,
2252
+ paymentDate: response.data.updatedAt ?? new Date().toISOString(),
2253
2253
  paymentStatus: 'authorized',
2254
2254
  message: this.message,
2255
2255
  });