Skip to content

Commit cd78ef6

Browse files
pablof7zclaude
andcommitted
chore: release packages
- @nostr-dev-kit/ndk@2.14.33 - @nostr-dev-kit/ndk-blossom@0.1.33 - @nostr-dev-kit/ndk-cache-dexie@2.6.34 - @nostr-dev-kit/ndk-cache-nostr@0.1.45 - @nostr-dev-kit/ndk-cache-redis@0.1.31 - @nostr-dev-kit/ndk-mobile@0.8.31 - @nostr-dev-kit/ndk-svelte@2.4.38 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9cb8407 commit cd78ef6

File tree

18 files changed

+351
-25
lines changed

18 files changed

+351
-25
lines changed

.changeset/fix-relay-reconnection.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

ndk-blossom/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @nostr-dev-kit/ndk-blossom
22

3+
## 0.1.33
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @nostr-dev-kit/ndk@2.14.33
9+
10+
## 0.1.32
11+
12+
### Patch Changes
13+
14+
- Updated dependencies [9cb8407]
15+
- @nostr-dev-kit/ndk@2.14.32
16+
317
## 0.1.31
418

519
### Patch Changes

ndk-blossom/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nostr-dev-kit/ndk-blossom",
3-
"version": "0.1.31",
3+
"version": "0.1.33",
44
"description": "Blossom protocol support for NDK (Nostr Development Kit)",
55
"main": "dist/index.js",
66
"module": "dist/index.js",
@@ -39,10 +39,10 @@
3939
},
4040
"homepage": "https://github.com/nostr-dev-kit/ndk#readme",
4141
"dependencies": {
42-
"@nostr-dev-kit/ndk": "2.14.31"
42+
"@nostr-dev-kit/ndk": "2.14.33"
4343
},
4444
"peerDependencies": {
45-
"@nostr-dev-kit/ndk": "2.14.31"
45+
"@nostr-dev-kit/ndk": "2.14.33"
4646
},
4747
"devDependencies": {
4848
"@types/node": "^20.0.0",

ndk-cache-dexie/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @nostr-dev-kit/ndk-cache-dexie
22

3+
## 2.6.34
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @nostr-dev-kit/ndk@2.14.33
9+
10+
## 2.6.33
11+
12+
### Patch Changes
13+
14+
- Updated dependencies [9cb8407]
15+
- @nostr-dev-kit/ndk@2.14.32
16+
317
## 2.6.32
418

519
### Patch Changes

ndk-cache-dexie/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nostr-dev-kit/ndk-cache-dexie",
3-
"version": "2.6.32",
3+
"version": "2.6.34",
44
"description": "NDK Dexie Cache Adapter",
55
"license": "MIT",
66
"docs": "typedoc",
@@ -54,7 +54,7 @@
5454
"vitest": "^1.2.0"
5555
},
5656
"dependencies": {
57-
"@nostr-dev-kit/ndk": "2.14.31",
57+
"@nostr-dev-kit/ndk": "2.14.33",
5858
"debug": "^4.3.7",
5959
"dexie": "^4.0.8",
6060
"nostr-tools": "^2.4.0",

ndk-cache-nostr/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @nostr-dev-kit/ndk-cache-nostr
22

3+
## 0.1.45
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @nostr-dev-kit/ndk@2.14.33
9+
10+
## 0.1.44
11+
12+
### Patch Changes
13+
14+
- Updated dependencies [9cb8407]
15+
- @nostr-dev-kit/ndk@2.14.32
16+
317
## 0.1.43
418

519
### Patch Changes

ndk-cache-nostr/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nostr-dev-kit/ndk-cache-nostr",
3-
"version": "0.1.43",
3+
"version": "0.1.45",
44
"description": "NDK cache adapter that uses a local nostr relay.",
55
"main": "./dist/index.js",
66
"module": "./dist/index.mjs",
@@ -36,7 +36,7 @@
3636
},
3737
"homepage": "https://github.com/nostr-dev-kit/ndk",
3838
"dependencies": {
39-
"@nostr-dev-kit/ndk": "2.14.31",
39+
"@nostr-dev-kit/ndk": "2.14.33",
4040
"debug": "^4.3.4",
4141
"typescript": "^5.8.2",
4242
"websocket-polyfill": "^0.0.3"

ndk-cache-redis/CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# @nostr-dev-kit/ndk-cache-redis
22

3+
## 0.1.31
4+
5+
### Patch Changes
6+
7+
- Updated dependencies
8+
- @nostr-dev-kit/ndk@2.14.33
9+
10+
## 0.1.30
11+
12+
### Patch Changes
13+
14+
- Updated dependencies [9cb8407]
15+
- @nostr-dev-kit/ndk@2.14.32
16+
317
## 0.1.29
418

519
### Patch Changes

ndk-cache-redis/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@nostr-dev-kit/ndk-cache-redis",
3-
"version": "0.1.29",
3+
"version": "0.1.31",
44
"description": "NDK Redis Cache Adapter",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -15,7 +15,7 @@
1515
"clean": "rm -rf dist"
1616
},
1717
"dependencies": {
18-
"@nostr-dev-kit/ndk": "2.14.31",
18+
"@nostr-dev-kit/ndk": "2.14.33",
1919
"ioredis": "^5.0.0"
2020
},
2121
"devDependencies": {

ndk-core/CHANGELOG.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
11
# @nostr-dev-kit/ndk
22

3+
## 2.14.33
4+
5+
### Patch Changes
6+
7+
- bump
8+
9+
## 2.14.32
10+
11+
### Patch Changes
12+
13+
- 9cb8407: Fix relay reconnection logic after long disconnections
14+
15+
- Fixed exponential backoff calculation that was using XOR operator (^) instead of exponentiation
16+
- Added detection and cleanup of stale WebSocket connections after system sleep/resume
17+
- Improved connection state handling to prevent infinite reconnection loops
18+
19+
The reconnection delay calculation was incorrectly using `(1000 * attempt) ^ 4` which performed a bitwise XOR operation resulting in delays of only 1-2 seconds. This has been corrected to use `Math.pow(1000 * (attempt + 1), 2)` for proper exponential backoff.
20+
321
## 2.14.31
422

523
### Patch Changes

0 commit comments

Comments
 (0)