@nicefer/types 1.0.144 → 1.0.146

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.
@@ -1,5 +1,4 @@
1
1
  import { PaymentIntent } from "@stripe/stripe-js";
2
- import { Country } from "../countries";
3
2
  export type Currency = 'HNL' | 'EUR' | 'USD';
4
3
  export type DonationStatus = 'pending_pay' | 'pending' | 'payment_error' | 'processing' | 'resolve' | 'rejected' | 'expired' | 'used';
5
4
  export type ItemType = 'none' | 'event' | 'operating_expenses' | 'reversed';
@@ -21,7 +20,6 @@ export interface Donation {
21
20
  id: string;
22
21
  donorId: string;
23
22
  fullname: string;
24
- country: Country;
25
23
  anonymous: boolean;
26
24
  charges: {
27
25
  subtotal: number;
@@ -30,7 +30,7 @@ export interface PaymentInDB {
30
30
  * @property ccy {@link PaymentCCY}
31
31
  * Moneda en la que se ejecutará el pago.
32
32
  */
33
- ccy: 'HNL' | 'USD';
33
+ ccy: 'HNL' | 'USD' | 'EUR';
34
34
  /**
35
35
  * @property {Timestamp} `createdAt`
36
36
  * Fecha y hora en que se generó la transacción,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.144",
3
+ "version": "1.0.146",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",