scryptlib
Advanced tools
Comparing version 0.2.17 to 0.2.18
# CHANGELOG | ||
## 0.2.18 | ||
* bug fix: used scrypt binary as compiler in 0.2.17 | ||
## 0.2.17 | ||
@@ -4,0 +8,0 @@ |
@@ -40,3 +40,3 @@ "use strict"; | ||
const sourceContent = source.content !== undefined ? source.content : fs_1.readFileSync(sourcePath, 'utf8'); | ||
const cmdPrefix = 'scrypt'; //settings.cmdPrefix || `npx ${npxArg} scryptc${settings.scVersion ? '@' + settings.scVersion : ''}`; | ||
const cmdPrefix = settings.cmdPrefix || `npx ${npxArg} scryptc${settings.scVersion ? '@' + settings.scVersion : ''}`; | ||
const cmd = `${cmdPrefix} compile ${settings.asm || settings.desc ? '--asm' : ''} ${settings.ast || settings.desc ? '--ast' : ''} ${settings.debug == false ? '' : '--debug'} -r -o "${outputDir}" ${settings.cmdArgs ? settings.cmdArgs : ''}`; | ||
@@ -43,0 +43,0 @@ const output = child_process_1.execSync(cmd, { input: sourceContent, cwd: curWorkingDir }).toString(); |
{ | ||
"name": "scryptlib", | ||
"version": "0.2.17", | ||
"version": "0.2.18", | ||
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.", | ||
@@ -5,0 +5,0 @@ "engines": { |
Sorry, the diff of this file is not supported yet
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
872823