@platform-x/hep-notification-client 1.2.1 → 1.2.2
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/dist/src/index.d.ts +1 -1
- package/dist/src/index.js +3 -3
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EmailHandler } from "./platform-x/util/emailHandler";
|
|
2
2
|
import { TwilioService } from "./common/service/twilioService";
|
|
3
|
-
export declare const
|
|
3
|
+
export declare const initNotificationSecrets: (secretServiceIns: any) => void;
|
|
4
4
|
export declare const getIAMSecrets: () => any;
|
|
5
5
|
export { EmailHandler, TwilioService };
|
package/dist/src/index.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TwilioService = exports.EmailHandler = exports.getIAMSecrets = exports.
|
|
3
|
+
exports.TwilioService = exports.EmailHandler = exports.getIAMSecrets = exports.initNotificationSecrets = void 0;
|
|
4
4
|
const emailHandler_1 = require("./platform-x/util/emailHandler");
|
|
5
5
|
Object.defineProperty(exports, "EmailHandler", { enumerable: true, get: function () { return emailHandler_1.EmailHandler; } });
|
|
6
6
|
const twilioService_1 = require("./common/service/twilioService");
|
|
7
7
|
Object.defineProperty(exports, "TwilioService", { enumerable: true, get: function () { return twilioService_1.TwilioService; } });
|
|
8
8
|
let injectedSecretService;
|
|
9
|
-
const
|
|
9
|
+
const initNotificationSecrets = (secretServiceIns) => {
|
|
10
10
|
injectedSecretService = secretServiceIns;
|
|
11
11
|
};
|
|
12
|
-
exports.
|
|
12
|
+
exports.initNotificationSecrets = initNotificationSecrets;
|
|
13
13
|
const getIAMSecrets = () => {
|
|
14
14
|
if (!injectedSecretService) {
|
|
15
15
|
throw new Error("IAM secrets not initialized");
|