From 1d5286ffa718e8bccb0e0564ec8c1aa70bb6ff27 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Sun, 27 Aug 2023 16:49:42 +0000 Subject: [PATCH] single-file build: expose more methods --- build/input.js | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/build/input.js b/build/input.js index c08fbee..0916d05 100644 --- a/build/input.js +++ b/build/input.js @@ -1,8 +1,17 @@ import { bytesToHex, concatBytes, hexToBytes } from '@noble/curves/abstract/utils'; -export { secp256k1 } from '@noble/curves/secp256k1'; -export { ed25519, x25519 } from '@noble/curves/ed25519'; -export { ed448, x448 } from '@noble/curves/ed448'; +export { secp256k1, schnorr as secp256k1_schnorr } from '@noble/curves/secp256k1'; +export { + ed25519, + x25519, + edwardsToMontgomeryPub as ed25519_edwardsToMontgomeryPub, + edwardsToMontgomeryPriv as ed25519_edwardsToMontgomeryPriv, +} from '@noble/curves/ed25519'; +export { + ed448, + x448, + edwardsToMontgomeryPub as ed448_edwardsToMontgomeryPub, +} from '@noble/curves/ed448'; export { p256 } from '@noble/curves/p256'; export { p384 } from '@noble/curves/p384'; export { p521 } from '@noble/curves/p521';