Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@fuel-ts/versions

Package Overview
Dependencies
Maintainers
0
Versions
2915
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fuel-ts/versions

Validates supported versions of the Fuel toolchain

  • 0.94.8
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@fuel-ts/versions

@fuel-ts/versions is a sub-module for interacting with Fuel.

It automatically assembles all supported versions of the Fuel toolchain, including:

  • FUELS — comes from /packages/fuels/package.json
  • FUEL_CORE — comes from /internal/fuel-core/VERSION
  • FORC — comes from /internal/forc/VERSION

There is a prebuild script to ensure that the src/index.ts file never goes outdated.

Aditionally, the library can be used as a CLI tool to help checking/validating user environments.

Table of contents

  • Documentation
  • Installation
  • Full SDK Installation
  • Contributing
  • Changelog
  • License

Documentation

See Fuels-ts Documentation

Installation

pnpm add @fuel-ts/versions
# or
npm add @fuel-ts/versions

Programmatic Usage

import { versions } from "@fuel-ts/versions";

console.log(versions);
// { FUELS: '0.21.2', FUEL_CORE: '0.14.0', FORC: '0.30.0' }

CLI Usage

$ npx fuels-versions
You have all the right versions! ⚡
┌───────────┬───────────┬─────────────────┐
│           │ Supported │ Yours / System  │
├───────────┼───────────┼─────────────────┤
│ Forc      │ 0.30.0    │ 0.30.0          │
├───────────┼───────────┼─────────────────┤
│ Fuel-Core │ 0.14.0    │ 0.14.0          │
└───────────┴───────────┴─────────────────┘

Full SDK Installation

Alternatively, we recommend you install the complete SDK using the umbrella package:

pnpm add fuels
# or
npm add fuels

Contributing

In order to contribute to @fuel-ts/versions, please see the main fuels-ts monorepo.

Changelog

The @fuel-ts/versions changelog can be found at CHANGELOG.

License

The primary license for @fuel-ts/versions is Apache 2.0, see LICENSE.

FAQs

Package last updated on 27 Sep 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc