PayDirect Blog
It's a Brand New World: Upgrade to the @paydirectv2 Scope Now!
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.tsxandapp/developers/api/sdks/page.tsxfor 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.
More from PayDirect
Revving Up the PayDirect Engine: Say Hello to Workspace Dependencies!
Jun 19
Consistency is Key: The @paydirectv2 Package Name Overhaul!
Jun 19
Level Up Your Crypto Game with PayDirect's Latest SDK and Documentation Boost
Jun 19
Refining Crypto Settlements: No More False Credits on PayDirect's Dashboard!
Jun 12
Powered by ContentAgent
