@voltro/kv 0.87.0 → 0.88.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.
- package/CHANGELOG.md +169 -6
- package/THIRD-PARTY-NOTICES.md +2 -1345
- package/dist/Kv.js +1 -2
- package/dist/KvStore.js +1 -2
- package/dist/analytics.js +1 -2
- package/dist/backendMemory.js +1 -2
- package/dist/backendRedis.js +1 -2
- package/dist/cacheAtomicProtocol.js +34 -24
- package/dist/cacheAtomicScript.js +19 -2
- package/dist/cacheAtomicState.js +1 -2
- package/dist/connection.js +74 -70
- package/dist/connectionAnalyticsConfig.js +1 -2
- package/dist/connectionConfigError.js +10 -0
- package/dist/connectionConfigProvider.js +1 -2
- package/dist/connectionDefinitions.js +1 -2
- package/dist/connectionMemory.js +1 -2
- package/dist/connectionMetrics.js +1 -2
- package/dist/connectionNamespace.js +1 -2
- package/dist/connectionNats.js +44 -44
- package/dist/connectionNatsConfig.js +1 -2
- package/dist/connectionNatsSubjects.js +1 -2
- package/dist/connectionOwner.js +1 -2
- package/dist/connectionPool.js +252 -252
- package/dist/connectionPrefix.js +1 -2
- package/dist/connectionScripts.js +1 -2
- package/dist/connectionSqlConfig.js +1 -2
- package/dist/connectionStorageConfig.js +1 -2
- package/dist/connectionStorageFacade.js +1 -2
- package/dist/connectionSubscriber.js +47 -47
- package/dist/driverModule.js +9 -0
- package/dist/errors.js +1 -2
- package/dist/expirySweep.js +1 -2
- package/dist/hot-contract.js +1 -2
- package/dist/hot-testing.d.ts +14 -1
- package/dist/hotMemory.js +1 -2
- package/dist/hotOperations.js +1 -2
- package/dist/hotRateLimit.js +1 -2
- package/dist/hotReadAvailability.js +1 -2
- package/dist/hotRedis.js +1 -2
- package/dist/hotRedisScript.js +1 -2
- package/dist/hotRouting.js +2 -3
- package/dist/hotState.js +1 -2
- package/dist/hotStoreConformance.js +76 -78
- package/dist/nativeRedisReads.js +2 -3
- package/dist/nativeRedisTopology.js +64 -63
- package/dist/redisDiagnostics.js +1 -2
- package/dist/redisReadPolicy.js +1 -2
- package/dist/storage.js +1 -2
- package/dist/storageAddress.js +1 -2
- package/package.json +13 -10
package/dist/redisReadPolicy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
// src/redisReadPolicy.ts
|
|
2
2
|
var e = async (e, t) => {
|
|
3
3
|
let n = (await Promise.all(e.map(async (e) => {
|
|
4
4
|
let n = performance.now();
|
|
@@ -35,5 +35,4 @@ var e = async (e, t) => {
|
|
|
35
35
|
}
|
|
36
36
|
};
|
|
37
37
|
};
|
|
38
|
-
//#endregion
|
|
39
38
|
export { t as httpRedisReaders, e as measuredRedisReader };
|
package/dist/storage.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { StorageAddress as e, isStorageKey as t, storageAddressIdentity as n, storageKeyProblem as r } from "./storageAddress.js";
|
|
2
2
|
import { Schema as i } from "effect";
|
|
3
|
-
|
|
3
|
+
// src/connectionStorage.ts
|
|
4
4
|
var a = class extends i.TaggedError()("StorageError", {
|
|
5
5
|
provider: i.String,
|
|
6
6
|
message: i.String,
|
|
@@ -44,5 +44,4 @@ var a = class extends i.TaggedError()("StorageError", {
|
|
|
44
44
|
};
|
|
45
45
|
return Object.defineProperties(t, n);
|
|
46
46
|
};
|
|
47
|
-
//#endregion
|
|
48
47
|
export { e as StorageAddress, a as StorageError, o as forwardStorageProvider, t as isStorageKey, n as storageAddressIdentity, r as storageKeyProblem };
|
package/dist/storageAddress.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Schema as e } from "effect";
|
|
2
|
-
|
|
2
|
+
// src/storageAddress.ts
|
|
3
3
|
var t = (e) => {
|
|
4
4
|
if (e.length === 0) return "empty";
|
|
5
5
|
if (e.includes("\0")) return "contains NUL";
|
|
@@ -16,5 +16,4 @@ var t = (e) => {
|
|
|
16
16
|
e.tenantId,
|
|
17
17
|
e.key
|
|
18
18
|
]);
|
|
19
|
-
//#endregion
|
|
20
19
|
export { r as StorageAddress, n as isStorageKey, i as storageAddressIdentity, t as storageKeyProblem };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voltro/kv",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.88.0",
|
|
4
4
|
"description": "Named RESP connection registry + durable key-value primitive. One config surface for many Redis-family connections (Redis/Valkey/KeyDB/Dragonfly/Upstash) shared across cache, rate-limit, RYW and broadcast; plus a durable, tenant-scoped KV store distinct from the best-effort cache.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"voltro",
|
|
@@ -68,19 +68,22 @@
|
|
|
68
68
|
"node": ">=24.0.0"
|
|
69
69
|
},
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@voltro/shared": "0.
|
|
72
|
-
},
|
|
73
|
-
"optionalDependencies": {
|
|
74
|
-
"@nats-io/transport-node": "^3.4.0",
|
|
75
|
-
"@upstash/redis": "^1.38.4",
|
|
76
|
-
"ioredis": "^5.11.1"
|
|
71
|
+
"@voltro/shared": "0.88.0"
|
|
77
72
|
},
|
|
78
73
|
"peerDependencies": {
|
|
79
|
-
"effect": "4.0
|
|
80
|
-
"
|
|
74
|
+
"effect": "4.1.0",
|
|
75
|
+
"@nats-io/transport-node": "^3.4.0",
|
|
76
|
+
"@upstash/redis": "^1.40.0",
|
|
77
|
+
"ioredis": "^6.0.0"
|
|
81
78
|
},
|
|
82
79
|
"peerDependenciesMeta": {
|
|
83
|
-
"
|
|
80
|
+
"@nats-io/transport-node": {
|
|
81
|
+
"optional": true
|
|
82
|
+
},
|
|
83
|
+
"@upstash/redis": {
|
|
84
|
+
"optional": true
|
|
85
|
+
},
|
|
86
|
+
"ioredis": {
|
|
84
87
|
"optional": true
|
|
85
88
|
}
|
|
86
89
|
},
|