Skip to content

Commit

Permalink
Revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
stevehenty committed Dec 5, 2024
1 parent 71b8d67 commit e0d5d24
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions cypress/pages/common.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { CheckoutOptions, CheckoutPopupEvents } from '../../src';
import { CheckoutResponse } from '../../src/lib/contracts/CheckoutResponse';

export const initOptions: CheckoutOptions = {
product_id: Number.parseInt(
Expand Down Expand Up @@ -48,7 +47,7 @@ export const eventListeners: CheckoutPopupEvents = {
afterClose() {
updateEventText(EVENT_LOG.AFTER_CLOSE);
},
success(data: CheckoutResponse | null) {
success() {
updateEventText(EVENT_LOG.SUCCESS);
},
track(event) {
Expand All @@ -57,7 +56,7 @@ export const eventListeners: CheckoutPopupEvents = {
afterOpen() {
updateEventText(EVENT_LOG.AFTER_OPEN);
},
purchaseCompleted(data: CheckoutResponse | null) {
purchaseCompleted() {
updateEventText(EVENT_LOG.PURCHASE_COMPLETED);
},
onExitIntent() {
Expand Down

0 comments on commit e0d5d24

Please sign in to comment.