Skip to content

Commit 953f9aa

Browse files
committed
Release 1.3.0.
1 parent 4f2f8e0 commit 953f9aa

File tree

5 files changed

+61
-30
lines changed

5 files changed

+61
-30
lines changed

‎jsr.json

+14-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@noble/ciphers",
3-
"version": "1.2.1",
3+
"version": "1.3.0",
44
"exports": {
55
".": "./src/index.ts",
66
"./_arx": "./src/_arx.ts",
@@ -14,7 +14,19 @@
1414
"./ff1": "./src/ff1.ts",
1515
"./salsa": "./src/salsa.ts",
1616
"./utils": "./src/utils.ts",
17-
"./webcrypto": "./src/webcrypto.ts"
17+
"./webcrypto": "./src/webcrypto.ts",
18+
"./_arx.js": "./src/_arx.ts",
19+
"./_assert.js": "./src/_assert.ts",
20+
"./_micro.js": "./src/_micro.ts",
21+
"./_poly1305.js": "./src/_poly1305.ts",
22+
"./_polyval.js": "./src/_polyval.ts",
23+
"./aes.js": "./src/aes.ts",
24+
"./crypto.js": "./src/crypto.ts",
25+
"./chacha.js": "./src/chacha.ts",
26+
"./ff1.js": "./src/ff1.ts",
27+
"./salsa.js": "./src/salsa.ts",
28+
"./utils.js": "./src/utils.ts",
29+
"./webcrypto.js": "./src/webcrypto.ts"
1830
},
1931
"imports": {
2032
"@noble/ciphers/crypto": "./src/crypto.ts"

‎package-lock.json

+20-20
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

‎package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@noble/ciphers",
3-
"version": "1.2.1",
3+
"version": "1.3.0",
44
"description": "Audited & minimal JS implementation of Salsa20, ChaCha and AES",
55
"files": [
66
"esm",

‎src/_assert.ts

+21-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,25 @@
11
/**
22
* Internal assertion helpers.
33
* @module
4+
* @deprecated
45
*/
5-
6-
export { abool, abytes, aexists, ahash, anumber, aoutput, isBytes } from './utils.ts';
6+
import {
7+
abytes as ab,
8+
abool as abool_,
9+
aexists as ae,
10+
anumber as an,
11+
aoutput as ao,
12+
type IHash as H,
13+
} from './utils.ts';
14+
/** @deprecated Use import from `noble/hashes/utils` module */
15+
export const abool: typeof abool_ = abool_;
16+
/** @deprecated Use import from `noble/hashes/utils` module */
17+
export const abytes: typeof ab = ab;
18+
/** @deprecated Use import from `noble/hashes/utils` module */
19+
export const aexists: typeof ae = ae;
20+
/** @deprecated Use import from `noble/hashes/utils` module */
21+
export const anumber: typeof an = an;
22+
/** @deprecated Use import from `noble/hashes/utils` module */
23+
export const aoutput: typeof ao = ao;
24+
/** @deprecated Use import from `noble/hashes/utils` module */
25+
export type Hash = H;

‎test/build/package-lock.json

+5-5
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)