Skip to content

Commit 6947393

Browse files
committed
fix typo
1 parent ab44494 commit 6947393

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ declare module "react-native-appsflyer" {
104104

105105
export enum AFPurchaseType {
106106
SUBSCRIPTION = "subscription",
107-
ONE_TIME_PURCHASE = "one-time-purchase"
107+
ONE_TIME_PURCHASE = "one_time_purchase"
108108
}
109109

110110
export interface AFPurchaseDetails {

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ appsFlyer.disableCollectASA = (shouldDisable) => {
878878
// Export AFPurchaseType enum for the new validateAndLogInAppPurchase API
879879
export const AFPurchaseType = {
880880
SUBSCRIPTION: "subscription",
881-
ONE_TIME_PURCHASE: "one-time-purchase"
881+
ONE_TIME_PURCHASE: "one_time_purchase"
882882
};
883883

884884
/**

0 commit comments

Comments
 (0)