Commit Graph
991 Commits
Author SHA1 Message Date
Travis CI 20e8f66dc6 [CI Skip] 0.38.5 2019-01-09 15:10:15 +00:00
Jaco Greeff 6ddc9e408c Support and return default values (#547)
* Support and return default values

* e2e tests for queries, with and without defaults

* remove .only

* Remove unused Codec import

* Remove commented import

* Add default creation test

* Test creation with empty Bytes

* Default storage test

* Remove non-existent throw test
2019-01-09 16:04:56 +01:00
Jaco Greeff c17036b028 Change checking for re-sububscriptions (#555) 2019-01-09 16:04:23 +01:00
Travis CI de65a41bf0 [CI Skip] 0.38.4 2019-01-09 12:08:23 +00:00
Amaury Martiny 6781bbaa26 Publishreplay(1) for all derive functions (#557)
* Add drr

* Transform all to publishreplay(1)

* Add comment in test

* Update headers

* Update headers

* Lint
2019-01-09 13:03:05 +01:00
Travis CI 07d7112f8a [CI Skip] 0.38.3 2019-01-09 10:42:24 +00:00
Jaco Greeff 887a0d3ccc Add link to api-derive in README (#556) 2019-01-09 11:37:04 +01:00
Travis CI ea20e195f1 [CI Skip] 0.38.2 2019-01-09 10:05:24 +00:00
Amaury Martiny f6c93e48b7 Add derive functions (#540)
* Make types work

* Add test for derive

* Skip e2e

* Change description

* Add some comments

* Add caching

* Integrate cache

* Add tests

* Add test

* Fix types in tests

* Add e2e tests

* Add comments

* Fix lint

* Bump versions

* Remove useless stuff

* Address grumbles
2019-01-09 10:59:56 +01:00
Travis CI 22123f9491 [CI Skip] 0.38.1 2019-01-08 14:12:39 +00:00
Jaco Greeff 2e474d7b05 Compact<Index> minor bump, update CHANGELOG (#551)
* Comapct<Index> minor bump, updatANGELOG

* Update CHANGELOG.md
2019-01-08 15:05:10 +01:00
Travis CI 779d78cc0e [CI Skip] 0.37.13 2019-01-08 13:35:53 +00:00
Amaury Martiny 483a66257a Update metadata (#550) 2019-01-08 14:30:39 +01:00
Jaco Greeff d9655f8a21 Allow Tuple types defined as struct or Array (#548)
* Allow Tuple types defined as struct or Array

* Update tests (not requiring injection)

* Update KeyValue.ts
2019-01-08 14:28:07 +01:00
Travis CI 0409c54b9c [CI Skip] 0.37.12 2019-01-08 13:26:07 +00:00
Jaco Greeff d589a1bbfd Compact<Index> in extrinsics (#515)
* Basic compact index

* Nonce is only used in signatures, alias it

* typo

* s/NonceCompact/IndexCompact/

* Update tests
2019-01-08 14:21:14 +01:00
Travis CI ca91141931 [CI Skip] 0.37.11 2019-01-08 12:44:40 +00:00
Jaco Greeff 7f316b6864 Merge branch 'master' of github.com:polkadot-js/api 2019-01-08 13:39:45 +01:00
Jaco Greeff 8bb40cf5a9 Add sytstem_health rpc endpoint 2019-01-08 13:39:38 +01:00
Travis CI b642bfc8b9 [CI Skip] 0.37.10 2019-01-08 12:23:02 +00:00
Jaco Greeff 783db16cea Consistency in exposing header hashes (#546)
* Consistency in exposing header hashes

* Cleanup comments
2019-01-08 13:18:09 +01:00
Travis CI bc4ada647b [CI Skip] 0.37.9 2019-01-08 11:35:25 +00:00
Jaco Greeff dc62214aae Expose status from result, remove now-unused api-observable docs (#545) 2019-01-08 12:30:18 +01:00
Travis CI cf2d73b69e [CI Skip] 0.37.8 2019-01-07 20:16:46 +00:00
Jaco Greeff aef4b74a52 Add length prefixc manually (sample) (#543) 2019-01-07 21:11:46 +01:00
Travis CI 38d6235ac1 [CI Skip] 0.37.7 2019-01-07 17:10:10 +00:00
Jaco Greeff 7658399800 Add examples for upgradeKey & transfer events (#542)
* Add examples for upgradeKey & transfer events

* Remove CI-generated file

* Update pcakage.json for examples
2019-01-07 18:05:22 +01:00
Travis CI 6d21f80334 [CI Skip] 0.37.6 2019-01-07 14:49:30 +00:00
Jaco Greeff 70ff3c5dfc Use rpc-rx internally to api-promise (#539)
* Use rpc-rx internally to api-promise

* Don't swallow errors

* Remove unused imports
2019-01-07 15:44:15 +01:00
Travis CI f2748347c5 [CI Skip] 0.37.5 2019-01-07 09:19:02 +00:00
Jaco Greeff b5d49ebbb2 Swap order of combinator inputs, fn + args (as in storage) (#537)
* Swap order of combinator inputs, fn + args (as in storage)

* Update api exposed combination

* Update CHANGELOG usage (small doc fix)
2019-01-07 10:14:14 +01:00
Travis CI f5dbb8a505 [CI Skip] 0.37.4 2019-01-06 10:28:40 +00:00
Jaco Greeff 95af8dbb6d Ad link to substrate storage section (#535) 2019-01-06 11:23:30 +01:00
Travis CI 461403cb28 [CI Skip] 0.37.3 2019-01-06 10:10:27 +00:00
Jaco Greeff d1a4415be9 Subscription method rendering (#532)
* Subscription method rendering

* Update MetadataMd.ts
2019-01-06 11:05:36 +01:00
Travis CI 227b29976d [CI Skip] 0.37.2 2019-01-04 20:09:35 +00:00
Jaco Greeff 4ade1e7415 Bump deps (#531) 2019-01-04 21:04:36 +01:00
Travis CI 5520d4873b [CI Skip] 0.37.1 2019-01-04 15:26:50 +00:00
Jaco Greeff 6678d7255c Remove api-observable (#530)
* 2019

* Remove api-observable

* tuples (SomeLonelyType) -> SomeLonelyType

* Bump to 0.37.0
2019-01-04 16:18:44 +01:00
Travis CI b0490971d6 [CI Skip] 0.36.3 2019-01-03 18:01:10 +00:00
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