Skip to content

Latest commit

 

History

History
1523 lines (783 loc) · 92.3 KB

CHANGELOG.md

File metadata and controls

1523 lines (783 loc) · 92.3 KB

Changelog

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)