Skip to content

Commit

Permalink
Updated index.d.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
al-af committed Oct 6, 2024
1 parent 2a293ee commit c5005a2
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,19 @@ declare module "react-native-appsflyer" {
create(config: PurchaseConnectorConfig): void;
startObservingTransactions(): void;
stopObservingTransactions(): void;
setSubscriptionValidationResultSuccess(
callback: (data:OnResponse<SubscriptionValidationResult>) => any
): () => void;
setSubscriptionValidationResultFailure(
callback: (data:onFailure) => any
): () => void;
setInAppValidationResultSuccess(
callback: (data:OnResponse<InAppPurchaseValidationResult>) => any
): () => void;
setInAppValidationResultFailure(
callback: (data:onFailure) => any
): () => void;
/*
setSubscriptionValidationResultListener(
onResponse: OnResponse<SubscriptionValidationResult>,
onFailure: OnFailure
Expand All @@ -188,6 +201,7 @@ declare module "react-native-appsflyer" {
onResponse: OnResponse<InAppPurchaseValidationResult>,
onFailure: OnFailure
): void;
*/
setOnReceivePurchaseRevenueValidationInfo(
callback: onReceivePurchaseRevenueValidationInfo
): void;
Expand Down

0 comments on commit c5005a2

Please sign in to comment.