cashscript
Advanced tools
Comparing version 0.1.0-beta.1 to 0.1.1-beta
@@ -42,3 +42,3 @@ (function (factory) { | ||
const unlockScript = parameters | ||
.map((p, i) => encodeParameter(p, abiFunction.inputs[i])) | ||
.map((p, i) => encodeParameter(p, abiFunction.inputs[i].type)) | ||
.reverse(); | ||
@@ -62,3 +62,3 @@ if (selector !== undefined) | ||
case cashc_1.PrimitiveType.STRING: | ||
if (typeof parameter !== 'string') | ||
if (typeof parameter === 'string') | ||
return; | ||
@@ -65,0 +65,0 @@ throw new Error(); |
{ | ||
"name": "cashscript", | ||
"description": "⚖️ Easily write and interact with Cash Contracts on Bitcoin Cash", | ||
"version": "0.1.0-beta.1", | ||
"version": "0.1.1-beta", | ||
"author": "Rosco Kalis <roscokalis@gmail.com>", | ||
@@ -51,2 +51,3 @@ "bugs": { | ||
"prepare": "npm run build", | ||
"prepublishOnly": "npm test && npm run lint", | ||
"test": "nyc mocha --opts ../../mocha.opts" | ||
@@ -53,0 +54,0 @@ }, |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
42884
1