@bonnethood/common
Advanced tools
| import { Subjects } from './subjects'; | ||
| export interface PaymentCreatedEvent { | ||
| subject: Subjects.PaymentCreated; | ||
| data: { | ||
| id: string; | ||
| orderId: string; | ||
| stripeId: string; | ||
| }; | ||
| } |
| "use strict"; | ||
| Object.defineProperty(exports, "__esModule", { value: true }); |
@@ -6,3 +6,4 @@ export declare enum Subjects { | ||
| OrderCancelled = "order:cancelled", | ||
| ExpirationComplete = "expiration:complete" | ||
| ExpirationComplete = "expiration:complete", | ||
| PaymentCreated = "payment:created" | ||
| } |
@@ -11,2 +11,3 @@ "use strict"; | ||
| Subjects["ExpirationComplete"] = "expiration:complete"; | ||
| Subjects["PaymentCreated"] = "payment:created"; | ||
| })(Subjects = exports.Subjects || (exports.Subjects = {})); |
+1
-0
@@ -20,1 +20,2 @@ export * from './errors/bad-request-error'; | ||
| export * from './events/expiration-complete-event'; | ||
| export * from './events/payment-created-event'; |
+1
-0
@@ -33,1 +33,2 @@ "use strict"; | ||
| __exportStar(require("./events/expiration-complete-event"), exports); | ||
| __exportStar(require("./events/payment-created-event"), exports); |
+1
-1
| { | ||
| "name": "@bonnethood/common", | ||
| "version": "1.0.21", | ||
| "version": "1.0.22", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
22578
2.22%43
4.88%585
2.63%