eac.js-lib
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -49,2 +49,17 @@ const Constants = require("../constants") | ||
previousFromRight(right) { | ||
this.checkFactory() | ||
return new Promise((resolve, reject) => { | ||
this.instance.query.call( | ||
this.factory, | ||
Constants.LTE_HEX, | ||
right, | ||
(err, next) => { | ||
if (!err) resolve(next) | ||
else reject(err) | ||
} | ||
) | ||
}) | ||
} | ||
windowStartFor(txRequestAddress) { | ||
@@ -78,2 +93,16 @@ this.checkFactory() | ||
previousRequest(txRequestAddress) { | ||
this.checkFactory() | ||
return new Promise((resolve, reject) => { | ||
this.instance.getPreviousRequest.call( | ||
this.factory, | ||
txRequestAddress, | ||
(err, next) => { | ||
if (!err) resolve(next) | ||
else reject(err) | ||
} | ||
) | ||
}) | ||
} | ||
/** | ||
@@ -80,0 +109,0 @@ * Chain inits |
{ | ||
"name": "eac.js-lib", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Javascript library for interacting with the Ethereum Alarm Clock contracts", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
220824
1121
0