Skip to content

Conversation

@prestwich
Copy link
Member

Summary

  • Fixes release workflow: scoped packages with npm provenance require --access public
  • v0.2.0 GitHub release was created but npm publish failed; this bumps to v0.3.0
  • Removes thin viem wrapper functions per SDK scope guidelines (use ABIs + direct viem calls instead)

Changes

CI Fix

  • Add --access public to pnpm publish in release.yml

Version Bump

  • 0.2.00.3.0 in package.json

API Cleanup (Breaking)

  • Removed enter(), enterToken() - use passageAbi with viem directly
  • Removed wrapEth(), unwrapEth() - use wethAbi with viem directly
  • Removed getPermit2Allowance(), approvePermit2() - use erc20Abi with viem
  • Removed getOutputWitness() - use rollupOrdersAbi with viem
  • Removed /weth and /passage subpath exports
  • Kept ensurePermit2Approval() which handles USDT-style token edge cases

Documentation

  • Updated README with direct viem usage patterns
  • Added ABIs section to API reference

Test plan

  • pnpm lint passes
  • pnpm typecheck passes
  • CI passes
  • Release workflow creates v0.3.0 tag and publishes to npm

🤖 Generated with Claude Code

@prestwich prestwich requested a review from rswanson as a code owner February 5, 2026 18:12
The v0.2.0 release workflow failed because scoped packages with npm
provenance require --access public to be set explicitly. The GitHub
release was created but npm publish failed.

This PR:
- Fixes the release workflow to include --access public
- Bumps to v0.3.0 (v0.2.0 tag exists but was never published to npm)
- Removes thin viem wrappers (passage, weth, witness helpers) per SDK scope
- Documents direct viem usage patterns in README

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@prestwich prestwich force-pushed the fix/release-workflow-access-public branch from 22a1160 to da31f03 Compare February 5, 2026 18:13
@prestwich prestwich merged commit 5c50f5c into main Feb 5, 2026
5 checks 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.

1 participant