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

@waves/ride-js

Package Overview
Dependencies
Maintainers
17
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 0.17.9 to 0.17.10

2

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

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

@@ -60,5 +60,10 @@ export interface ICompilationResult {

export interface IScriptInfo {
stdLibVersion: number,
contentType: number,
scriptType: number
}
export function compile(code: string): ICompilationResult | ICompilationError;
export function scriptInfo(code: string): { stdLibVersion: number, contentType: number, scriptType: number };
export function scriptInfo(code: string): IScriptInfo;
export function getTypes(stdlibVersion?: number, isTokenContext?: boolean): TStructField[];

@@ -70,5 +75,4 @@ export function getVarsDoc(stdlibVersion?: number, isTokenContext?: boolean): IVarDoc[];

export const contractLimits: {
MaxExprComplexity: number,
MaxComplexityByVersion: (v:number) => number,
MaxExprSizeInBytes: number,
MaxContractComplexity: number,
MaxContractSizeInBytes: number,

@@ -75,0 +79,0 @@ MaxContractInvocationArgs: number,

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

return {

@@ -28,3 +29,3 @@ result: {

ast: result.ast,
complexity: result.complexity
complexity: result.complexity,
}

@@ -31,0 +32,0 @@ }

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

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