Skip to content

Commit 4fdb64f

Browse files
committed
[SDK-128]: Renamed X-SDK to X-Yoti-SDK
1 parent 6b6859b commit 4fdb64f

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# -*- coding: utf-8 -*-
22
from setuptools import setup, find_packages
33

4-
VERSION = '2.0.0'
4+
VERSION = '2.0.1'
55
long_description = 'This package contains the tools you need to quickly ' \
66
'integrate your Python back-end with Yoti, so that your ' \
77
'users can share their identity details with your ' \

yoti_python_sdk/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ def __get_request_headers(self, path):
9595
return {
9696
'X-Yoti-Auth-Key': self.__crypto.get_public_key(),
9797
'X-Yoti-Auth-Digest': self.__crypto.sign('GET&' + path),
98-
'X-SDK': SDK_IDENTIFIER,
98+
'X-Yoti-SDK': SDK_IDENTIFIER,
9999
'Content-Type': 'application/json',
100100
'Accept': 'application/json'
101101
}

yoti_python_sdk/tests/test_client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def expected_headers(x_yoti_auth_key, x_yoti_auth_digest):
3939
'Accept': 'application/json',
4040
'X-Yoti-Auth-Key': x_yoti_auth_key,
4141
'X-Yoti-Auth-Digest': x_yoti_auth_digest,
42-
'X-SDK': SDK_IDENTIFIER
42+
'X-Yoti-SDK': SDK_IDENTIFIER
4343
}
4444

4545

0 commit comments

Comments
 (0)