Commit Graph
2096 Commits
Author SHA1 Message Date
Jaco Greeff af682bc23b Custom extrinsic formats (docs) (#1429)
* Custom extrinsic formats (docs)

* Typos

* Typos (other docs)
2019-09-30 14:42:06 +02:00
Travis CI 7b2cf6dcb0 [CI Skip] 0.94.0-beta.2 2019-09-30 12:41:49 +00:00
Amaury Martiny 9807ff70fa Fix api.derive missing typings (#1428)
* Use @polkadot/types imports everywhere

* use t for all interfaces

* Add comment
2019-09-30 14:24:01 +02:00
Travis CI d30bd0dd86 [CI Skip] 0.94.0-beta.1 2019-09-28 08:00:59 +00:00
Jaco Greeff 25f78a7354 Stringify error data structs (#1426) 2019-09-28 09:44:35 +02:00
Travis CI 0bc0ef6110 [CI Skip] 0.94.0-beta.0 2019-09-27 14:48:55 +00:00
Stefanie Doll b231b7b8cb Rename types in docs to match exports (#1424) 2019-09-27 16:32:11 +02:00
Travis CI 8b0ef159c0 [CI Skip] 0.93.1 v0.93.1 2019-09-26 10:13:03 +00:00
Jaco Greeff 96937666d1 0.93 (#1423) 2019-09-26 11:55:41 +02:00
Travis CI da6cd98e6a [CI Skip] 0.93.0-beta.20 2019-09-25 15:37:21 +00:00
Jaco Greeff ad4a6e63ce Use rpc.account.nextIndex in submittables (#1422) 2019-09-25 17:20:46 +02:00
Travis CI c0a804332b [CI Skip] 0.93.0-beta.19 2019-09-25 11:48:04 +00:00
Jaco Greeff 32c4aa3bfe Bump polkadot meta (#1419) 2019-09-25 13:29:47 +02:00
Jaco Greeff 8293f4b585 Bumps & 0.93 CHANGELOG (#1420)
* Bumps & 0.93 CHANGELOG

* Linting
2019-09-25 13:29:07 +02:00
Travis CI 4d2dfb43b8 [CI Skip] 0.93.0-beta.18 2019-09-25 08:42:51 +00:00
Jaco Greeff a0b8619093 Author-only Babe compat over CC1 & latest (#1418) 2019-09-25 10:26:32 +02:00
Travis CI c1396bc23a [CI Skip] 0.93.0-beta.17 2019-09-24 16:06:35 +00:00
Jaco Greeff 692c208b20 Update of Babe Pre Digest from master (#1416) 2019-09-24 17:50:08 +02:00
Travis CI 498e3a1481 [CI Skip] 0.93.0-beta.16 2019-09-24 15:04:07 +00:00
Jaco Greeff 8de45cb09e Update metadata (Babe updates) (#1410)
* Update metadata (Babe updates)

* Bump with latest master

* Use genesisSlot as opposed to epochStartSlot (wrongly)

* Calculate session from genesis start

* Re-create after master merge

* Kusama CC1 chain type overrides
2019-09-24 16:47:04 +02:00
Travis CI 539b26ed87 [CI Skip] 0.93.0-beta.15 2019-09-24 13:11:55 +00:00
Jaco Greeff 68a3b18385 Example for hex & string seeds (#1415) 2019-09-24 14:55:12 +02:00
Travis CI 1573185bf8 [CI Skip] 0.93.0-beta.14 2019-09-23 16:23:10 +00:00
Jaco Greeff fff6f311e0 Typos... 2 in a short sentence, oompf. (#1413) 2019-09-23 17:59:06 +02:00
Travis CI a7b733daa7 [CI Skip] 0.93.0-beta.13 2019-09-23 15:02:16 +00:00
Amaury Martiny 00d86011a7 Correctly type api.query.*.* (#1406)
* v1, very wip

* Refactor file arch

* Clean some code

* Make it work for all methods

* Have correct typings!

* Add similar types

* Fix missing imports

* Move function order

* Put any for now

* Make api.queryMulti work

* Add override check

* Fix typings to make it better

* Uncomment code

* Fix lint

* Fix lint

* Put checkTypes into correct place in file

* Spaces...

* Add multi test

* Use interface instead of type alias

* Add comment

* Fix indentation

* Ignore query.types.ts
2019-09-23 16:46:35 +02:00
Travis CI 84b9b8dc09 [CI Skip] 0.93.0-beta.12 2019-09-20 15:28:39 +00:00
Amaury Martiny 06d0c1fdfb Factorize repeated logEvents function (#1409) 2019-09-20 17:16:12 +02:00
Travis CI bc8782a885 [CI Skip] 0.93.0-beta.11 2019-09-20 08:30:16 +00:00
James Lefrère e7f488ed89 Fixes for examples (#1408)
* Add various fixes for the examples
* Add the workaround for proposals for `impl_version` 94
* TODO: fix `toPromise` issue for queries with RxJS
2019-09-20 10:15:46 +02:00
Travis CI 7b56a52fc3 [CI Skip] 0.93.0-beta.10 2019-09-19 13:01:56 +00:00
Jaco Greeff 67929d34bd Fix FAQ link 2019-09-19 14:49:05 +02:00
Travis CI 5eef25c815 [CI Skip] 0.93.0-beta.9 2019-09-19 10:53:08 +00:00
Jaco Greeff 134c4b611a FAQ entry for root (#1407) 2019-09-19 12:40:52 +02:00
Travis CI 095f63c46e [CI Skip] 0.93.0-beta.8 2019-09-19 09:57:03 +00:00
James Lefrère 73d7a57d38 Add .eq() usage to docs and fix docs typos (#1405)
* Use `eq` for example

* Use the base `eq` function rather than `===`, so that comparisons are made in a consistent manner in docs

* Add `eq` example

* Add an example of using the `eq` method to the base docs

* Adjust docs/examples

* Fix a number of typos in the static docs and examples
* Adjust various comments in docs examples such that they are written in a consistent case

* Fix metadata docs spacing

* Adjust the metadata documentation generation such that unnecessary spaces are trimmed
2019-09-19 11:43:47 +02:00
Travis CI 229fd72526 [CI Skip] 0.93.0-beta.7 2019-09-17 17:32:08 +00:00
Jaco Greeff db9dcbdad5 Fix moved link for rpc methods (#1403) 2019-09-17 19:17:21 +02:00
Travis CI 9f065abb07 [CI Skip] 0.93.0-beta.6 2019-09-17 16:47:18 +00:00
Julien Eluard 564964a482 Fixed typos about module balances (#1402) 2019-09-17 18:33:33 +02:00
Travis CI ceee734ab1 [CI Skip] 0.93.0-beta.5 2019-09-17 14:53:05 +00:00
Julien Eluard 3720cf86cc Fixed typo (#1401) 2019-09-17 16:40:22 +02:00
Travis CI a4f1651f99 [CI Skip] 0.93.0-beta.4 2019-09-17 10:07:55 +00:00
Julien Eluard 5b6762373c Fixed typo (#1400) 2019-09-17 11:55:13 +02:00
Travis CI a72fbece96 [CI Skip] 0.93.0-beta.3 2019-09-16 10:13:28 +00:00
Jaco Greeff 587c9881f8 Typo, caused -> causes (#1399) 2019-09-16 12:01:03 +02:00
Travis CI 36991fb845 [CI Skip] 0.93.0-beta.2 2019-09-16 09:54:08 +00:00
Jaco Greeff bed3f9f4c5 Add rpc_methods (#1397)
* Add rpc_methods

* Adjust interface tests

* Add account_nextIndex & contracts_call, filter

* Rework AbstractArray includes with some

* Adjust tests

* Ordering

* Correct definitions (pull in from methods)

* Be agressive on filtering, regardless of isOptional

* async/await in filterRpcMethods

* map Text[] -> string[]

* Correct naming for account_nextIndex

* Remove/don't remove rpc_methods as applicable

* Cleanup method handling errors
2019-09-16 11:40:54 +02:00
Travis CI 5576dacd9a [CI Skip] 0.93.0-beta.1 2019-09-15 19:01:08 +00:00
Jaco Greeff 5d2caddcaf Support recursive type registration (#1396)
* Testcase for recursive types

* hasClass & hasDef

* Drop .only

* Option<Recursive> (simplified test)

* Expand cross-ref tests, plain getOrThrow
2019-09-15 20:48:45 +02:00