scryptlib
Advanced tools
Comparing version 0.1.6 to 0.1.7
@@ -70,3 +70,5 @@ "use strict"; | ||
} | ||
lsASM = lsASM.replace(`$${param.name}`, this.encodeParam(args[index], param.type)); | ||
// '$' needs doulbe '\\' to escape | ||
const re = new RegExp(`\\$${param.name}`, 'g'); | ||
lsASM = lsASM.replace(re, this.encodeParam(args[index], param.type)); | ||
}); | ||
@@ -73,0 +75,0 @@ return new FunctionCall('constructor', args, { contract, lockingScriptASM: lsASM }); |
{ | ||
"name": "scryptlib", | ||
"version": "0.1.6", | ||
"version": "0.1.7", | ||
"description": "Javascript SDK for integration of Bitcoin SV Smart Contracts written in sCrypt language.", | ||
@@ -5,0 +5,0 @@ "engines": { |
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
50446
1083
1