crypticorn-utils 0.1.0rc1__py3-none-any.whl → 0.1.1rc1__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.
- crypticorn_utils/enums.py +0 -1
- crypticorn_utils/errors.py +4 -4
- {crypticorn_utils-0.1.0rc1.dist-info → crypticorn_utils-0.1.1rc1.dist-info}/METADATA +15 -1
- {crypticorn_utils-0.1.0rc1.dist-info → crypticorn_utils-0.1.1rc1.dist-info}/RECORD +8 -8
- {crypticorn_utils-0.1.0rc1.dist-info → crypticorn_utils-0.1.1rc1.dist-info}/WHEEL +0 -0
- {crypticorn_utils-0.1.0rc1.dist-info → crypticorn_utils-0.1.1rc1.dist-info}/entry_points.txt +0 -0
- {crypticorn_utils-0.1.0rc1.dist-info → crypticorn_utils-0.1.1rc1.dist-info}/licenses/LICENSE +0 -0
- {crypticorn_utils-0.1.0rc1.dist-info → crypticorn_utils-0.1.1rc1.dist-info}/top_level.txt +0 -0
crypticorn_utils/enums.py
CHANGED
crypticorn_utils/errors.py
CHANGED
@@ -866,6 +866,10 @@ class StatusCodeMapper:
|
|
866
866
|
status.HTTP_400_BAD_REQUEST,
|
867
867
|
status.WS_1008_POLICY_VIOLATION,
|
868
868
|
),
|
869
|
+
ApiError.COUPON_INVALID: (
|
870
|
+
status.HTTP_400_BAD_REQUEST,
|
871
|
+
status.WS_1008_POLICY_VIOLATION,
|
872
|
+
),
|
869
873
|
# Success cases
|
870
874
|
ApiError.SUCCESS: (status.HTTP_200_OK, status.WS_1000_NORMAL_CLOSURE),
|
871
875
|
ApiError.BOT_STOPPING_COMPLETED: (
|
@@ -893,10 +897,6 @@ class StatusCodeMapper:
|
|
893
897
|
status.HTTP_200_OK,
|
894
898
|
status.WS_1008_POLICY_VIOLATION,
|
895
899
|
),
|
896
|
-
ApiError.COUPON_INVALID: (
|
897
|
-
status.HTTP_200_OK,
|
898
|
-
status.WS_1000_NORMAL_CLOSURE,
|
899
|
-
),
|
900
900
|
# Miscellaneous
|
901
901
|
ApiError.OBJECT_LOCKED: (
|
902
902
|
status.HTTP_423_LOCKED,
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: crypticorn_utils
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.1rc1
|
4
4
|
Summary: Shared utilities for the Crypticorn APIs
|
5
5
|
Author-email: Crypticorn <timon@crypticorn.com>
|
6
6
|
License-Expression: MIT
|
@@ -68,6 +68,20 @@ This module serves as a central place for providing utilities for our python bac
|
|
68
68
|
|
69
69
|
<!-- changelog-insertion -->
|
70
70
|
|
71
|
+
## v0.1.1-rc.1 (2025-07-02)
|
72
|
+
|
73
|
+
### Bug Fixes
|
74
|
+
|
75
|
+
- Assign correct status code to invalid coupon
|
76
|
+
([`e4068ac`](https://github.com/crypticorn-ai/util-libraries/commit/e4068ac5a739bac69313b18bc3f4c208d024d06d))
|
77
|
+
|
78
|
+
- Make read coupons scope public
|
79
|
+
([`6f5f213`](https://github.com/crypticorn-ai/util-libraries/commit/6f5f213a53cf7a51c0f9a5bb19c927b5348255a9))
|
80
|
+
|
81
|
+
|
82
|
+
## v0.1.0 (2025-06-27)
|
83
|
+
|
84
|
+
|
71
85
|
## v0.1.0-rc.1 (2025-06-23)
|
72
86
|
|
73
87
|
### Documentation
|
@@ -3,8 +3,8 @@ crypticorn_utils/_migration.py,sha256=YPVEDVIz9Lt3ntwrVmUtavQxsJVjtSqQeQ0A_qydia
|
|
3
3
|
crypticorn_utils/ansi_colors.py,sha256=-tMlUTE8NI7TPv7uj0kGRe-SI2hGaUNPKBFI_dfiZy0,1392
|
4
4
|
crypticorn_utils/auth.py,sha256=oJORAuYBD0qiAmUpbMe0JSvp_gsof3oQMNpqay8L6Ek,13018
|
5
5
|
crypticorn_utils/decorators.py,sha256=chsbF27_q3hC0egBaZLfv2vcqUcBSfQXRkLi3Ewb-20,1063
|
6
|
-
crypticorn_utils/enums.py,sha256=
|
7
|
-
crypticorn_utils/errors.py,sha256=
|
6
|
+
crypticorn_utils/enums.py,sha256=KU1W98dkAPQ7-9YAsEhjUwX-Qd79Fze5dzPRP6MkBks,5025
|
7
|
+
crypticorn_utils/errors.py,sha256=mzQZsD8mFPQY6RJLqN_yw9n4CNoo3pEsNh8-v8n_n_o,30440
|
8
8
|
crypticorn_utils/exceptions.py,sha256=iHJOtEBrqgzZVa3ZC60TVYpEfUnhxzos_A9QefmVXT8,6633
|
9
9
|
crypticorn_utils/logging.py,sha256=510DSQr4g5UbweSvZAxjdUKtmj-LU3Dw0clARaAvsZA,4439
|
10
10
|
crypticorn_utils/metrics.py,sha256=WjnNs3RE6A_LzO7m_2hp6EQHvOw1r_nWa2Okhm1OGB0,867
|
@@ -22,9 +22,9 @@ crypticorn_utils/cli/templates/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5
|
|
22
22
|
crypticorn_utils/cli/templates/auth.py,sha256=i27-Ts-Eiyv6_WRshOp7NV5OYUNbw2-kiN5Ll0k2UOA,839
|
23
23
|
crypticorn_utils/router/admin_router.py,sha256=B8s0hqOFe6CFTTsCxtwMUZSdb5EbRsFeKPixH9CXwOU,4090
|
24
24
|
crypticorn_utils/router/status_router.py,sha256=tqrTXq4ZWCxiTXinQoK-2tadWu2jUFzzzkN_Dft0P8g,1084
|
25
|
-
crypticorn_utils-0.1.
|
26
|
-
crypticorn_utils-0.1.
|
27
|
-
crypticorn_utils-0.1.
|
28
|
-
crypticorn_utils-0.1.
|
29
|
-
crypticorn_utils-0.1.
|
30
|
-
crypticorn_utils-0.1.
|
25
|
+
crypticorn_utils-0.1.1rc1.dist-info/licenses/LICENSE,sha256=HonAVvzFXkP2C1d7D3ByIKPwjGH8NcHTAQvKH7uvOHQ,1856
|
26
|
+
crypticorn_utils-0.1.1rc1.dist-info/METADATA,sha256=Wf5cqB8qnEnu20zpOqwcOt1nY4mYkLckFCwY3pb011w,4377
|
27
|
+
crypticorn_utils-0.1.1rc1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
28
|
+
crypticorn_utils-0.1.1rc1.dist-info/entry_points.txt,sha256=G4yWDll7v_Kb4uemqI-_qTKXHvs10R4mD7hNuD-biv4,71
|
29
|
+
crypticorn_utils-0.1.1rc1.dist-info/top_level.txt,sha256=jLPvdxnI36RPf8TX3aZhl35OSd721xEYyFSEeQKF6Ic,17
|
30
|
+
crypticorn_utils-0.1.1rc1.dist-info/RECORD,,
|
File without changes
|
{crypticorn_utils-0.1.0rc1.dist-info → crypticorn_utils-0.1.1rc1.dist-info}/entry_points.txt
RENAMED
File without changes
|
{crypticorn_utils-0.1.0rc1.dist-info → crypticorn_utils-0.1.1rc1.dist-info}/licenses/LICENSE
RENAMED
File without changes
|
File without changes
|