diff --git a/package.json b/package.json index 9e6be2a..afea622 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@icpay/sdk", - "version": "1.3.56", + "version": "1.3.57", "description": "Official icpay SDK for Internet Computer payments", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/types/index.ts b/src/types/index.ts index 8d5323d..d1fa58d 100644 --- a/src/types/index.ts +++ b/src/types/index.ts @@ -116,7 +116,7 @@ export interface TransactionResponse { timestamp: Date; description?: string; metadata?: Record; - payment?: PaymentObject; + payment?: PublicNotifyResponse; } export interface TransactionStatus { @@ -534,9 +534,3 @@ export interface PaymentIntent { createdAt: string; } -export interface PaymentObject { - payment: any; - intent: any; - invoice?: any; - transaction?: any; -}