lib/yoti/http/signed_request.rb in yoti-1.4.0 vs lib/yoti/http/signed_request.rb in yoti-1.5.0
- old
+ new
@@ -12,9 +12,10 @@
def sign
@http_req['X-Yoti-Auth-Key'] = @auth_key
@http_req['X-Yoti-Auth-Digest'] = message_signature
@http_req['X-Yoti-SDK'] = Yoti.configuration.sdk_identifier
+ @http_req['X-Yoti-SDK-Version'] = "#{Yoti.configuration.sdk_identifier}-#{Yoti::VERSION}"
@http_req['Content-Type'] = 'application/json'
@http_req['Accept'] = 'application/json'
@http_req
end