chore: rebranding to @plugnet

This commit is contained in:
ian.he
2019-04-26 16:43:32 +12:00
parent 1f4e7638d5
commit 6b6b7fe145
68 changed files with 143 additions and 177 deletions
+4 -4
View File
@@ -1,20 +1,20 @@
# @plugnet/rpc-core
This library provides a clean wrapper around all the methods exposed by a Polkadot network client.
This library provides a clean wrapper around all the methods exposed by a Plugnet network client.
## Usage
Installation -
```
yarn add @polkadot/rpc-core
yarn add @plugnet/rpc-core
```
Initialisation -
```js
import Rpc from '@polkadot/rpc-core';
import WsProvider from '@polkadot/rpc-provider/ws';
import Rpc from '@plugnet/rpc-core';
import WsProvider from '@plugnet/rpc-provider/ws';
const provider = new WsProvider('http://127.0.0.1:9944');
const api = new Rpc(provider);
+6 -6
View File
@@ -1,15 +1,15 @@
{
"name": "@plugnet/rpc-core",
"version": "0.76.102",
"description": "A JavaScript wrapper for the Polkadot JsonRPC interface",
"description": "A JavaScript wrapper for the Plugnet JsonRPC interface",
"main": "index.js",
"keywords": [
"Polkadot",
"Plugnet",
"JsonRPC"
],
"author": "Jaco Greeff <jacogr@gmail.com>",
"maintainers": [
"Jaco Greeff <jacogr@gmail.com>"
"Ian He <ian.he@centrality.ai>"
],
"contributors": [],
"license": "Apache-2.0",
@@ -22,12 +22,12 @@
},
"repository": {
"type": "git",
"url": "git+https://github.com/polkadot-js/api.git"
"url": "git+https://github.com/plugblockchain/api.js.git"
},
"bugs": {
"url": "https://github.com/polkadot-js/api/issues"
"url": "https://github.com/plugblockchain/api.js/issues"
},
"homepage": "https://github.com/polkadot-js/api/tree/master/packages/rpc-core#readme",
"homepage": "https://github.com/plugblockchain/api.js/tree/master/packages/rpc-core#readme",
"dependencies": {
"@babel/runtime": "^7.4.3",
"@plugnet/jsonrpc": "^0.76.102",
+1 -1
View File
@@ -17,7 +17,7 @@ const l = logger('rpc-core');
/**
* @name Rpc
* @summary The API may use a HTTP or WebSockets provider.
* @description It allows for querying a Polkadot Client Node.
* @description It allows for querying a Plugnet Client Node.
* WebSockets provider is recommended since HTTP provider only supports basic querying.
*
* ```mermaid