aboutsummaryrefslogtreecommitdiffstats
path: root/vanilla/node_modules/@exodus/bytes/bech32.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/bech32.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/bech32.d.ts')
-rw-r--r--vanilla/node_modules/@exodus/bytes/bech32.d.ts76
1 files changed, 0 insertions, 76 deletions
diff --git a/vanilla/node_modules/@exodus/bytes/bech32.d.ts b/vanilla/node_modules/@exodus/bytes/bech32.d.ts
deleted file mode 100644
index 67d6476..0000000
--- a/vanilla/node_modules/@exodus/bytes/bech32.d.ts
+++ /dev/null
@@ -1,76 +0,0 @@
-/**
- * Implements bech32 and bech32m from
- * [BIP-0173](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#specification)
- * and [BIP-0350](https://github.com/bitcoin/bips/blob/master/bip-0350.mediawiki#specification).
- *
- * ```js
- * import { fromBech32, toBech32 } from '@exodus/bytes/bech32.js'
- * import { fromBech32m, toBech32m } from '@exodus/bytes/bech32.js'
- * import { getPrefix } from '@exodus/bytes/bech32.js'
- * ```
- *
- * @module @exodus/bytes/bech32.js
- */
-
-/// <reference types="node" />
-
-import type { Uint8ArrayBuffer } from './array.js';
-
-/**
- * Result of decoding a bech32 or bech32m string
- */
-export interface Bech32DecodeResult {
- /** The human-readable prefix */
- prefix: string;
- /** The decoded bytes */
- bytes: Uint8ArrayBuffer;
-}
-
-/**
- * Encode bytes to a bech32 string
- *
- * @param prefix - The human-readable prefix (e.g., 'bc' for Bitcoin)
- * @param bytes - The input bytes to encode
- * @param limit - Maximum length of the encoded string (default: 90)
- * @returns The bech32 encoded string
- */
-export function toBech32(prefix: string, bytes: Uint8Array, limit?: number): string;
-
-/**
- * Decode a bech32 string to bytes
- *
- * @param string - The bech32 encoded string
- * @param limit - Maximum length of the input string (default: 90)
- * @returns The decoded prefix and bytes
- */
-export function fromBech32(string: string, limit?: number): Bech32DecodeResult;
-
-/**
- * Encode bytes to a bech32m string
- *
- * @param prefix - The human-readable prefix (e.g., 'bc' for Bitcoin)
- * @param bytes - The input bytes to encode
- * @param limit - Maximum length of the encoded string (default: 90)
- * @returns The bech32m encoded string
- */
-export function toBech32m(prefix: string, bytes: Uint8Array, limit?: number): string;
-
-/**
- * Decode a bech32m string to bytes
- *
- * @param string - The bech32m encoded string
- * @param limit - Maximum length of the input string (default: 90)
- * @returns The decoded prefix and bytes
- */
-export function fromBech32m(string: string, limit?: number): Bech32DecodeResult;
-
-/**
- * Extract the prefix from a bech32 or bech32m string without full validation
- *
- * This is a quick check that skips most validation.
- *
- * @param string - The bech32/bech32m encoded string
- * @param limit - Maximum length of the input string (default: 90)
- * @returns The lowercase prefix
- */
-export function getPrefix(string: string, limit?: number): string;