Commit Graph
722 Commits
Author SHA1 Message Date
Travis CI 063060dffe [CI Skip] 0.31.96 2018-11-01 11:01:33 +00:00
Jaco Greeff a03babe65c Expose event meta (#372) 2018-11-01 11:57:01 +01:00
Travis CI a88bcbb29c [CI Skip] 0.31.95 2018-11-01 09:58:05 +00:00
Jaco Greeff 8dbf0fa48d Rx caches only perform merge with same-sized arrays (#371)
* Rx caches only perform merge with same-sized arrays

* Cleanup additional casting
2018-11-01 10:53:41 +01:00
Travis CI 7c683d7478 [CI Skip] 0.31.94 2018-10-31 16:50:32 +00:00
Jaco Greeff b09cbf6707 Event data carries section + method (#369)
* Event data carries section + method

* Expose method & section on event itself

* Expose typeDef on Event via EventData
2018-10-31 17:45:51 +01:00
Travis CI cb8a683f2a [CI Skip] 0.31.93 2018-10-31 15:35:06 +00:00
Jaco Greeff 50d23b7611 Export missing types, e.g. Digest, Event, Type (#368) 2018-10-31 16:29:39 +01:00
Travis CI 2ff59c1b72 [CI Skip] 0.31.92 2018-10-31 14:04:16 +00:00
Jaco Greeff 1e250c6523 Add api-observable systemEvents (#367) 2018-10-31 14:59:27 +01:00
Travis CI b18049fbae [CI Skip] 0.31.91 2018-10-30 16:28:19 +00:00
Jaco Greeff 686ea05167 Add Set basetype (#365)
* Add Set basetype

* Test and log invalid init values

* Set.value -> Set.values

* isEmpty used this.values in Set

* Cleanup erronenous export

* Export Option for codec
2018-10-30 17:23:20 +01:00
Travis CI 636c14b770 [CI Skip] 0.31.90 2018-10-29 15:55:36 +00:00
Jaco Greeff 90d88ae2b6 Header.BlockNumber is Compact (#364) 2018-10-29 16:50:50 +01:00
Travis CI 92d99217d6 [CI Skip] 0.31.89 2018-10-29 14:23:21 +00:00
Jaco Greeff 246c482323 Seal.slot as U64 (#363) 2018-10-29 15:18:34 +01:00
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
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