Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@omisego/omg-js

Package Overview
Dependencies
Maintainers
5
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@omisego/omg-js - npm Package Compare versions

Comparing version 1.2.2 to 2.0.0-v0.2

10

package.json
{
"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
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc