Skip to content

Commit

Permalink
add android specific types for purchase
Browse files Browse the repository at this point in the history
in hyochan/react-native-iap#31 and the associated pull request, #32, the data and signature params were added for android. This would bring the types into sync with this change
  • Loading branch information
dev-arrow committed May 31, 2023
1 parent a84740c commit 852b08a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ export interface ProductPurchase {
transactionId: string;
transactionDate: string;
transactionReceipt: string;
signature?: string,
data?: string
}

export interface SubscriptionPurchase extends ProductPurchase {
Expand Down

0 comments on commit 852b08a

Please sign in to comment.