@dereekb/nestjs 11.0.17 → 11.0.19

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/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  This file was generated using [@jscutlery/semver](https://github.com/jscutlery/semver).
4
4
 
5
+ ## [11.0.19](https://github.com/dereekb/dbx-components/compare/v11.0.18-dev...v11.0.19) (2025-01-09)
6
+
7
+
8
+
9
+ ## [11.0.18](https://github.com/dereekb/dbx-components/compare/v11.0.17-dev...v11.0.18) (2024-12-13)
10
+
11
+
12
+
5
13
  ## [11.0.17](https://github.com/dereekb/dbx-components/compare/v11.0.16-dev...v11.0.17) (2024-12-05)
6
14
 
7
15
 
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/mailgun",
3
- "version": "11.0.17",
3
+ "version": "11.0.19",
4
4
  "type": "commonjs",
5
5
  "main": "./src/index.js"
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs",
3
- "version": "11.0.17",
3
+ "version": "11.0.19",
4
4
  "type": "commonjs",
5
5
  "exports": {
6
6
  ".": {
@@ -10,6 +10,10 @@ export declare abstract class ServerEnvironmentConfig {
10
10
  * Whether or not this is a production environment.
11
11
  */
12
12
  abstract production: boolean;
13
+ /**
14
+ * Whether or not this is a staging environment.
15
+ */
16
+ abstract staging?: boolean;
13
17
  /**
14
18
  * (Optional) Whether or not custom "developer tools" should be enabled.
15
19
  *
@@ -1 +1 @@
1
- {"version":3,"file":"env.config.js","sourceRoot":"","sources":["../../../../../../../packages/nestjs/src/lib/module/env/env.config.ts"],"names":[],"mappings":";;;AAAA;;;;;;GAMG;AACH,MAAsB,uBAAuB;CAa5C;AAbD,0DAaC"}
1
+ {"version":3,"file":"env.config.js","sourceRoot":"","sources":["../../../../../../../packages/nestjs/src/lib/module/env/env.config.ts"],"names":[],"mappings":";;;AAAA;;;;;;GAMG;AACH,MAAsB,uBAAuB;CAiB5C;AAjBD,0DAiBC"}
@@ -4,5 +4,6 @@ export declare class ServerEnvironmentService {
4
4
  constructor(env: ServerEnvironmentConfig);
5
5
  get isTestingEnv(): boolean;
6
6
  get isProduction(): boolean;
7
+ get isStaging(): boolean;
7
8
  get developerToolsEnabled(): boolean;
8
9
  }
@@ -17,6 +17,9 @@ let ServerEnvironmentService = exports.ServerEnvironmentService = class ServerEn
17
17
  get isProduction() {
18
18
  return this.env.production;
19
19
  }
20
+ get isStaging() {
21
+ return Boolean(this.env.staging);
22
+ }
20
23
  get developerToolsEnabled() {
21
24
  return Boolean(!this.isProduction && this.env.developerToolsEnabled);
22
25
  }
@@ -1 +1 @@
1
- {"version":3,"file":"env.service.js","sourceRoot":"","sources":["../../../../../../../packages/nestjs/src/lib/module/env/env.service.ts"],"names":[],"mappings":";;;;AAAA,2CAAoD;AACpD,+BAAsC;AACtC,6CAAuD;AACvD,yCAA8C;AAGvC,IAAM,wBAAwB,sCAA9B,MAAM,wBAAwB;IACY;IAA/C,YAA+C,GAA4B;QAA5B,QAAG,GAAH,GAAG,CAAyB;IAAG,CAAC;IAE/E,IAAI,YAAY;QACd,OAAO,IAAA,mBAAa,GAAE,CAAC;IACzB,CAAC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC;IAC7B,CAAC;IAED,IAAI,qBAAqB;QACvB,OAAO,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACvE,CAAC;CACF,CAAA;mCAdY,wBAAwB;IADpC,IAAA,mBAAU,GAAE;IAEE,mBAAA,IAAA,eAAM,EAAC,2BAAgB,CAAC,CAAA;6CAAe,oCAAuB;GADhE,wBAAwB,CAcpC"}
1
+ {"version":3,"file":"env.service.js","sourceRoot":"","sources":["../../../../../../../packages/nestjs/src/lib/module/env/env.service.ts"],"names":[],"mappings":";;;;AAAA,2CAAoD;AACpD,+BAAsC;AACtC,6CAAuD;AACvD,yCAA8C;AAGvC,IAAM,wBAAwB,sCAA9B,MAAM,wBAAwB;IACY;IAA/C,YAA+C,GAA4B;QAA5B,QAAG,GAAH,GAAG,CAAyB;IAAG,CAAC;IAE/E,IAAI,YAAY;QACd,OAAO,IAAA,mBAAa,GAAE,CAAC;IACzB,CAAC;IAED,IAAI,YAAY;QACd,OAAO,IAAI,CAAC,GAAG,CAAC,UAAU,CAAC;IAC7B,CAAC;IAED,IAAI,SAAS;QACX,OAAO,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;IACnC,CAAC;IAED,IAAI,qBAAqB;QACvB,OAAO,OAAO,CAAC,CAAC,IAAI,CAAC,YAAY,IAAI,IAAI,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC;IACvE,CAAC;CACF,CAAA;mCAlBY,wBAAwB;IADpC,IAAA,mBAAU,GAAE;IAEE,mBAAA,IAAA,eAAM,EAAC,2BAAgB,CAAC,CAAA;6CAAe,oCAAuB;GADhE,wBAAwB,CAkBpC"}
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dereekb/nestjs/stripe",
3
- "version": "11.0.17",
3
+ "version": "11.0.19",
4
4
  "type": "commonjs",
5
5
  "peerDependencies": {},
6
6
  "dependencies": {},