Commit Graph
1115 Commits
Author SHA1 Message Date
Travis CI 532dbe637a [CI Skip] 0.39.1 2019-01-11 15:51:22 +00:00
Jaco Greeff 54eada5d87 Allow handling of RPC errors, promise resolve/reject (#572)
* Allow handling of RPC errors, promise resolve/reject

* Revert doing too much, focus on api-promise only

* tap instead of map

* Bump version, CHANGELOG
2019-01-11 16:46:01 +01:00
Travis CI 4352f73c4c [CI Skip] 0.38.16 2019-01-11 13:22:13 +00:00
Jaco Greeff 132a8dd4ed Align fromHex in AbstractInt with toHex (and with actual BE JSON) (#571)
* Align fromHex in AbstractInt with toHex (and with actual BE JSON)

* Update test (hex input in BE)
2019-01-11 14:16:49 +01:00
Travis CI ee513f783c [CI Skip] 0.38.15 2019-01-11 11:12:15 +00:00
Jaco Greeff bb7a5ace55 Fix CI publish (#570) 2019-01-11 12:06:51 +01:00
Travis CI 7e9e2e87ba [CI Skip] 0.38.14 2019-01-11 07:18:36 +00:00
Jaco Greeff ed1ad05c5f Bump yarn version in README 2019-01-11 08:13:01 +01:00
Travis CI 2ce2916133 [CI Skip] 0.38.13 2019-01-11 07:05:06 +00:00
Jaco Greeff 1edf7a077e Use latest yarn on CI (#568) 2019-01-11 07:59:20 +01:00
Travis CI 0be476b94f [CI Skip] 0.38.12 2019-01-11 06:38:47 +00:00
Jaco Greeff 48cb2d039e Remove duplicated SubmittableSendResult types (#565) 2019-01-11 07:33:37 +01:00
Travis CI 9d7caed0ab [CI Skip] 0.38.11 2019-01-10 17:07:55 +00:00
Jaco Greeff a083a6bb38 signAndSend for SubmittableExtrinsic (#558)
* signAndSend for SubmittableExtrinsic

* signAndSend for ApiPromise

* Import odering
2019-01-10 18:02:39 +01:00
Travis CI 7b89e55f9a [CI Skip] 0.38.10 2019-01-10 16:44:46 +00:00
Amaury Martiny 2a2df9a1c3 Add derive functions (#564)
* Add drr

* Update headers

* Lint

* Copy other functions

* Account indexes

* accountIndexToId

* accountIdAndIndex

* Fees

* votingBalance

* votingBalances

* votingBalancesNominatorsFor

* validatingBalance

* validatingBalances

* bestNumberFinalised

* eraLength

* Add drr

* eraProgress

* votes

* referendumInfos

* referendumVotesFor

* referendums

* Clean code

* Add tests

* Fix lint

* Fix bug eraProgress

* Fix bug fees

* combineLatest without array

* Fix lint
2019-01-10 17:39:25 +01:00
Travis CI a93b2f70c7 [CI Skip] 0.38.9 2019-01-10 10:43:16 +00:00
Jaco Greeff 07d61397d5 Upgrade example with real wasm (via sudo now) (#562)
* Upgrade test with real wasm

* Update upgrade sample to use sudo
2019-01-10 11:37:51 +01:00
Travis CI 9f1457c286 [CI Skip] 0.38.8 2019-01-10 10:21:09 +00:00
Jaco Greeff 62723caf55 Always resolve ready when created, never reject (#563) 2019-01-10 11:16:02 +01:00
Travis CI 89a3c9647a [CI Skip] 0.38.7 2019-01-09 17:01:59 +00:00
Jaco Greeff f65563478e Update README.md 2019-01-09 17:56:10 +01:00
Travis CI 86adea2c1b [CI Skip] 0.38.6 2019-01-09 16:06:11 +00:00
Jaco Greeff e177727851 Add api-derive dep (#561) 2019-01-09 17:00:51 +01:00
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