@jup-ag/portfolio-core-types
v0.1.2
Published
Standalone TypeScript types for @jup-ag/portfolio-core API responses. Zero runtime dependencies.
Readme
@jup-ag/portfolio-core-types
Standalone TypeScript types describing the Portfolio data format. Zero runtime dependencies — install this package to type Portfolio payloads without pulling in the full @jup-ag/portfolio-core runtime.
Install
npm install --save-dev @jup-ag/portfolio-core-typesUse
import type { PortfolioElementRaw, PortfolioAssetRaw } from "@jup-ag/portfolio-core-types";The package ships a single bundled index.d.ts containing the full transitive type closure — no import statements pointing to other packages.
Updating
This package is generated from @jup-ag/portfolio-core via dts-bundle-generator. When @jup-ag/portfolio-core ships a new type, run from this directory:
npm run sync
git diff src/index.d.ts # review what changedThe entry point in scripts/entry.ts controls which types are exposed.
Releasing
Maintainers: see RELEASING.md for the full release procedure (auth setup, dual-registry publish, OTP handling, troubleshooting).
