@8ms/helpers 2.0.18 → 2.0.20

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.
Binary file
@@ -53,8 +53,7 @@ class AwsSesNamespace extends _class_1.BaseNamespace {
53
53
  await this.ensureInit();
54
54
  const { SendEmailCommand } = await Promise.resolve().then(() => __importStar(require("@aws-sdk/client-ses")));
55
55
  let response;
56
- // @ts-ignore
57
- const command = new SendEmailCommand(props);
56
+ const command = new SendEmailCommand(input);
58
57
  try {
59
58
  response = await this.client.send(command);
60
59
  }
@@ -3,7 +3,7 @@ import { InputDate, Timeframe } from "./";
3
3
  /**
4
4
  * Convert an client's input (any time-zone) ready to be used by the server (UTC).
5
5
  */
6
- export declare const getUtcDate: (input: InputDate, inputZone?: Zone) => DateTime<boolean>;
6
+ export declare const getUtcDate: (input?: InputDate, inputZone?: Zone) => DateTime<boolean>;
7
7
  export declare const getUnix: (input?: InputDate) => number;
8
8
  /**
9
9
  * Assume the input is always UTC.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "2.0.18",
4
+ "version": "2.0.20",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"