Commit Graph
691 Commits
Author SHA1 Message Date
Travis CI 06079c424e [CI Skip] 0.31.81 2018-10-25 19:26:06 +00:00
Jaco Greeff c42b71a6d8 Add EventRecord & PairOf (#349)
* Fix metadata type output for storage

* Add EventRecord

* Add PairOf, rename .with to .with<Class>

* Revert .with changes, test for EventRecord

* ApplkyExtrinsic extends u32

* Log EnumType errors a tiny bit better
2018-10-25 21:21:19 +02:00
Travis CI f54173c862 [CI Skip] 0.31.80 2018-10-25 12:50:52 +00:00
Jaco Greeff 7bfeaa1b20 Auto re-subscribe upon re-connect (#340)
* Auto re-subscribe upon re-connect

* Update FIXME

* newHead -> subscribeNewHead in example
2018-10-25 14:45:51 +02: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
Travis CI b0164a782a [CI Skip] 0.31.79 2018-10-25 12:10:37 +00:00
Jaco Greeff b1e13b20c8 Class-ify and cleanup mock provider (#347) 2018-10-25 14:05:43 +02:00
Jaco Greeff d6b6713418 Classify JSONRPC coder (#341) 2018-10-25 14:04:26 +02:00
Travis CI 9590e1d08e [CI Skip] 0.31.78 2018-10-24 16:31:29 +00:00
Jaco Greeff c0e95865d0 Trigger build 2018-10-24 18:26:46 +02:00
Travis CI 3480c918d8 [CI Skip] 0.31.77 2018-10-24 15:51:55 +00:00
Jaco Greeff eb143b3fdd Bump deps (#345)
* Bump deps

* Mock-socket definition hacks
2018-10-24 17:47:01 +02:00
Travis CI c27b8f8238 [CI Skip] 0.31.76 2018-10-24 12:46:01 +00:00
Jaco Greeff 0c236156b3 Fix callback params (e2e) (#342) 2018-10-24 14:41:13 +02:00
Travis CI 384679f586 [CI Skip] 0.31.75 2018-10-24 09:32:44 +00:00
Jaco Greeff 6d3de598de Cleanup type tests (#339)
* Cleanup type tests

* Add Data (as now found as a Rust type)

* Data naming
2018-10-24 11:27:55 +02:00
Travis CI 0ae6b7e76c [CI Skip] 0.31.74 2018-10-22 18:55:20 +00:00
Jaco Greeff 3ac4a3b5be Address type cleanups (#337)
* AccountIndex allows only <= 0xef for 1 byte

* Max 1-byte constructed from prefix

* Expand Address tests, add ts checks
2018-10-22 19:05:05 +02:00
Jaco Greeff d2eb6e5e5b Expose valueOf on Bool (aligns with Boolean) (#336)
* Expose valueOf on Bool (aligns with Boolean)

* Bool constructor allows Boolean
2018-10-22 15:07:28 +02:00
Travis CI 8b0afadeff [CI Skip] 0.31.73 2018-10-22 10:32:31 +00:00
Jaco Greeff 7566c31e33 Bump deps 2018-10-22 12:21:56 +02:00
Jaco Greeff 9f570cbbe9 Make Extrinsic compatible with Method (#335)
* Make Extrinsic compatible with Method

* Remove Method -> methodIndex, only use callIndex
2018-10-22 12:10:39 +02:00
Travis CI b3e9b2510b [CI Skip] 0.31.72 2018-10-21 11:26:21 +00:00
Luke Schoen 16bb9bbc1b refactor: Related #323. Try moving Gitbook logo generator into devDependencies (#333)
* refactor: Related #323. Try moving Gitbook logo generator into devDependencies

* refactor: Move all Gitbook plugins to devDependencies incl. babel plugin resolver
2018-10-21 13:21:48 +02:00
Travis CI dada1d40af [CI Skip] 0.31.71 2018-10-19 15:27:32 +00:00
Jaco Greeff ed8c2e3ac1 Simple subscription results combinator (#327)
* Cleanup docs, refer to api/promise in Base

* Simple subscription results combinator

* Optional callback in constructtion

* Typo in example
2018-10-19 17:21:52 +02:00
Travis CI 9edb5eb026 [CI Skip] 0.31.70 2018-10-19 15:04:37 +00:00
Amaury Martiny 1635638f50 Decode logs, without events (#328)
* Decode logs (without events)

* Put digestItem in digest

* Use spec.ts for signedBlock

* Fix bug type

* Add header

* Remove comment

* Add comment

* Fix bug order
2018-10-19 16:59:58 +02:00
Travis CI e09dd254e5 [CI Skip] 0.31.69 2018-10-19 13:00:33 +00:00
Amaury Martiny 40342c6547 Make jsons readable (#326) 2018-10-19 14:55:42 +02:00
Travis CI acea3e3706 [CI Skip] 0.31.68 2018-10-19 12:53:50 +00:00
Amaury Martiny f2287f38c5 class Struct extends Map (#321)
* Rename to getAtIndex

* Add codec interface

* Fix stuff

* Fix struct

* Allow ts

* Add useful types

* Fix related types

* Fix test

* Small fix

* Use this.get everywhere

* Fix import

* Typos

* Fix ts ignore

* Add more tests

* Update polkadot dev

* Don't change jest config

* Fix eol
2018-10-19 14:49:09 +02:00
Travis CI 174978a072 [CI Skip] 0.31.67 2018-10-19 11:51:14 +00:00
Jaco Greeff 3e79ac57f9 Declutter types root (a bit), move *.rpc.json to json/ (#325)
* Declutter types root (a bit), move *.rpc..json to json/

* Add Metadata.001.json (BBQ)
2018-10-19 13:44:24 +02:00
Travis CI 0ee7125313 [CI Skip] 0.31.66 2018-10-18 16:51:47 +00:00
Jaco Greeff 11058e76cd Ignore log event decoding via Vector<Null> (#322)
* Ignore log event decoding via Struct

* Vecor<Null>

* Comment
2018-10-18 18:47:03 +02:00
Travis CI 6269fa6ee2 [CI Skip] 0.31.65 2018-10-18 15:57:04 +00:00
Jaco Greeff 4c04dc0575 Bump dependencies 2018-10-18 17:52:10 +02:00
Travis CI b8389e6e36 [CI Skip] 0.31.64 2018-10-18 15:36:35 +00:00
Jaco Greeff ec7b96b929 Array defaults for null | undefined (#319)
* Array defaults for null | undefined

* Remove unused inputs
2018-10-18 17:31:32 +02:00
Travis CI 60ed2af2c6 [CI Skip] 0.31.63 2018-10-18 14:37:53 +00:00
Jaco Greeff 1b12c0094b Generate Event metadata docs (#316)
* Generate Event metadata docs

* Update MetadataMd.ts
2018-10-18 16:32:50 +02:00
Travis CI 420f215660 [CI Skip] 0.31.62 2018-10-18 11:50:31 +00:00
Jaco Greeff 389174b8cc Retrieve balances from AccountIndex (#317)
* Retrieve balances from AccountIndex

* Merge master
2018-10-18 13:45:39 +02:00
Travis CI 01c8cc5e76 [CI Skip] 0.31.61 2018-10-18 11:34:46 +00:00
Jaco Greeff 55ac4626d5 Cleanup imports from @polkadot/util (#315)
* Cleanup imports from @polkadot/util

* Example imports

* Alphabetic imports
2018-10-18 13:30:04 +02:00
Travis CI 8b7b76ead8 [CI Skip] 0.31.60 2018-10-18 09:10:48 +00:00
Jaco Greeff 290123b85f Cleanup util-crypto & keyring imports (#314)
* Cleanup util-crypto & keyring imports

* Adjust util imports for types

* Bump deps
2018-10-18 11:06:02 +02:00
Travis CI ef5e0f6c9c [CI Skip] 0.31.59 2018-10-18 08:28:38 +00:00
Amaury Martiny 008c78fe42 Replace byteLength() by get encodedLength() (#313)
* Replace byteLength by encodedLength

* Replace (continued)
2018-10-18 10:23:54 +02:00