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

@avalabs/glacier-sdk

Package Overview
Dependencies
Maintainers
0
Versions
601
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@avalabs/glacier-sdk

sdk for interacting with glacier-api

  • 3.1.0-alpha.25
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.6K
decreased by-10.9%
Maintainers
0
Weekly downloads
 
Created
Source

glacier-sdk

This package contains typescript api generated from the openAPI file from glacier.

To generate a new version based on the latest changes from glacier dev run:

$ yarn codegen
const glacierApi = new V1("https://glacier-api.avax.network/")

const resp = glacierApi.getNativeBalance(")

Debugging Build Issues After Code Generation

After running the codegen script, you may encounter build errors that look like this:

image

This is caused by changes to the Glacier API schema, and the GlacierClient class in src/glacierClient.ts that wraps auto-generated code from the API schema as this code is not updated automatically during code generation.

Please see PR #371 for an example of the type of update that must be made in order resolve the above error, in particular this commit.

FAQs

Package last updated on 04 Dec 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