Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

mongodb-stitch-browser-services-aws-ses

Package Overview
Dependencies
Maintainers
1
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mongodb-stitch-browser-services-aws-ses - npm Package Compare versions

Comparing version 4.0.0-beta-2 to 4.0.0-beta-3

lib/browser/.rpt2_cache/placeholder/AwsSesServiceClient.d.ts

64

lib/browser/stitch-services-aws-ses.js

@@ -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"

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc