Skip to content

Commit

Permalink
adjust verify v2 channel timeout and prepare for release
Browse files Browse the repository at this point in the history
  • Loading branch information
maxkahan committed Jun 21, 2024
1 parent b3b5150 commit 97736f6
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 8 deletions.
3 changes: 3 additions & 0 deletions verify_v2/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 1.1.2
- Allow minimum `channel_timeout` value to be 15 seconds

# 1.1.1
- Update minimum dependency version

Expand Down
6 changes: 3 additions & 3 deletions verify_v2/pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
[project]
name = 'vonage-verify-v2'
version = '1.1.1'
version = '1.1.2'
description = 'Vonage verify v2 package'
readme = "README.md"
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]
requires-python = ">=3.8"
dependencies = [
"vonage-http-client>=1.3.1",
"vonage-utils>=1.1.1",
"vonage-http-client>=1.4.0",
"vonage-utils>=1.1.2",
"pydantic>=2.7.1",
]
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion verify_v2/src/vonage_verify_v2/requests.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ class VerifyRequest(BaseModel):
]
]
locale: Optional[Locale] = None
channel_timeout: Optional[int] = Field(None, ge=60, le=900)
channel_timeout: Optional[int] = Field(None, ge=15, le=900)
client_ref: Optional[str] = Field(None, min_length=1, max_length=16)
code_length: Optional[int] = Field(None, ge=4, le=10)
code: Optional[str] = Field(None, pattern=r'^[a-zA-Z0-9]{4,10}$')
Expand Down
4 changes: 4 additions & 0 deletions vonage/CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 3.99.0a11
- Remove the Number Insight v2 beta which was not in use and is going to be deprecated
- Lower the VerifyV2 minimum channel timeout to 15s

# 3.99.1a10
- Migrate the Vonage JWT package
- Internal refactoring
Expand Down
6 changes: 3 additions & 3 deletions vonage/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ readme = "README.md"
authors = [{ name = "Vonage", email = "devrel@vonage.com" }]
requires-python = ">=3.8"
dependencies = [
"vonage-utils>=1.1.1",
"vonage-http-client>=1.3.1",
"vonage-utils>=1.1.2",
"vonage-http-client>=1.4.0",
"vonage-application>=1.0.0",
"vonage-messages>=1.1.1",
"vonage-number-insight>=1.0.0",
"vonage-sms>=1.1.1",
"vonage-users>=1.1.2",
"vonage-verify>=1.1.1",
"vonage-verify-v2>=1.1.1",
"vonage-verify-v2>=1.1.2",
"vonage-voice>=1.0.3",
]
classifiers = [
Expand Down
2 changes: 1 addition & 1 deletion vonage/src/vonage/_version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = '3.99.1a10'
__version__ = '3.99.0a11'

0 comments on commit 97736f6

Please sign in to comment.