mongodb-stitch-browser-services-aws-ses
Advanced tools
Comparing version 4.0.0-beta-2 to 4.0.0-beta-3
@@ -1,62 +0,2 @@ | ||
(function (exports) { | ||
'use strict'; | ||
var Fields; | ||
(function (Fields) { | ||
Fields["MessageId"] = "messageId"; | ||
})(Fields || (Fields = {})); | ||
var AwsSesSendResult = (function () { | ||
function AwsSesSendResult(messageId) { | ||
this.messageId = messageId; | ||
} | ||
AwsSesSendResult.Decoder = new (function () { | ||
function class_1() { | ||
} | ||
class_1.prototype.decode = function (from) { | ||
return { messageId: from[Fields.MessageId] }; | ||
}; | ||
return class_1; | ||
}())(); | ||
return AwsSesSendResult; | ||
}()); | ||
var CoreAwsSesServiceClient = (function () { | ||
function CoreAwsSesServiceClient(service) { | ||
this.service = service; | ||
} | ||
CoreAwsSesServiceClient.prototype.sendEmail = function (toAddress, fromAddress, subject, body) { | ||
var args = { | ||
body: body, | ||
fromAddress: fromAddress, | ||
subject: subject, | ||
toAddress: toAddress | ||
}; | ||
return this.service.callFunctionInternal("send", [args], AwsSesSendResult.Decoder); | ||
}; | ||
return CoreAwsSesServiceClient; | ||
}()); | ||
var AwsSesServiceClientImpl = (function () { | ||
function AwsSesServiceClientImpl(proxy) { | ||
this.proxy = proxy; | ||
} | ||
AwsSesServiceClientImpl.prototype.sendEmail = function (to, from, subject, body) { | ||
return this.proxy.sendEmail(to, from, subject, body); | ||
}; | ||
return AwsSesServiceClientImpl; | ||
}()); | ||
(function (AwsSesServiceClient) { | ||
AwsSesServiceClient.factory = new (function () { | ||
function class_1() { | ||
} | ||
class_1.prototype.getNamedClient = function (service, client) { | ||
return new AwsSesServiceClientImpl(new CoreAwsSesServiceClient(service)); | ||
}; | ||
return class_1; | ||
}())(); | ||
})(exports.AwsSesServiceClient || (exports.AwsSesServiceClient = {})); | ||
exports.AwsSesSendResult = AwsSesSendResult; | ||
}((this.stitch = this.stitch || {}))); | ||
!function(e){"use strict";var n;(n||(n={})).MessageId="messageId";var i=function(){function e(e){this.messageId=e}return e.Decoder=new(function(){function e(){}return e.prototype.decode=function(e){return{messageId:e[n.MessageId]}},e}()),e}(),t=function(){function e(e){this.service=e}return e.prototype.sendEmail=function(e,n,t,r){var s={body:r,fromAddress:n,subject:t,toAddress:e};return this.service.callFunctionInternal("send",[s],i.Decoder)},e}(),r=function(){function e(e){this.proxy=e}return e.prototype.sendEmail=function(e,n,t,r){return this.proxy.sendEmail(e,n,t,r)},e}();(e.AwsSesServiceClient||(e.AwsSesServiceClient={})).factory=new(function(){function e(){}return e.prototype.getNamedClient=function(e,n){return new r(new t(e))},e}()),e.AwsSesSendResult=i}(this.stitch=this.stitch||{}); | ||
//# sourceMappingURL=stitch-services-aws-ses.js.map |
{ | ||
"name": "mongodb-stitch-browser-services-aws-ses", | ||
"version": "4.0.0-beta-2", | ||
"version": "4.0.0-beta-3", | ||
"main": "lib/umd/index.js", | ||
@@ -11,2 +11,14 @@ "module": "lib/esm/index.js", | ||
"description": "MongoDB Stitch JavaScript SDK - Browser AWS SES Service", | ||
"keywords": [ | ||
"mongodb", | ||
"aws", | ||
"twilio", | ||
"http", | ||
"mobile", | ||
"serverless", | ||
"stitch", | ||
"atlas" | ||
], | ||
"homepage": "https://github.com/mongodb/stitch-js-sdk#readme", | ||
"repository": "mongodb/stitch-js-sdk", | ||
"author": "MongoDB Inc.", | ||
@@ -29,10 +41,10 @@ "contributors": [ | ||
"dependencies": { | ||
"mongodb-stitch-browser-core": "^4.0.0-beta-2", | ||
"mongodb-stitch-core-services-aws-ses": "^4.0.0-beta-2" | ||
"mongodb-stitch-browser-core": "^4.0.0-beta-3", | ||
"mongodb-stitch-core-services-aws-ses": "^4.0.0-beta-3" | ||
}, | ||
"devDependencies": { | ||
"jest": "^23.1.0", | ||
"mongodb-stitch-browser-testutils": "^4.0.0-beta-2", | ||
"mongodb-stitch-core-admin-client": "^4.0.0-beta-2", | ||
"mongodb-stitch-core-sdk": "^4.0.0-beta-2", | ||
"mongodb-stitch-browser-testutils": "^4.0.0-beta-3", | ||
"mongodb-stitch-core-admin-client": "^4.0.0-beta-3", | ||
"mongodb-stitch-core-sdk": "^4.0.0-beta-3", | ||
"prettier": "^1.13.5", | ||
@@ -50,5 +62,5 @@ "rollup": "^0.60.7", | ||
"build-browser": "rollup -c", | ||
"watch": "tsc -w", | ||
"watch": "tsc -w -p tsconfig.esm.json", | ||
"test": "jest", | ||
"lint": "tslint src/**/*.ts", | ||
"lint": "tslint src/**/*.ts __tests__/**/*.ts", | ||
"lint-fix": "tslint --fix src/**/*.ts __tests__/**/*.ts", | ||
@@ -64,2 +76,11 @@ "lint-check": "tslint-config-prettier-check ./tslint.json", | ||
}, | ||
"reporters": [ | ||
"default", | ||
[ | ||
"jest-junit", | ||
{ | ||
"output": "./build/test-results/junit.xml" | ||
} | ||
] | ||
], | ||
"transform": { | ||
@@ -66,0 +87,0 @@ "^.+\\.tsx?$": "ts-jest" |
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
30432
29
1
1
5
166