Skip to content

Releases: smscode-gg/sdks

v1.1.0 — reactivate + operator selection

Choose a tag to compare

@dzevs dzevs released this 09 Jul 01:26
98bfed0

Additive release. New public surface for both @smscode/sdk (TypeScript) and smscode (Python).

Added

  • Reactivateorders.reactivate() + orders.reactivateOptions(): reactivate a completed number for another OTP on the same number; preview the reactivation cost before committing.
  • Operator (carrier) selectioncatalog.operators({ country_id, platform_id }) lists the carriers for a country + platform; pass operator_id to orders.create() to route to a specific carrier; operator_id / operator_name now appear on order and product responses.

Changed

  • Insufficient balance now surfaces as HTTP 409 Conflict (previously 402); the typed error code (INSUFFICIENT_BALANCE) is unchanged.

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

@smscode/sdk v1.0.0

Choose a tag to compare

@dzevs dzevs released this 27 Jun 07:44
630d393

First public release of the official TypeScript/JavaScript SDK for the SMSCode virtual-number API — rent temporary phone numbers and receive OTP/SMS verification codes programmatically.

Highlights

  • Two API surfaces: /v1 (IDR integer money) and /v2 (USD money objects + meta.fx) — pick one per integration.
  • Typed client: orders (create / waitForOtp / finish / cancel / resend), catalog, balance, webhooks.
  • Webhook signature verification — verifyWebhookSignature recomputes the HMAC-SHA256 over the raw bytes in constant time; parseWebhookEvent returns typed events.
  • Idempotency keys on order creation, typed errors (16 stable codes → subclasses), and retry honoring Retry-After.
  • Dual ESM + CJS; full TypeScript types generated from the OpenAPI contract.

Install

npm i @smscode/sdk    # or: bun add @smscode/sdk

Docs

smscode Python SDK v1.0.0

Choose a tag to compare

@dzevs dzevs released this 27 Jun 17:36
172669e

smscode Python SDK v1.0.0

Production release of the official Python SDK for the SMSCode virtual-number API.

Highlights

  • Sync and async clients powered by httpx.
  • Typed errors, money models, idempotent create helpers, OTP polling, resend after_code, and webhook signature verification.
  • Python 3.10+ with typed package marker (py.typed).

Install

pip install smscode==1.0.0

Verification

  • Public CI passed for Python 3.10, 3.11, 3.12, and 3.13.
  • PyPI package verified from a fresh install.
  • Wheel and sdist were built from the public smscode-gg/sdks checkout.

Artifacts