Skip to content

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 8, 2025

Bumps @adyen/api-library from 28.0.0 to 29.1.0.

Release notes

Sourced from @​adyen/api-library's releases.

Adyen Node API Library v29.1.0

Critical Fix ⛑️

New Features 💎

Terminal API

Other Changes 🖇️

New Contributors

Full Changelog: Adyen/adyen-node-api-library@v29.0.0...v29.1.0

Adyen Node API Library v29.0.0

What's Changed

[!IMPORTANT] For Terminal API users please make sure to upgrade directly to v29.1.0, which contains a critical fix for the Terminal API live endpoints.

Breaking Changes 🛠

Client setup has been streamlined

The Client is instantiated directly with a Config object, simplifying setup and enforcing best practices by centralizing configuration management. #1534

const config = new Config({
    apiKey: "myApiKey",
    environment: "LIVE",
    liveEndpointUrlPrefix: "myPrefix",
    region: RegionEnum.US
});
client = new Client(config);

Terminal Cloud API async

The async return type has been updated from Promise<string> to Promise<string | SaleToPOIRequest>. Consumers must now check the type of the response before using it. #1538

If you were assuming a string response, you now need to handle both string and SaleToPOIRequest:

const response = await terminalCloudAPI.async(paymentRequest);
// handle both `string` and `TerminalApiResponse`
</tr></table> 

... (truncated)

Commits
  • ef3387d Merge pull request #1547 from Adyen/promote/main
  • 9e40167 chore(release): bump to 29.1.0
  • de79750 Merge pull request #1552 from naseemkullah/fix-tapi-live-endpoints
  • 9e11ab3 fix(TAPI): Correct live endpoints for Terminal API
  • 378d714 Merge pull request #1551 from Adyen/add-ScanBarcodeResult-event-type
  • 81a8444 Add ScanBarcodeResult
  • 60f2a3d Merge pull request #1540 from Adyen/support-308-redirect
  • ab933d2 Merge branch 'main' into support-308-redirect
  • 948be7e Update response body in case of error
  • 3eb2d5c Merge pull request #1543 from Adyen/workflow-permissions
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 8, 2025
@dependabot dependabot bot requested review from a team as code owners September 8, 2025 07:33
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Sep 8, 2025
Bumps [@adyen/api-library](https://github.com/Adyen/adyen-node-api-library) from 28.0.0 to 29.1.0.
- [Release notes](https://github.com/Adyen/adyen-node-api-library/releases)
- [Commits](Adyen/adyen-node-api-library@v28.0.0...v29.1.0)

---
updated-dependencies:
- dependency-name: "@adyen/api-library"
  dependency-version: 29.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/npm_and_yarn/processor/adyen/api-library-29.1.0 branch from c8d6320 to 8bebf5b Compare September 18, 2025 08:33
export const AdyenApi = (): CheckoutAPI => {
const apiClient = new Client({
apiKey: config.adyenApiKey,
environment: config.adyenEnvironment.toUpperCase() as Environment,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Previously the Adyen api-library package declared this Environment value on global level hence no explicit import was required. Now they changed to the EnvironmentEnum type.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants