
Security News
Vite Releases Technical Preview of Rolldown-Vite, a Rust-Based Bundler
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
@trinsic/api
Advanced tools
The Trinsic API TypeScript library provides convenient access to the Trinsic API from applications written in server-side JavaScript/TypeScript.
See the Trinsic docs for more detailed information on how to start integrating with our identity acceptance network.
Install the package with:
npm install @trinsic/api
The package needs to be configured with your app's access token, which is available in the Trinsic Dashboard.
import { AttachmentsApi, Configuration, NetworkApi, SessionsApi } from "@trinsic/api";
const config = new Configuration({ accessToken: "your-access-token" });
const attachments = new AttachmentsApi(config);
const network = new NetworkApi(config);
const sessions = new SessionsApi(config);
const session = await sessionsApi.createWidgetSession();
You can find a full TypeScript server example in the samples folder.
Our SDKs follow the Semantic Versioning ("SemVer") scheme.
For example, the version number 1.13.0
has a major version of 1
, a minor version of 13
, and a patch version of 0
.
Breaking changes are only introduced alongside a new major version.
Any issues, inquiries, and feature requests can be sent to support@trinsic.id, or feel free to open a GitHub issue here.
FAQs
Trinsic API TypeScript library.
The npm package @trinsic/api receives a total of 145 weekly downloads. As such, @trinsic/api popularity was classified as not popular.
We found that @trinsic/api demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Vite releases Rolldown-Vite, a Rust-based bundler preview offering faster builds and lower memory usage as a drop-in replacement for Vite.
Research
Security News
A malicious npm typosquat uses remote commands to silently delete entire project directories after a single mistyped install.
Research
Security News
Malicious PyPI package semantic-types steals Solana private keys via transitive dependency installs using monkey patching and blockchain exfiltration.