Commit Graph
8 Commits
Author SHA1 Message Date
Jaco Greeff 0772aa8471 Don't run asm.js through babel (#26) 2019-07-19 17:01:12 +02:00
Jaco Greeff 8c6d2aea12 Only rely on wasm.js (no asm.js duplication) (#25)
* Only rely on wasm.js (no asm.js duplication)

* Add browser entry

* Make asm.js tests pass

* Remove (now-unsued) mock dep
2019-07-19 11:06:31 +02:00
Jaco Greeff 72d4ec56b5 Add asm.js generation with CRYPTO_ASM env var (#23)
* Add asm.js generation, import via index-asm.js

* Less sed-y, more babel-y

* Throw error when some failed

* CRYPTO_ASM env flag

* CHANGELOG
2019-07-18 15:38:50 +02:00
Jaco Greeff ed3e822d82 Fix error logging (#14) 2019-03-30 10:20:23 +01:00
Jaco Greeff e668b96bca Log init errors to the console (#11)
* Log init errors to the console

* Use stable @polkadot/util packages
2019-03-27 22:12:54 +01:00
Jaco Greeff dde6a2f7af Build updates (#5)
* Build script updates

* Add @babel/core (peerdep)
2019-03-20 13:14:46 +01:00
Jaco Greeff 9438234750 Add wasm-crypto package (just start, incomplete) (#3)
* Add wasm-crypto package (just start, incomplete)

* Update

* Merge master

* Headers

* Add sha512

* Add blake2b

* Add twox

* xxhash with multiple rounds

* Cleanup tests (non-async)

* Adjust signatures

* Doc comments

* schnorrkel 0.1.0 crate

* Simplify export names

* Bip39

* Updates, ext_* function exposure

* bip39 tested and working

* Re-add wasm optimisations

* Cleanup build script

* Auto-detect internal packages

* bip39ToMiniSecret
2019-03-20 10:09:40 +01:00
Jaco Greeff efbabc9c5c Cleanup build scripts (reusability) (#2)
* Cleanup build scripts (reusability)

* Adjustments

* More cleanups
2019-03-17 16:42:48 +01:00