Skip to content

Commit

Permalink
Try to fix jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
paulmillr committed Jan 3, 2025
1 parent c81f8ee commit 9ea7cb3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@noble/hashes",
"version": "1.7.0-2",
"version": "1.7.0-3",
"exports": {
".": "./src/index.ts",
"./crypto": "./src/crypto.ts",
Expand Down
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
* Audited & minimal JS implementation of hash functions, MACs and KDFs. Check out individual modules.
* @module
* @example
```js
import { sha256, sha384, sha512, sha224, sha512_256, sha512_384 } from '@noble/hashes/sha2';
import {
sha3_224, sha3_256, sha3_384, sha3_512,
Expand All @@ -25,5 +26,6 @@ import { pbkdf2, pbkdf2Async } from '@noble/hashes/pbkdf2';
import { scrypt, scryptAsync } from '@noble/hashes/scrypt';
import { sha1 } from '@noble/hashes/sha1'; // legacy
import * as utils from '@noble/hashes/utils';
```
*/
throw new Error('root module cannot be imported: import submodules instead. Check out README');

0 comments on commit 9ea7cb3

Please sign in to comment.