Commit Graph
2074 Commits
Author SHA1 Message Date
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
Jaco Greeff ed7bd61230 Sanitize types in createType (#1395) 2019-09-15 20:48:16 +02:00
Travis CI cd272e890f [CI Skip] 0.93.0-beta.0 2019-09-13 10:40:44 +00:00
Jaco Greeff 0f21d522d7 Don't fail session info when babe is not available (#1391) 2019-09-13 12:27:39 +02:00
Travis CI 957f3f404c [CI Skip] 0.92.1 v0.92.1 2019-09-12 13:42:03 +00:00
Jaco Greeff d1105c899f 0.92 (#1390)
* Metadata for current Substrate master

* 0.92 doc updates

* @polkadot/util 1.4.1

* Update static polkadot metadata

* Version bump
2019-09-12 15:29:48 +02:00
Travis CI df97bc2bf8 [CI Skip] 0.92.0-beta.9 2019-09-12 10:26:07 +00:00
Jaco Greeff ebe77c25c7 FAQ for offline signing (#1388)
* FAQ for offline signing

* Shorten questions
2019-09-12 12:13:45 +02:00
Travis CI eed83fa5d9 [CI Skip] 0.92.0-beta.8 2019-09-12 09:34:51 +00:00
Jaco Greeff b62b1b248d Add specVersion to mini extraction (#1387) 2019-09-12 11:21:41 +02:00
Jaco Greeff 3b30f1fd43 Start FAQ (#1386)
* Start FAQ

* Update FAQ.md
2019-09-12 11:21:14 +02:00
Travis CI f28fff78b6 [CI Skip] 0.92.0-beta.7 2019-09-12 08:17:23 +00:00
Jaco Greeff 8b80ce7132 Expose keyring via @polkadot/api (#1385)
* Expose keyring via @polkadot/api

* typo, not -> now
2019-09-12 10:03:25 +02:00
Travis CI 8accd2945e [CI Skip] 0.92.0-beta.6 2019-09-11 16:03:32 +00:00
Jaco Greeff f8ec93adea Merge branch 'master' of github.com:polkadot-js/api 2019-09-11 17:51:30 +02:00
Jaco Greeff f4fc3589cc Docs sidebar depth 2019-09-11 17:51:26 +02:00
Travis CI 4e52a2ec02 [CI Skip] 0.92.0-beta.5 2019-09-11 15:44:52 +00:00
Jaco GreeffandThibaut Sardan 55fb391465 Things I wish I knew... (#1374)
* Make a start

* Intro

* Installation

* Flatten

* Move METHODS_*.md to substrate/*.md

* Basics

* Apply suggestions from code review

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

* Substrate links

* Create

* api.consts

* Typo

* Typo, ms -> md

* types.basics (SIP)

* Type basics

* api.consts jumps to api.query

* Start to api.query

* Basic queries

* Point starting to actual overview

* api.rpc

* Derive detour

* Query subs & query multi

* Apply suggestions from code review

Co-Authored-By: Thibaut Sardan <33178835+Tbaut@users.noreply.github.com>

* typo

* Query extras

* Basic transactions

* Misplaced ,

* keyring WIP

* Keyring wrap-up

* Subs SIP

* tx subs more WIP

* tx subs

* Small types cleanups

* Apply suggested changes from @JoshOrndorff

* Clarify naked await

* tx wrapping WIP

* Wrap api.wrap

* TS placeholder

* [WIP] markers for not-started

* Clarifying comments

* Additional clarifications

* types.extend... well, extended...

* Remove *nix

* Warp up TypeScript... it is it (for now)

* Some small text clarifications

* Some cleanups

* Cleanups, typos

* keyring cleanups

* Cleanups

* Wrap

* api.wrap wrapped... hopefully

* typos

* Registration typos

* typescript typos, hope I caught most...
2019-09-11 17:32:34 +02:00
Travis CI 3e417f4f94 [CI Skip] 0.92.0-beta.4 2019-09-11 11:02:56 +00:00
Jaco Greeff 158410011e Bump deps (#1384) 2019-09-11 12:51:00 +02:00
Travis CI 7383b1e1d7 [CI Skip] 0.92.0-beta.3 2019-09-10 18:37:45 +00:00
Jaco Greeff ad9d21cae2 Remove outdated blockNumber refs. in API docs (#1382)
* Remove outdated blockNumber refs

* ExtendedHeader

* Update subscribeNewHeads.ts
2019-09-10 20:23:37 +02:00
Travis CI 777007438c [CI Skip] 0.92.0-beta.2 2019-09-10 17:54:33 +00:00