Skip to content

Convert package to ESM - #24

Merged
mattgle merged 2 commits into
devfrom
feat/esm-migration
Jun 22, 2026
Merged

mattgle merged 2 commits into
devfrom
feat/esm-migration

Conversation

@mattgle

@mattgle mattgle commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

Converts this package to ESM-only output as part of moving the SDK to native ES modules (the foundation for running on browser and React Native runtimes).

What changed

  • package.json sets "type": "module" so the package emits and publishes ESM.
  • All relative imports/exports now carry explicit .js extensions, including directory imports that are now explicit (e.g. ./notes./notes/index.js, ./mnemonic./mnemonic/index.js), as required by native Node ESM resolution.
  • eslint.config.js converted from CommonJS to ESM.

@mattgle
mattgle requested a review from bhflm June 18, 2026 20:13
@mattgle mattgle self-assigned this Jun 18, 2026
@mattgle
mattgle marked this pull request as ready for review June 19, 2026 16:57
@mattgle
mattgle merged commit b36430f into dev Jun 22, 2026
1 check passed
@mattgle
mattgle deleted the feat/esm-migration branch June 22, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants