From 7af108b024040a750931a5023f27c843dad266e7 Mon Sep 17 00:00:00 2001 From: Juanra Dikal Date: Mon, 1 Aug 2022 22:27:32 +0200 Subject: [PATCH] fixed bug in node ESM and better packing --- .gitignore | 7 +++++++ .npmignore | 14 ++++++++++++++ docs/API.md | 16 ++++++++-------- 3 files changed, 29 insertions(+), 8 deletions(-) diff --git a/.gitignore b/.gitignore index f9daa2f..3cc193d 100644 --- a/.gitignore +++ b/.gitignore @@ -13,5 +13,12 @@ node_modules .nyc_output coverage +# Environment files +*.env + # Test temporal files .mocha-ts +.tsconfig.json + +# docs temporal files +.nojekyll diff --git a/.npmignore b/.npmignore index bb10feb..3c3a11e 100644 --- a/.npmignore +++ b/.npmignore @@ -26,11 +26,25 @@ coverage # GitHub .github +# GitLab +.gitlab-ci.yml +.gitlab-ci.yaml + +# tsconfig +tsconfig.json + # SRC docs src/docs +# Environment files +*.env + # Test temporal files .mocha-ts +.tsconfig.json + +# docs temporal files +.nojekyll # Examples examples \ No newline at end of file diff --git a/docs/API.md b/docs/API.md index 9a8f328..ac3631b 100644 --- a/docs/API.md +++ b/docs/API.md @@ -155,7 +155,7 @@ A promise that resolves to a boolean that is either true (a probably prime numbe #### Defined in -[src/ts/isProbablyPrime.ts:21](https://github.com/juanelas/bigint-crypto-utils/blob/13829b7/src/ts/isProbablyPrime.ts#L21) +[src/ts/isProbablyPrime.ts:21](https://github.com/juanelas/bigint-crypto-utils/blob/c158f4d/src/ts/isProbablyPrime.ts#L21) ___ @@ -322,7 +322,7 @@ A promise that resolves to a bigint probable prime of bitLength bits. #### Defined in -[src/ts/prime.ts:29](https://github.com/juanelas/bigint-crypto-utils/blob/13829b7/src/ts/prime.ts#L29) +[src/ts/prime.ts:29](https://github.com/juanelas/bigint-crypto-utils/blob/c158f4d/src/ts/prime.ts#L29) ___ @@ -352,7 +352,7 @@ A bigint probable prime of bitLength bits. #### Defined in -[src/ts/prime.ts:107](https://github.com/juanelas/bigint-crypto-utils/blob/13829b7/src/ts/prime.ts#L107) +[src/ts/prime.ts:107](https://github.com/juanelas/bigint-crypto-utils/blob/c158f4d/src/ts/prime.ts#L107) ___ @@ -381,7 +381,7 @@ A cryptographically secure random bigint between [min,max] #### Defined in -[src/ts/randBetween.ts:15](https://github.com/juanelas/bigint-crypto-utils/blob/13829b7/src/ts/randBetween.ts#L15) +[src/ts/randBetween.ts:15](https://github.com/juanelas/bigint-crypto-utils/blob/c158f4d/src/ts/randBetween.ts#L15) ___ @@ -410,7 +410,7 @@ A Promise that resolves to a UInt8Array/Buffer (Browser/Node.js) filled with cry #### Defined in -[src/ts/randBits.ts:14](https://github.com/juanelas/bigint-crypto-utils/blob/13829b7/src/ts/randBits.ts#L14) +[src/ts/randBits.ts:14](https://github.com/juanelas/bigint-crypto-utils/blob/c158f4d/src/ts/randBits.ts#L14) ___ @@ -439,7 +439,7 @@ A Uint8Array/Buffer (Browser/Node.js) filled with cryptographically secure rando #### Defined in -[src/ts/randBits.ts:45](https://github.com/juanelas/bigint-crypto-utils/blob/13829b7/src/ts/randBits.ts#L45) +[src/ts/randBits.ts:45](https://github.com/juanelas/bigint-crypto-utils/blob/c158f4d/src/ts/randBits.ts#L45) ___ @@ -468,7 +468,7 @@ A promise that resolves to a UInt8Array/Buffer (Browser/Node.js) filled with cry #### Defined in -[src/ts/randBytes.ts:14](https://github.com/juanelas/bigint-crypto-utils/blob/13829b7/src/ts/randBytes.ts#L14) +[src/ts/randBytes.ts:14](https://github.com/juanelas/bigint-crypto-utils/blob/c158f4d/src/ts/randBytes.ts#L14) ___ @@ -497,7 +497,7 @@ A UInt8Array/Buffer (Browser/Node.js) filled with cryptographically secure rando #### Defined in -[src/ts/randBytes.ts:46](https://github.com/juanelas/bigint-crypto-utils/blob/13829b7/src/ts/randBytes.ts#L46) +[src/ts/randBytes.ts:46](https://github.com/juanelas/bigint-crypto-utils/blob/c158f4d/src/ts/randBytes.ts#L46) ___