Skip to content

Commit c2aff9f

Browse files
Implement PR feedback
1 parent a164d44 commit c2aff9f

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

HISTORY

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
=== 4.6.0 2026-02-10
22
- Bump the minimum version of httparty to 0.23.3 to ensure protection against CVE-2025-68696
3+
- Refactor Client to use dedicated internal HTTP clients for different API endpoints
4+
- Fix Verification API methods to use correct version parameter
35

46
=== 4.5.1 2025-04-07
57
- Fix Verification URLs

lib/sift/client.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,10 @@ class Client
108108
API_ENDPOINT = ENV["SIFT_RUBY_API_URL"] || 'https://api.siftscience.com'
109109
API3_ENDPOINT = ENV["SIFT_RUBY_API3_URL"] || 'https://api3.siftscience.com'
110110

111+
# Maintain backward compatibility for users who may rely on HTTParty methods
112+
include HTTParty
113+
base_uri API_ENDPOINT
114+
111115
attr_reader :api_key, :account_id
112116

113117
def self.build_auth_header(api_key)

0 commit comments

Comments
 (0)