npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@meshtrade/api-old

v1.36.0

Published

Mesh Typescript SDK (Legacy)

Readme

TypeScript SDK (Legacy)

⚠️ DEPRECATED - LEGACY VERSION ONLY

This is the deprecated legacy version of the Mesh TypeScript SDK (@meshtrade/api-old).

🚨 DO NOT USE FOR NEW PROJECTS! 🚨

For new projects, use the current version: @meshtrade/api

This legacy version is maintained only for backward compatibility with existing projects. It will not receive new features and will only receive critical security updates.


Overview

This directory contains the DEPRECATED TypeScript SDK for interacting with the Mesh API. This legacy version is frozen at the last stable state before breaking changes were introduced to the main SDK.

Migration Notice: If you are using this legacy SDK, please plan to migrate to @meshtrade/api as soon as possible.

Development Setup

This package is part of a Yarn workspace. Install dependencies from the repository root:

# From repository root
yarn install

Installation (Legacy Projects Only)

# npm
npm install @meshtrade/api-old

# yarn
yarn add @meshtrade/api-old

⚠️ WARNING: Only install this package if you have an existing project that depends on the legacy SDK. New projects should use @meshtrade/api instead.

Testing (Maintainers Only)

Run comprehensive TypeScript tests including Jest, type checking, and linting:

# From repository root - recommended
./dev/test/tsold.sh

# Or using the orchestration tool
./dev/tool.sh test --targets=tsold

# Or run tests manually from ts-old directory
cd ts-old
yarn test
yarn build
yarn lint

Code Generation (Maintainers Only)

This directory contains generated code. To regenerate from protobuf definitions:

# From repository root
./dev/tool.sh generate --targets=tsold

# Full cycle (clean, generate, build, test)
./dev/tool.sh all --targets=ts-old

Migration Guide

This legacy SDK will be deprecated completely in the future. Please migrate to the current SDK:

Steps to Migrate

  1. Update your package.json:

    - "@meshtrade/api-old": "^1.29.0"
    + "@meshtrade/api": "^2.0.0"
  2. Update your imports (if necessary - most imports should remain the same):

    // Both versions use the same import paths
    import { SomeService } from '@meshtrade/api/iam/role/v1';
  3. Review the migration guide for breaking changes

  4. Test thoroughly before deploying to production

Documentation

⚠️ Note: The documentation site primarily covers the current SDK (@meshtrade/api), not this legacy version.

For documentation on the current SDK (recommended for migration planning), please visit:

meshtrade.github.io/api

Support

  • Legacy SDK (@meshtrade/api-old): Critical security fixes only, no new features
  • Current SDK (@meshtrade/api): Full support and active development

Publishing (Maintainers Only)

To publish this legacy package to npm:

cd ts-old
yarn build
yarn publish --access public

Note: Version bumps should be coordinated with the main SDK and clearly marked as legacy releases.