Skip to content

Latest commit

 

History

History
2550 lines (1334 loc) · 152 KB

File metadata and controls

2550 lines (1334 loc) · 152 KB

Changelog

0.135.0 (2026-03-23)

Full Changelog: v0.134.0...v0.135.0

Features

  • api: add card_age/account_age attributes to auth rules v2 (37971d6)
  • api: add override_company_name parameter to external payments create (868f064)
  • api: add service location fields to auth rules v2 and merchant models (c364f7b)

Chores

  • internal: fix MCP server TS errors that occur with required client options (42fb3a8)
  • internal: switch from steady to prism for mock server (90699a3)
  • internal: update gitignore (b49bfc6)
  • tests: bump steady to v0.19.4 (9491eb7)
  • tests: bump steady to v0.19.5 (37b04df)
  • tests: bump steady to v0.19.6 (f9125f0)

Documentation

  • api: update nature_of_business and qr_code_url field descriptions (3f262d6)

Refactors

  • tests: switch from prism to steady (5d648e0)

0.134.0 (2026-03-17)

Full Changelog: v0.133.0...v0.134.0

Features

  • api: add remittance_information field to Payment (133fe04)

Bug Fixes

  • types: make address/dob/email/government_id optional in account-holders (0966648)

Chores

  • internal: support x-stainless-mcp-client-permissions headers in MCP servers (f5266e6)
  • internal: switch npm publishing from token authentication to OIDC (2831ff1)
  • internal: tweak CI branches (cb5acc3)

Documentation

  • api: update supported file types in account holder document uploads (dd26f0e)

0.133.0 (2026-03-16)

Full Changelog: v0.132.1...v0.133.0

Features

  • api: add ACH_RECEIPT_RELEASED_EARLY event type to payments (0bb4d95)
  • api: add excluded_account_tokens to auth rules v2 (30cfe26)
  • api: add mcp-server package, CI/CD workflows, build scripts, update README (d942481)
  • api: add penalty_rates field to interest tier schedule (aa412d0)
  • api: add versions field to auth rules v2 report response (aa20bdb)
  • api: add WIRE category/events, remove remittance_information from payments (8808ca2)

Bug Fixes

  • api: [breaking] unify webhook schemas for digital_wallet.tokenization_approval_request webhooks (4166fbc)
  • types: make start/end required, remove auth_rule_token from backtests (f61f218)

Chores

  • internal: regenerate SDK with no functional changes (1c21ea8)

Documentation

  • api: update disputes terminology to chargeback request (2128851)

0.132.1 (2026-03-10)

Full Changelog: v0.132.0...v0.132.1

Features

  • api: Add event_subtype to statement line items (82db0f8)
  • api: add loan_tape_date field to statement line items (a3995b6)

Chores

  • ci: updating publishing method (02b0749)

0.132.0 (2026-03-10)

Full Changelog: v0.131.0...v0.132.0

Features

  • api: add EARLY_DIRECT_DEPOSIT_FLOAT type to financial accounts (20f0c4c)
  • api: add typescript rule type, draft state tracking to auth_rules v2 (8f4eabb)

Bug Fixes

  • api: Disable MCP server to fix TypeScript SDK package publishing (8a4d2aa)

Chores

  • internal: update dependencies to address dependabot vulnerabilities (fefdd61)
  • mcp-server: improve instructions (8051570)

0.131.0 (2026-03-05)

Full Changelog: v0.130.0...v0.131.0

Features

  • api: add action_counts to rule performance reports and code to authorization actions (b721196)
  • api: Add Hold API for financial account fund reservations (582aeb7)
  • api: Remove deprecated beneficial owner entities field (e0b8292)

Chores

  • internal: codegen related update (e159665)
  • internal: codegen related update (bccb03c)

0.130.0 (2026-02-27)

Full Changelog: v0.129.0...v0.130.0

Features

  • api: Add account holder entity endpoints (3fb22ea)
  • api: Add INTEREST_AND_FEES_PAUSED substatus to financial account (342cb07)
  • api: Expose MIL interest schedules and loan tape configuration endpoints (c71b835)
  • mcp: add an option to disable code tool (c3f0f72)

Bug Fixes

  • api: Correct token_metadata field name in tokenization.approval_request schema (b55c509)
  • docs/contributing: correct pnpm link command (49b3676)
  • mcp: update prompt (fe87cb7)

Chores

  • internal: fix MCP Dockerfiles so they can be built without buildkit (b11e333)
  • internal: fix MCP Dockerfiles so they can be built without buildkit (d654204)
  • internal: make MCP code execution location configurable via a flag (d7ce232)
  • internal: move stringifyQuery implementation to internal function (18e4250)
  • internal: upgrade @modelcontextprotocol/sdk and hono (7e9cc7b)
  • mcp: correctly update version in sync with sdk (71e0dc6)
  • update mock server docs (6657e0d)

Documentation

  • Remove CONDITIONAL_BLOCK from docs (79f3258)

0.129.0 (2026-02-19)

Full Changelog: v0.128.0...v0.129.0

Features

  • api: Add /v2/auth_rules/results endpoint for listing rule evaluation data (9e5d574)
  • api: Add amounts object to ASA request (533b912)
  • api: Add hold token field to book transfers (baf17ff)
  • api: Add naics_code to account holder requests/responses (432e7ee)
  • api: Add network specific wallet recommendation reasons (aa17d4f)
  • api: Add PENDING_REVIEW status to KYB enrollment simulation (a1f5c47)
  • api: Add result schemas for Authorization and Authentication (3DS) actions (563b5ff)
  • mcp: add initial server instructions (12f5335)
  • mcp: allow specifying environment via remote server (f2bbc59)

Bug Fixes

  • api: Update /v2/auth_rules/results endpoint parameter naming and action types (1b369cc)
  • client: avoid memory leak with abort signals (ef3a98b)
  • client: avoid removing abort listener too early (eb0e7f7)
  • mcp: do not fallback on baseUrl if environment env variable is set (07d71d3)
  • mcp: initialize SDK lazily to avoid failing the connection on init errors (ce8805e)

Chores

  • client: do not parse responses with empty content-length (f8fdb77)
  • client: restructure abort controller binding (45461df)
  • configure new SDK language (a09926d)
  • formatting (1eb7005)
  • internal/client: fix form-urlencoded requests (bb7b560)
  • internal: add health check to MCP server when running in HTTP mode (7e123b2)
  • internal: allow basic filtering of methods allowed for MCP code mode (d8c2ff7)
  • internal: allow setting x-stainless-api-key header on mcp server requests (7536a61)
  • internal: always generate MCP server dockerfiles and upgrade associated dependencies (be9d995)
  • internal: avoid type checking errors with ts-reset (f48610b)
  • internal: cache fetch instruction calls in MCP server (c2988db)
  • internal: configure MCP Server hosting (3feac24)
  • internal: fix pagination internals not accepting option promises (e258c68)
  • internal: improve layout of generated MCP server files (8c08f2e)
  • internal: refactor flag parsing for MCP servers and add debug flag (5ddc39b)
  • internal: support oauth authorization code flow for MCP servers (cc5b02e)
  • mcp: forward STAINLESS_API_KEY to docs search endpoint (fc74254)

Documentation

  • Fix documentation of tokenization channel and tokenization source for tokenization rules (35696df)

0.128.0 (2026-01-27)

Full Changelog: v0.127.0...v0.128.0

Features

  • api: Add card.updated event (ca68a38)
  • api: Add idempotency key to cards POST and PATCH endpoints (98afb05)
  • api: Add merchant location fields to simulator endpoints (1b156ef)
  • api: Add tags field to card transactions (062acce)
  • api: make filter optional for Spend Velocity Auth Rules (ef79410)

Bug Fixes

  • api: Correct field name from ach_hold__period to ach_hold_period (ead10f3)
  • api: mark AppleWebPushProvisioningResponse fields required (3bb4fc1)
  • api: rename WIRE_DRAWDOWN_REQUEST to WIRE_INBOUND_DRAWDOWN_REQUEST (ef79410)

Chores

  • Add spec linter for YAML and folded style multiline strings (eefbc00)
  • ci: upgrade actions/github-script (cd54d0d)
  • configure new SDK language (19ac828)
  • fix typo in descriptions (79ba3d6)
  • internal: codegen related update (9468191)
  • internal: configure MCP Server hosting (4bda069)
  • internal: update actions/checkout version (3de8381)
  • internal: upgrade babel, qs, js-yaml (5940b21)
  • Rework event type generation to support spec splitting (0466f6a)

Documentation

  • Remove deprecated tag from MERCHANT_LOCKED card type (112880e)

0.127.0 (2026-01-08)

Full Changelog: v0.126.0...v0.127.0

Features

  • api: Add card state attribute to tokenization rules (0a56f6a)
  • api: Add event_type to ASA request and 3DS decisioning request (0a56f6a)
  • api: add external_id to payment_event (538d96e)
  • api: add get /v1/transfer_limits endpoint (538d96e)
  • api: add post /v1/book_transfers/{book_transfer_token}/retry endpoint (538d96e)
  • api: Add user defined status to ledger accounts (0a56f6a)
  • api: add WIRE_DRAWDOWN_REQUEST transfer type (e7c375b)
  • api: Expose Payment Allocation Details (0a56f6a)
  • api: remove unnecessary X-Lithic-Pagination header (e7c375b)
  • api: remove v1/aggregate_balances and related models (0078e74)

Bug Fixes

  • docs: remove extraneous example object fields (3ba95e6)

Chores

  • break long lines in snippets into multiline (5e9608e)
  • formatting (0b4c11e)
  • internal: codegen related update (a06ac86)
  • update code formatting (0a56f6a)

Documentation

  • api: clarify description of token / retry_token when it serves as idempotency key (e7c375b)
  • Update language for Google Web Push Provisioning docs (0a56f6a)

0.126.0 (2025-12-11)

Full Changelog: v0.125.0...v0.126.0

Features

  • api: add webhook schemas to SDKs - add parse and parse_unsafe (0722f58)

Chores

  • remove some unnecessary custom code (878587c)
  • replace custom webhook signature verification with standardwebhooks (0722f58)

Documentation

  • update webhooks section in readme (5548a43)
  • update webhooks section in readme (63639e0)

0.125.0 (2025-12-09)

Full Changelog: v0.124.0...v0.125.0

Features

  • api: add bulk card creation APIs (cbe8285)
  • api: Add event_streams to auth rules APIs (26629d1)
  • api: add Google WPP to SDKs (7fd2c61)
  • api: add IS_AFTER / IS_BEFORE operators to Auth Rule APIs (7fd2c61)
  • api: Add new fee types (26629d1)
  • api: Add optional ach_hold_period (26629d1)
  • api: support event_streams in auth_rules list endpoint (7b39654)

Bug Fixes

  • api: extract several common types to reduce duplication (cbe8285)
  • mcp: correct code tool API endpoint (01caa79)
  • mcp: return correct lines on typescript errors (ee744e3)

Chores

  • client: fix logger property type (fdcf76c)
  • internal: codegen related update (c904aa8)
  • internal: codegen related update (29cac70)
  • internal: upgrade eslint (4350d98)

Documentation

  • api: clarify error 422 for 3DS challenge response (7fd2c61)

0.124.0 (2025-11-24)

Full Changelog: v0.112.1...v0.124.0

Features

  • api: major upgrade of Typescript SDK (8d54827)

Chores

0.112.1 (2025-08-04)

Full Changelog: v0.112.0...v0.112.1

Features

  • api: adds new Account Activity API (ef676b8)

Chores

  • internal: remove redundant imports config (aea4fa8)

0.112.0 (2025-07-28)

Full Changelog: v0.111.0...v0.112.0

Features

  • api: updates Transaction retrieve response to match API (956374d)

0.111.0 (2025-07-23)

Full Changelog: v0.110.0...v0.111.0

Features

  • api: adds new Auth Rules Scope and Settlement Details type (7e07bc1)

Chores

  • docs: update Account Holder deprecation formatting (4333988)

0.110.0 (2025-07-15)

Full Changelog: v0.109.0...v0.110.0

Features

  • api: adds Network Programs and Account/Card Sub-statuses (ac6bf9d)

Chores

  • make some internal functions async (84d6291)

0.109.0 (2025-07-03)

Full Changelog: v0.108.0...v0.109.0

Features

0.108.0 (2025-07-03)

Full Changelog: v0.107.0...v0.108.0

Features

0.107.0 (2025-07-02)

Full Changelog: v0.106.1...v0.107.0

Features

  • api: add models for merchant_lock_parameters and conditional_3ds_action_parameters (932b3b4)
  • api: api update (d8fc06f)

Bug Fixes

  • client: don't send Content-Type for bodyless methods (c277f5e)

Chores

  • mention unit type in timeout docs (14cdd27)

0.106.1 (2025-06-29)

Full Changelog: v0.106.0...v0.106.1

Bug Fixes

  • ci: correct conditional (1282914)

Chores

  • ci: only run for pushes and fork pull requests (94ada3e)
  • internal: manual updates (fe8205e)

0.106.0 (2025-06-27)

Full Changelog: v0.105.0...v0.106.0

Features

  • client: adds support for on-demand Auth Rule Performance Reports (bef8079)

Bug Fixes

  • ci: release-doctor — report correct token name (0551c7c)

0.105.0 (2025-06-23)

Full Changelog: v0.104.0...v0.105.0

Features

  • api: add CLOSED account state option and UNVERIFIED verification method (779fc1d)
  • client: add support for endpoint-specific base URLs (5351646)
  • client: adds endpoint to register an account number on a Financial Account (48bfcca)
  • client: adds support for 3DS to Auth Rules (b025f79)

Bug Fixes

  • publish script — handle NPM errors correctly (5d9df71)

Chores

  • api: mark some methods as deprecated (55ca4f7)
  • ci: enable for pull requests (ad4bab3)
  • docs: grammar improvements (c865442)
  • docs: use top-level-await in example snippets (eef2b95)
  • improve publish-npm script --latest tag logic (926af31)
  • internal: make base APIResource abstract (57924eb)

Documentation

  • pagination: improve naming (e8f3074)

Refactors

  • types: replace Record with mapped types (e256fb9)

0.104.0 (2025-05-15)

Full Changelog: v0.103.0...v0.104.0

Features

  • api: new Funding Events and Card Web Provision API's (f20f1fd)

0.103.0 (2025-05-12)

Full Changelog: v0.102.1...v0.103.0

Features

Documentation

  • add examples to tsdocs (a7ba231)
  • remove or fix invalid readme examples (96ecf00)

0.102.1 (2025-05-06)

Full Changelog: v0.102.0...v0.102.1

Bug Fixes

  • internals: fix servers entry for /v2/auth_rules.get (ac57bb0)

Chores

  • ci: bump node version for release workflows (052ebca)
  • docs: add missing deprecation warnings (72ba0aa)

Documentation

0.102.0 (2025-04-29)

Full Changelog: v0.101.0...v0.102.0

Features

  • api: adds new merchant lock Auth Rule (2d28881)

Chores

  • ci: add timeout thresholds for CI jobs (f6f9a6c)
  • ci: only use depot for staging repos (f094198)
  • ci: run on more branches and use depot runners (b123255)

0.101.0 (2025-04-21)

Full Changelog: v0.100.0...v0.101.0

Features

  • api: updates to Card definition for PCI clarity (7088a21)

Bug Fixes

  • internal: refresh schemas (97444bc)
  • internals: fix Card schema definition (9105670)

Chores

  • client: minor internal fixes (1bd6715)
  • internal: codegen related update (86735a0)
  • internal: reduce CI branch coverage (ff24f91)

0.100.0 (2025-04-09)

Full Changelog: v0.99.0...v0.100.0

Features

Chores

  • configure new SDK language (11e6d26)
  • internal: upload builds and expand CI branch coverage (#669) (0c21c35)
  • tests: improve enum examples (#667) (0fcc400)

0.99.0 (2025-04-08)

Full Changelog: v0.98.0...v0.99.0

Features

  • api: introduce TransactionSeries and update ShippingMethod fields (#665) (515ce4f)

0.98.0 (2025-04-07)

Full Changelog: v0.97.5...v0.98.0

Features

  • api: new resend endpoint for Event Subscriptions (#663) (cb6fa3b)

Chores

  • internal: only run examples workflow in main repo (#661) (868a6b3)

0.97.5 (2025-04-04)

Full Changelog: v0.97.4...v0.97.5

Bug Fixes

0.97.4 (2025-04-03)

Full Changelog: v0.97.3...v0.97.4

Bug Fixes

  • api: improve type resolution when importing as a package (#656) (ba46854)

Chores

  • internal: add aliases for Record and Array (#654) (2172c3f)

0.97.3 (2025-04-02)

Full Changelog: v0.97.2...v0.97.3

Bug Fixes

  • client: send X-Stainless-Timeout in seconds (#652) (57013d2)

Chores

  • internal codegen changes (c0d866d)
  • internal codegen changes (f25f411)

0.97.2 (2025-03-27)

Full Changelog: v0.97.1...v0.97.2

Bug Fixes

Chores

  • api: new attribute targets for Auth Rules and new Financial Account State schema (#640) (fd78b50)
  • client: expose headers on some streaming errors (#643) (07b00c4)
  • fix typos (#642) (0236301)
  • internal: remove workflow condition (#649) (517409d)

0.97.1 (2025-03-21)

Full Changelog: v0.97.0...v0.97.1

Bug Fixes

  • avoid type error in certain environments (#639) (b992784)

Chores

0.97.0 (2025-03-18)

Full Changelog: v0.96.1...v0.97.0

Features

  • api: updates to 2 FinancialAccounts endpoints and new ExpireAuthorization endpoint (#633) (98c338d)

0.96.1 (2025-03-13)

Full Changelog: v0.96.0...v0.96.1

Bug Fixes

  • exports: ensure resource imports don't require /index (#632) (e946a31)

Chores

  • internal: remove extra empty newlines (#630) (8053885)

0.96.0 (2025-03-12)

Full Changelog: v0.95.0...v0.96.0

Features

  • add SKIP_BREW env var to ./scripts/bootstrap (#625) (27793b1)
  • client: accept RFC6838 JSON content types (#627) (a47891f)
  • client: update currency data type (#629) (406dde5)

Bug Fixes

Chores

  • api: release of Network Totals reporting and new filters for Velocity Limit Rules (#628) (e3f72e3)
  • client: deprecate some fields (406dde5)

Documentation

  • update some descriptions (406dde5)

0.95.0 (2025-03-04)

Full Changelog: v0.94.0...v0.95.0

Features

  • api: new Settlement API endpoints and changes to update Account Holder endpoint (#624) (ba30590)

Chores

  • api: adds new Internal Category for FinancialTransactions (#622) (403118d)
  • internal: add missing return type annotation (#619) (2b16b69)
  • internal: fix devcontainers setup (#621) (60d0e95)

Documentation

  • update URLs from stainlessapi.com to stainless.com (#623) (6f74793)

0.94.0 (2025-02-13)

Full Changelog: v0.93.0...v0.94.0

Features

  • client: send X-Stainless-Timeout header (#615) (fc14eab)
  • pagination: avoid fetching when has_more: false (#616) (df66050)

Bug Fixes

  • client: fix export map for index exports (#618) (2ca13e4)

Chores

  • api: new 3DS Event and new challenge_metadata property on Authentications (#617) (1da35d6)
  • api: new PaymentEventType for ACH Returns and small updates to 3DS AuthenticationResult (#614) (116f85b)
  • fix references to nested types (#612) (7b33255)

0.93.0 (2025-01-28)

Full Changelog: v0.92.0...v0.93.0

Features

  • api: adds additional request types for updating an Auth Rule (#610) (1bdac49)

0.92.0 (2025-01-24)

Full Changelog: v0.91.1...v0.92.0

Features

  • api: adds additional fields to TransactionEvents (#609) (0404528)

Chores

  • api: additional field added to 3DS Responses and Tokenization (#607) (bb098a5)

0.91.1 (2025-01-21)

Full Changelog: v0.91.0...v0.91.1

Bug Fixes

  • reuse model in pagination items type (#605) (63d4498)

Chores

  • add back compat aliases for LineItemListResponse (3a8e040)
  • api: adds dpan property to Tokenization (#602) (3c75229)
  • docs: updates documentation for DPANs (#603) (753bcf0)
  • internal: add test (#604) (12512e5)
  • types: add | undefined to client options properties (#600) (ca52615)

Documentation

0.91.0 (2025-01-14)

Full Changelog: v0.90.0...v0.91.0

⚠ BREAKING CHANGES

  • types: improve auth rules types (#599)

Features

Bug Fixes

Chores

Documentation

0.90.0 (2024-12-18)

Full Changelog: v0.89.0...v0.90.0

⚠ BREAKING CHANGES

  • api: removes AccountHolder resubmit endpoint and KYC_ADVANCED workflow (#588)

Features

  • api: removes AccountHolder resubmit endpoint and KYC_ADVANCED workflow (#588) (d1fb982)

Chores

  • api: new ConvertPhysical endpoint to convert a virtual card to a physical card (#585) (fd21fb6)
  • internal: fix some typos (#587) (c56f5bc)

0.89.0 (2024-12-11)

Full Changelog: v0.88.0...v0.89.0

Features

  • api: adds EventRuleResult to Transaction Events (#579) (fa60530)

Bug Fixes

  • events.resend was missing v1 url prefix (01eabac)

Chores

  • internal: bump cross-spawn to v7.0.6 (#582) (bd9dcf1)
  • internal: remove unnecessary getRequestClient function (#581) (5a5e522)
  • internal: update isAbsoluteURL (#584) (53a2eca)
  • types: nicer error class types + jsdocs (#583) (2f91aae)

0.88.0 (2024-11-28)

Full Changelog: v0.87.0...v0.88.0

Features

  • api: updates to Auth Rules numeric types, new Card Types and Authorization Rule Backtests (#574) (a005b55)
  • internal: make git install file structure match npm (#577) (866b317)

Chores

  • api: add backtest methods to AuthRules (#576) (fb6a246)

0.87.0 (2024-11-21)

Full Changelog: v0.86.0...v0.87.0

Features

Bug Fixes

  • docs: add missing await to pagination example (#568) (5caff62)
  • internal: add back CP (8ea9e95)

Chores

  • api: add business_account_token param for listing Balances (#564) (88e2d76)
  • api: adds replacement_account_token to Card create parameters (#562) (fe79fcf)
  • client: drop unused devDependency (#569) (101ac75)
  • internal: use reexports not destructuring (#565) (65e4f11)
  • remove redundant word in comment (#573) (d0e1158)
  • tests: limit array example length (#570) (f514713)

Documentation

  • remove suggestion to use npm call out (#571) (1ffb063)

0.86.0 (2024-11-06)

Full Changelog: v0.85.2...v0.86.0

⚠ BREAKING CHANGES

  • api: removes AuthRules V1 (#556)

Features

Bug Fixes

  • don't require deno to run build-deno (#555) (9ced303)

Chores

0.85.2 (2024-11-06)

Full Changelog: v0.85.1...v0.85.2

Bug Fixes

  • internal: update http method for chargeoff (5601cba)

0.85.1 (2024-11-06)

Full Changelog: v0.85.0...v0.85.1

Bug Fixes

  • internal: remove deprecated auth rules (#557) (2e17174)

Chores

  • api: adds charge_off functionality to FinancialAccounts (#550) (46bca63)
  • docs: updates to documentation for V2 AuthRules (#548) (d7f23b4)

Refactors

  • use type imports for type-only imports (#551) (68200ff)

0.85.0 (2024-10-28)

Full Changelog: v0.84.1...v0.85.0

Features

0.84.1 (2024-10-28)

Full Changelog: v0.84.0...v0.84.1

Bug Fixes

Chores

  • api: add PIN_BLOCKED to detailed_results property on Event (#538) (0c6c096)
  • api: adds new result types to Transactions and Events (#540) (b98cb38)

Documentation

0.84.0 (2024-10-23)

Full Changelog: v0.83.0...v0.84.0

Features

  • api: add interest_details properties to LoanTapes (#537) (b88c87b)

Chores

  • internal: bumps eslint and related dependencies (#535) (10697ee)

0.83.0 (2024-10-22)

Full Changelog: v0.82.1...v0.83.0

Features

  • api: removes transfer_transaction.created webhook and updates to VerificationApplication (#533) (3309d40)

0.82.1 (2024-10-18)

Full Changelog: v0.82.0...v0.82.1

Bug Fixes

  • client: respect x-stainless-retry-count default headers (#531) (03da719)

0.82.0 (2024-10-11)

Full Changelog: v0.81.0...v0.82.0

Features

  • api: updates to documentation and addition of new 3DS simulation methods (#529) (055cc6b)

0.81.0 (2024-10-09)

Full Changelog: v0.80.0...v0.81.0

Features

  • api: small updates to Documents, AccountHolders and LoanTapes (#528) (f06f232)

Chores

  • api: small updates to verification addresses and Statement and LoanTape fields (#525) (d57c1c0)
  • internal: pass props through internal parser (#527) (fdd8e77)

0.80.0 (2024-10-01)

Full Changelog: v0.79.0...v0.80.0

Features

  • api: rename loan_tape_response.statement_balance to previous_statement_balance (#524) (650551b)

Documentation

  • improve and reference contributing documentation (#522) (43e48d4)

0.79.0 (2024-10-01)

Full Changelog: v0.78.0...v0.79.0

Features

  • api: add Management Operations and Loan Tapes API (#520) (3b580ca)

0.78.0 (2024-09-25)

Full Changelog: v0.77.0...v0.78.0

Features

  • api: adds endpoint for migrating auth rules from v1 to V2. marks v1 auth rules as deprecated (#519) (8a95ae6)
  • client: allow overriding retry count header (#517) (4e7a73e)

0.77.0 (2024-09-24)

Full Changelog: v0.76.0...v0.77.0

Features

  • api: add ACCOUNT_DELINQUENT to detailed_results enum (#515) (1400f1f)

0.76.0 (2024-09-23)

Full Changelog: v0.75.0...v0.76.0

Features

  • api: add canceled to transaction_status enum values (#513) (9539406)

0.75.0 (2024-09-20)

Full Changelog: v0.74.2...v0.75.0

⚠ BREAKING CHANGES

  • api: update model FinancialAccount (#511)

Features

0.74.2 (2024-09-18)

Full Changelog: v0.74.1...v0.74.2

Chores

  • format: run formatter (ef238ee)
  • internal: specify API version for each endpoints instead of hardcoded in base URLs (#505) (5d80552)
  • tests: fix getEmbedURL to specify /v1/ prefix (67316ad)

0.74.1 (2024-09-18)

Full Changelog: v0.74.0...v0.74.1

Bug Fixes

  • types: remove leftover polyfill usage (#506) (b6d4ce1)

0.74.0 (2024-09-17)

Full Changelog: v0.73.0...v0.74.0

⚠ BREAKING CHANGES

  • api: updates book transfer status, updates to transactions, add currency model (#503)

Features

  • api: updates book transfer status, updates to transactions, add currency model (#503) (522d456)

0.73.0 (2024-09-17)

Full Changelog: v0.72.0...v0.73.0

Features

  • api: add tier and state to financial_accounts (#497) (29d5618)

Bug Fixes

  • errors: pass message through to APIConnectionError (#498) (812b111)
  • uploads: avoid making redundant memory copies (#496) (e0ec98a)

Chores

  • better object fallback behaviour for casting errors (#499) (8867602)
  • docs: update description for postal codes (#495) (2bbbe34)
  • internal: dependency updates (#491) (eb7a0f8)
  • internal: minor bump qs version (#493) (511d105)

Documentation

0.72.0 (2024-09-03)

Full Changelog: v0.71.1...v0.72.0

Features

  • api: declare AccountHolderBusinessResponse and remove entity_token from BusinessEntity (#489) (765f3b6)

0.71.1 (2024-09-03)

Full Changelog: v0.71.0...v0.71.1

Bug Fixes

  • client: correct File construction from node-fetch Responses (#488) (0163389)

Chores

  • ci: install deps via ./script/bootstrap (#486) (1f4f01b)

0.71.0 (2024-08-29)

Full Changelog: v0.70.0...v0.71.0

⚠ BREAKING CHANGES

  • api: add shared model Document (#485)

Features

Chores

0.70.0 (2024-08-28)

Full Changelog: v0.69.0...v0.70.0

Features

  • api: add 'pin status' and 'pending_commands' to Card model (#482) (8282171)

Chores

0.69.0 (2024-08-23)

Full Changelog: v0.68.0...v0.69.0

Features

  • api: add endpoints and webhooks for 3DS challenge decisions and challenges (#477) (63acaa2)

0.68.0 (2024-08-23)

Full Changelog: v0.67.0...v0.68.0

Features

  • api: new book_transfer_transaction events and Settlement Report field deprecations (#476) (59433ae)

Chores

0.67.0 (2024-08-20)

Full Changelog: v0.66.0...v0.67.0

Features

  • api: add property next_payment_end_date and next_payment_due_date to Statement model (#473) (26e6d5c)

Chores

  • docs: update state description on Card (#471) (f83f736)

0.66.0 (2024-08-16)

Full Changelog: v0.65.0...v0.66.0

Features

  • api: add StatementListParams property include_initial_statements (#469) (baed4f7)

0.65.0 (2024-08-14)

Full Changelog: v0.64.0...v0.65.0

Features

  • api: add SettlementReport property is_complete (#468) (ca467da)

Chores

0.64.0 (2024-08-12)

Full Changelog: v0.63.0...v0.64.0

Features

  • api: add property Account.cardholder_currency (#465) (efca457)
  • api: add property Card.cardholder_currency (efca457)
  • api: add property CardProgram.cardholder_currency (efca457)
  • api: add property CardProgram.settlement_currencies (efca457)

Chores

0.63.0 (2024-08-09)

Full Changelog: v0.62.0...v0.63.0

⚠ BREAKING CHANGES

  • api: rename property 'FinancialAccounts.Statement.AccountStanding.state' to 'period_state' (#461)

Features

  • api: add event type 'card.reissued' (#456) (171491e)
  • api: add methods to simulate enrollment review and enrollment document review (#458) (a944668)
  • api: rename property 'FinancialAccounts.Statement.AccountStanding.state' to 'period_state' (#461) (216cd59)

Chores

0.62.0 (2024-08-05)

Full Changelog: v0.61.3...v0.62.0

Features

  • api: add event type 'statements.created' (#454) (43b66a1)

0.61.3 (2024-08-02)

Full Changelog: v0.61.2...v0.61.3

Chores

0.61.2 (2024-07-31)

Full Changelog: v0.61.1...v0.61.2

Chores

  • ci: correctly tag pre-release npm packages (#450) (065ff64)
  • docs: fix incorrect client var names (ebd3519)
  • internal: add constant for default timeout (#449) (140a01e)

0.61.1 (2024-07-25)

Full Changelog: v0.61.0...v0.61.1

Bug Fixes

  • compat: remove ReadableStream polyfill redundant since node v16 (#442) (e09eb97)

0.61.0 (2024-07-23)

Full Changelog: v0.60.0...v0.61.0

⚠ BREAKING CHANGES

  • api: deprecate 'auth rule token' in 'card' and 'account holder' models (#441)

Features

  • api: deprecate 'auth rule token' in 'card' and 'account holder' models (#441) (9691937)

Chores

0.60.0 (2024-07-19)

Full Changelog: v0.59.0...v0.60.0

Features

  • api: add method to retrieve a transaction's enhanced commercial data (#438) (17f3900)

Chores

  • ci: limit release doctor target branches (#437) (668b387)
  • docs: use client instead of package name in Node examples (#435) (8b79aa7)

0.59.0 (2024-07-17)

Full Changelog: v0.58.0...v0.59.0

Features

Chores

  • docs: mention support of web browser runtimes (#433) (9066fb8)
  • docs: minor update to formatting of API link in README (#431) (e29b335)

0.58.0 (2024-07-11)

Full Changelog: v0.57.1...v0.58.0

⚠ BREAKING CHANGES

  • api: param 'financial_account_token' for 'externalBankAccounts.create()' is now required (#429)

Features

  • api: param 'financial_account_token' for 'externalBankAccounts.create()' is now required (#429) (6e6d493)

0.57.1 (2024-07-11)

Full Changelog: v0.57.0...v0.57.1

Chores

Documentation

0.57.0 (2024-06-21)

Full Changelog: v0.56.0...v0.57.0

⚠ BREAKING CHANGES

  • api: remove unused event type 'statement.created'
  • api: remove unused business account type
  • api: remove unused embed request params type
  • api: updates (#421)

Features

  • api: add 'reverse' method for book transfers (7be7b26)
  • api: add field 'trace numbers' to payment method attribute model (7be7b26)
  • api: remove unused business account type (7be7b26)
  • api: remove unused embed request params type (7be7b26)
  • api: remove unused event type 'statement.created' (7be7b26)
  • api: updates (#421) (7be7b26)

0.56.0 (2024-06-12)

Full Changelog: v0.55.0...v0.56.0

Features

0.55.0 (2024-06-05)

Full Changelog: v0.54.1...v0.55.0

⚠ BREAKING CHANGES

  • api: remove some endpoints and other API updates (#416)

Features

  • api: remove some endpoints and other API updates (#416) (9d0c5ef)

0.54.1 (2024-05-31)

Full Changelog: v0.54.0...v0.54.1

Bug Fixes

0.54.0 (2024-05-30)

Full Changelog: v0.53.0...v0.54.0

Features

  • api: update detailed_results enum values (#412) (80f89e0)

0.53.0 (2024-05-29)

Full Changelog: v0.52.0...v0.53.0

Features

  • api: add simulate_receipt and simulate_action endpoints (#410) (80cf1d6)

0.52.0 (2024-05-29)

Full Changelog: v0.51.2...v0.52.0

Features

Chores

  • client: update unset params headers handling (#407) (76d6a54)
  • internal: add slightly better logging to scripts (#404) (6248367)
  • tests: update some example values (#406) (d636a76)

Documentation

Refactors

0.51.2 (2024-05-10)

Full Changelog: v0.51.1...v0.51.2

Bug Fixes

Chores

0.51.1 (2024-05-03)

Full Changelog: v0.51.0...v0.51.1

Bug Fixes

  • package: revert recent client file change (#394) (824bf8d)

0.51.0 (2024-05-02)

Full Changelog: v0.50.0...v0.51.0

Features

  • api: changes to balance-related return types and other API changes (#386) (7d8bf1a)
  • api: updates (#391) (c964452)

Chores

  • internal: add scripts/test and scripts/mock (#387) (98ca806)
  • internal: add scripts/test, scripts/mock and add ci job (#389) (15735d8)
  • internal: forward arguments in scripts/test (#390) (56e734f)
  • internal: move client class to separate file (#392) (0f48e7f)
  • internal: refactor scripts (#388) (2c5a367)
  • internal: use actions/checkout@v4 for codeflow (#384) (c40b31d)

0.50.0 (2024-04-17)

Full Changelog: v0.49.0...v0.50.0

Features

Chores

Build System

  • configure UTF-8 locale in devcontainer (#381) (8ee3b5a)

0.49.0 (2024-04-05)

Full Changelog: v0.48.0...v0.49.0

Features

  • api: add detailed result CARD_NOT_ACTIVATED (#375) (602f79f)
  • api: add event type digital_wallet.tokenization_two_factor_authentication_code_sent (#371) (7fd4853)
  • api: add params spend_limit and spend_velocity (#374) (8abb9f9)
  • api: add settlement_report.updated enum (#366) (6cc2baf)
  • api: update financial transaction status enum (#369) (7cdb881)
  • api: update link to encrypted PIN block docs (#376) (7a9616e)
  • api: updates (#367) (e14bf71)

Bug Fixes

  • client: correctly send deno version header (#364) (573421e)

Chores

0.48.0 (2024-03-21)

Full Changelog: v0.47.0...v0.48.0

Features

Bug Fixes

  • handle process.env being undefined in debug func (#360) (a110110)
  • internal: make toFile use input file's options (#357) (7596a98)

Chores

  • add back examples (d7d0cd7)
  • add back removed code (2805043)
  • docs: add back custom readme code (006ea15)
  • docs: mention install from git repo (#347) (15d85c7)
  • docs: temporarily remove custom readme code (#352) (91afcaf)
  • fix error handler in readme (#348) (cd14271)
  • internal: update generated pragma comment (#356) (63c0e2e)
  • temporarily remove examples for migration (0ed20a4)
  • temporarily remove various code as part of refactor (#354) (69e70c5)

Documentation

  • contributing: improve wording (#344) (37ece41)
  • fix typo in CONTRIBUTING.md (#355) (f8f02cc)
  • readme: consistent use of sentence case in headings (#358) (ea571c3)
  • readme: document how to make undocumented requests (#359) (c218930)
  • readme: fix https proxy example (#349) (e40c8a8)
  • readme: fix typo in custom fetch implementation (#346) (aedf750)
  • remove extraneous --save and yarn install instructions (#350) (22d7f05)

0.47.0 (2024-02-27)

Full Changelog: v0.46.0...v0.47.0

Features

0.46.0 (2024-02-23)

Full Changelog: v0.45.0...v0.46.0

Features

Chores

0.45.0 (2024-02-21)

Full Changelog: v0.44.0...v0.45.0

Features

  • api: create financial account and retry microdeposits endpoints (#337) (dff7d2e)

0.44.0 (2024-02-19)

Full Changelog: v0.43.0...v0.44.0

Features

  • api: update financial_account_type and documentation (#336) (98ce85e)

Chores

  • internal: refactor release environment script (#334) (20478c1)
  • tests: add integration test for pagination (#332) (a9ebd05)

0.43.0 (2024-02-07)

Full Changelog: v0.42.0...v0.43.0

Features

Chores

  • interal: make link to api.md relative (#325) (3f8d597)
  • internal: enable building when git installed (#328) (7de9cb7)
  • internal: re-order pagination import (#327) (8cad9e1)
  • respect application/vnd.api+json content-type header (#330) (f52310a)

Documentation

0.42.0 (2024-01-31)

Full Changelog: v0.41.0...v0.42.0

Features

  • api: add account_token and card_program_token to Card (#323) (8ba732b)

0.41.0 (2024-01-31)

Full Changelog: v0.40.0...v0.41.0

Features

Chores

  • internal: support pre-release versioning (#320) (4798a86)

0.40.0 (2024-01-30)

Full Changelog: v0.39.0...v0.40.0

Features

Bug Fixes

  • pagination: send correct request param (#319) (525bb09)

0.39.0 (2024-01-23)

Full Changelog: v0.38.3...v0.39.0

⚠ BREAKING CHANGES

  • api: change account holder creation response, new settlement detail type (#316)

Features

  • api: change account holder creation response, new settlement detail type (#316) (fe91c2c)

Chores

  • internal: add internal helpers & improve build scripts (#314) (6053728)

0.38.3 (2024-01-18)

Full Changelog: v0.38.2...v0.38.3

Bug Fixes

  • allow body type in RequestOptions to be null (#313) (ebdbd9b)

Chores

  • ci: rely on Stainless GitHub App for releases (#311) (f477c92)

0.38.2 (2024-01-17)

Full Changelog: v0.38.1...v0.38.2

Features

Chores

  • internal: narrow type into stringifyQuery (#303) (d7ae5fa)

Documentation

0.38.1 (2024-01-10)

Full Changelog: v0.38.0...v0.38.1

Bug Fixes

  • use default base url if BASE_URL env var is blank (#301) (d3e8c86)

0.38.0 (2024-01-09)

Full Changelog: v0.37.1...v0.38.0

Features

Chores

  • add .keep files for examples and custom code directories (#299) (3005a13)
  • internal: improve type signatures (#297) (001e3d6)

0.37.1 (2024-01-04)

Full Changelog: v0.37.0...v0.37.1

Bug Fixes

  • headers: always send lowercase headers and strip undefined (BREAKING in rare cases) (#296) (8043177)

Chores

Documentation

Refactors

0.37.0 (2023-12-18)

Full Changelog: v0.36.0...v0.37.0

Features

  • api: remove /auth_stream enrollment endpoints (#289) (6bd65c2)

Chores

0.36.0 (2023-12-15)

Full Changelog: v0.35.0...v0.36.0

Features

  • api: rename token and type to financial_account_token and financial_account_type (#284) (b1a5ca3)

Chores

Build System

0.35.0 (2023-12-05)

Full Changelog: v0.34.0...v0.35.0

Features

  • api: remove CLOSED account enum and update docstrings (#279) (2b80c73)
  • client: support reading the base url from an env variable (#277) (b14eb4e)

Documentation

0.34.0 (2023-11-28)

Full Changelog: v0.33.0...v0.34.0

Features

  • allow installing package directly from github (#270) (555692a)
  • api: add get spend_limits endpoints to cards and accounts (#274) (5d33f20)

Chores

  • internal: don't call prepare in dist (#271) (5420731)
  • internal: remove file import and conditionally run prepare (#272) (cb40535)
  • internal: update stats file (#268) (67a820a)

0.33.0 (2023-11-16)

Full Changelog: v0.32.0...v0.33.0

Features

Chores

0.32.0 (2023-11-09)

Full Changelog: v0.31.0...v0.32.0

Features

0.31.0 (2023-11-08)

Full Changelog: v0.30.0...v0.31.0

Features

Bug Fixes

  • api: correct type for other fees details (#261) (f1712b7)

Chores

Documentation

  • document customizing fetch (#257) (79cc0c4)
  • improve account holder control person documentation (#256) (7d86876)

0.30.0 (2023-11-01)

Full Changelog: v0.29.0...v0.30.0

Features

  • api: add verification_attempts response property (#253) (6789b54)
  • github: include a devcontainer setup (#252) (72f981e)

Chores

0.29.0 (2023-10-26)

Full Changelog: v0.28.1...v0.29.0

Features

  • api: add CardProgram and DigitalCardArt resources (#248) (f25fbcd)

0.28.1 (2023-10-25)

Full Changelog: v0.28.0...v0.28.1

Bug Fixes

0.28.0 (2023-10-24)

Full Changelog: v0.27.4...v0.28.0

Features

  • api: add AUTH_STREAM_ACCESS to responder endpoints (#243) (d1570e4)
  • api: add verification_failed_reason (#240) (479105b)
  • api: updates (#238) (ad1a63d)
  • client: adjust retry behavior to be exponential backoff (#244) (c0ef94a)
  • handle 204 No Content gracefully (#242) (ebfe705)
  • make webhook headers case insensitive (#234) (5afd7d6)

Bug Fixes

  • import web-streams-polyfill without overriding globals (#239) (c617c1d)
  • improve status code in error messages (#236) (adc5e38)

Chores

Documentation

  • organisation -> organization (UK to US English) (#237) (106fc60)

Refactors

0.27.4 (2023-10-11)

Full Changelog: v0.27.3...v0.27.4

Bug Fixes

0.27.3 (2023-10-11)

Full Changelog: v0.27.2...v0.27.3

Bug Fixes

  • client: eliminate circular imports, which cause runtime errors in webpack dev bundles (#226) (9c58051)
  • prevent ReferenceError, update compatibility to ES2020 and Node 18+ (#224) (add547a)

Chores

0.27.2 (2023-10-05)

Full Changelog: v0.27.1...v0.27.2

Features

0.27.1 (2023-10-03)

Full Changelog: v0.27.0...v0.27.1

Chores

0.27.0 (2023-09-29)

Full Changelog: v0.26.9...v0.27.0

⚠ BREAKING CHANGES

  • api: remove post /webhooks/account_holders endpoint (#214)

Refactors

  • api: remove post /webhooks/account_holders endpoint (#214) (b9191ae)

0.26.9 (2023-09-25)

Full Changelog: v0.26.8...v0.26.9

Features

Documentation

0.26.8 (2023-09-20)

Full Changelog: v0.26.7...v0.26.8

Features

  • api: add simulation endpoints, event types, fix transfer request AuthRule (#208) (871707e)
  • client: support importing node or web shims manually (#207) (0f6a2c5)

Documentation

  • readme: remove incorrect wording in opening (#205) (c51c676)

0.26.7 (2023-09-15)

Full Changelog: v0.26.6...v0.26.7

Features

  • client: retry on 408 Request Timeout (#200) (177aac2)
  • errors: add status code to error message (#204) (161bac0)

Documentation

  • declare Bun 1.0 officially supported (#203) (8c0bd7b)

0.26.6 (2023-09-11)

Full Changelog: v0.26.5...v0.26.6

Features

  • api: add Simulate Return Payment endpoint (#197) (aa14a06)
  • api: add tokenizations.simulate and correct typo'd enum (#194) (f1dbedd)
  • api: add user defined id (#186) (8c481b0)
  • fixes tests where an array has to have unique enum values (#190) (e01263e)
  • package: add Bun export map (#182) (ef48557)

Bug Fixes

  • client: fix TS errors that appear when users Go to Source in VSCode (#188) (6e8ac02)
  • client: handle case where the client is instantiated with a undefined baseURL (#189) (c212d5c)
  • client: use explicit file extensions in _shims imports (#185) (9b4ef88)
  • fix module not found errors in Vercel edge (#196) (404400c)
  • readme: update link to api.md to use the correct branch (#192) (d6e4a79)

Chores

  • internal: export helper from core (#193) (b50dc2f)
  • internal: fix the names of method param objects (#187) (058538e)
  • internal: minor formatting changes (#195) (4e26640)

Documentation

0.26.5 (2023-08-29)

Full Changelog: v0.26.4...v0.26.5

Bug Fixes

  • types: improve getNextPage() return type (#180) (4b62f59)

Chores

  • ci: setup workflows to create releases and release PRs (#177) (34892ee)

Documentation

0.26.4 (2023-08-26)

Chores

0.26.3 (2023-08-24)

Features

Bug Fixes

  • core: fix navigator check for strange environments (#169) (2effb1e)

Chores

  • internal: add missing eslint-plugin-prettier (#168) (f633bec)
  • internal: export HeadersInit type shim (#172) (7087a5e)
  • internal: minor reformatting of code (#166) (4fe0f2e)

0.26.2 (2023-08-17)

Features

  • client: improve compatibility with Bun (#164) (83be353)
  • docs: add documentation to the client constructor (#162) (085b3ce)

0.26.1 (2023-08-16)

Bug Fixes

  • client: fix TypeError when a request gets retried (#159) (2479a1d)

0.26.0 (2023-08-15)

⚠ BREAKING CHANGES

  • api: change key to secret (#151)

Features

Chores

  • assign default reviewers to release PRs (#154) (6f2d47c)
  • client: send Idempotency-Key header (#157) (c4cc591)
  • internal: fix error happening in CloudFlare pages (#155) (e92275b)
  • internal: improve error message when option is missing (#156) (2b611e1)

0.25.0 (2023-08-11)

⚠ BREAKING CHANGES

  • client: support accessing raw response + remove deprecated features (#144)

Features

  • allOf models now have toXxx methods to access the separate allOf models (#147) (0894926)
  • api: add card reissue shipping options (#146) (6994187)
  • client: support accessing raw response + remove deprecated features (#144) (e878150)

Documentation

Chores

  • internal: conditionally include bin during build output (#149) (f40814b)

0.24.7 (2023-08-08)

Features

  • api: add carrier property to card create and reissue params (#142) (e4c2f80)
  • client: detect browser usage (#134) (435048b)
  • streaming: add .toReadableStream() method (#137) (ef39493)

Documentation

  • api: improve custom method arguments (#136) (4aac347)
  • readme: remove beta status + document versioning policy (#133) (025b4da)

Chores

0.24.6 (2023-08-01)

Features

Bug Fixes

  • adjust typo of 'descisioning' to 'decisioning' (#127) (96dace8)

Chores

  • internal: allow the build script to be run without yarn installed (#124) (6dfd64a)

Refactors

0.24.5 (2023-07-29)

Bug Fixes

  • client: handle undefined process in more places (#120) (b7db3b0)
  • fix undefined message in errors (#118) (dbf75e1)

Chores

  • internal: minor refactoring of client instantiation (#121) (295ce37)

Refactors

  • use destructuring arguments in client constructor and respect false values (#122) (7541c30)

0.24.4 (2023-07-27)

Features

  • api: add payment and external bank accounts resource (#115) (5e05974)

0.24.3 (2023-07-21)

Features

  • api: add with_content param (#112) (ba96fbc)
  • streaming: make requests immediately throw an error if an aborted signal is passed in (#113) (954d123)

Bug Fixes

  • client: fix errors with file uploads in the browser (#110) (9ec8513)

0.24.2 (2023-07-18)

Features

Bug Fixes

Chores

  • internal: restructure code to stringify query (#105) (b0250e6)

0.24.1 (2023-07-17)

Features

  • api: add more enum members to event types (#97) (f3d00ab)
  • api: no longer require website_url property on KYB object (#101) (e3ef210)

Bug Fixes

  • fix errors with "named" client export in CJS (#100) (21b5761)

Documentation

  • readme: improvements to formatting code snippets (#94) (55fc71c)

Chores

  • internal: add helper function for b64 (#98) (0dff514)
  • internal: let toFile helper accept promises to objects with name/type properties (#99) (a5b6bd2)
  • internal: remove unused streaming implementation (#96) (8f291b0)

0.24.0 (2023-07-12)

⚠ BREAKING CHANGES

  • api: remove previous_auth_rule_tokens from auth rules (#69)
  • import issue with ESM (#67)

Features

  • api: add state query param for cards (#75) (c96b7c2)
  • api: add digital wallet tokenization result event type (#78) (b19aa40)
  • client: add support for defaultQuery option (#65) (7717bab)
  • client: add support for passing a signal request option (#93) (282b130)
  • client: improve timeout handling to reuse agent (#85) (4234475)
  • client: support passing a custom fetch function (#89) (31f7043)

Bug Fixes

  • client: properly handle multi-byte characters in Content-Length (#90) (2b5b8a4)
  • examples: avoid swallowing errors in example scripts (#87) (eb99d8b)
  • fix errors in package source files when users go to definition in VSCode (#84) (b5a5187)
  • import issue with ESM (#67) (1f4dd35)
  • include README.md, LICENSE and CHANGELOG.md in published package (#81) (67322a5)
  • streaming: do not abort successfully completed streams (#92) (055c148)
  • streaming: fix response body streaming in non-Chrome environments (#86) (19dac17)
  • streaming: polyfill ReadableStream async iterator and text decoding (#80) (e9284dd)
  • support PromiseLike input to toFile (#83) (042d985)

Chores

  • internal: fix release please version config (#79) (b5e66bd)
  • internal: fix tsc usage (#71) (43aaf98)
  • set noEmit: true in tsconfig.json, since it's for typechecking only (#76) (d8af616)

Refactors

  • api: remove previous_auth_rule_tokens from auth rules (#69) (7b02c26)
  • improve streaming implementation (#82) (3461f73)
  • mark .responseHeaders and .response as deprecated (#73) (3948d6c)
  • move to src directory, improve ecosystem compatibility (#63) (cb34e4d)
  • streaming: make response body streaming polyfill more spec-compliant (#88) (4d39ed3)

Documentation

  • api.md: add context to types exported in a different resource (#77) (f9e2369)
  • api.md: fix links not referencing src directory (#66) (92ce20f)
  • client: improve documentation for client options (#68) (6bf3856)
  • readme: minor improvements (#91) (589416b)

0.23.1 (2023-06-30)

Bug Fixes

  • types: remove incorrect duplicated Promise from some return types (#59) (60a0994)

Documentation

0.23.0 (2023-06-29)

⚠ BREAKING CHANGES

  • types: singularize array item types (#51)

Features

  • support ESM and web platform runtimes; easier file uploads (#54) (fbd72c9)
  • types: export nested types through the root client export (#49) (461c917)

Bug Fixes

  • form-data: strip out undefined properties (#47) (537a86f)

Refactors

  • types: singularize array item types (#51) (9256ccb)

Styles

  • minor reordering of types and properties (#55) (3a749fe)

Chores

Documentation

  • api.md: fix custom methods section listing too many methods (#53) (ccca3c8)
  • api: update account limits docstrings (#50) (3125649)
  • api: update limits docstrings (#52) (12f07f2)
  • rearrange sections in api.md (#57) (9c59157)

0.22.0 (2023-06-19)

⚠ BREAKING CHANGES

  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#44)

Bug Fixes

  • internal: improve stream cancellation handling of abort controllers (#43) (5ce8f9c)

Refactors

  • move error type definitions to error.ts (#40) (55507d6)

Documentation

  • api: clarify dispute evidence filename docstring (#42) (e56cb1b)
  • drop official support for EOL Node versions (Node 12, 13, 14, 15) (#44) (cb3e710)

Build System

  • add .github folder to .npmignore (#45) (b536747)

0.21.0 (2023-06-15)

⚠ BREAKING CHANGES

  • api: remove avs_type property, add dispute evidence filename, and mark properties nullable (#38)

Features

  • api: remove avs_type property, add dispute evidence filename, and mark properties nullable (#38) (ba61e63)

Documentation

  • point to github repo instead of email contact (#35) (4e91480)

Chores

  • internal: improve SSE decoding of lines (#36) (300a3b5)

0.20.1 (2023-06-12)

Features

  • client: add support for specifying client-level default headers (#29) (f0134a0)

Bug Fixes

  • client: handle trailing slash in base url properly (#25) (1362c29)

0.20.0 (2023-05-12)

⚠ BREAKING CHANGES

  • api: replace transaction_token param in favour of transaction_tokens (#17)

Refactors

  • api: replace transaction_token param in favour of transaction_tokens (#17) (afdfa1f)

0.19.0 (2023-05-12)

⚠ BREAKING CHANGES

  • rename event_types[] param to event_types (#13)