bump lockfile, add comment to shortw

This commit is contained in:
Paul Miller 2023-02-13 22:55:58 +00:00
parent af5aa8424f
commit c36d90cae6
No known key found for this signature in database
GPG Key ID: 697079DA6878B89B
2 changed files with 3 additions and 2 deletions

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{ {
"name": "@noble/curves", "name": "@noble/curves",
"version": "0.6.2", "version": "0.6.4",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@noble/curves", "name": "@noble/curves",
"version": "0.6.2", "version": "0.6.4",
"funding": [ "funding": [
{ {
"type": "individual", "type": "individual",

View File

@ -4,6 +4,7 @@ import { concatBytes, randomBytes } from '@noble/hashes/utils';
import { weierstrass, CurveType } from './abstract/weierstrass.js'; import { weierstrass, CurveType } from './abstract/weierstrass.js';
import { CHash } from './abstract/utils.js'; import { CHash } from './abstract/utils.js';
// connects noble-curves to noble-hashes
export function getHash(hash: CHash) { export function getHash(hash: CHash) {
return { return {
hash, hash,