[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:
committed by
Jaco Greeff
parent
2d6001197b
commit
bc697d9449
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user