@ikonintegration/ikapi 4.0.0-alpha3 → 4.0.0-alpha4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ikonintegration/ikapi",
3
- "version": "4.0.0-alpha3",
3
+ "version": "4.0.0-alpha4",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "module": "main.js",
@@ -1,6 +1,6 @@
1
1
  import nodemailer from "nodemailer";
2
2
  import Email from 'email-templates';
3
- import AWSSES from "@aws-sdk/client-ses";
3
+ import { SES } from "@aws-sdk/client-ses";
4
4
  //
5
5
  import { defaultProvider } from '@aws-sdk/credential-provider-node';
6
6
  import Utils from "./../API/IKUtils.js";
@@ -15,8 +15,8 @@ export default class IKMailer {
15
15
  //
16
16
  this.transporter = nodemailer.createTransport({
17
17
  SES: {
18
- ses: new AWSSES.SESClient({ apiVersion: "2010-12-01", ...configObj, defaultProvider }),
19
- aws: AWSSES
18
+ ses: new SES.SESClient({ apiVersion: "2010-12-01", ...configObj, defaultProvider }),
19
+ aws: SES
20
20
  }
21
21
  });
22
22
  }