Skip to content

refactor: migrate to typescript with dual cjs/esm build - #75

Merged
yilmazbahadir merged 6 commits into
masterfrom
baha/build/ts-dual-build
Dec 19, 2025
Merged

yilmazbahadir merged 6 commits into
masterfrom
baha/build/ts-dual-build

Conversation

@yilmazbahadir

Copy link
Copy Markdown
Collaborator

Summary

  • migrate from javascript to typescript
  • add typescript and tsup build configuration
  • configure dual cjs/esm build outputs
  • update package.json exports for module interoperability
  • remove legacy index.js entry point
  • update .gitignore for build artifacts
  • bump version to 1.1.0

- migrate from javascript to typescript
- add typescript and tsup build configuration
- configure dual cjs/esm build outputs
- update package.json exports for module interoperability
- remove legacy index.js entry point
- update .gitignore for build artifacts
- bump version to 1.1.0
Comment thread package.json Outdated
- Type sdkSession as SDK.Client and cast sign() params for TS
- Use Buffer for SigningPayload.decoder to satisfy SDK typings
- Serialize signature v with toString(16) (viem Signature uses bigint)
@yilmazbahadir
yilmazbahadir merged commit 4ffa886 into master Dec 19, 2025
1 check passed
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