supercop.ts

cross-compiled javascript implementation of ed25519 based on supercop-ref10
git clone git://git.finwo.net/lib/supercop.ts
Log | Files | Refs | README | LICENSE

commit 890c9f8e8d8462136a793ee6d7c62dab9e61b0f0
parent c647b3e965c5965f23a1fbb9f076c88b15b04ebb
Author: finwo <finwo@pm.me>
Date:   Mon, 23 Aug 2021 01:27:09 +0200

Merge pull request #6 from finwo/nicer-imports-from-es6-ts

Nicer imports from es6 ts
Diffstat:
Mindex.js | 3+++
Mpackage.json | 2+-
2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/index.js b/index.js @@ -58,6 +58,9 @@ function checkArguments( namedArguments, callback ) { return callback(); } +// "default export", allows nicer imports from ES6/TS +exports.default = exports; + // Export helpers exports._checkArguments = checkArguments; exports._randomBytes = randomBytes; diff --git a/package.json b/package.json @@ -1,6 +1,6 @@ { "name": "supercop", - "version": "2.2.3", + "version": "2.2.4", "description": "cross-compiled javascript implementation of ed25519 based on supercop-ref10", "main": "index.js", "homepage": "https://github.com/finwo/supercop",