@8ms/helpers 1.1.61 → 1.1.62

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/initClients.d.ts CHANGED
@@ -26,5 +26,5 @@ declare type InitClients = {
26
26
  /**
27
27
  * Function to simplify initialising the clients.
28
28
  */
29
- declare const initClients: ({ athenaExpress, awsConfig, awsGlue, awsS3, awsSes, awsSsm, googleAds, prisma, }: InitClients) => Promise<void>;
29
+ declare const initClients: ({ athenaExpress, awsConfig, awsGlue, awsS3, awsSes, awsSsm, deepCrawl, googleAds, prisma, }: InitClients) => Promise<void>;
30
30
  export default initClients;
package/initClients.js CHANGED
@@ -52,7 +52,7 @@ var initClient_8 = __importDefault(require("./prisma/initClient"));
52
52
  * Function to simplify initialising the clients.
53
53
  */
54
54
  var initClients = function (_a) {
55
- var athenaExpress = _a.athenaExpress, awsConfig = _a.awsConfig, awsGlue = _a.awsGlue, awsS3 = _a.awsS3, awsSes = _a.awsSes, awsSsm = _a.awsSsm, googleAds = _a.googleAds, prisma = _a.prisma;
55
+ var athenaExpress = _a.athenaExpress, awsConfig = _a.awsConfig, awsGlue = _a.awsGlue, awsS3 = _a.awsS3, awsSes = _a.awsSes, awsSsm = _a.awsSsm, deepCrawl = _a.deepCrawl, googleAds = _a.googleAds, prisma = _a.prisma;
56
56
  return __awaiter(void 0, void 0, void 0, function () {
57
57
  var deepcrawlParameter, googleAdsParameter;
58
58
  return __generator(this, function (_b) {
@@ -78,9 +78,9 @@ var initClients = function (_a) {
78
78
  if (true === awsSsm) {
79
79
  (0, initClient_5.default)({ config: awsConfig });
80
80
  }
81
- if (!(undefined !== deepcrawl)) return [3 /*break*/, 3];
81
+ if (!(undefined !== deepCrawl)) return [3 /*break*/, 3];
82
82
  return [4 /*yield*/, (0, getParameter_1.default)({
83
- name: deepcrawl.parameterName,
83
+ name: deepCrawl.parameterName,
84
84
  })];
85
85
  case 1:
86
86
  deepcrawlParameter = _b.sent();
@@ -101,7 +101,9 @@ var initClients = function (_a) {
101
101
  _b.label = 6;
102
102
  case 6:
103
103
  if (undefined !== prisma) {
104
- (0, initClient_8.default)({ debug: true === prisma ? false : prisma.debug || false });
104
+ (0, initClient_8.default)({
105
+ debug: true === prisma ? false : prisma.debug || false,
106
+ });
105
107
  }
106
108
  return [2 /*return*/];
107
109
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8ms/helpers",
3
3
  "license": "UNLICENSED",
4
- "version": "1.1.61",
4
+ "version": "1.1.62",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "git+https://github.com/8millionstories-organisation/8ms-helpers-ts.git"