aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/@exodus/bytes/wif.d.ts
diff options
context:
space:
mode:
authorAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
committerAdam Mathes <adam@adammathes.com>2026-02-14 14:46:37 -0800
commitafa87af01c79a9baa539f2992d32154d2a4739bd (patch)
tree92c7416db734270a2fee1d72ee9cc119379ff8e1 /vanilla/node_modules/@exodus/bytes/wif.d.ts
parent3b927e84d200402281f68181cd4253bc77e5528d (diff)
downloadneko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.gz
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.tar.bz2
neko-afa87af01c79a9baa539f2992d32154d2a4739bd.zip
task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq
Diffstat (limited to 'vanilla/node_modules/@exodus/bytes/wif.d.ts')
-rw-r--r--vanilla/node_modules/@exodus/bytes/wif.d.ts76
1 files changed, 0 insertions, 76 deletions
diff --git a/vanilla/node_modules/@exodus/bytes/wif.d.ts b/vanilla/node_modules/@exodus/bytes/wif.d.ts
deleted file mode 100644
index 6e038a1..0000000
--- a/vanilla/node_modules/@exodus/bytes/wif.d.ts
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * Wallet Import Format (WIF) encoding and decoding.
- *
- * ```js
- * import { fromWifString, toWifString } from '@exodus/bytes/wif.js'
- * import { fromWifStringSync, toWifStringSync } from '@exodus/bytes/wif.js'
- * ```
- *
- * On non-Node.js, requires peer dependency [@noble/hashes](https://www.npmjs.com/package/@noble/hashes) to be installed.
- *
- * @module @exodus/bytes/wif.js
- */
-
-/// <reference types="node" />
-
-import type { Uint8ArrayBuffer } from './array.js';
-
-/**
- * WIF (Wallet Import Format) data structure
- */
-export interface Wif {
- /** Network version byte */
- version: number;
- /** 32-byte private key */
- privateKey: Uint8ArrayBuffer;
- /** Whether the key is compressed */
- compressed: boolean;
-}
-
-/**
- * Decode a WIF string to WIF data
- *
- * Returns a promise that resolves to an object with `{ version, privateKey, compressed }`.
- *
- * The optional `version` parameter validates the version byte.
- *
- * Throws if the WIF string is invalid or version doesn't match.
- *
- * @param string - The WIF encoded string
- * @param version - Optional expected version byte to validate against
- * @returns The decoded WIF data
- * @throws Error if the WIF string is invalid or version doesn't match
- */
-export function fromWifString(string: string, version?: number): Promise<Wif>;
-
-/**
- * Decode a WIF string to WIF data (synchronous)
- *
- * Returns an object with `{ version, privateKey, compressed }`.
- *
- * The optional `version` parameter validates the version byte.
- *
- * Throws if the WIF string is invalid or version doesn't match.
- *
- * @param string - The WIF encoded string
- * @param version - Optional expected version byte to validate against
- * @returns The decoded WIF data
- * @throws Error if the WIF string is invalid or version doesn't match
- */
-export function fromWifStringSync(string: string, version?: number): Wif;
-
-/**
- * Encode WIF data to a WIF string
- *
- * @param wif - The WIF data to encode
- * @returns The WIF encoded string
- */
-export function toWifString(wif: Wif): Promise<string>;
-
-/**
- * Encode WIF data to a WIF string (synchronous)
- *
- * @param wif - The WIF data to encode
- * @returns The WIF encoded string
- */
-export function toWifStringSync(wif: Wif): string;