Commit Graph
1134 Commits
Author SHA1 Message Date
Travis CI 419de9407b [CI Skip] 0.33.26 2018-12-18 09:45:44 +00:00
Amaury Martiny 46b10a0874 Factorize some u8a decoding logic (#483)
* Simplify decoding u8a

* Move to another folder

* Refactor isU8a in struct

* Remove ts ignore

* Whitespaces

* Don't modify input args
2018-12-18 10:40:25 +01:00
Travis CI fe67f47dbe [CI Skip] 0.33.25 2018-12-17 22:00:53 +00:00
Jaco Greeff c75c849d95 Bump common (RN native test revert) (#488) 2018-12-17 22:55:19 +01:00
Travis CI 36930f5591 [CI Skip] 0.33.24 2018-12-17 20:49:56 +00:00
Jaco Greeff 488f42c3d0 Bump common (#487) 2018-12-17 21:44:21 +01:00
Travis CI 7be0b46238 [CI Skip] 0.33.23 2018-12-17 19:29:05 +00:00
Jaco Greeff 91128d342c Add explicit core-js dep (#485) 2018-12-17 20:23:43 +01:00
Travis CI ee055ad2b4 [CI Skip] 0.33.22 2018-12-17 14:00:32 +00:00
Jaco Greeff 5f1178f698 Bump common (TextEncoder/Decoder polyfill) (#482) 2018-12-17 14:54:29 +01:00
Travis CI 8e7aacb625 [CI Skip] 0.33.21 2018-12-17 11:45:21 +00:00
Jaco Greeff d11906e72a Add ability to do api.query at a specific hash (#477)
* Add ability to do api.query at a specific hash

* Add at variant for api/rx

* Add .at for rxjs
2018-12-17 12:39:40 +01:00
Travis CI 8c8ab773df [CI Skip] 0.33.20 2018-12-17 11:27:52 +00:00
Jaco Greeff 535a9eac07 StorageKey with specific encoding (#480)
* StorageKey with specific encoding

* Comment typo
2018-12-17 12:22:01 +01:00
Travis CI 4a699275c5 [CI Skip] 0.33.19 2018-12-14 15:34:22 +00:00
Jaco Greeff 06893d02d8 Add chainProperties call to api-observable (#472) 2018-12-14 16:29:16 +01:00
Travis CI 16fec27721 [CI Skip] 0.33.18 2018-12-14 15:25:56 +00:00
Jaco Greeff 812db29346 Bump version on examples (#471) 2018-12-14 16:20:23 +01:00
Travis CI ad2289ee24 [CI Skip] 0.33.17 2018-12-14 14:14:53 +00:00
Jaco Greeff 4291a49d22 Instantiate EnumType via Object (not Array) (#469)
* Instantiate EnumType via Object (not Array)

* Split decoding into steps... slight simplification

* Use assert for index check

* Add JSON decoding tests
2018-12-14 15:09:21 +01:00
Travis CI a8d108d221 [CI Skip] 0.33.16 2018-12-14 10:52:15 +00:00
Stefanie Doll f4d52baa1d DOCS: Fix formatting (#468) 2018-12-14 11:46:51 +01:00
Travis CI e99f17c22c [CI Skip] 0.33.15 2018-12-13 16:26:09 +00:00
Amaury Martiny 04c639ded9 Add types from latest metadata (#466)
* Update to latest metadata

* Remove whitespaces

* Fix ::Proposal

* Add missing types

* Allow Option<> in metadata

* Empty typle

* Remove useless indenetation

* getTypeClass add Option

* Add test with Option
2018-12-13 17:20:45 +01:00
Travis CI 25b1e9bccd [CI Skip] 0.33.14 2018-12-12 15:19:25 +00:00
Jaco Greeff 3c8b3d325e Option instantiates from Option (#465) 2018-12-12 16:13:58 +01:00
Travis CI 5488328dc6 [CI Skip] 0.33.13 2018-12-12 15:07:20 +00:00
Jaco Greeff ef926e9bfd Allow Struct to take Map (and Struct) in constructor (#464)
* Allow Struct to take Map (and Struct) in constructor

* First do key mapping, then reduce

* Remove extra type refs

* Revert "cleanups" - KISS
2018-12-12 16:01:39 +01:00
Travis CI 90a2e26540 [CI Skip] 0.33.12 2018-12-11 13:47:23 +00:00
Jaco Greeff c0a9924c64 Update Set toU8a, Enum accepts string in constructor (#460)
* Update Set toU8a, Enum accepts string in constructor

* Standalone else

* Handle undefined case in check

* Revert previous... :(

* Flatten else usage
2018-12-11 14:42:01 +01:00
Travis CI 2bfbaac09f [CI Skip] 0.33.11 2018-12-10 13:52:28 +00:00
Amaury Martiny 0c947a5905 Update types parsing to latest metadata (#456)
* Remove useless whitespaces

* Update latest metadata

* Update latest metadata
2018-12-10 13:46:58 +00:00
Travis CI 70bd74765f [CI Skip] 0.33.10 2018-12-10 11:03:10 +00:00
Jaco Greeff 7be8d825da Bump dependencies (#455) 2018-12-10 11:57:48 +01:00
Travis CI 3a12fef5a1 [CI Skip] 0.33.9 2018-12-10 09:51:27 +00:00
Xiliang Chen 7b667cfb9f Improve events (#454)
* Fix typo in docs

* Improve events
Expose `error` event
Add `once`
Allow method chaining for `on` and `once`
2018-12-10 10:46:04 +01:00
Travis CI dd9c5ee5e2 [CI Skip] 0.33.8 2018-12-09 13:36:42 +00:00
Jaco Greeff 6b3ba22da7 Bump common, some additional cleanups (#453) 2018-12-09 14:30:09 +01:00
Travis CI 5a090caf42 [CI Skip] 0.33.7 2018-12-09 10:00:00 +00:00
Jaco Greeff 3e7e1c653b Additional Codeclimate cleanups (#452)
* Additional Codeclimate cleanups

* Keep original Vector.with

* Cleanup subtype extraction

* Cleanup fromMeta

* Cleanup createType tests
2018-12-09 10:54:43 +01:00
Jaco Greeff 871c3db84a [CI Skip] Update .codeclimate.yml (#451) 2018-12-08 21:08:11 +01:00
Travis CI c30cecf0c1 [CI Skip] 0.33.6 2018-12-08 14:37:17 +00:00
Jaco Greeff 448a729d70 Fix some Codeclimate smells (#450)
* Fix some Codeclimate smells

* Cleanup Metadata complexity

* Cleanup uniqueTypes

* Bump deps
2018-12-08 15:31:54 +01:00
Travis CI b99ff21a67 [CI Skip] 0.33.5 2018-12-07 11:35:46 +00:00
Jaco Greeff 69f68509ef Expand with all currently known RPC methods 2018-12-07 12:30:09 +01:00
Travis CI 0a80c66c27 [CI Skip] 0.33.4 2018-12-07 09:12:49 +00:00
Jaco Greeff 50103dcfab WS error logging & stacks trimmed (#448)
* Cleanup error stacks

* Close error code & reason

* Re-add debug throw

* Remove stack

* Cleanup console checks (bullsh*t, wtf did I add these anyway)
2018-12-07 10:07:20 +01:00
Travis CI b9215d286f [CI Skip] 0.33.3 2018-12-06 11:35:08 +00:00
Jaco Greeff c9cc9042e2 Bump common (#446) 2018-12-06 12:29:26 +01:00
Travis CI 477ad7e444 [CI Skip] 0.33.2 2018-12-06 11:17:30 +00:00