@waves/ride-js
Advanced tools
Comparing version 2.2.2-beta.1 to 2.2.2-beta.2
{ | ||
"name": "@waves/ride-js", | ||
"version": "2.2.2-beta.1", | ||
"version": "2.2.2-beta.2", | ||
"description": "Js compiler for Ride - Waves smart contract language.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
require('./interop'); | ||
const crypto = require('@waves/ts-lib-crypto'); | ||
const scalaJsCompiler = require('./lang-opt.js'); | ||
const replJs = require('./repl-opt.js'); | ||
@@ -53,4 +54,4 @@ function wrappedCompile(code, estimatorVersion = 2) { | ||
const repl = (opts != null) | ||
? scalaJsCompiler.repl(new scalaJsCompiler.NodeConnectionSettings(opts.nodeUrl, opts.chainId.charCodeAt(0), opts.address)) | ||
: scalaJsCompiler.repl(); | ||
? replJs.repl(new replJs.NodeConnectionSettings(opts.nodeUrl, opts.chainId.charCodeAt(0), opts.address)) | ||
: replJs.repl(); | ||
@@ -60,3 +61,3 @@ const wrapReconfigure = (repl) => { | ||
return (opts) => { | ||
const settings = new scalaJsCompiler.NodeConnectionSettings(opts.nodeUrl, opts.chainId.charCodeAt(0), opts.address); | ||
const settings = new replJs.NodeConnectionSettings(opts.nodeUrl, opts.chainId.charCodeAt(0), opts.address); | ||
const newRepl = reconfigureFn(settings); | ||
@@ -63,0 +64,0 @@ newRepl.reconfigure = wrapReconfigure(newRepl); |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
6863421
28165