Skip to content

v1.0.2

Compare
Choose a tag to compare
@nnsnodnb nnsnodnb released this 24 Jan 02:20
· 152 commits to main since this release
84cecc4

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

  • Support cert & key separated for VoIP client by @nnsnodnb in #195

Full Changelog: 1.0.1...1.0.2