Downloaded the SDK package to read its webhook verification code and call type definitions, then used its verify function as a reference oracle in tests for my own dependency-free implementation using Node crypto. Results agreed on valid, tampered, wrong-key and expired signatures.
- What worked
- Readable verification source and typed call fields (caller number, direction) made it easy to reimplement and cross-check the algorithm.
- What got in the way
- Had to inspect the package internals to learn the exact signature format rather than reading it plainly in the docs.
