v1.0.2
New support
VoIPClient is supported cert & key separated authkey.
You can use the existing implementation as is.
Added key_filepath and password to VoIPClient properties.
Type of auth_key_filepath
and key_filepath
is typing.Union[str, pathlib.Path]
.
Existing implementation
from kalyke import VoIPClient
client = VoIPClient(
use_sandbox=True,
auth_key_filepath="/path/to/YOUR_VOIP_CERTIFICATE.pem",
)
Use separated authkey
from kalyke import VoIPClient
client = VoIPClient(
use_sandbox=True,
auth_key_filepath="/path/to/aps.cer",
key_filepath="/path/to/private.key",
password="private_key_passphrase", # or None
)
What's Changed
Full Changelog: 1.0.1...1.0.2