Skip to content

fix: support legacy inline resolution - #52

Merged
damian-rodriguez-imi merged 1 commit into
mainfrom
fix/inline-loader-resolution
Jul 15, 2026
Merged

fix: support legacy inline resolution#52
damian-rodriguez-imi merged 1 commit into
mainfrom
fix/inline-loader-resolution

Conversation

@damian-rodriguez-imi

Copy link
Copy Markdown
Contributor

What

  • Add a root inline entrypoint for legacy package resolution.
  • Export the inline loader for both ESM and CommonJS consumers.
  • Bump the package to 2.4.1.

Why

Bundlers without package exports support cannot resolve @hcaptcha/loader/inline from its current dist-only location.

Testing

  • Lint and typecheck
  • 34 unit tests
  • ESM and CommonJS package imports
  • React Native 0.78 Metro bundle using the packaged loader through the RN SDK

@damian-rodriguez-imi
damian-rodriguez-imi merged commit 1c9a066 into main Jul 15, 2026
3 checks passed
@damian-rodriguez-imi
damian-rodriguez-imi deleted the fix/inline-loader-resolution branch July 15, 2026 17:54
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.

2 participants