From 11ec670e899858c543dccf09acc46157a4c1bfc9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9D=B4=EA=B8=B0=EC=98=81?= <124127312+kylee001@users.noreply.github.com> Date: Mon, 2 Sep 2024 19:56:41 +0900 Subject: [PATCH] Fix registerAfter/BeforeValidatePurchaseGoogle defined double times (#157) --- index.d.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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.