From 20dac589b609b04aca712a840c5dbb63ca08ffdf Mon Sep 17 00:00:00 2001 From: Chris Duncan Date: Thu, 27 Mar 2025 22:51:29 -0700 Subject: [PATCH] Remove deprecated methods from types. --- src/types.d.ts | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/src/types.d.ts b/src/types.d.ts index 2b81a71..1f7bcc8 100644 --- a/src/types.d.ts +++ b/src/types.d.ts @@ -127,13 +127,6 @@ export declare class NanoPowGl { * Finds a nonce that satisfies the Nano proof-of-work requirements. * * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts - * @param {NanoPowOptions} options - Used to configure search execution - */ - static search (hash: string, options?: NanoPowOptions): Promise - /** - * Finds a nonce that satisfies the Nano proof-of-work requirements. - * - * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts * @param {NanoPowOptions} options - Options used to configure search execution */ static work_generate (hash: string, options?: NanoPowOptions): Promise @@ -144,14 +137,6 @@ export declare class NanoPowGl { * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts * @param {NanoPowOptions} options - Options used to configure search execution */ - static validate (work: string, hash: string, options?: NanoPowOptions): Promise - /** - * Validates that a nonce satisfies Nano proof-of-work requirements. - * - * @param {string} work - Hexadecimal proof-of-work value to validate - * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts - * @param {NanoPowOptions} options - Options used to configure search execution - */ static work_validate (work: string, hash: string, options?: NanoPowOptions): Promise } @@ -170,13 +155,6 @@ export declare class NanoPowGpu { * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts * @param {NanoPowOptions} options - Used to configure search execution */ - static search (hash: string, options?: NanoPowOptions): Promise - /** - * Finds a nonce that satisfies the Nano proof-of-work requirements. - * - * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts - * @param {NanoPowOptions} options - Used to configure search execution - */ static work_generate (hash: string, options?: NanoPowOptions): Promise /** * Validates that a nonce satisfies Nano proof-of-work requirements. @@ -185,13 +163,5 @@ export declare class NanoPowGpu { * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts * @param {NanoPowOptions} options - Options used to configure search execution */ - static validate (work: string, hash: string, options?: NanoPowOptions): Promise - /** - * Validates that a nonce satisfies Nano proof-of-work requirements. - * - * @param {string} work - Hexadecimal proof-of-work value to validate - * @param {string} hash - Hexadecimal hash of previous block, or public key for new accounts - * @param {NanoPowOptions} options - Options used to configure search execution - */ static work_validate (work: string, hash: string, options?: NanoPowOptions): Promise } -- 2.34.1