@waves/ride-js
Advanced tools
Comparing version 0.17.9 to 0.17.10
{ | ||
"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
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
2041501
9052