fh-mbaas-client
Advanced tools
Comparing version 0.6.0-78 to 0.6.0-82
@@ -8,2 +8,5 @@ # Component: fh-mbaas-client | ||
## 0.5.2 - 2015-11-24 - Graham Hillis | ||
* RHMAP-3070 - Improve the email regex and use MBaaS when available for email | ||
## 0.5.1 - 2015-10-07 - Craig Brookes/Graham Hillis | ||
@@ -10,0 +13,0 @@ * FH-1067 - now also has app event creation api |
@@ -6,2 +6,14 @@ var mbaasRequest = require('../../mbaasRequest/mbaasRequest.js'); | ||
/** | ||
* Test Alert Emails on an MBaaS | ||
* @param params | ||
* @param cb | ||
*/ | ||
function testEmails(params, cb) { | ||
params.resourcePath = config.addURIParams(constants.ALERTS_BASE_PATH + '/testEmails', params); | ||
params.method = 'POST'; | ||
params.data = params.data || {}; | ||
mbaasRequest.admin(params, cb); | ||
} | ||
/** | ||
* Creating an Alert on an MBaaS | ||
@@ -24,3 +36,3 @@ * @param params | ||
function updateAlert(params, cb) { | ||
params.resourcePath = config.addURIParams(constants.ALERTS_BASE_PATH + '/:id', params); | ||
@@ -64,3 +76,4 @@ params.method = 'PUT'; | ||
"delete": deleteAlert, | ||
list: listAlerts | ||
}; | ||
list: listAlerts, | ||
testEmails: testEmails | ||
}; |
{ | ||
"name": "fh-mbaas-client", | ||
"version": "0.6.0-78", | ||
"version": "0.6.0-82", | ||
"dependencies": { | ||
@@ -5,0 +5,0 @@ "bunyan": { |
{ | ||
"name": "fh-mbaas-client", | ||
"description": "FeedHenry MBaaS Client", | ||
"version": "0.6.0-78", | ||
"version": "0.6.0-82", | ||
"author": "FeedHenry", | ||
@@ -6,0 +6,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
59526
1667
0