@tsed/ioredis 8.12.0-rc.1 → 8.12.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.
@@ -1,4 +1,4 @@
1
- import { TokenProvider } from "@tsed/di";
1
+ import { type FactoryTokenProvider, TokenProvider } from "@tsed/di";
2
2
  import type { Redis } from "ioredis";
3
3
  export interface CreateConnectionProviderProps {
4
4
  token: TokenProvider;
@@ -12,8 +12,4 @@ export declare const IOREDIS_CONNECTIONS: unique symbol;
12
12
  export type IORedis = Redis & {
13
13
  name: string;
14
14
  };
15
- export declare function registerConnectionProvider({ token, provide, name }: CreateConnectionProviderProps): {
16
- readonly __type: "token_factory"; /**
17
- * @deprecated use `token` instead of `provide`
18
- */
19
- };
15
+ export declare function registerConnectionProvider({ token, provide, name }: CreateConnectionProviderProps): FactoryTokenProvider<Redis>;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@tsed/ioredis",
3
3
  "description": "IO Redis connection for Ts.ED",
4
4
  "type": "module",
5
- "version": "8.12.0-rc.1",
5
+ "version": "8.12.1",
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
@@ -26,10 +26,10 @@
26
26
  "tslib": "2.7.0"
27
27
  },
28
28
  "devDependencies": {
29
- "@tsed/barrels": "8.12.0-rc.1",
30
- "@tsed/core": "8.12.0-rc.1",
31
- "@tsed/di": "8.12.0-rc.1",
32
- "@tsed/typescript": "8.12.0-rc.1",
29
+ "@tsed/barrels": "8.12.1",
30
+ "@tsed/core": "8.12.1",
31
+ "@tsed/di": "8.12.1",
32
+ "@tsed/typescript": "8.12.1",
33
33
  "@types/ioredis-mock": "^8.2.5",
34
34
  "eslint": "9.12.0",
35
35
  "ioredis": "5.4.1",
@@ -49,8 +49,5 @@
49
49
  },
50
50
  "homepage": "https://github.com/tsedio/tsed/tree/production/packages/orm/ioredis",
51
51
  "author": "Romain Lenzotti",
52
- "license": "MIT",
53
- "publishConfig": {
54
- "tag": "rc"
55
- }
52
+ "license": "MIT"
56
53
  }