Jaco Greeff
73f2a2abc3
availableBalance should be >0 ( #963 )
...
* availableBalance should be >0
* Remove double >0 check
* Add e2e test
2019-05-30 13:27:07 +02:00
Thibaut Sardan
7155848ba7
Redeemable and Unlocking in staking.info ( #959 )
...
* init
* init2
* redeemable
* unlocking
* address some comments
* remove map and exit early
* add test for unlocking
* lint
* comment and lint
* use SubmittableResult
* swap _stakingLedger and stakingLedger
2019-05-29 17:06:47 +02:00
Jaco Greeff
07ba80bee1
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-05-16 14:28:08 +02:00
Jaco Greeff
2dfc55cb5c
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-05-16 11:36:41 +02:00
Stefanie Doll
c30d3a80e8
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-05-15 11:50:28 +02:00
Jaco Greeff
3557657034
Expose queryMulti on api ( #909 )
...
* Expose queryMulti on api
* Convert contract fees to queryMulti
2019-05-15 10:41:48 +02:00
Jaco Greeff
5a82fb623f
Expand Digest for asAura, use in HeaderExtended ( #832 )
2019-04-09 17:00:44 +02:00
Jaco Greeff
e2b15adaf2
Update keyring, new ss58 checksums ( #812 )
2019-03-29 15:16:11 +01:00
Amaury Martiny
3e43bc5ea9
fix: remove cache from api-derive ( #779 )
...
* Remove cache from api-derive
* Skip e2e
* Update headers to 2019
2019-03-15 12:45:50 +01:00
Jaco Greeff
34888bd4fb
Remove /index imports (swap to bare) ( #773 )
...
* Remove /index imports (swap to bare)
* Bump common
2019-03-14 09:02:55 +01:00
Jaco Greeff
b313614935
Pull in vuepress foir docs (as opposed to gitbook) ( #742 )
...
* Pull in latest @polkadot/dev, cleanup existing *.html
* Cleanups (old gitbook interfaces)
* Bump, WIP
* Ready for testing
* Update examples
* Include source
* Cleanup links
* Adjust links
* Add typedoc exclusions
* Default classes from class files
* Adjust imports
* Adjust config
* Re-add types split
* Update links to substrate interfaces
* Anchors for metadata
* Adjust links
* Restore HTML (to be deleted on CI)
* Bump deps
* Re-gen yarn.lock
* Remove a in links
* Adjust interfaces
2019-02-26 15:21:39 +01:00
Jaco Greeff
a3e421f665
Allow for balance/indices lookups ( #596 )
...
* Allow for balance/indices lookups
* Latest metadata
* Indices work
* Update json with actual decoded
* Update Type.ts
* Some tests updated
* Update final tests
* Remove .only from derive e2e (really skip it)
2019-01-17 15:11:50 +01:00
Jaco Greeff
a69cff1c64
Add derive.staking.intentionsBalances ( #595 )
...
* Add derive.staking.intentionsBalances
* Skip e2e test
* ts-lint?
* Alignment with new signatures, remove all slices
2019-01-17 09:55:08 +01:00
Amaury Martiny
d07ed8ac38
Refactor api-promise/rx ( #566 )
...
* Use a generic abstract OnCall
* Add OnCall for Promise
* First run at fixing extrinsics
* Fix types
* Make submittable extrinsic work
* Move file
* Make derive work
* Fix types
* Only call metadata once
* Make tests pass
* Put event emitter in apirx
* Fix small bugs
* Fix tests
* Fix bug decorateStorage
* Make tests pass for tx
* Move rpc base to apirx
* Fix lint
* Fix small bugs
* Fix bug with isSubscription
* Fix codeclimate
* Revert
* Add tslint disable line
* Fix lint
* Skip e2e
* Typo
* Lint
* Re-add combinator back
* Add ._rx in Base
* Make extrinsics work
* Update derivex
* Fix bug lint
* Fix circular dep
* Fix bug e2e
* Remove useless check
* Add description comment
* Clean stuff
* Move assert to Base
* Bump version, update CHANGELOG
* Make _rx private
* Private emit
2019-01-16 15:42:59 +01: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