dana-python 2.1.3__py3-none-any.whl → 2.1.4__py3-none-any.whl
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.
- dana/utils/snap_header.py +1 -6
- {dana_python-2.1.3.dist-info → dana_python-2.1.4.dist-info}/METADATA +1 -1
- {dana_python-2.1.3.dist-info → dana_python-2.1.4.dist-info}/RECORD +6 -6
- {dana_python-2.1.3.dist-info → dana_python-2.1.4.dist-info}/WHEEL +0 -0
- {dana_python-2.1.3.dist-info → dana_python-2.1.4.dist-info}/licenses/LICENSE +0 -0
- {dana_python-2.1.3.dist-info → dana_python-2.1.4.dist-info}/top_level.txt +0 -0
dana/utils/snap_header.py
CHANGED
|
@@ -47,7 +47,7 @@ class SnapHeader:
|
|
|
47
47
|
]
|
|
48
48
|
SnapApplyTokenRuntimeHeaders: List[str] = [
|
|
49
49
|
X_TIMESTAMP, X_SIGNATURE,
|
|
50
|
-
X_CLIENT_KEY, CHANNEL_ID
|
|
50
|
+
X_CLIENT_KEY, X_PARTNER_ID, CHANNEL_ID
|
|
51
51
|
]
|
|
52
52
|
SnapApplyOTTRuntimeHeaders: List[str] = [
|
|
53
53
|
AUTHORIZATION_CUSTOMER, X_TIMESTAMP, X_SIGNATURE,
|
|
@@ -76,11 +76,6 @@ class SnapHeader:
|
|
|
76
76
|
]
|
|
77
77
|
|
|
78
78
|
if scenario == "apply_token":
|
|
79
|
-
# Remove X-PARTNER-ID as it's replaced by X-CLIENT-KEY in apply_token scenario
|
|
80
|
-
filtered_auth = [
|
|
81
|
-
auth for auth in filtered_auth
|
|
82
|
-
if auth != X_PARTNER_ID # Explicitly exclude X-PARTNER-ID
|
|
83
|
-
]
|
|
84
79
|
return list(set(filtered_auth).union(SnapHeader.SnapApplyTokenRuntimeHeaders))
|
|
85
80
|
|
|
86
81
|
elif scenario == "apply_ott" or scenario == "unbinding_account":
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dana-python
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.4
|
|
4
4
|
Summary: API Client (SDK) for DANA APIs based on https://dashboard.dana.id/api-docs
|
|
5
5
|
Author-email: DANA Package Manager <package-manager@dana.id>
|
|
6
6
|
Maintainer-email: DANA Package Manager <package-manager@dana.id>
|
|
@@ -133,7 +133,7 @@ dana/utils/open_api_configuration.py,sha256=IQfn3c7Zs4dqOOrm1tKWBoTRdCus2alFnzRL
|
|
|
133
133
|
dana/utils/open_api_header.py,sha256=uYUpmnnO5PI2tu30LNx3hE6fI-NOc2VMkc1P3G9xZpw,9537
|
|
134
134
|
dana/utils/script.py,sha256=zel7LB6GmIGIFyaegYdtmGZj-0tcwe6xuTXvGz-8vLw,2480
|
|
135
135
|
dana/utils/snap_configuration.py,sha256=MZy4dBydo1PqvcB8XVVTBysWdoPmQ8ct7Gzp7jIMFQA,21531
|
|
136
|
-
dana/utils/snap_header.py,sha256=
|
|
136
|
+
dana/utils/snap_header.py,sha256=QE0Kbna1f2WEH5MknLKkWgLNbzdWEjF36DngKBcdXuA,13393
|
|
137
137
|
dana/utils/url.py,sha256=wCDthoodIDANoth6SqSoiIdNwc-hJLNjFBdf_fSjU_4,1965
|
|
138
138
|
dana/webhook/__init__.py,sha256=PGG-SGs96pn8aBTVhR9Xg4-DkIvsIRIdZfV57ZG1FwI,626
|
|
139
139
|
dana/webhook/finish_notify_payment_info.py,sha256=TSn1ksUSNFG0DVTkjhh-fh_jE8ssIXI9iEv2lLlTDgU,5574
|
|
@@ -209,8 +209,8 @@ dana/widget/v1/models/virtual_account_info.py,sha256=qCFyTqwOFY0KwawiQhRfWYwv0Hv
|
|
|
209
209
|
dana/widget/v1/models/widget_payment_request.py,sha256=KZPOauNqtDvtETLSAgkfgLagOiX2H5KaOGroSbRKCAg,8469
|
|
210
210
|
dana/widget/v1/models/widget_payment_request_additional_info.py,sha256=Qa4Akl-KxeBdh3ITnb0_LxVmgZA_YJsYgW_MHKTHj1A,6273
|
|
211
211
|
dana/widget/v1/models/widget_payment_response.py,sha256=KNfxpyOeNjyRG8aNRzTCaY1W5i0PgSVj3x2O8I6b_kE,6037
|
|
212
|
-
dana_python-2.1.
|
|
213
|
-
dana_python-2.1.
|
|
214
|
-
dana_python-2.1.
|
|
215
|
-
dana_python-2.1.
|
|
216
|
-
dana_python-2.1.
|
|
212
|
+
dana_python-2.1.4.dist-info/licenses/LICENSE,sha256=7CXCr_1HV_P6dPKoffVsU3lk2eVjnRacBDnQIeJMgFc,10232
|
|
213
|
+
dana_python-2.1.4.dist-info/METADATA,sha256=9eTC5tu3VFrxnFsvId6x60BbDpO6MaLSAqEB6gQ-gJU,5568
|
|
214
|
+
dana_python-2.1.4.dist-info/WHEEL,sha256=aeYiig01lYGDzBgS8HxWXOg3uV61G9ijOsup-k9o1sk,91
|
|
215
|
+
dana_python-2.1.4.dist-info/top_level.txt,sha256=uvbw-Siay0DC-rXYYx11_k0lqDnrOl5tFeSkE-3Mb8I,5
|
|
216
|
+
dana_python-2.1.4.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|