PayDirect
PD

PayDirect Blog

Consistency is Key: The @paydirectv2 Package Name Overhaul!

PD

PayDirect Team

Jun 19, 2026·3 min read

Consistency is Key: The @paydirectv2 Package Name Overhaul!

Hey there, coding dynamos! Today, we're diving into something that might seem like a small tweak but holds big significance for our coding crew here at PayDirect. 🎉 We're talking about our latest update, where we've gone full-on Marie Kondo on our developer docs and unified our package naming schema across the board. Get ready to welcome the all-new, super-consistent @paydirectv2/* package names!

Why Consistency Matters

Let's face it—consistency is like the unsung hero of great codebases. It's that magical thing that makes your dev life smoother, your errors fewer, and your day a whole lot brighter. With our latest update tagged as 661efcc, we've polished our library to incorporate @paydirectv2/* package names uniformly, giving you a more seamless integration experience. Because who doesn't love a clean codebase, right?

The Name Game: What's Changed?

In this update, we've aligned our SDKs, tools, and modules under the @paydirectv2 umbrella. Here's a sneak peek of what the new package naming looks like:

import { createPayDirectTools } from "@paydirectv2/langchain";
import { generateText } from "ai";
import { openai } from "@ai-sdk/openai";

Say goodbye to the old paths like /langchain and /ai-sdk and say hello to @paydirectv2/langchain and @paydirectv2/ai-sdk. And don't worry—we've updated all the references so you don't have to go on a wild goose chase looking for that one rogue package name.

Where You'll See the Changes

This isn't just cosmetic surgery, folks. We've rolled out these changes across multiple files, giving our documentation a sparkling new look:

  • In app/.well-known/agent.json/route.ts: SDK references now flaunt their @paydirectv2 badges.

    {
      "network": "Base (Chain ID 8453)",
      "sdks": {
        "typescript": "@paydirectv2/sdk",
        "python": "paydirect",
        "langchain": "@paydirectv2/langchain",
        "vercel_ai": "@paydirectv2/ai-sdk",
        "cli": "@paydirectv2/cli"
      }
    }
    
  • In app/developers/api/ai-frameworks/page.tsx: We've updated the install commands, too. No more /langchain—it's all about @paydirectv2/langchain now!

    npm install @paydirectv2/langchain @langchain/core @langchain/openai
    

    And for the AI SDK:

    npm install @paydirectv2/ai-sdk ai @ai-sdk/openai zod
    
  • In app/developers/api/sdks/page.tsx: Our TypeScript SDK got the glow-up it deserved. Check out this slick new import path:

    import { PayDirectClient } from "@paydirectv2/sdk";
    

Why You Should Care

"So why should I care?" you ask. Well, dear developers, this overhaul means less cognitive load for you. No more second-guessing or googling the right package names. Just smooth sailing and intuitive code completion. Plus, your projects will have that extra layer of professionalism and polish with coherent naming conventions.

Your Next Steps

Now that you're in the loop, it's time for action! Update your dependencies, try out the new package paths, and feel the zen of streamlined development. Check out our updated developer docs for a treasure trove of insights and guides.

Got thoughts, questions, or just want to chat about the coolest new coffee framework? Our developer community is buzzing and ready to welcome you. Share your feedback, and let us know how these updates are impacting your workflow.

So, what are you waiting for? Dive into the code, enjoy the seamless experience, and as always—happy coding! 🚀


Remember, consistency isn't just a cosmetic change; it's the backbone of a great developer experience. Keep the code clean, keep the bugs at bay, and let's keep pushing the boundaries of what's possible together. 🤖💡

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