@omisego/omg-js
Advanced tools
Comparing version 1.2.2 to 2.0.0-v0.2
{ | ||
"name": "@omisego/omg-js", | ||
"version": "1.2.2", | ||
"version": "2.0.0-v0.2", | ||
"description": "JavaScript Library to interact with OMG Network", | ||
@@ -25,5 +25,5 @@ "keywords": [ | ||
"dependencies": { | ||
"@omisego/omg-js-childchain": "^1.2.1", | ||
"@omisego/omg-js-rootchain": "^1.2.2", | ||
"@omisego/omg-js-util": "^1.2.1" | ||
"@omisego/omg-js-childchain": "^2.0.0-v0.2", | ||
"@omisego/omg-js-rootchain": "^2.0.0-v0.2", | ||
"@omisego/omg-js-util": "^2.0.0-v0.2" | ||
}, | ||
@@ -33,3 +33,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "3cfe2fe8bfbd009b85dce4ccddcefd8f8ca85224" | ||
"gitHead": "14d28fb41347dc92626e603a9f829ba9c1650121" | ||
} |
@@ -16,21 +16,10 @@ /* | ||
const RootChain = require('omg-js-rootchain') | ||
const ChildChain = require('omg-js-childchain') | ||
const RootChain = require('@omisego/omg-js-rootchain') | ||
const ChildChain = require('@omisego/omg-js-childchain') | ||
const OmgUtil = require('@omisego/omg-js-util') | ||
/** | ||
*Interact with Tesuji Plasma Childchain & Rootchain from JavaScript (Node.js and Browser) | ||
* | ||
*@param {string} watcherUrl contains the url of the watcher server | ||
*@param {string} childChainUrl contains the url of the childchain server to communicate with | ||
*@param {string} web3Provider contains the url of the geth node/ web3 provider | ||
*@return {object} Omg (Omg.childchain and Omg.rootChain) | ||
*/ | ||
class Omg { | ||
constructor (watcherUrl, childChainUrl, web3Provider) { | ||
this.childChain = new ChildChain(watcherUrl, childChainUrl) | ||
this.rootChain = new RootChain(web3Provider) | ||
} | ||
module.exports = { | ||
RootChain, | ||
ChildChain, | ||
OmgUtil | ||
} | ||
module.exports = Omg |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
11291
19
2
+ Added@omisego/omg-js-childchain@2.0.0-v0.2(transitive)
+ Added@omisego/omg-js-rootchain@2.0.0-v0.2(transitive)
+ Added@omisego/omg-js-util@2.0.0-v0.2(transitive)
- Removed@omisego/omg-js-childchain@1.2.1(transitive)
- Removed@omisego/omg-js-rootchain@1.2.2(transitive)
- Removed@omisego/omg-js-util@1.2.1(transitive)