Commit Graph
774 Commits
Author SHA1 Message Date
Travis CI efa61a3c5f [CI Skip] 0.31.121 2018-11-19 10:43:20 +00:00
Amaury Martiny 9548f977f5 Simplify Base (#403)
* Convert Base to a wrapper

* Remove isEmpty

* Fix bug with storage

* Fix lint

* Fix imports

* Protected raw

* Remove useless imports

* Remove test for Base

* Use unwrap on Option

* Storage unwrap

* Use isNone

* Add test for accessing values

* Remove comment

* toU8a always return Uint8Array
2018-11-19 11:38:47 +01:00
Travis CI d369809835 [CI Skip] 0.31.120 2018-11-15 15:03:07 +00:00
Jaco Greeff 945818959a Use .toString() instead of .raw for metadata uniq (#402) 2018-11-15 15:58:20 +01:00
Travis CI 559e2ccba9 [CI Skip] 0.31.119 2018-11-15 14:00:35 +00:00
Amaury Martiny b580c12149 Bool extends Boolean (#401)
* Bool extends Boolean

* Private static

* Add tests for Bool

* Type
2018-11-15 14:55:50 +01:00
Amaury Martiny 681cda22b3 Moment extends Date (#400)
* Moment extends Date

* FIx tests

* Add comments

* Use toISOString

* Use toISOString
2018-11-15 14:51:51 +01:00
Travis CI 185ecd6fde [CI Skip] 0.31.118 2018-11-15 13:24:24 +00:00
Amaury Martiny f381a4d045 Text extends String (#399)
* Text extends String

* Fix type

* Cleaner code

* Add explicit return type
2018-11-15 14:19:41 +01:00
Travis CI ca2f69d086 [CI Skip] 0.31.117 2018-11-14 13:49:01 +00:00
Jaco Greeff 19aed57c98 Bump dependencies (#398) 2018-11-14 14:44:09 +01:00
Travis CI 9ad2e85e0b [CI Skip] 0.31.116 2018-11-14 11:39:41 +00:00
Amaury Martiny d097a7a32d UInt extends BN (#396)
* Fix Uint and Moment and Compact

* Fix address and account index

* Remove .toBN

* Add comment

* Fix lint

* _raw to raw

* bitLength as method in U8aFixed
2018-11-14 12:35:06 +01:00
Travis CI b9d93b5fa1 [CI Skip] 0.31.115 2018-11-14 10:15:49 +00:00
Jaco Greeff 67dd4987cf Bump deps (common) (#397) 2018-11-14 11:11:19 +01:00
Travis CI 02e3b1f566 [CI Skip] 0.31.114 2018-11-13 15:05:22 +00:00
Jaco Greeff 42e9347033 Override subarray, returning via Uint8Array.from (#395)
* Override subarray, returning via Uint8Array.from

* Import order

* Use .from in subarray test
2018-11-13 16:00:16 +01:00
Travis CI a108184955 [CI Skip] 0.31.113 2018-11-13 12:05:19 +00:00
Jaco Greeff ba4f6ac02b Merge master 2018-11-13 12:59:42 +01:00
Jaco Greeff 7afcb49871 Bump deps 2018-11-13 12:58:13 +01:00
Travis CI d8c3e7298e [CI Skip] 0.31.112 2018-11-13 11:53:56 +00:00
Amaury Martiny 73710b708b U8a extends Uint8Array (#392)
* U8a implements Codec

* Fix U8aFixed

* Fix Bytes

* Fix AccountId

* Remove if instanceof U8a

* Fix Bytes

* Fix lint

* Fix AccountId

* Remove any type

* Remove isBuffer

* Use this directly
2018-11-13 12:49:21 +01:00
Travis CI 60acb289e3 [CI Skip] 0.31.111 2018-11-13 10:33:57 +00:00
Jaco Greeff de284fb2f9 (hopefully) fix d.ts generation with explicit imports (#394) 2018-11-13 11:28:06 +01:00
Travis CI d3d4f992ed [CI Skip] 0.31.110 2018-11-12 17:21:28 +00:00
Jaco Greeff 8121aa2927 Bump util, fix constructors (#393) 2018-11-12 18:15:35 +01:00
Travis CI ff8d5cc5bf [CI Skip] 0.31.109 2018-11-10 11:01:18 +00:00
Jaco Greeff d5bca161b5 Allow index calc as fallback (#391) 2018-11-10 11:56:43 +01:00
Travis CI 614416e1bc [CI Skip] 0.31.108 2018-11-09 16:48:44 +00:00
Jaco Greeff 4b3b6944ae democracy.voteOf with Tuple input (#390) 2018-11-09 17:44:10 +01:00
Travis CI 8fabcc3877 [CI Skip] 0.31.107 2018-11-09 15:49:33 +00:00
Jaco Greeff 77a883c89c Vector should instantiate from Vector (#389) 2018-11-09 16:44:56 +01:00
Travis CI 98add3359d [CI Skip] 0.31.106 2018-11-09 13:10:22 +00:00
Jaco Greeff 7483dc58da Don't do !args check, value could be 0 (#388) 2018-11-09 14:05:45 +01:00
Travis CI 7d97206c8d [CI Skip] 0.31.105 2018-11-08 15:04:09 +00:00
Jaco Greeff 1c1a9dd253 Don't try and auto-detect hex Bytes with length (#387) 2018-11-08 15:59:24 +01:00
Travis CI 5bdff2cd36 [CI Skip] 0.31.104 2018-11-08 13:01:24 +00:00
Jaco Greeff 49136de47b Catch errors while subscribing (#385) 2018-11-08 13:56:51 +01:00
Travis CI ff635c7476 [CI Skip] 0.31.103 2018-11-08 09:14:33 +00:00
Luke Schoen f6506dbabb refactor: Fixes #381. Fix spelling of extrinsic in param name (#384) 2018-11-08 10:10:11 +01:00
Travis CI 69d506eb15 [CI Skip] 0.31.102 2018-11-07 20:10:14 +00:00
Jaco Greeff f1920e911a Small U8a cleanup for Moment, duplicate line in Text (#383) 2018-11-07 21:05:28 +01:00
Travis CI 0175d78603 [CI Skip] 0.31.101 2018-11-07 19:42:33 +00:00
Jaco Greeff cb9a48dc15 Allow construction of all types via U8a (#382) 2018-11-07 20:38:12 +01:00
Travis CI 5f9a4c6958 [CI Skip] 0.31.100 2018-11-07 14:09:36 +00:00
Jaco Greeff c32bace2cd Handle both prefixed and non-prefixed hex Bytes (#379) 2018-11-07 15:05:02 +01:00
Travis CI b0f8439591 [CI Skip] 0.31.99 2018-11-07 12:43:46 +00:00
Jaco Greeff e597f1b21f Allow rawStorage queries via Uint8Array keys (#378)
* Allow rawStorage queries via Uint8Array keys

* Data fallback
2018-11-07 13:39:12 +01:00
Travis CI 19651bbb19 [CI Skip] 0.31.98 2018-11-07 11:49:00 +00:00
Jaco Greeff 1d3eecdb77 Allow replaySubject to unsubscribe (#373)
* Allow replaySubject to unsubscribe

* Cleanup types, cache observable is not a subject,

* ReplaySubject now unused

* Cleanup CodeClimate

* Cleanup helpers
2018-11-07 12:43:53 +01:00