@socketsecurity/sdk 2.0.3 → 2.0.4

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/CHANGELOG.md +8 -0
  2. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
 
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/).
6
6
 
7
+ ## [2.0.4](https://github.com/SocketDev/socket-sdk-js/releases/tag/v2.0.4) - 2025-10-22
8
+
9
+ ### Added
10
+ - Support for `Retry-After` header in rate limit responses (HTTP 429)
11
+ - Automatically respects server-specified retry delays
12
+ - Parses both delay-seconds (numeric) and HTTP-date formats
13
+ - Uses server delay instead of exponential backoff when available
14
+
7
15
  ## [2.0.3](https://github.com/SocketDev/socket-sdk-js/releases/tag/v2.0.3) - 2025-10-22
8
16
 
9
17
  ### Fixed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@socketsecurity/sdk",
3
- "version": "2.0.3",
3
+ "version": "2.0.4",
4
4
  "license": "MIT",
5
5
  "description": "SDK for the Socket API client",
6
6
  "author": {
@@ -65,7 +65,7 @@
65
65
  "@dotenvx/dotenvx": "1.49.0",
66
66
  "@eslint/compat": "1.3.2",
67
67
  "@eslint/js": "9.35.0",
68
- "@socketsecurity/lib": "1.0.4",
68
+ "@socketsecurity/lib": "1.0.5",
69
69
  "@socketsecurity/registry": "1.5.3",
70
70
  "@types/node": "24.6.2",
71
71
  "@typescript/native-preview": "7.0.0-dev.20250926.1",