Commit Graph
667 Commits
Author SHA1 Message Date
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
Travis CI 90cfd343eb [CI Skip] 0.31.58 2018-10-17 13:44:41 +00:00
Amaury Martiny f25d479bd7 Fix method (#312)
* Fix method

* Fix lint
2018-10-17 15:37:06 +02:00
Travis CI 9ab3b2796f [CI Skip] 0.31.57 2018-10-17 11:46:15 +00:00
Amaury Martiny 38e3f8cdb7 Add get argsDef (#311) 2018-10-17 13:41:43 +02:00
Travis CI 6673272fad [CI Skip] 0.31.56 2018-10-17 10:34:21 +00:00
Amaury Martiny 94a202f33e Rename Struct.get to .getAtIndex (#310)
* Rename to getAtIndex

* Fix lint
2018-10-17 12:29:53 +02:00
Travis CI e5b71a3020 [CI Skip] 0.31.55 2018-10-17 09:56:39 +00:00
Amaury Martiny 221bfac019 No from* (#309)
* Remove fromJSON/fromU8a

* Remove fromJSONx

* Remove unused import
2018-10-17 11:51:57 +02:00
Travis CI ed66239d33 [CI Skip] 0.31.54 2018-10-17 08:51:08 +00:00
Amaury Martiny 471bfce769 Rewrite Method (#308)
* Let Method extend Struct

* Fix Method

* Allow to pass array into Struct constructor

* Formatting

* Fix tests

* Add explicit function return type
2018-10-17 10:46:12 +02:00
Travis CI 30b1b4fcc8 [CI Skip] 0.31.53 2018-10-17 05:17:35 +00:00
Luke Schoen e8e92cd0d5 fix: Fixes #288. Alphabetical ordering for Sections and Methods of RPC, Storage, and Extrinsics (#291)
* fix: Manual alphabetical ordering for Storage Substrate methods

* fix: Fixes #288. Alphabetical ordering for Sections and Methds of RPC, Storage, Extrinsics

* refactor: Move alphabetical sorting of Methods in Extrinsics Section into separate function

* refactor: Use localeCompare to sort more concisely
2018-10-17 07:12:43 +02:00
Travis CI f530e1828f [CI Skip] 0.31.52 2018-10-16 10:40:20 +00:00
Amaury Martiny 106c59d341 Don't use fromJSON/fromU8a anywhere in code (#298)
* Don't use fromJSON/u8a anywhere

* Remove useless cast

* Nicer formatting
2018-10-16 12:35:40 +02:00
Travis CI 484ab9401c [CI Skip] 0.31.51 2018-10-16 10:03:29 +00:00
Jaco Greeff ef2b0b4eba Address from ss-58 AccountIndex (#307)
* Address from ss-58 AccountIndex

* Update Address.spec.js
2018-10-16 11:59:01 +02:00
Travis CI cb775c3a1c [CI Skip] 0.31.50 2018-10-16 08:35:49 +00:00
Jaco Greeff 6cfad070aa Properly calculate AccountIndex sets 2018-10-16 10:31:08 +02:00
Travis CI 261a2b2092 [CI Skip] 0.31.49 2018-10-16 08:05:14 +00:00
Jaco Greeff 4ff2b2dc8b Start enumSet lookup at 1 2018-10-16 10:00:30 +02:00
Travis CI a1871012e2 [CI Skip] 0.31.48 2018-10-16 07:31:15 +00:00
Jaco Greeff 7d303a9fe4 accountId -> accountIndex (#306)
* accountId -> accountIndex

* Lookup id & index in one
2018-10-16 09:26:09 +02:00
Travis CI 5a1492a921 [CI Skip] 0.31.47 2018-10-15 21:52:42 +00:00
Jaco Greeff f31c35e48e Return array from enumset (#305) 2018-10-15 23:48:00 +02:00