Commit Graph
951 Commits
Author SHA1 Message Date
Jaco Greeff 18dfda586d Cleanup callback determination (#529) 2019-01-03 18:54:55 +01:00
Travis CI ba7564f030 [CI Skip] 0.36.2 2019-01-03 16:58:35 +00:00
Jaco Greeff 4f55d19238 Update API Promise combineLatest signature (#528) 2019-01-03 17:48:20 +01:00
Travis CI d282b4a5d7 [CI Skip] 0.36.1 2019-01-03 15:37:22 +00:00
Jaco Greeff 3be56ad56c Subscriptions return unsubscribe/dispose function (#527)
* Combinator return unsubscribe/dispose function

* Submittable extrinsics return UnsubFunction

* RPC methods with unsub callback returns

* Update changelog, bump version

* CHANGELOG typo

* Fix combinator unsubscribes

* Be explicit in returns for UnsubFunction (combineLatest)
2019-01-03 16:31:09 +01:00
Travis CI 15d75f7166 [CI Skip] 0.35.19 2019-01-01 16:07:52 +00:00
Jaco Greeff e802b8e69f Only re-create query subscriptions (#525) 2019-01-01 17:01:51 +01:00
Travis CI a3222211d1 [CI Skip] 0.35.18 2019-01-01 14:54:09 +00:00
Jaco Greeff e79c6d85db Params (param + callback) available to storage (#524)
* Params (param + callback) available to storage

* Be more explicit in types for storage

* subscriptionId: number
2019-01-01 15:48:33 +01:00
Travis CI e70d044608 [CI Skip] 0.35.17 2018-12-30 15:49:47 +00:00
Jaco Greeff 2a1a71262f Allow combinator with up-front params (#523) 2018-12-30 16:44:14 +01:00
Travis CI 29beb590ea [CI Skip] 0.35.16 2018-12-30 15:08:09 +00:00
Jaco Greeff f923cabf2a Combinator unsubscribe (static) (#522) 2018-12-30 16:02:23 +01:00
Travis CI 9a681bdd07 [CI Skip] 0.35.15 2018-12-30 14:38:25 +00:00
Jaco Greeff f8e7388ac2 Decorated can return number (for subscription) (#521) 2018-12-30 15:32:43 +01:00
Travis CI 5dcbf1848e [CI Skip] 0.35.14 2018-12-30 14:07:14 +00:00
Jaco Greeff 8919ae2edc Add api-promise combinator unsubscribe (#520)
* Add api-promise combinator unsubscribe

* Allow combinator lookup

* auto-imports removed

* Promise handling
2018-12-30 15:01:39 +01:00
Travis CI 46f0290910 [CI Skip] 0.35.13 2018-12-29 16:24:02 +00:00
Jaco Greeff fb36c59f34 Expose H256 & H512 types (#519) 2018-12-29 17:18:37 +01:00
Travis CI eca926f047 [CI Skip] 0.35.12 2018-12-28 13:24:09 +00:00
Jaco Greeff 907c2f59cf Expose unsubscribe on promise storage (#518) 2018-12-28 14:18:26 +01:00
Travis CI e0300d61af [CI Skip] 0.35.11 2018-12-26 13:49:32 +00:00
Jaco Greeff 77a9d8ecb0 bestNumberFinalised for api-observable (#517) 2018-12-26 14:43:59 +01:00
Travis CI dd7315fe64 [CI Skip] 0.35.10 2018-12-25 13:04:43 +00:00
Jaco Greeff 85434e082b Bump util, min compact bitlength (#516) 2018-12-25 13:58:58 +01:00
Travis CI 9e512bd6a0 [CI Skip] 0.35.9 2018-12-21 15:18:27 +00:00
Jaco Greeff e182769f80 Bump with network prefix (#514) 2018-12-21 16:12:47 +01:00
Travis CI a8d225a179 [CI Skip] 0.35.8 2018-12-21 14:47:17 +00:00
Jaco Greeff c466a51481 Use ReferendumInfo from Tuple (#513)
* Use ReferendumInfo from Tuple

* Cleanup linting

* Bump deps
2018-12-21 15:41:35 +01:00
Travis CI 93d7737d86 [CI Skip] 0.35.7 2018-12-21 14:12:21 +00:00
Jaco Greeff 23b8c78e3b Non-static (injected) storage (#512) 2018-12-21 15:06:38 +01:00
Travis CI fe605bff90 [CI Skip] 0.35.6 2018-12-21 12:44:10 +00:00
Jaco Greeff 1e880757e4 Update to latest util for Compact (#511)
* Update to latest util for Compact

* Expand FIXME comments
2018-12-21 13:38:38 +01:00
Travis CI 7b8ec97750 [CI Skip] 0.35.5 2018-12-21 12:23:44 +00:00
Amaury Martiny db953403ba Let static use the RPC response json directly (#509)
* Let static use the RPC response json directly

* Put data in static

* Remove useless file
2018-12-21 13:17:45 +01:00
Travis CI 8ed6d88114 [CI Skip] 0.35.4 2018-12-21 10:24:38 +00:00
Jaco Greeff 4a9069e495 Allow registry to create via object/string definitions (#503)
* Allow registry to create via object/string definitions

* typo
2018-12-21 11:19:11 +01:00
Travis CI 5d57456b0f [CI Skip] 0.35.3 2018-12-21 10:18:11 +00:00
Jaco Greeff 82cbd9727d Track Finalised events on api-rx (as per promise) (#500)
* Track Finalised events on api-rx (as per promise)

* Align naming of tracking helper

* Remove wtf

* Warn on extrinsic not found

* Fix unused imports
2018-12-21 11:12:41 +01:00
Travis CI addba69054 [CI Skip] 0.35.2 2018-12-21 09:38:18 +00:00
Jaco Greeff 900da0c852 Pull in large-value Compact encoding changes (#508)
* Pull in large-value Compact encoding changes

* Update size check
2018-12-21 10:32:11 +01:00
Travis CI b4edc31783 [CI Skip] 0.35.1 2018-12-20 22:03:38 +00:00
Jaco Greeff 5f5ce7a098 Bump package (should have been done with metadata, breaking) (#507) 2018-12-20 22:58:02 +01:00
Travis CI 3a1ee408ec [CI Skip] 0.34.12 2018-12-20 19:39:13 +00:00
Amaury Martiny 51751d0781 Add support for default values (#484)
* Create AbstractInt

* Use abstract class

* Bump packages

* Allow decoding metadata with default values

* Add console.logs

* Add latest rpc

* Add Bytes decode

* Get encoded lenght right

* Remove useless tests

* Add getter

* Metadata json with default as hex

* FIx bugs

* Fix lint

* EOF add line

* Remove file

* Update latest rpc

* Update static.ts

* Typo

* Don't create types for default values for now, leave as Bytes

* Update & skip tests

* Remove unused file
2018-12-20 20:33:32 +01:00
Travis CI 11fec2b1a7 [CI Skip] 0.34.11 2018-12-20 17:18:00 +00:00
Amaury Martiny b934846248 Add missing types (#504)
* Update rpc

* Simplify Type

* Create AbstractInt

* Add integers

* Add missing types

* Add tests for negative numbers

* Use abstract class

* Fix comments

* Bump packages

* FIx bugs

* Fix lint

* EOF add line

* Fix comment

* Typo
2018-12-20 18:12:25 +01:00
Travis CI c53c574a55 [CI Skip] 0.34.10 2018-12-20 11:26:31 +00:00
Jaco Greeff 919a73ccf6 Allow new Extrinsic(method: Method) (#499)
* Allow new Extrinsic(method: Method)

* Update types

* Be explicit in returned types

* Submittable with Method constructor
2018-12-20 12:21:03 +01:00
Travis CI 30b81c0dfb [CI Skip] 0.34.9 2018-12-20 11:09:23 +00:00