npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

routex-client

v0.5.0

Published

YAXI routex client

Readme

routex-client

A client for YAXI's Open Banking services.

Changelog

[0.5.0] - 2026-02-20

Added

  • RoutexClient.systemVersion
  • RoutexClient.transfer, RoutexClient.respondTransfer, RoutexClient.confirmTransfer

Removed

  • RoutexClient.measurement

Fixed

  • AccountFilter.any with more than two elements
  • PaymentFailedException.userMessage was always undefined

[0.4.8] - 2026-02-04

Added

  • ConnectionInfo.password

[0.4.7] - 2026-01-12

Added

  • encryptedIban SearchFilter
  • encryptedIban in collectPayment's account accepts a Base64-encoded string as alternative to the Uint8Array

[0.4.6] - 2025-12-08

Fixed

  • collectPayment without given account argument

[0.4.5] - 2025-11-25

Added

  • encryptedIban as alternative to iban in collectPayment's account option

[0.4.4] - 2025-11-09

Fixed

  • Use production environment if no explicit URL is passed to RoutexClient

[0.4.3] - 2025-11-06

Fixed

  • yaxi-ticket-id header value in requests

[0.4.2] - 2025-09-23

Fixed

  • Build failures with recent @noble packages

[0.4.1] - 2025-09-11

Fixed

  • recurringConsents is now optional

[0.4.0] - 2025-09-11

Added

  • recurringConsents option for RoutexClient.accounts, RoutexClient.collectPayment, and RoutexClient.transactions
  • RoutexClient.balances, RoutexClient.respondBalances, RoutexClient.confirmBalances
  • DialogContext.VopConfirmation, DialogContext.VopCheck
  • Confirmation.pollingDelaySecs
  • TicketExceptionCode has two new variants:
    • ExpiredKey: The API key is expired.
    • KeyEnvironmentMismatch: The API key cannot be used for this environment.
  • The RoutexClient constructor now takes an optional requestRetryFactory option to retry failed requests. You can pass a factory for custom policies or use retryRequestExceptionNTimesPolicy to retry operations that failed due to a RequestException. For example, { requestRetryFactory: () => retryRequestExceptionNTimesPolicy(1) } would retry one time.

Removed

  • InvalidRedirectUriException

Fixed

  • The required version for routex-settlement is now 0.1.3. This fixes a bug that if the first requests happened concurrently, some of them could result in a TicketException: Invalid "yaxi-ticket" header.
  • Initialization of UnsupportedProductException

Changed

  • RoutexClient now takes an object of options instead of a single URL as argument. For backwards compatibility, it's still possible to pass a URL as a single argument.

[0.3.4] - 2025-06-25

Changed

  • TypeErrors from the fetch method get translated to RequestExceptions

Fixed

  • Parsing of service errors

[0.3.3] - 2025-06-11

Added

  • ServiceBlockedException.code, ServiceBlockedCode
  • UnsupportedProductException.reason, UnsupportedProductException.userMessage, UnsupportedProductReason

[0.3.2] - 2025-05-28

Added

  • DialogContext.PaymentStatus

[0.3.1] - 2025-05-27

Added

  • ProviderErrorException, ProviderErrorCode

[0.3.0] - 2025-05-23

Added

  • RoutexClient.setRedirectUri
  • RoutexClient.transactions, RoutexClient.respondTransactions, RoutexClient.confirmTransactions
  • removeCredentials
  • OBResponse
  • AccountStatus

Changed

  • This is a pure JS library now, i.e., does not include WebAssembly anymore
  • ResponseException.response is now of type Response
  • storeCredentials and loadCredentials take an identifier argument now
  • Result, Dialog, Redirect, and RedirectHandle now extend OBResponse, providing fromJSON and toJSON methods

Removed

  • RoutexClientInterface
  • Response type (see OBResponse class)
  • ConnectionType

Fixed

  • PaymentFailedException.name

[0.2.0] - 2025-01-29

Added

  • RoutexClient.collectPayment takes an optional currency attribute
  • DialogContext.Redirect for redirect polling
  • TicketException for any error related to the provided ticket
  • code and userMessage on PaymentFailedException
  • Inherit docs for RoutexClient
  • storeCredentials and loadCredentials to store encrypted credentials in the user's browser

Changed

  • The traceId method does not return a Promise anymore, but an immediate result
  • Renamed errorMessage on exception classes to userMessage
  • Removed support for Node.js 18

Removed

  • Confirmation.primaryLabel
  • Selection.primaryLabel
  • Field.primaryLabel
  • Actions
  • source on exception classes
  • UnexpectedValueException.errorMessage