@dunx/create-app 3.1.0 → 3.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dunx/create-app",
3
- "version": "3.1.0",
3
+ "version": "3.1.1",
4
4
  "description": "Scaffold a new dunx application - bunx @dunx/create-app my-api",
5
5
  "keywords": [
6
6
  "bun",
@@ -1,11 +1,4 @@
1
1
  import { Redis } from '@dunx/infra/redis';
2
2
 
3
- /**
4
- * A second Redis connection, separate from the general-purpose one, reachable as
5
- * a constructor parameter: `redisConnection('sessions')` returns a `Token`, which
6
- * can only be reached with `inject()` in a field. `cache.module.ts` binds it with
7
- * `RedisModule.forRootAsync(config, SessionsRedis)`.
8
- *
9
- * `cache.module.ts` binds it to database 1, which is what separates it.
10
- */
3
+ /** The session store, on database 1 so a cache flush cannot sign users out. */
11
4
  export class SessionsRedis extends Redis {}
@@ -1,9 +1,4 @@
1
1
  import { HttpService } from '@dunx/http/client';
2
2
 
3
- /**
4
- * A second outbound client, with its own timeout, reachable as a constructor
5
- * parameter: `httpClient('health')` returns a `Token`, and a token can only be
6
- * reached with `inject()` in a field. `upstream.module.ts` binds it with
7
- * `HttpClientModule.forRootAsync(config, HealthClient)`.
8
- */
3
+ /** A probe client with its own short timeout, taken as a parameter. */
9
4
  export class HealthClient extends HttpService {}