bs-sentia-promise
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -21,3 +21,5 @@ // Generated by BUCKLESCRIPT VERSION 1.9.0, PLEASE EDIT WITH CARE | ||
function biMap(fail, success, p) { | ||
return p.then(success, fail); | ||
return p.then(success, (function (err) { | ||
return Promise.reject(Curry._1(fail, err)); | ||
})); | ||
} | ||
@@ -28,3 +30,5 @@ | ||
return x; | ||
}), f); | ||
}), (function (err) { | ||
return Promise.reject(Curry._1(f, err)); | ||
})); | ||
} | ||
@@ -31,0 +35,0 @@ |
{ | ||
"name": "bs-sentia-promise", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"scripts": { | ||
@@ -5,0 +5,0 @@ "clean": "bsb -clean-world", |
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
9934
9
161