bell-tag 1.0.9__py3-none-any.whl → 1.2.0__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.

Potentially problematic release.


This version of bell-tag might be problematic. Click here for more details.

bell_tag/decorators.py CHANGED
@@ -35,9 +35,9 @@ def bell_tag(name: str = None):
35
35
  method = request.method
36
36
 
37
37
  requests.post(
38
- "https://belltagmanager.com/api/v1/track",
38
+ "https://dev.belltagmanager.com/api/v1/bell_tag/dev/js",
39
39
  json={
40
- "api_key": api_key,
40
+ "key": api_key,
41
41
  "route_name": route_name,
42
42
  "path": path,
43
43
  "method": method,
bell_tag/middleware.py CHANGED
@@ -22,9 +22,9 @@ def create_before_request_handler(app):
22
22
  method = request.method
23
23
 
24
24
  requests.post(
25
- "https://belltagmanager.com/api/v1/track",
25
+ "https://dev.belltagmanager.com/api/v1/bell_tag/dev/js",
26
26
  json={
27
- "api_key": api_key,
27
+ "key": api_key,
28
28
  "path": path,
29
29
  "method": method,
30
30
  "ip": ip_address,
bell_tag/utils.py CHANGED
@@ -17,12 +17,13 @@ def verify_server_once(api_key):
17
17
  try:
18
18
  import requests
19
19
  resp = requests.post(
20
- "https://belltagmanager.com/api/v1/verify",
21
- json={"api_key": api_key},
20
+ "https://dev.belltagmanager.com/api/v1/bell_tag/dev/js/verify",
21
+ json={"key": api_key},
22
22
  timeout=5
23
23
  )
24
24
  if resp.status_code == 200:
25
25
  _verified = True
26
+ print("Bell Tag: Connected and verified successfully.")
26
27
  return True
27
28
  else:
28
29
  # server responded but failed verification — log silently
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: bell-tag
3
- Version: 1.0.9
3
+ Version: 1.2.0
4
4
  Summary: Secure Flask analytics tracking library
5
5
  Author-email: Bell Network <support@bellnetwork.eu>
6
6
  License-Expression: MIT
@@ -0,0 +1,10 @@
1
+ bell_tag/__init__.py,sha256=9gUiTu_ERtU4dzpFDL07Tr7w66vhSL_QPAim2FjXfRE,232
2
+ bell_tag/decorators.py,sha256=F-lBMLlYJ-74KmlXXmTHwZ92puqf9KvFLNRdFrAQtX4,1926
3
+ bell_tag/exceptions.py,sha256=Z3iiOE_PXyM06cVrS531G_f3EH4DnC5QB5lcuiM-xng,94
4
+ bell_tag/middleware.py,sha256=TkMKf6qk0soxLYf4-JfK6kYv5dI5k8_GgHNKwEc8vUo,1109
5
+ bell_tag/py.typed,sha256=LeuNCoxZozlVi222NDN-i_wW5_jAlti_H1mOypLzovw,50
6
+ bell_tag/utils.py,sha256=P1QMq39eci0d7Pl7w8ToFRL3gSwDSOm0_ryuAXEeiag,1196
7
+ bell_tag-1.2.0.dist-info/METADATA,sha256=iG70YSJcBDNsl3lTjmHykcedGqgc3l706cQTg8nW46I,667
8
+ bell_tag-1.2.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
9
+ bell_tag-1.2.0.dist-info/top_level.txt,sha256=zNG3fCyKOmwKuKQz5PFEbzWq9T2tH4C1Tx3CvevSIRg,9
10
+ bell_tag-1.2.0.dist-info/RECORD,,
@@ -1,10 +0,0 @@
1
- bell_tag/__init__.py,sha256=9gUiTu_ERtU4dzpFDL07Tr7w66vhSL_QPAim2FjXfRE,232
2
- bell_tag/decorators.py,sha256=DlrGRqHqLE1h7wYQ70jheACNxxGlyn5QWfv62oVtOpk,1916
3
- bell_tag/exceptions.py,sha256=Z3iiOE_PXyM06cVrS531G_f3EH4DnC5QB5lcuiM-xng,94
4
- bell_tag/middleware.py,sha256=oh7MvtZ8RxPoZ330jIVoELPnqvOGNzyD4CeqA6LRqMU,1099
5
- bell_tag/py.typed,sha256=LeuNCoxZozlVi222NDN-i_wW5_jAlti_H1mOypLzovw,50
6
- bell_tag/utils.py,sha256=Fh_dc9LjZVhyS50lyYO4T9RGNK539UhgmVwpFywHZME,1112
7
- bell_tag-1.0.9.dist-info/METADATA,sha256=G7aTm52rbgEsHbjRAWejlEg8Bv_gaDCWSgfJj7kzkYw,667
8
- bell_tag-1.0.9.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
9
- bell_tag-1.0.9.dist-info/top_level.txt,sha256=zNG3fCyKOmwKuKQz5PFEbzWq9T2tH4C1Tx3CvevSIRg,9
10
- bell_tag-1.0.9.dist-info/RECORD,,