From c36d90cae64187edd4559c4be7982974fcd1fef6 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Mon, 13 Feb 2023 22:55:58 +0000 Subject: [PATCH] bump lockfile, add comment to shortw --- package-lock.json | 4 ++-- src/_shortw_utils.ts | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index fe06547..ce61bd2 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@noble/curves", - "version": "0.6.2", + "version": "0.6.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@noble/curves", - "version": "0.6.2", + "version": "0.6.4", "funding": [ { "type": "individual", diff --git a/src/_shortw_utils.ts b/src/_shortw_utils.ts index ebda4a9..3ae5ca4 100644 --- a/src/_shortw_utils.ts +++ b/src/_shortw_utils.ts @@ -4,6 +4,7 @@ import { concatBytes, randomBytes } from '@noble/hashes/utils'; import { weierstrass, CurveType } from './abstract/weierstrass.js'; import { CHash } from './abstract/utils.js'; +// connects noble-curves to noble-hashes export function getHash(hash: CHash) { return { hash,