diff --git a/index.d.ts b/index.d.ts index 4ff23e5..f18794b 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2268,15 +2268,15 @@ declare namespace nkruntime { * @param fn - The function to execute before ValidatePurchaseGoogle. * @throws {TypeError} */ - registerBeforeValidatePurchaseGoogle(fn: BeforeHookFunction): void; + registerBeforeValidateSubscriptionGoogle(fn: BeforeHookFunction): 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): void; + registerAfterValidateSubscriptionGoogle(fn: AfterHookFunction): void; /** * Register before Hook for RPC ValidatePurchaseHuawei function.