Alex Wang
e61f1634ab
support double map storage function ( #934 )
...
* support double map storage function
* add twox_64_concat, clean comments
* change Twox128Concat to Twox64Concat
* update decodeStorageKey
* fix: update decodeStorageKey
* test: add e2e test
2019-06-12 16:45:45 +12:00
Jaco Greeff
5968647a05
Add staking.stakers to derive.staking.info ( #931 )
...
* Add staking.stakers to derive.staking.info
* alphabetical ordering
* add staking.nominators
* Fix lint
2019-06-12 16:45:45 +12:00
Jaco Greeff
0aefc24bc2
Move HeaderExtended type to api-derive ( #923 )
...
* Move HeaderExtended type to api-derive
* Really remove HeaderExt from Header this time around
2019-06-12 16:45:45 +12:00
Jaco Greeff
e16a4652e6
api.derive.staking.info (all relevant account info) ( #915 )
...
* api.derive.staking.info (all relevant account info)
* Update description
* Explicit controller/stash id vars
* Add e2e tests to confirm
2019-06-12 16:45:45 +12:00
Jaco Greeff
0e5906473b
Update api.derive to use api.queryMulti ( #911 )
...
* session api.queryMulti
* Make a single subscription to retrieve all session info
* Adjustments
* WIP
* Seems mostly comprehensive, need to full test e2e
* e2e tests for operations
* Allow "create from empty"
* skip
* Remove comment
* Remove ancient ?'s
* Update types.ts
2019-06-12 16:45:45 +12:00
Jaco Greeff
7c8ec1f7f5
Move additional types to primitive & rpc ( #916 )
2019-06-12 16:45:45 +12:00
Stefanie Doll
fca5fb7110
Added derive e2e tests and documentation ( #898 )
...
* export IExtrinsic
* Switch to localhos & enable tests in promise.spec
* Derive.accounts docs (copy from my other branch) + code examples
* Fixed existing accounts tests and added tests for all accounts.derive methods
* e2e tests and docs/ examples for balances.all and balances.fees
* Removed emty lines below jsdoc info
* tests & documentation dor derive.chain
* Addressed comments from former PR https://github.com/polkadot-js/api/pull/869
* Removed unused import
* obseralbe -> observable
* undo keith' commit
* use correct jsdocs syntax
* Re-enable skip
2019-06-12 16:45:45 +12:00
Jaco Greeff
bbc474432e
Expose queryMulti on api ( #909 )
...
* Expose queryMulti on api
* Convert contract fees to queryMulti
2019-06-12 16:45:45 +12:00
Stefanie Doll
e0994f3c5a
Fix for RPC bugs caused by uk spelling ( #904 )
...
* Replaced UK with US spelling
* -ised to -ized
* UK -> US spelling in chain rpc methods
* Tests for RPC chain methods on Alex
2019-06-12 16:45:45 +12:00
Jaco Greeff
b573531ebf
Metadata update for latest master ( #901 )
...
* Latest metadata, add EventIndex type
* Add parsed metadata
* Create empty DoubleMap type
2019-06-12 16:45:45 +12:00
Jaco Greeff
1857d8d521
Remove combineLatest where multi is used ( #895 )
...
* Remove combineLatest where multi is used
* Add e2e test for derive.controllers
2019-06-12 16:45:45 +12:00
kwingram25
afcc7fb701
Check array before running bnMax ( #893 )
...
* Updated with derive.balances.all
* add new keys to votingBalance
* remove multi test
* vestedBalance > 0
* bestNumber bug
* Check balances.all > 0
* Check balances.all > 0
* Check balances.all > 0
* check locks array
* check locks array
2019-06-12 16:45:45 +12:00
kwingram25
be617df21f
Fix error causing balances.all = undefined ( #891 )
...
* Updated with derive.balances.all
* add new keys to votingBalance
* remove multi test
* vestedBalance > 0
* bestNumber bug
* Check balances.all > 0
* Check balances.all > 0
* Check balances.all > 0
2019-06-12 16:45:45 +12:00
kwingram25
abc11890f7
Replace votingBalance -> derive.balances.all ( #883 )
...
* Updated with derive.balances.all
* add new keys to votingBalance
* remove multi test
* vestedBalance > 0
2019-06-12 16:45:45 +12:00
Stefanie Doll
5728e45261
multi calls for democracy.votes and staking.controllers ( #887 )
...
* .multi for democracy.votes & stating.controllers
* Removed leftover comment from https://github.com/polkadot-js/api/pull/875
* no new line at the end
2019-06-12 16:45:45 +12:00
ian.he
4e6b533539
v0.78.103
2019-06-06 14:02:54 +12:00
ian.he
224803f4c4
fix: derive generated is empty
2019-06-06 13:53:53 +12:00
ian.he
9fbf4bf478
v0.78.102
2019-06-06 12:50:29 +12:00
ian.he
14216a42a3
0.78.101
2019-06-05 10:04:08 +12:00
Alex Wang
0055cb594f
fix: clean code ( #1 )
2019-06-05 10:04:08 +12:00
ian.he
019f1f761f
rebase upstream and bump to 0.78.100
2019-05-27 15:46:59 +12:00
Jaco Greeff
6c0d683235
Add contract fees ( #875 )
2019-05-27 15:46:31 +12:00
Jaco Greeff
d9e581fbdc
Basic same-type multi queries ( #866 )
...
* Basic same-type multi queries
* Remove extra map, straight to switchMap
2019-05-27 15:46:30 +12:00
Jaco Greeff
9f5be747e7
Bump deps ( #861 )
...
* Bump deps
* Align with published common
* Fix rxjs to 6.4.0 (false deprecations on 6.5.1)
2019-05-27 15:46:30 +12:00
ian.he
75884d22a3
0.77.102
2019-05-27 15:46:29 +12:00
Alex Wang
ed2e44ac93
v0.77.101
2019-05-27 15:46:29 +12:00
Travis CI
116714a8f9
upstream upgrade(v0.77.1)
...
release v0.77.100
2019-05-27 15:46:19 +12:00
Jaco Greeff
73a184ec7d
Expand Digest for asAura, use in HeaderExtended ( #832 )
2019-05-27 15:45:50 +12:00
Jaco Greeff
e4371684b6
Properly map indexes (swapped in balances -> indices change) ( #831 )
...
* Properly map indexes (swapped in balances -> indices change)
* Typos
2019-05-27 15:45:50 +12:00
ian.he
6b6b7fe145
chore: rebranding to @plugnet
2019-04-26 16:43:32 +12:00
ian.he
1f4e7638d5
v0.76.102
2019-04-16 16:37:21 +12:00
ian.he
327c20ddea
v0.76.101
2019-04-16 14:55:50 +12:00
ian.he
4e30fab9d6
init
2019-04-11 13:42:06 +12:00