@entifix/redis 0.1.0-0 → 0.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.
Files changed (2) hide show
  1. package/README.md +30 -0
  2. package/package.json +7 -6
package/README.md ADDED
@@ -0,0 +1,30 @@
1
+ # @entifix/redis
2
+
3
+ Redis adapters, on `ioredis`. The root entry implements the session and one-time-token stores from `@entifix/business`; the `transactions` subpath implements the lock and sequence services `@entifix/transactions` depends on.
4
+
5
+ A session store does not arrive with a saga engine attached: the transactions half is behind its own subpath, and `@entifix/transactions` is an optional peer.
6
+
7
+ ## Install
8
+
9
+ ```sh
10
+ pnpm add @entifix/redis effect
11
+ ```
12
+
13
+ ## Entry points
14
+
15
+ | Import | What it holds |
16
+ | ----------------------------- | -------------------------------------------------------------------------------------------- |
17
+ | `@entifix/redis` | `RedisLayer`, `makeRedisSessionStore`, `makeRedisOneTimeTokenStore`, `RedisHealthProbeLayer` |
18
+ | `@entifix/redis/transactions` | `makeRedisLockService`, `makeRedisSequenceService` |
19
+
20
+ ## Optional peers
21
+
22
+ Install these only if you use what needs them.
23
+
24
+ | Peer | Needed by |
25
+ | ----------------------- | ----------------------------- |
26
+ | `@entifix/transactions` | `@entifix/redis/transactions` |
27
+
28
+ ---
29
+
30
+ Tier 2 (adapters) of entifix — a package depends only on its own tier or below. See [the tiers](https://github.com/r10c-technologies/entifix#the-tiers-and-what-you-are-allowed-to-install). MIT licensed.
package/package.json CHANGED
@@ -1,6 +1,7 @@
1
1
  {
2
2
  "name": "@entifix/redis",
3
- "version": "0.1.0-0",
3
+ "version": "0.1.1",
4
+ "description": "Redis adapters for sessions and one-time tokens, and optionally the lock and sequence services @entifix/transactions needs.",
4
5
  "license": "MIT",
5
6
  "repository": {
6
7
  "type": "git",
@@ -62,17 +63,17 @@
62
63
  "dependencies": {
63
64
  "@swc/helpers": "0.5.23",
64
65
  "ioredis": "6.0.0",
65
- "@entifix/business": "0.1.0-0",
66
- "@entifix/core": "0.1.0-0"
66
+ "@entifix/business": "0.1.1",
67
+ "@entifix/core": "0.1.1"
67
68
  },
68
69
  "devDependencies": {
69
70
  "effect": "3.22.1",
70
- "@entifix/transactions": "0.1.0-0",
71
- "@entifix/testing-unit": "0.1.0-0"
71
+ "@entifix/transactions": "0.1.1",
72
+ "@entifix/testing-unit": "0.1.1"
72
73
  },
73
74
  "peerDependencies": {
74
75
  "effect": ">=3.22 <4",
75
- "@entifix/transactions": "0.1.0-0"
76
+ "@entifix/transactions": "0.1.1"
76
77
  },
77
78
  "peerDependenciesMeta": {
78
79
  "@entifix/transactions": {