@tsed/adapters-redis 8.33.0 → 8.35.0

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,6 +1,6 @@
1
1
  import { __decorate, __metadata, __param } from "tslib";
2
- import { Opts } from "@tsed/di";
3
2
  import { RedisAdapter } from "./RedisAdapter.js";
3
+ import { Opts } from "@tsed/di";
4
4
  const GRANTABLE = new Set(["AccessToken", "AuthorizationCode", "RefreshToken", "DeviceCode", "BackchannelAuthenticationRequest"]);
5
5
  const CONSUMABLE = new Set(["AuthorizationCode", "RefreshToken", "DeviceCode", "BackchannelAuthenticationRequest"]);
6
6
  let OIDCRedisAdapter = class OIDCRedisAdapter extends RedisAdapter {
@@ -1,9 +1,9 @@
1
1
  import { __decorate, __metadata, __param } from "tslib";
2
2
  import { Adapter } from "@tsed/adapters";
3
+ import { Opts, injectMany } from "@tsed/di";
4
+ import { REDIS_CONNECTIONS } from "@tsed/redis";
3
5
  import { cleanObject, isObject, isString } from "@tsed/core";
4
- import { injectMany, Opts } from "@tsed/di";
5
6
  import { Hooks } from "@tsed/hooks";
6
- import { REDIS_CONNECTIONS } from "@tsed/redis";
7
7
  import { v4 as uuid } from "uuid";
8
8
  let RedisAdapter = class RedisAdapter extends Adapter {
9
9
  constructor(options) {
@@ -1,5 +1,5 @@
1
- import { AdapterModel } from "@tsed/adapters";
2
1
  import { RedisAdapter, RedisAdapterConstructorOptions } from "./RedisAdapter.js";
2
+ import { AdapterModel } from "@tsed/adapters";
3
3
  type ChainableCommander = any;
4
4
  export declare class OIDCRedisAdapter<T extends AdapterModel> extends RedisAdapter<T> {
5
5
  protected isGrantable: boolean;
@@ -1,6 +1,6 @@
1
1
  import { Adapter, AdapterConstructorOptions, AdapterModel } from "@tsed/adapters";
2
- import { Hooks } from "@tsed/hooks";
3
2
  import { RedisConnection } from "@tsed/redis";
3
+ import { Hooks } from "@tsed/hooks";
4
4
  type Redis = any;
5
5
  export interface RedisAdapterConstructorOptions extends AdapterConstructorOptions {
6
6
  connectionName?: string;
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@tsed/adapters-redis",
3
+ "version": "8.35.0",
3
4
  "description": "Redis adapter for Ts.ED",
4
- "type": "module",
5
- "version": "8.33.0",
6
5
  "source": "./src/index.ts",
6
+ "type": "module",
7
7
  "main": "./lib/esm/index.js",
8
8
  "module": "./lib/esm/index.js",
9
9
  "typings": "./lib/types/index.d.ts",
@@ -23,18 +23,17 @@
23
23
  "test:ci": "vitest run --coverage.thresholds.autoUpdate=true"
24
24
  },
25
25
  "dependencies": {
26
- "@tsed/adapters": "8.33.0",
27
- "@tsed/redis": "8.33.0",
26
+ "@tsed/adapters": "8.35.0",
27
+ "@tsed/redis": "8.35.0",
28
28
  "tslib": ">=2.7.0"
29
29
  },
30
30
  "devDependencies": {
31
31
  "@testcontainers/redis": "^11.7.2",
32
- "@tsed/barrels": "8.33.0",
33
- "@tsed/core": "8.33.0",
34
- "@tsed/di": "8.33.0",
35
- "@tsed/hooks": "8.33.0",
36
- "@tsed/typescript": "8.33.0",
37
- "eslint": "9.12.0",
32
+ "@tsed/barrels": "8.35.0",
33
+ "@tsed/core": "8.35.0",
34
+ "@tsed/di": "8.35.0",
35
+ "@tsed/hooks": "8.35.0",
36
+ "@tsed/typescript": "8.35.0",
38
37
  "testcontainers": "11.7.2",
39
38
  "typescript": "6.0.2",
40
39
  "vitest": "4.1.4"