Skip to content

v1.3.0 — resend_mode + additive-response policy

Latest

Choose a tag to compare

@dzevs dzevs released this 28 Oct 08:21
7c9b18f

Additive release for both @smscode/sdk (TypeScript/JavaScript) and smscode
(Python).

Added

  • /v2 order reads carry resend_mode. auto means the provider delivers
    further SMS by itself: can_resend is then always false and a resend returns
    resent: false. manual means an eligible order can request another SMS
    through resend. can_resend stays the current permission. In Python the value
    is OrderCapabilities.resend_mode, and it is None when a response does not
    carry it, as on /v1.

Compatibility

  • The API now states its compatibility policy: responses and webhook event
    payloads may gain new fields at any time, without a version change. Ignore
    fields you do not recognize. Request bodies stay strict: send only the
    documented fields.
  • Both SDKs already parse responses leniently, so you need no code change to
    stay compatible.

Install: npm @smscode/sdk@1.3.0 · PyPI smscode==1.3.0