Commit Graph
781 Commits
Author SHA1 Message Date
Travis CI 31cf8eee13 [CI Skip] 0.31.88 2018-10-29 13:55:59 +00:00
Jaco Greeff 28fd04c9e9 Add toU8a for EnumType (#362) 2018-10-29 14:51:07 +01:00
Travis CI 4d920bbffa [CI Skip] 0.31.87 2018-10-29 13:20:12 +00:00
Jaco Greeff 96dc7dfd90 Add DigestItem(Seal) for Aura (#361)
* Add DigestItem(Seal) for Aura

* Re-add DigestItem export
2018-10-29 14:15:16 +01:00
Travis CI 5161b1bc5a [CI Skip] 0.31.86 2018-10-29 10:45:10 +00:00
Jaco Greeff 22632342c8 Decode meta <T as HasCompact>::Type (#358)
* Decode meta with HasCompact

* Revert saved meta (until create done)

* Construct Compact.with, allow Compact extends Base

* Remove (now invalid) comment

* createType creates Compact<*>

* Allow Compact<Moment>

* Update Type.ts

* Update Type.ts

* Update Type.ts
2018-10-29 11:40:36 +01:00
Travis CI 298e31603c [CI Skip] 0.31.85 2018-10-29 10:33:52 +00:00
Jaco Greeff 78f179c09e Remove PairOf, convert to simple Tuple (#360) 2018-10-29 11:29:22 +01:00
Jaco Greeff 1b87784403 Expand/align promise/rx tx e2e tests (#356)
* Expand/align promise/rx tx examples

* Remove autocomplete being over the top :)

* Update docs/examples/promises/07 deps
2018-10-29 11:26:50 +01:00
Travis CI 53921410a3 [CI Skip] 0.31.84 2018-10-29 10:22:46 +00:00
Jaco Greeff 822f15e3a2 AccountIndex extends U32 (#355)
* AccountIndex extends U32

* Re-add toU8a with isBare override

* Small clarifications

* case-sensitive import

* Update comment
2018-10-29 11:18:20 +01:00
Travis CI f91d2d4e6e [CI Skip] 0.31.83 2018-10-29 09:34:49 +00:00
Jaco Greeff a2b22e3bb8 Allow Block/Header constructor via Uint8Array (client use) (#357) 2018-10-29 10:30:20 +01:00
Travis CI 5b229afeed [CI Skip] 0.31.82 2018-10-26 12:29:19 +00:00
Jaco Greeff 4997d8fb06 Event definitions (#350)
* Event definitions

* Compact things a bit

* Cleanup AccountIndex decoding, align Address

* Remove stand-alone MethodIndex (declutter)

* Inject metadata into Event from api

* Update API TODOs to reflect current state

* Update & expand comments

* EventData only takes Uint8Array inputs (via EventRecord)

* Remove duplicated toHex

* Add FIXME with link to base issue
2018-10-26 14:24:38 +02:00
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
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
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