Travis CI
dc5802abe4
[CI Skip] 0.31.17
2018-10-12 09:24:33 +00:00
Jaco Greeff
8fafedcf00
Extend examples for ApiPromise ( #261 )
...
* examples-rpc -> examples/rpc
* 01-simple-connect
* 02-chain-newHead
* Subscriptions only return value
2018-10-12 11:19:35 +02:00
Travis CI
d870b54d8d
[CI Skip] 0.31.16
2018-10-12 07:40:11 +00:00
Jaco Greeff
5975e237e3
Status type ( #256 )
2018-10-12 09:35:23 +02:00
Travis CI
0f64f90d40
[CI Skip] 0.31.15
2018-10-11 19:40:47 +00:00
Jaco Greeff
dd521f0e45
Formatting ( #260 )
2018-10-11 21:35:51 +02:00
Travis CI
a14fff7c3c
[CI Skip] 0.31.14
2018-10-11 19:33:22 +00:00
Amaury Martiny
5207285b43
Storage key are not length-prefixed anymore ( #257 )
...
* Fix lenght prefix
* Put add lenght prefix to compact
2018-10-11 21:28:47 +02:00
Travis CI
eba79f160a
[CI Skip] 0.31.13
2018-10-11 19:01:37 +00:00
Jaco Greeff
2b88a8f43c
Expand API documentation ( #259 )
...
* Expand API documentation
* Cleanups
* Structuring
* Checks & cleanups
2018-10-11 20:56:42 +02:00
Travis CI
83f63e5adf
[CI Skip] 0.31.12
2018-10-11 16:52:22 +00:00
Jaco Greeff
e103e98f16
Compose with E3, not extend ( #258 )
...
* Compose with E3, not extend
* Cleanup docs
2018-10-11 18:47:55 +02:00
Travis CI
4be4d8004f
[CI Skip] 0.31.11
2018-10-11 13:31:50 +00:00
Jaco Greeff
a4fc2c51e8
API documentation ( #253 )
...
* Remove badges from READMEs (used inside docs)
* Expand intro
* Intro and examples for ApiRx
* examples -> examples-rpc
* Update intros with expanded example
* Don't nest subscriptions
2018-10-11 15:27:00 +02:00
Travis CI
35115723e1
[CI Skip] 0.31.10
2018-10-11 11:43:54 +00:00
Amaury Martiny
f5948fee52
Intelligent constructor (Part 2) ( #252 )
...
* Fix AccountId
* Fix AccountIndex
* Add Bool
* Fix Address
* Small fixes
* Fix Bytes
* Fix ExtrinsicSignature
* Small fixes
* Sorta fix Method
* Fix Extrinsic
* Fix method
* Fix Bytes and KeyValue
* Fix Moment
* Length-prefix the storage key
* Fix Bytes prefix
* Add comment
2018-10-11 13:39:27 +02:00
Travis CI
e409be6dbd
[CI Skip] 0.31.9
2018-10-11 10:04:35 +00:00
Jaco Greeff
bcf06cdbfd
Add api/promise ( #251 )
...
* Add api/promise
* Observable -> Promise
* super(extrinsic)
* Add ApiPromise to docs
2018-10-11 12:00:12 +02:00
Travis CI
e915474763
[CI Skip] 0.31.8
2018-10-11 08:25:22 +00:00
Jaco Greeff
27b2885722
Extend ApiRx from abstract Base (prepare for promise) ( #243 )
...
* Extend ApiRx from abstract Base (prepare for promise)
* Update Metadata parsing
* Update Base.ts
* Update types.d.ts
* Cleanup base
* Cleanup linting (renamed imports)
* PR comments
* Update decoded Metadata.json
2018-10-11 10:20:54 +02:00
Travis CI
05da1ee8c8
[CI Skip] 0.31.7
2018-10-11 07:38:36 +00:00
Travis CI
b96f35fcd4
[CI Skip] 0.31.6
2018-10-11 05:41:50 +00:00
Luke Schoen
3c8c4b0baf
refactor: Fixes #239 . Rename from RxRpc to RpcRx in rpc-rx types ( #240 )
2018-10-11 07:37:30 +02:00
Travis CI
9e2962f0c5
[CI Skip] 0.31.5
2018-10-10 21:36:12 +00:00
Travis CI
a9c195bf1e
[CI Skip] 0.31.4
2018-10-10 18:23:34 +00:00
Jaco Greeff
7180f8958e
@polkadot/api/rx ( #233 )
...
* api-rx (new)
* Update SubmittableExtrinsic.ts
* Update types.d.ts
* Update index.ts
* Retrieve genesisHash
* extrinsics -> tx, state -> st
* Update index.ts
* Type cleanup
* Update index.ts
* Update index.ts
* Update index.ts
* Sign returns SubmittableExtrinsic
* Example cleanup
* Move to api-rx package
* Add connected/disconnected events
* Expand storage creation
* isReady/isConnected
* Add static create
* Cleanup docs
* Cleanups
* ReplaySubjects
* Basic tests
* Add runtimeVersion
* Test for version, meta & hash
* Package location
* Expand README
* 2 ways of init
* whenReady -> isReady
* api-rx -> api/rx
* Namings
2018-10-10 20:18:48 +02:00
Travis CI
c30c66e2de
[CI Skip] 0.31.3
2018-10-10 18:15:38 +00:00
Luke Schoen
267411d778
fix: Fixes #235 TypeDoc updates consistent with renaming ( #236 )
...
* fix: Remove docs/api since replaced with docs/rpc-core
* fix: Remove docs/api-provider since replaced with docs/rpc-provider
* fix: Remove docs/api-rx since replaced with docs/rpc-rx
* fix: Remove the guide file that serves no purpose
* fix: Change license from ui-observable to api-observable
* fix: Remove disused mockHttp and mockWs that are duplicates of those in rpc-provider
* fix: Clarifies difference between PropIndex and ProposalIndex from Issue #226
* fix: Update api-observable Readme to refer to rpc-core, previously called api
* misc: Update Readme of rpc-core. See commit message details.
* Update name to be @polkadot/rpc-core instead of @polkadot/api
* Use Yarn instead of NPM for instructions adding dependencies
* Refer to @polkadot/rpc-core as `Rpc`
* Highlight that given block header hash should be a 0x-prefixed hex string with length of 64 (not only length of 10 as shown in the example)
* Showcase more information that you can obtain from the header object (i.e. best block number, parentHash, stateRoot, extrinsicsRoot, and digest)
* Use `header.raw` instead of just `header` to access properties of the header object
* Update the example to console.log the subscription ID
* Add missing semicolon
* fix: Fix name in license header and rename Api to Rpc for rpc-core e2e tests
* fix: Update rpc-provider Readme to use Yarn instead of NPM install
* fix: Fix minor typo
* fix: Rename Api to Rpc for rpc-provider ws
* fix: Refer to rpc-core instead of api in the rpc-rx Readme
* fix: Update rpc-rx files to refer to it as RpcRx instead of RxApi or just Api
* fix: Refer to rpc-core as Rpc instead of Api
* fix: Update type-jsonrpc Readme. Fix typo. Use Yarn not NPM. Refer to TSLint not Flow
* refactor: Move non-type dependency import with non-type dependencies
* docs: Add link to parity-codec repo
* fix: Avoid use of .raw. Fix listen to blocks example
* fix: Add missing error to newHead in listen to blocks example
2018-10-10 20:11:22 +02:00
Travis CI
8e9243fdd6
[CI Skip] 0.31.2
2018-10-10 11:21:11 +00:00
Luke Schoen
bba764bd28
feat: Fixes #210 . Add Mermaid.js Gitbook plugin. Generate API flow diagram ( #211 )
...
* feat: Add Mermaid.js Gitbook plugin. Generate API flow diagram
* fix: Remove HTTP from diagram. Change text to funnel user to WS
2018-10-10 13:16:36 +02:00
Travis CI
af10c69d2b
[CI Skip] 0.31.1
2018-10-10 08:05:35 +00:00
Jaco Greeff
4344f33de8
First stage renames, rpc-{core,provider,rx} ( #220 )
...
* Docs renames (& removal for re-gen)
* Rename api, api-provider & api-rx
* Apoi -> Rpc, RxApi -> RpcRx (classes)
* Add .nodoc
* Bump version
* Link updates (summary)
* Cleanup deleted (master version)
* Deleted re-instated
* More... ;)
* Types...
* Revert .nodoc
2018-10-10 10:01:34 +02:00
Travis CI
cd7c17b265
[CI Skip] 0.30.45
2018-10-10 07:31:35 +00:00
Jaco Greeff
7f270cb773
Bump
2018-10-10 09:25:24 +02:00
Travis CI
2127964f9a
[CI Skip] 0.30.44
2018-10-09 15:49:18 +00:00
Jaco Greeff
e8c834f5ee
Existent empty storage returns null ( #231 )
...
* Existent empty storage returns null
* Update index.ts
2018-10-09 17:45:07 +02:00
Travis CI
84ef15159c
[CI Skip] 0.30.43
2018-10-09 14:30:26 +00:00
Jaco Greeff
b05429e6e8
Option allows null/undefined as empty ( #230 )
2018-10-09 16:26:28 +02:00
Travis CI
2c1693277a
[CI Skip] 0.30.42
2018-10-09 14:03:43 +00:00
Amaury Martiny
c026ecb1c2
Intelligent constructor ( #217 )
...
* Decode Uint8Array to Struct
* Add decode for Text
* Add tests for Text
* Add decode for Struct
* Rename variable
* Add test for struct
* Remove array check
* Remove isTuple
* Remove decode in Struct
* Add encoding tests
* Remove isTuple
* Better error message
* Add isTuple back
* Fix Option
* Fix Metadata test
* Fix Vector
* Fix Enum
* Fix U8a
* Fix imports
* Add tests
* Fix bug new Compact
* Fix lint
* Use specific decode
* Fix Vector
* Fix test
* Remove useless file
* Don't change Vector
* Fix lint
2018-10-09 15:59:45 +02:00
Travis CI
1263e5fb65
[CI Skip] 0.30.41
2018-10-09 12:12:39 +00:00
Jaco Greeff
200253829b
Vector -> Array for query results ( #229 )
...
* Map Vector -> Array for queries
* FIXME
2018-10-09 14:08:43 +02:00
Travis CI
4986897de9
[CI Skip] 0.30.40
2018-10-09 11:00:05 +00:00
Jaco Greeff
32f491ec31
Vector from u8a, StorageChangeSet with gaps ( #228 )
2018-10-09 12:56:20 +02:00
Travis CI
6b7cd3211b
[CI Skip] 0.30.39
2018-10-09 09:16:41 +00:00
Jaco Greeff
e96ed94f4b
injectExtrinsics into Method (use for decoding) ( #227 )
...
* injectExtrinsics into Method (use for decoding)
* Comment typos
2018-10-09 10:12:49 +01:00
Travis CI
0861c3e374
[CI Skip] 0.30.38
2018-10-08 14:01:03 +00:00
Jaco Greeff
17aa24c61f
Lowercase bool type ( #225 )
...
* Lowercase bool
* bool as Bool (keeping to uppercase naming in files)
2018-10-08 14:57:01 +01:00
Travis CI
70ea6e0d3c
[CI Skip] 0.30.37
2018-10-08 13:51:45 +00:00
Jaco Greeff
dc887977cd
Add Compact{16,32,64,128,256} ( #219 )
...
* Add Compact{16,32,64,128,256}
* Pass Compact encoding/decoding length, set default
* Align default length naming with Compact
2018-10-08 14:47:46 +01:00