@enterprisestandard/ioredis 0.0.11 → 0.0.12

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -30,7 +30,7 @@ const sessionStore = new RedisSessionStore({ redis });
30
30
  const magicLinkStore = new RedisMagicLinkStore({ redis });
31
31
  const workloadTokenStore = new RedisWorkloadTokenStore({ redis });
32
32
  const groupStore = new RedisGroupStore({ redis });
33
- const tenantStore = new RedisTenantStore({ redis });
33
+ const tenantStore = new RedisTenantStore({ redis, userMode: 'singleTenantOnly' });
34
34
  ```
35
35
 
36
36
  Pass these stores into `enterpriseStandard` (from `@enterprisestandard/server`) the same way you would in-memory stores. Optional: `keyPrefix` and `logger` in store options (see `@enterprisestandard/redis-core` for the adapter interface and key layout).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@enterprisestandard/ioredis",
3
- "version": "0.0.11",
3
+ "version": "0.0.12",
4
4
  "description": "ioredis adapter and Redis stores for Enterprise Standard. Single package: install this and ioredis; import adapter and stores from here.",
5
5
  "private": false,
6
6
  "author": "enterprisestandard",
@@ -21,7 +21,7 @@
21
21
  "./package.json": "./package.json"
22
22
  },
23
23
  "dependencies": {
24
- "@enterprisestandard/redis-core": "^0.0.11"
24
+ "@enterprisestandard/redis-core": "^0.0.12"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "ioredis": "*"