aeremmiddleware 1.0.11 → 1.0.12

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/index.d.ts CHANGED
@@ -10,4 +10,7 @@ export declare const AeremMiddleware: {
10
10
  whatsapp: typeof import("./Socials/whatsApp").default;
11
11
  text: typeof import("./Socials/SmsSender").default;
12
12
  };
13
+ push: {
14
+ pushNoti: typeof import("./pushNotification/pushNotificationFCM").sendPushNotification;
15
+ };
13
16
  };
package/dist/index.js CHANGED
@@ -3,7 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.AeremMiddleware = void 0;
4
4
  const Finance_1 = require("./Finance");
5
5
  const Socials_1 = require("./Socials");
6
+ const pushNotification_1 = require("./pushNotification");
6
7
  exports.AeremMiddleware = {
7
- finance: Finance_1.finance, socials: Socials_1.socials
8
+ finance: Finance_1.finance,
9
+ socials: Socials_1.socials,
10
+ push: pushNotification_1.push,
8
11
  };
9
12
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAoC;AACpC,uCAAoC;AAGtB,QAAA,eAAe,GAAG;IAC5B,OAAO,EAAP,iBAAO,EAAC,OAAO,EAAP,iBAAO;CAElB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;AAAA,uCAAoC;AACpC,uCAAoC;AACpC,yDAA0C;AAE7B,QAAA,eAAe,GAAG;IAC7B,OAAO,EAAP,iBAAO;IACP,OAAO,EAAP,iBAAO;IACP,IAAI,EAAJ,uBAAI;CACL,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { sendPushNotification } from "./pushNotificationFCM";
2
+ export declare const push: {
3
+ pushNoti: typeof sendPushNotification;
4
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.push = void 0;
4
+ const pushNotificationFCM_1 = require("./pushNotificationFCM");
5
+ exports.push = {
6
+ pushNoti: pushNotificationFCM_1.sendPushNotification,
7
+ };
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/pushNotification/index.ts"],"names":[],"mappings":";;;AAAA,+DAA6D;AAEhD,QAAA,IAAI,GAAG;IAClB,QAAQ,EAAE,0CAAoB;CAC/B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "aeremmiddleware",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "",
5
5
  "type": "dist/index.d.ts",
6
6
  "main": "dist/index.js",
package/src/index.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { finance } from "./Finance";
2
2
  import { socials } from "./Socials";
3
+ import { push } from "./pushNotification";
3
4
 
4
-
5
- export const AeremMiddleware = {
6
- finance,socials
7
-
8
- }
5
+ export const AeremMiddleware = {
6
+ finance,
7
+ socials,
8
+ push,
9
+ };
@@ -0,0 +1,5 @@
1
+ import { sendPushNotification } from "./pushNotificationFCM";
2
+
3
+ export const push = {
4
+ pushNoti: sendPushNotification,
5
+ };