@waves/ride-js
Advanced tools
Comparing version 1.0.0 to 1.0.1
{ | ||
"name": "@waves/ride-js", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Js compiler for Ride - Waves smart contract language.", | ||
@@ -5,0 +5,0 @@ "main": "src/index.js", |
@@ -27,3 +27,3 @@ export interface ICompilationResult { | ||
export type TStructField = {name: string, type: TType}; | ||
export type TStructField = { name: string, type: TType }; | ||
@@ -74,2 +74,3 @@ export type TStruct = { | ||
export const version: string; | ||
export const contractLimits: { | ||
@@ -76,0 +77,0 @@ MaxComplexityByVersion: (v:number) => number, |
@@ -43,2 +43,6 @@ require('./interop'); | ||
}, | ||
get version() { | ||
const version = scalaJsCompiler.nodeVersion(); | ||
return version && version.version | ||
}, | ||
scriptInfo: scalaJsCompiler.scriptInfo, | ||
@@ -52,2 +56,2 @@ getTypes: scalaJsCompiler.getTypes, | ||
global.RideJS = api; | ||
module.exports = api; | ||
module.exports = api; |
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
2458800
10710