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

@waves/ride-js

Package Overview
Dependencies
Maintainers
14
Versions
126
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@waves/ride-js - npm Package Compare versions

Comparing version 2.1.5-beta.1 to 2.1.5-beta.2

2

package.json
{
"name": "@waves/ride-js",
"version": "2.1.5-beta.1",
"version": "2.1.5-beta.2",
"description": "Js compiler for Ride - Waves smart contract language.",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -83,3 +83,2 @@ export interface ICompilationResult {

//todo разобраться в акой версии компилятора импорту рыботают
export function compile(

@@ -90,2 +89,3 @@ code: string,

removeUnusedCode?: boolean,
libraries?: Record<string, string>
): ICompilationResult | ICompilationError;

@@ -98,2 +98,3 @@

removeUnusedCode?: boolean,
libraries?: Record<string, string>
): IParseAndCompileResult | ICompilationError;

@@ -335,2 +336,2 @@

| IMatch
| IRef
| IRef

@@ -6,3 +6,3 @@ require('./interop');

function wrappedCompile(code, estimatorVersion = 2, needCompaction, removeUnusedCode) {
function wrappedCompile(code, estimatorVersion = 3, needCompaction = false, removeUnusedCode = false, libraries = {}) {
if (typeof code !== 'string') {

@@ -14,3 +14,3 @@ return {

try {
const result = scalaJsCompiler.compile(code, estimatorVersion, needCompaction, removeUnusedCode);
const result = scalaJsCompiler.compile(code, estimatorVersion, needCompaction, removeUnusedCode, libraries);
if (result.error) {

@@ -103,2 +103,2 @@ try {

global.RideJS = api;
module.exports = api;
module.exports = api;

Sorry, the diff of this file is too big to display

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