pypomes-jwt 0.6.7__tar.gz → 0.6.8__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.

Potentially problematic release.


This version of pypomes-jwt might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pypomes_jwt
3
- Version: 0.6.7
3
+ Version: 0.6.8
4
4
  Summary: A collection of Python pomes, penyeach (JWT module)
5
5
  Project-URL: Homepage, https://github.com/TheWiseCoder/PyPomes-JWT
6
6
  Project-URL: Bug Tracker, https://github.com/TheWiseCoder/PyPomes-JWT/issues
@@ -6,7 +6,7 @@ build-backend = "hatchling.build"
6
6
 
7
7
  [project]
8
8
  name = "pypomes_jwt"
9
- version = "0.6.7"
9
+ version = "0.6.8"
10
10
  authors = [
11
11
  { name="GT Nunes", email="wisecoder01@gmail.com" }
12
12
  ]
@@ -209,7 +209,7 @@ class JwtData:
209
209
  custom_claims: dict[str, Any] = access_data.get("custom-claims")
210
210
  if superceding_claims:
211
211
  custom_claims = custom_claims.copy()
212
- custom_claims.update(m=superceding_claims)
212
+ custom_claims.update(superceding_claims)
213
213
 
214
214
  # obtain a new token, if the current token has expired
215
215
  just_now: int = int(datetime.now(tz=timezone.utc).timestamp())
@@ -241,8 +241,8 @@ class JwtData:
241
241
  else:
242
242
  # JWT service is being provided locally
243
243
  claims: dict[str, Any] = access_data.get("public-claims").copy()
244
- claims.update(m=reserved_claims)
245
- claims.update(m=custom_claims)
244
+ claims.update(reserved_claims)
245
+ claims.update(custom_claims)
246
246
  # may raise an exception
247
247
  token: str = jwt.encode(payload=claims,
248
248
  key=(control_data.get("hs-secret-key") or
File without changes
File without changes
File without changes
File without changes