Skip to content

v0.1.0 — typed Data API client

Choose a tag to compare

@gjwang gjwang released this 22 Oct 22:36
0ddfa61

Typed ESM client for the BlockVectra Data API.

Install the prebuilt package without generating types during installation:

npm install https://github.com/blockvectra/data-api-js/releases/download/v0.1.0/blockvectra-data-api-0.1.0.tgz
import { createDataClient } from "@blockvectra/data-api";
const client = createDataClient({ apiKey: process.env.BLOCKVECTRA_API_KEY });

Keep API keys on the server. The package includes generated TypeScript declarations and the MIT license. Large integer amounts remain decimal strings. Balance data is a periodically refreshed snapshot; use meta.refreshed_at to assess its age.

The archive is built from commit 0ddfa6126152d52fa5aa60f76c376970efed2cc7 and a frozen public OpenAPI document (SHA-256 ba9ca1402cfde34d906c21652ae619b1bb3895840c8713d9ff1ef50d6a3926fd). All seven packaged files match the independently checked Git installation. Installation, import, a mocked request and installed declarations were checked; this does not verify live API responses. SHA256SUMS identifies the archive bytes.

The npm registry package is not published yet. Git installation also remains available, as documented in the README.