Commit Graph
202 Commits
Author SHA1 Message Date
Travis CI 2edd69c935 [CI Skip] 0.41.8 2019-01-28 17:52:36 +00:00
Amaury Martiny e811d737f2 Use memoizee instead of custom cache (#643)
* First run at using memoizee

* Make cached test pass

* Fix replay test

* Update e2e test

* Fix types

* Fix lint

* Simplify types

* Add comment
2019-01-28 18:46:46 +01:00
Jaco Greeff 843f374ca7 Misc small cleanups (#625)
* Misc small cleanups

* Bump deps
2019-01-23 22:10:38 +01:00
Jaco Greeff 9373e5d6d7 Bump dev dependency (fix for doc generation) (#619) 2019-01-22 23:12:35 +01:00
Jaco Greeff db832f0207 Add derive.chain.{getHeader,subscribeNewHead} with author (#602)
* Add derive.chain.{getHeader,subscribeNewHead} with author

* tslint cast, ignore
2019-01-18 14:44:55 +01:00
Jaco Greeff f5b3d58884 Bump deps (#599) 2019-01-17 17:14:45 +01:00
Jaco Greeff 695e4f2cad AccountId toString() with isEmpty (#592)
* AccountId toString() with isEmpty

* isEmpty is real isEmpty check
2019-01-16 10:05:46 +01:00
Jaco Greeff c14d51a31b Bump deps (#586) 2019-01-15 10:54:18 +01:00
Jaco Greeff bb7a5ace55 Fix CI publish (#570) 2019-01-11 12:06:51 +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
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
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
Jaco Greeff 85434e082b Bump util, min compact bitlength (#516) 2018-12-25 13:58:58 +01:00
Jaco Greeff e182769f80 Bump with network prefix (#514) 2018-12-21 16:12:47 +01: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
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
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
Jaco Greeff 5f5ce7a098 Bump package (should have been done with metadata, breaking) (#507) 2018-12-20 22:58:02 +01: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
Jaco Greeff cafc539ae1 Bump deps (#502) 2018-12-20 12:03:47 +01:00
Jaco Greeff f5f915729b Bump deps (#498) 2018-12-19 21:27:12 +01:00
Jaco Greeff 4ef8bd36c3 Add missing Polkadot (parachains module) types (#491)
* Add ParaId (u32, originally ParachainId)

* Add AttestedCandidate (setHeads)

* Bump dependencies

* Cater for latest.substrate.json rename

* Update version deps
2018-12-18 16:46:39 +01:00
Jaco Greeff 5fa087e7c0 Return { status: ExtrinsicStatus } from tx send subscription (#486)
* Return { status: ExtrinsicStatus } from tx send subscription

* Added changelog

* Fix typo

* Bump version

* Bump deps
2018-12-18 11:13:32 +01:00
Jaco Greeff c75c849d95 Bump common (RN native test revert) (#488) 2018-12-17 22:55:19 +01:00
Jaco Greeff 488f42c3d0 Bump common (#487) 2018-12-17 21:44:21 +01:00
Jaco Greeff 91128d342c Add explicit core-js dep (#485) 2018-12-17 20:23:43 +01:00
Jaco Greeff 5f1178f698 Bump common (TextEncoder/Decoder polyfill) (#482) 2018-12-17 14:54:29 +01:00
Jaco Greeff 4291a49d22 Instantiate EnumType via Object (not Array) (#469)
* Instantiate EnumType via Object (not Array)

* Split decoding into steps... slight simplification

* Use assert for index check

* Add JSON decoding tests
2018-12-14 15:09:21 +01:00
Jaco Greeff 7be8d825da Bump dependencies (#455) 2018-12-10 11:57:48 +01:00
Jaco Greeff 6b3ba22da7 Bump common, some additional cleanups (#453) 2018-12-09 14:30:09 +01:00
Jaco Greeff 448a729d70 Fix some Codeclimate smells (#450)
* Fix some Codeclimate smells

* Cleanup Metadata complexity

* Cleanup uniqueTypes

* Bump deps
2018-12-08 15:31:54 +01:00
Jaco Greeff c9cc9042e2 Bump common (#446) 2018-12-06 12:29:26 +01:00
Jaco Greeff fced67f23d Migrate to travis-ci.com, bump deps (#441) 2018-12-05 16:02:00 +01:00
Jaco Greeff a7b177d7dd Document getters and functions for all types (static missing) (#431)
* Document getters and functions for all types (static missing)

* Update SignedBlock.ts

* Bump @polkadot/dev, introduce @noInheritDoc

* Text inherits from String

* Link to indv. types from README

* Add base to UInt toString
2018-12-03 15:47:22 +01:00
Jaco Greeff 9092250acc Move types.d.ts -> types.ts (#421)
* Move types.d.ts -> types.ts

* Bump common deps
2018-11-29 12:13:28 +01:00
Jaco Greeff 379e82af85 Bump dev, remove unused eslint config (#420) 2018-11-29 11:21:47 +01:00
Jaco Greeff ecdd53eb43 Bump dev, tslint config (#418)
* Bump dev, tslint config

* Bump common
2018-11-28 16:33:27 +01:00
Jaco Greeff 5e5f8b8dab Bump deps, update with stricter TS checks from dev (#415)
* Bump deps, update with stricter TS checks from dev

* Add pretty to tsc
2018-11-27 14:44:51 +01:00
Jaco Greeff 4497be6f19 Cleanup api-observable Vector FIXMEs (#410)
* Cleanup api-observable Vector FIXMEs

* Simplify rawStorage

* Fix linting

* Bump deps
2018-11-22 14:44:11 +01:00
Jaco Greeff d0ff8937a4 Use compact* from util for encoding (#409)
* Use compact* from util for encoding

* Remove @polkadot/extrinsics from types imports

* Cleanup manual length concat

* Add missing @polkadot/types dependencies
2018-11-21 17:21:44 +01:00
Jaco Greeff 4805f9cb36 Update LICENSE and README (#408)
* Update LICENSE and README

* Bump
2018-11-21 13:37:27 +01:00
Jaco Greeff 19aed57c98 Bump dependencies (#398) 2018-11-14 14:44:09 +01:00
Jaco Greeff 67dd4987cf Bump deps (common) (#397) 2018-11-14 11:11:19 +01:00
Jaco Greeff 7afcb49871 Bump deps 2018-11-13 12:58:13 +01:00
Jaco Greeff 8121aa2927 Bump util, fix constructors (#393) 2018-11-12 18:15:35 +01:00
Jaco Greeff d5bca161b5 Allow index calc as fallback (#391) 2018-11-10 11:56:43 +01:00
Jaco Greeff 9f88cd8370 Bump @polkadot dependencies 2018-11-01 14:55:09 +01:00
Jaco Greeff d2efc664fe Yarn 1.10.1 on CI and engines (#348)
* Move @babel/core (root) to devDependency

* Yarn 1.10.1 on CI and engines

* Fix incorrect dep
2018-10-25 14:45:31 +02:00