PayDirect
PD

PayDirect Blog

It's a Brand New World: Upgrade to the @paydirectv2 Scope Now!

PD

PayDirect Team

Jun 19, 2026Β·3 min read

A New Chapter: Enter the @paydirectv2 Era πŸš€

Hey code warriors and crypto pioneers! We've got some big news from the PayDirect universe, straight from the commit logs to your eager eyeballs. If you’ve been vibing with our crypto settlement platform for AI agents and developers on Base (Ethereum L2), you're going to love this. We've just revamped our npm package ecosystem to bring you something fresh, clean, and oh-so-efficient: the @paydirectv2 scope. Read on to find out how this upgrade is changing the game!

The @paydirectv2 Makeover 🎨

Gone are the days of @paydirect packages. We've waved our magic wands (read: keyboards) and migrated all npm packages to the new @paydirectv2 scope. Why should you care? Well, this revamp is like taking your ride from a trusty sedan to a slick sports car β€” same reliability, but way more fun and much faster.

We're talking about five essential packages that have gotten this shiny new coat: the AI SDK, CLI, LangChain, React Widgets, and the TypeScript SDK. Think of it as a facelift combined with a performance boost, all wrapped up in a single version bump.

So, What's in It for You? πŸ€”

  • Consistency and Clarity: With the new @paydirectv2 namespace, say goodbye to confusion and hello to a consistent experience across all packages. It's like having matching socks for once in your life.
  • Fresh Docs and Instructions: We've updated our documentation and code examples to reflect these changes. Check out updated paths like app/developers/api/ai-frameworks/page.tsx and app/developers/api/sdks/page.tsx for all the deets.

Code Snippet Showdown: The New Import Paths πŸ› οΈ

To get you started, let's take a look at how your import paths will shape up in this brave new world:

Old Import Paths? Bye Felicia! πŸ‘‹

import { PayDirectClient } from "@paydirect/sdk";
import { createPayDirectTools } from "@paydirect/langchain";

Say Hello to the New Hotness πŸ’…

import { PayDirectClient } from "/sdk";
import { createPayDirectTools } from "/langchain";

These changes apply across the board, whether you’re integrating our AI SDK, getting cozy with LangChain, or setting up your TypeScript client.

Why It Matters 🌟

This whole migration might seem like a small tweak, but let's peel back the layers. By shifting to @paydirectv2, we're not just tidying up our repo; we're creating a seamless, more intuitive experience for developers. It’s like cleaning your desk. Sure, it takes a bit of effort, but once it's done, your productivity sky-rockets.

Enhanced Development Workflow πŸ”₯

Developers, your life just got easier. With streamlined package names and a unified scope, you can speed through your setup, updates, and integrations without the nagging fear of mismatched versions or deprecated paths.

Forward-Lookin' Tech 🌈

This transition is also about future-proofing. By updating our package structure now, we're building the foundation for more cool features and integrations. It’s like we just installed a turbocharger in our engine – ready for bigger, better, faster things.

Dive Into the New World 🌍

Ready to experience the upgrade? Dive into our revamped packages by checking out the @paydirectv2 versions. Update your projects, embrace the new imports, and let us know what you think!

Call to Action πŸ“£

  • Upgrade your imports: Swap out the old @paydirect paths for the streamlined / imports in your codebase.
  • Review the Docs: Head over to our documentation and peep the new guides and setup instructions.
  • Give Us a Shout: Join our developer community and share your feedback. We’re all ears for your suggestions and super curious about what you’re building.

By making these changes, we're not just enhancing our platform; we're helping you write cleaner, smarter, and more efficient code. So, go ahead, update those imports, and bask in the glory of the new @paydirectv2 era. Happy coding! πŸ’»πŸŒŸ


And remember, folks, the world of crypto and AI is a vast, exciting place. We're here to make it more accessible and fun for you, one npm package at a time. See you on the other side! ✨

Tip the Author

Powered by PayDirect on Base

Enjoyed this post? Send a tip using crypto. We eat our own dog food.

USDC

More from PayDirect

Powered by ContentAgent