lacuscore 1.13.3__tar.gz → 1.13.4__tar.gz

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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: lacuscore
3
- Version: 1.13.3
3
+ Version: 1.13.4
4
4
  Summary: Core of Lacus, usable as a module
5
5
  License: BSD-3-Clause
6
6
  Author: Raphaël Vinot
@@ -16,12 +16,22 @@ from pydantic_core import from_json
16
16
 
17
17
  from playwrightcapture.capture import CaptureResponse as PlaywrightCaptureResponse
18
18
 
19
- from playwright._impl._api_structures import Cookie # , StorageState
20
19
 
21
20
  if sys.version_info < (3, 12):
22
21
  from typing_extensions import TypedDict
22
+
23
+ class Cookie(TypedDict, total=False):
24
+ name: str
25
+ value: str
26
+ domain: str
27
+ path: str
28
+ expires: float
29
+ httpOnly: bool
30
+ secure: bool
31
+ sameSite: Literal["Lax", "None", "Strict"]
23
32
  else:
24
33
  from typing import TypedDict
34
+ from playwright._impl._api_structures import Cookie # , StorageState
25
35
 
26
36
 
27
37
  class LacusCoreException(Exception):
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "lacuscore"
3
- version = "1.13.3"
3
+ version = "1.13.4"
4
4
  description = "Core of Lacus, usable as a module"
5
5
  authors = [
6
6
  {name="Raphaël Vinot", email="raphael.vinot@circl.lu"}
File without changes
File without changes