@nattyjs/firebase-functions 0.0.1-beta.4 → 0.0.1-beta.6

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.cjs CHANGED
@@ -2,10 +2,12 @@
2
2
 
3
3
  const express = require('@nattyjs/express');
4
4
  const firebaseFunctions = require('firebase-functions');
5
+ const common = require('@nattyjs/common');
5
6
 
6
7
  const FirebaseFunctionModule = {
7
8
  init(config) {
8
9
  config.autoGeneratePort = false;
10
+ config.framework = common.FrameworkType.Firebase;
9
11
  const app = express.ExpressModule.init(config);
10
12
  return firebaseFunctions.https.onRequest(app);
11
13
  }
package/dist/index.mjs CHANGED
@@ -1,9 +1,11 @@
1
1
  import { ExpressModule } from '@nattyjs/express';
2
2
  import { https } from 'firebase-functions';
3
+ import { FrameworkType } from '@nattyjs/common';
3
4
 
4
5
  const FirebaseFunctionModule = {
5
6
  init(config) {
6
7
  config.autoGeneratePort = false;
8
+ config.framework = FrameworkType.Firebase;
7
9
  const app = ExpressModule.init(config);
8
10
  return https.onRequest(app);
9
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nattyjs/firebase-functions",
3
- "version": "0.0.1-beta.4",
3
+ "version": "0.0.1-beta.6",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "ajayojha <ojhaajay@outlook.com>",
@@ -17,9 +17,10 @@
17
17
  "dependencies": {
18
18
  "firebase-functions": "4.4.1",
19
19
  "firebase-admin": "11.10.1",
20
- "@nattyjs/express": "0.0.1-beta.5",
21
- "@nattyjs/core": "0.0.1-beta.5",
22
- "@nattyjs/types": "0.0.1-beta.5"
20
+ "@nattyjs/express": "0.0.1-beta.7",
21
+ "@nattyjs/core": "0.0.1-beta.7",
22
+ "@nattyjs/common": "0.0.1-beta.7",
23
+ "@nattyjs/types": "0.0.1-beta.7"
23
24
  },
24
25
  "devDependencies": {
25
26
  "@types/node": "20.3.1",