Skip to content
This repository was archived by the owner on Jan 14, 2026. It is now read-only.

feat(deps): change algosdk to peer dependency and remove algokit-utils#7

Merged
drichar merged 2 commits intomainfrom
feat/algosdk-peer-dependency
Nov 1, 2025
Merged

feat(deps): change algosdk to peer dependency and remove algokit-utils#7
drichar merged 2 commits intomainfrom
feat/algosdk-peer-dependency

Conversation

@drichar
Copy link
Contributor

@drichar drichar commented Nov 1, 2025

Summary

Changes algosdk to a peer dependency and removes @algorandfoundation/algokit-utils. This fixes TypeScript type conflicts and reduces bundle size.

Problem

  • Type mismatches occur when the SDK and consuming app have different algosdk versions
  • @algorandfoundation/algokit-utils adds unnecessary bloat when only a basic Algodv2 client is needed

Solution

  • Changed algosdk to peer dependency (^3.0.0)
  • Removed @algorandfoundation/algokit-utils dependency
  • Use algosdk.Algodv2 directly for internal blockchain operations
  • Updated documentation with installation instructions

Migration

npm install algosdk

Most Algorand projects already have algosdk installed.

Why v1.1.0?

  • v1.0.0 released ~24 hours ago with minimal adoption
  • Fixes type conflicts discovered during integration
  • Public API unchanged - no breaking changes to method signatures
  • Pragmatically non-breaking for existing users

Testing

✅ All 106 tests passing
✅ TypeScript, build, lint, and format checks passing

Resolves TypeScript type conflicts that occur when the SDK's bundled
`algosdk` version differs from the consumer's version, causing type
mismatches for otherwise identical types.

Changes:
- Remove `@algorandfoundation/algokit-utils` dependency
- Replace `AlgorandClient` with `algosdk.Algodv2` internally
- Add `algosdk@^3.0.0` as peer dependency
- Add `algosdk@3.5.2` as dev dependency
- Update all documentation with installation instructions

Note: `algosdk` is now a peer dependency. Most users already have `algosdk`
installed via wallet libraries. Releasing as v1.1.0 because v1.0.0 was
released ~24 hours ago with minimal adoption, and this fixes potential
type conflict bugs affecting integrations.

Migration: `npm install algosdk`
@drichar drichar merged commit 2275607 into main Nov 1, 2025
1 check passed
@drichar drichar deleted the feat/algosdk-peer-dependency branch November 1, 2025 04:45
github-actions bot added a commit that referenced this pull request Nov 1, 2025
# [1.1.0](v1.0.0...v1.1.0) (2025-11-01)

### Features

* **deps:** change algosdk to peer dependency and remove algokit-utils ([#7](#7)) ([2275607](2275607))
@github-actions
Copy link
Contributor

github-actions bot commented Nov 1, 2025

🎉 This PR is included in version 1.1.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant