Skip to content

Conversation

@zegarekk
Copy link

@zegarekk zegarekk commented Nov 3, 2025

This PR introduces a small helper function that returns the current bitcoinjs-lib version from package.json.
It can be used by developers and CI scripts to verify the exact library version being used in local builds or test pipelines.

Changes

  • Added new file: ts_src/utils/getLibraryVersion.ts
  • Reads version string safely and logs it when run directly

Motivation

Sometimes, developers need to confirm that the source and npm package versions match.
This utility provides a simple and lightweight way to check that, without importing the full library.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant