Repository navigation
v1.2.0 — SMS evidence + revision-aware waits
Additive release for both @smscode/sdk (TypeScript/JavaScript) and smscode
(Python).
Added
- Order reads and SMS webhooks expose
otp_messageand the monotonic
sms_revision, allowing clients to retain text/link-only SMS deliveries and
reject older aggregate snapshots. waitForOtpacceptsafterRevision, andwait_for_otpaccepts
after_revision, alongside the existing code baseline. Resend waits can now
observe identical-code or text/link-only follow-up SMS deliveries.
Changed
sms_revisionis required on order-read response types because the API always
emits it. Consumers with hand-built response mocks may need to add this field
when upgrading.- A delivered SMS without a classified code remains delivery evidence. Use the
server-authoritativecan_cancelcapability before attempting cancellation.
Install: npm @smscode/sdk@1.2.0 · PyPI smscode==1.2.0