Skip to content

Commit

Permalink
Fix registerAfter/BeforeValidatePurchaseGoogle defined double times (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
kylee001 authored Sep 2, 2024
1 parent ddbbba7 commit 11ec670
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2268,15 +2268,15 @@ declare namespace nkruntime {
* @param fn - The function to execute before ValidatePurchaseGoogle.
* @throws {TypeError}
*/
registerBeforeValidatePurchaseGoogle(fn: BeforeHookFunction<ValidateSubscriptionGoogleRequest>): void;
registerBeforeValidateSubscriptionGoogle(fn: BeforeHookFunction<ValidateSubscriptionGoogleRequest>): void;

/**
* Register after Hook for RPC ValidatePurchaseGoogle function.
* Register after Hook for RPC ValidateSubscriptionGoogle function.
*
* @param fn - The function to execute after ValidatePurchaseGoogle.
* @param fn - The function to execute after ValidateSubscriptionGoogle.
* @throws {TypeError}
*/
registerAfterValidatePurchaseGoogle(fn: AfterHookFunction<ValidateSubscriptionResponse, ValidateSubscriptionGoogleRequest>): void;
registerAfterValidateSubscriptionGoogle(fn: AfterHookFunction<ValidateSubscriptionResponse, ValidateSubscriptionGoogleRequest>): void;

/**
* Register before Hook for RPC ValidatePurchaseHuawei function.
Expand Down

0 comments on commit 11ec670

Please sign in to comment.