Commit Graph
386 Commits
Author SHA1 Message Date
Jaco Greeff 3199c79ce5 Allow lazy Logger execution (#103) 2018-02-28 13:17:14 +01:00
Travis CI fddc75d783 [CI Skip] 0.16.4 2018-02-28 08:25:05 +00:00
Jaco Greeff 54fb67c597 Test for valid hex in conversions (#102) 2018-02-28 09:20:44 +01:00
Travis CI d84a4f8be8 [CI Skip] 0.16.3 2018-02-26 15:04:23 +00:00
Jaco Greeff 19b4cc2865 Upgrade @polkadot/dev (#101) 2018-02-26 16:00:16 +01:00
Travis CI 0fbe4d4ac7 [CI Skip] 0.16.2 2018-02-26 14:33:37 +00:00
Jaco Greeff b03f9f735f Properly encode empty trie (#100) 2018-02-26 15:29:38 +01:00
Travis CI 6f94f21b4c [CI Skip] 0.16.1 2018-02-23 10:45:13 +00:00
Jaco Greeff cdc848dce0 Add @polkadot/util-keyring (#99) 2018-02-23 11:41:59 +01:00
Travis CI 3a175a078b [CI Skip] 0.15.10 2018-02-22 11:33:27 +00:00
Jaco Greeff f542d9d2a0 bnToU8a with bitLength on 0 (#98)
* bnToU8a with bitLength on 0

* Extra 0 check
2018-02-22 12:29:28 +01:00
Travis CI 85f40bf9ee [CI Skip] 0.15.9 2018-02-21 12:33:18 +00:00
Jaco Greeff 88a239b532 Align nacl test keys (#97) 2018-02-21 13:29:32 +01:00
Travis CI e383745892 [CI Skip] 0.15.8 2018-02-21 11:47:39 +00:00
Jaco Greeff 15c4733170 Split keypair generation functions (#96) 2018-02-21 12:44:29 +01:00
Travis CI 072a189b33 [CI Skip] 0.15.7 2018-02-21 10:04:19 +00:00
Jaco Greeff be7d5842de Add u8a <-> BN endian (#95) 2018-02-21 10:59:58 +01:00
Travis CI 46df66c5ec [CI Skip] 0.15.6 2018-02-20 16:16:38 +00:00
Jaco Greeff ce36deb6f9 Fix blake2 with proper key & length (#94)
* Fix blake2 with proper key & length

* Fix linting

* Update @polkadot/dev for blakejs typings
2018-02-20 17:13:26 +01:00
Travis CI 07f238eadb [CI Skip] 0.15.5 2018-02-20 13:41:11 +00:00
Jaco Greeff ff5396e2ec Use u8a.toString as u8aToString (#93)
* Use u8a.toString as u8aToString

* Fix lint
2018-02-20 14:37:28 +01:00
Travis CI 31d396d8eb [CI Skip] 0.15.4 2018-02-20 13:04:33 +00:00
Jaco Greeff 532c526bc7 Add basic u8aToString (#92) 2018-02-20 14:01:02 +01:00
Travis CI b52a851fd9 [CI Skip] 0.15.3 2018-02-20 09:04:54 +00:00
Jaco Greeff 480a2f05c4 Fix xxhash outputs as LE (#91) 2018-02-20 10:01:32 +01:00
Travis CI 071cda80ae [CI Skip] 0.15.2 2018-02-16 13:56:53 +00:00
Jaco Greeff ece0c95691 Remove types (#90) 2018-02-16 14:53:53 +01:00
Travis CI bf3ca98c2b [CI Skip] 0.15.1 2018-02-15 09:38:10 +00:00
Jaco Greeff 6f8c54337b Remove {from,to}Buffer methods (#89)
* Remove all {from,to}Buffer utility methods

* Fix check & test

* Updsate docs

* Bump minor
2018-02-15 10:32:05 +01:00
Travis CI 06eb66f84e [CI Skip] 0.14.11 2018-02-14 08:23:01 +00:00
Jaco Greeff 037da5a666 Show logger.debug in NODE_ENV=test (#88) 2018-02-14 09:19:14 +01:00
Travis CI 36827add3c [CI Skip] 0.14.10 2018-02-13 13:35:48 +00:00
Jaco Greeff f79d7fe68e bnToU8a supports endian (#87)
* bnToU8a supports endian

* Update with new bn.js flow
2018-02-13 14:30:10 +01:00
Travis CI 05b5d600bf [CI Skip] 0.14.9 2018-02-13 09:20:30 +00:00
Jaco Greeff e9cace8c1e Bump (patch, CI) 2018-02-13 10:12:49 +01:00
Jaco Greeff b0a605d229 Bump 2018-02-12 18:04:34 +01:00
Jaco Greeff 950fa51214 Ad bnToBn (convenience) (#85)
* Ad bnToBn (convenience)

* Fix flow
2018-02-12 17:50:57 +01:00
Travis CI 44952cdc34 [CI Skip] 0.14.7 2018-02-12 16:14:57 +00:00
Jaco Greeff 5c270164ec Add u8aFixLength (#84) 2018-02-12 17:10:40 +01:00
Travis CI a206f5c5bf [CI Skip] 0.14.6 2018-02-12 14:32:29 +00:00
Jaco Greeff c451a85797 Add bitLength to hexToU8a (#83) 2018-02-12 15:25:54 +01:00
Travis CI b0807ced3d [CI Skip] 0.14.5 2018-02-12 12:55:49 +00:00
Jaco Greeff dc0f612081 Add u8aBn (#82) 2018-02-12 13:52:40 +01:00
Travis CI b9cd837840 [CI Skip] 0.14.4 2018-02-12 11:09:25 +00:00
Jaco Greeff b9f83dd422 Ad bitLength to number & BN conversions (#81)
* Typo in docs

* Add bitLength to number & WS conversions

* Update docs
2018-02-12 12:05:36 +01:00
Travis CI cc8eece9fe [CI Skip] 0.14.3 2018-02-08 15:15:27 +00:00
Jaco Greeff 03dc89c2b6 Remove exposed Buffer in crypto (#80)
* Use js-sha3 instead of keccak

* Remove exposed toBuffer from util-crypto

* Add definiton for js-sha3

* Remove Buffer from docs

* Cleanup crypto hashing

* Cleanup interface
2018-02-08 16:12:00 +01:00
Travis CI 576599b6ed [CI Skip] 0.14.2 2018-02-08 13:53:50 +00:00
Jaco Greeff e832aebb07 Introduce @polkadot/util-rlp (#76)
* Add toU8a conversions

* Add u8a utilities

* @polkadot/rlp with encoding

* Decoding test runthrough

* Update util locations

* Convert util-triehash to use util-rlp

* Allow keccak from Uint8Array

* Pass Uint8Array to keccak input

* Update documentation

* Skip some doc generation

* Update @polkadot/dev

* Update doc typo

* Update allocations

* Retrieve tests from ethereumjs-testing

* Simplify test retrieval

* Exclude etereumjs-testing from flow
2018-02-08 14:50:54 +01:00
Travis CI a18e7f8474 [CI Skip] 0.14.1 2018-02-07 12:45:05 +00:00