@juspay/neurolink 13.6.5 → 13.7.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 +6 -2
- package/dist/auth/sessionManager.js +8 -3
- package/dist/browser/neurolink.min.js +391 -391
- package/dist/core/redisConversationMemoryManager.js +6 -16
- package/dist/telemetry/attributes.d.ts +1 -1
- package/dist/telemetry/attributes.js +84 -8
- package/dist/utils/redis.d.ts +17 -0
- package/dist/utils/redis.js +31 -0
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
-
## [13.
|
|
1
|
+
## [13.7.0](https://github.com/juspay/neurolink/compare/v13.6.5...v13.7.0) (2026-10-21)
|
|
2
|
+
|
|
3
|
+
### Features
|
|
4
|
+
|
|
5
|
+
- **(observability):** opt-in masking of credential entries and object keys in span content ([73168e0](https://github.com/juspay/neurolink/commit/73168e070cafa4e488e2d598278bd19e5fa282e0))
|
|
2
6
|
|
|
3
7
|
### Bug Fixes
|
|
4
8
|
|
|
5
|
-
- **(
|
|
9
|
+
- **(memory):** write Redis conversation keys and their expiry in one command ([47f7f36](https://github.com/juspay/neurolink/commit/47f7f3615b4077818d613ecd1790decfc0c341e1))
|
|
6
10
|
|
|
7
11
|
## [11.2.3](https://github.com/juspay/neurolink/compare/v11.2.2...v11.2.3) (2026-08-19)
|
|
8
12
|
|
|
@@ -185,9 +185,14 @@ export class RedisSessionStorage {
|
|
|
185
185
|
: this.ttl;
|
|
186
186
|
// Store session
|
|
187
187
|
await client.setEx(this.sessionKey(session.id), ttlSeconds, JSON.stringify(session));
|
|
188
|
-
// Track user's sessions
|
|
189
|
-
|
|
190
|
-
|
|
188
|
+
// Track user's sessions. SADD creates a missing set without a TTL, so
|
|
189
|
+
// the expiry rides in the same MULTI rather than a command of its own.
|
|
190
|
+
const userSessionsKey = this.userSessionsKey(session.user.id);
|
|
191
|
+
await client
|
|
192
|
+
.multi()
|
|
193
|
+
.sAdd(userSessionsKey, session.id)
|
|
194
|
+
.expire(userSessionsKey, this.ttl)
|
|
195
|
+
.exec();
|
|
191
196
|
}
|
|
192
197
|
catch (error) {
|
|
193
198
|
logger.error("Redis session set error:", error);
|