Travis CI
7eb2b29201
[CI Skip] 0.29.11
2018-09-26 05:30:33 +00:00
Luke Schoen
f399bb6fd6
docs: Fixes #154 ( #167 )
...
* Move triple backticks onto new line so it doesn't break the code snippet formatting
* Add newline between dependency imports and variable declarations
* Add link to relevant line of Github repo of eventemitter3 instead of the travis build directory
* Add full stop at end of sentence in line before `@example` in .ts files, since I noticed that was the only difference between code snippet in docs that was being rendered correctly and one that was not (if the docs were generated from it). Not sure if this actually makes any difference though, but it doesn't hurt to try. i.e. change `[[unsubscribe]]` to `[[unsubscribe]].`
* Add missing code syntax for `new Ws(defaults.WS_URL)`
* Add missing `*__example__*:`
* Add missing semi-colons throughout code
* Fix typos and some grammar
* Move import of external libraries i.e. `const BN = require('bn.js');` or `const crypto = require('crypto');` before `@polkadot` ones in code
* Change from `e` to `error` in catch blocks for readable documentation
2018-09-26 07:24:03 +02:00
Travis CI
bd6cf112b5
[CI Skip] 0.29.10
2018-09-25 16:28:02 +00:00
Jaco Greeff
964bf84b83
Add Types from RPC (and more tests) ( #165 )
...
* Tests for Array for proper coverage
* Expand tests
* Add PropIndex :(
* Add RawAddress
* Index -> Nonce
* Disable test for alias code (commented)
* Block & Extrinsic (base)
* String -> Text, Array -> Vector
* Remove Codec* prefixes
* Unsigned -> Long
* import renames
* Values for structures
* Export classes from Metadata
* Long -> UInt
* Alias vec<u8> -> Bytes
2018-09-25 18:22:25 +02:00
Travis CI
b13486f9ab
[CI Skip] 0.29.9
2018-09-25 11:38:51 +00:00
Jaco Greeff
60d3d6396a
Expand api-codec types ( #163 )
...
* Add missing U* (number) types
* Missing number types & indexes
* Add H256, H512, Hash & Signature
* Add Bool, KeyValue & U8a (base)
* Fix LengthCompact encoder (with tests)
* AccountId
* AccountId toU8a
* Order imports
* Apply type aliasses, PropIndex -> ProposalIndex
* Cleanup mappers
* Add fromJSON to Type
* Spliut with Address, AccountId & AccountIndex
* Add some comments around the types
* instanceOf check
* Address can construct from AccountIndex or AccountId
* Remove Address.encode (unused)
* Allow instance of class in constructor
* Cleanup instanceof (String, Bool, H256, H512)
* AccountId/AccountIndex check around CodecU8a
* Fix unused imports
* Additional in-constructor instanceof constructions
* u8a allows hex, string or u8a inputs
* Metadata.fromJSON
* Add Header
* Allow CodecNumber to take hex/string inputs
* fromJSON uses decoder
* Remove LengthFixed (only compact used), add tests
* Some tests around Type
* Remove unused package
* PR comments
* Expand tests (and fix some bug - yay for tests)
* Rename /base -> /codec
2018-09-25 13:33:28 +02:00
Travis CI
3a54bf18f6
[CI Skip] 0.29.8
2018-09-24 11:58:23 +00:00
Jaco Greeff
d9b05cf9f2
Decode runtime metadata ( #162 )
...
* WIP
* Some output, still borken...
* Events decoded correctly
* WIP, metadata decoded
* String cleanups
* Expand with generics
* Add getters
* Start docs...
* Additional docs
* Extra whitespace on Compact
* CodecLength FIXME
* Remove FIXME (impl. takes care)
* Swap in LengthCompact encoding
* Extend docs, play with auto-type for struct
* Trim strings, add Type for type-specific String
* More string-type hackery
* Don't allow Type re-encoding
* Remove struct experiment
* Cleanup Option
* Remove extra type defs from CodecStruct usage
* Expand Storage function with map (and type returns)
* Description around BaseCodec
* Cleanup linting, add Metadata test
* Move to api-codec
* Extract uniq types
* Uniq updates
* Unwrap, ungeneric
2018-09-24 13:51:20 +02:00
Travis CI
baaf394ccc
[CI Skip] 0.29.7
2018-09-21 08:20:21 +00:00
Jaco Greeff
5219cf12bb
Update dependencies
2018-09-20 17:35:53 +02:00
Travis CI
120f3fd7d4
[CI Skip] 0.29.6
2018-09-19 15:04:54 +00:00
Jaco Greeff
f405b52fc4
Add .nojekyll (_ in filenames) ( #160 )
2018-09-19 16:59:09 +02:00
Travis CI
b421322aa6
[CI Skip] 0.29.5
2018-09-19 14:20:03 +00:00
Jaco Greeff
4854379424
Gitbook rendering updates ( #159 )
...
* Add .nodoc for in-flux packages
* Start with clean-slate for re-generation
* Update with working (although manual) config
2018-09-19 16:14:37 +02:00
Travis CI
ef78f2a024
[CI Skip] 0.29.4
2018-09-17 12:37:37 +00:00
Jaco Greeff
f5b0e23e4b
Use & build gitbook from @polkadot/dev ( #157 )
2018-09-17 14:29:34 +02:00
Travis CI
d9456dd843
[CI Skip] 0.29.3
2018-09-17 08:39:05 +00:00
Jaco Greeff
5f8c52d1e1
Remove create/* folder for API, include priv methods ( #156 )
...
* Remove create/* folder for API, include priv methods
* Move create/* into Api-rx as private
* Modularize subsequent value caching
2018-09-17 10:33:57 +02:00
Travis CI
5a513ac09e
[CI Skip] 0.29.2
2018-09-15 07:17:46 +00:00
Chevdor
0981a30d84
Add documentation and examples ( #145 )
...
* Add documentation
* Justification u8a decoding and json encoding (#146 )
* Decode Justifications
* Json encoding for justifications
* Bump deps
* Allow extrinsic length encoding to operate on u8a[] (#148 )
* Fix config and move generated doc to a subfolder
* Cleanup extrinsic encoding (#150 )
* Cleanup extrinsic encoding
* Removed now-defunct type
* Add uncheckedLength encoding
* Add examples
* Ignore package-lock since we use yarn
* Cleanup examples
* Add gitbook config and some base files for the doc
* Do not make full doc mandatory for now
* Add contributing guide, polish doc and samples
* Update the deps of all samples and add yarn scripts
Fix and regenerate the doc
* Fix Contributing guide
2018-09-15 09:11:56 +02:00
Travis CI
7fffcb3747
[CI Skip] 0.29.1
2018-09-14 15:37:29 +00:00
Jaco Greeff
35b4f9a095
Api & RxApi now created via new ( #153 )
...
* Api & RxApi now created via new
* Bump version
2018-09-14 17:32:58 +02:00
Travis CI
d9ab009917
[CI Skip] 0.28.35
2018-09-13 11:39:52 +00:00
Jaco Greeff
219d574970
Bump deps
2018-09-13 13:35:35 +02:00
Travis CI
6ea874bec8
[CI Skip] 0.28.34
2018-09-13 10:10:19 +00:00
Jaco Greeff
03996722d5
Bump deps
2018-09-13 12:06:36 +02:00
Travis CI
739a4afb6f
[CI Skip] 0.28.33
2018-09-12 12:29:31 +00:00
Jaco Greeff
e1e46bd0e9
l.warn -> l.debug for formatter warning ( #151 )
...
* l.warn -> l.debug for formatter
* Debug with function
* Fix console spy
2018-09-12 14:25:13 +02:00
Travis CI
2e9393bc43
[CI Skip] 0.28.32
2018-09-12 10:19:33 +00:00
Jaco Greeff
eb0356b6eb
Cleanup extrinsic encoding ( #150 )
...
* Cleanup extrinsic encoding
* Removed now-defunct type
* Add uncheckedLength encoding
2018-09-12 12:14:50 +02:00
Travis CI
18b02e91d8
[CI Skip] 0.28.31
2018-09-12 08:28:50 +00:00
Jaco Greeff
99628f2dbd
Allow extrinsic length encoding to operate on u8a[] ( #148 )
2018-09-12 10:25:31 +02:00
Travis CI
08b1fe107f
[CI Skip] 0.28.30
2018-09-11 13:46:15 +00:00
Jaco Greeff
ac52059264
Justification u8a decoding and json encoding ( #146 )
...
* Decode Justifications
* Json encoding for justifications
* Bump deps
2018-09-11 15:41:50 +02:00
Travis CI
a07e8941a1
[CI Skip] 0.28.29
2018-09-07 11:08:57 +00:00
Jaco Greeff
6dbeafbc5b
Bump dependencies
2018-09-07 13:04:32 +02:00
Travis CI
e646801c6f
[CI Skip] 0.28.28
2018-09-07 09:48:16 +00:00
Jaco Greeff
2c4a2c4ed5
Bump dependencies
2018-09-07 11:34:21 +02:00
Travis CI
9c0d9b5832
[CI Skip] 0.28.27
2018-09-05 14:11:58 +00:00
Jaco Greeff
a5b7fdfd0e
Addition staking storage entries ( #144 )
2018-09-05 16:06:36 +02:00
Travis CI
6f1753a37e
[CI Skip] 0.28.26
2018-09-05 12:34:07 +00:00
Jaco Greeff
d3ee0dcc70
Update dependencies
2018-09-05 14:27:47 +02:00
Travis CI
cc331f7be1
[CI Skip] 0.28.25
2018-09-04 08:01:44 +00:00
Jaco Greeff
0b61aded8f
Missing staking methods (slashing, propsal missed, setBalance) ( #143 )
2018-09-04 09:57:24 +02:00
Travis CI
87273e56d9
[CI Skip] 0.28.24
2018-08-29 10:06:15 +00:00
Jaco Greeff
559bb89d2d
Update dependencies
2018-08-29 12:00:34 +02:00
Travis CI
5120bd5e20
[CI Skip] 0.28.23
2018-08-28 12:56:18 +00:00
Jaco Greeff
c3065263fc
API docs -> WS ( #141 )
...
* API docs -> WS
* API docs update
* HttpProvider -> WsProvider
* sub<something> -> subscribing
* Update dependencies
* Test message checks update
2018-08-28 14:51:16 +02:00
Travis CI
94adfa3e61
[CI Skip] 0.28.22
2018-08-24 12:02:17 +00:00
Jaco Greeff
0f2ae3b992
Update deps
2018-08-24 13:56:27 +02:00