[Docs] Go through and update existing ApiRx examples (#616)

* [Docs] Go through and update existing ApiRx examples

* [Docs] update existing ApiRx examples -> formatting

* [Docs] Fix name collision in package.json
This commit is contained in:
Stefanie Doll
2019-01-22 21:32:25 +01:00
committed by Jaco Greeff
parent 2d6001197b
commit bc697d9449
3 changed files with 46 additions and 31 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
// Import the API
const { ApiRx } = require('@polkadot/api');
// Import dependencies from RxJs
const { combineLatest, of, tap } = require('rxjs');
const { combineLatest, of } = require('rxjs');
const { first, switchMap } = require('rxjs/operators');
// Our address for Alice on the dev chain
@@ -1,5 +1,5 @@
{
"name": "10_upgrade_chain",
"name": "rx_10_upgrade_chain",
"version": "0.2.0",
"description": "Example showing how to upgrade via upgradeKey",
"main": "index.js",