react-ses-helper
Advanced tools
Comparing version
@@ -29,3 +29,2 @@ var AWS = require('aws-sdk'); | ||
}; | ||
console.log(configuration); | ||
AWS.config.update(configuration); | ||
@@ -70,3 +69,2 @@ return new AWS.DynamoDB.DocumentClient(); | ||
resolve(data.MessageId); | ||
console.log(data.MessageId); | ||
})["catch"](function (err) { | ||
@@ -108,3 +106,2 @@ reject(err); | ||
resolve(data.MessageId); | ||
console.log(data.MessageId); | ||
})["catch"](function (err) { | ||
@@ -111,0 +108,0 @@ reject(err); |
@@ -29,3 +29,2 @@ import { DynamoDB, SES, config } from 'aws-sdk'; | ||
}; | ||
console.log(configuration); | ||
config.update(configuration); | ||
@@ -70,3 +69,2 @@ return new DynamoDB.DocumentClient(); | ||
resolve(data.MessageId); | ||
console.log(data.MessageId); | ||
})["catch"](function (err) { | ||
@@ -108,3 +106,2 @@ reject(err); | ||
resolve(data.MessageId); | ||
console.log(data.MessageId); | ||
})["catch"](function (err) { | ||
@@ -111,0 +108,0 @@ reject(err); |
{ | ||
"name": "react-ses-helper", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "A helper library for the Simple Email Service, integrates with AWS SDK", | ||
@@ -5,0 +5,0 @@ "author": "superflows-dev", |
@@ -34,3 +34,3 @@ # react-ses-helper | ||
AWS region, secret and access key form the credentials. These are required to use package. It is crucial that these credentials are given the SES email sending permissions, otherwise the emails will not be sent. | ||
AWS region, secret and access key form the credentials. These are required to use this package. It is crucial that these credentials are given the SES email sending permissions, otherwise the emails will not be sent. | ||
@@ -37,0 +37,0 @@ You can now review the functionality below. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
70862
-1%233
-2.51%