New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@blockfrost/blockfrost-js

Package Overview
Dependencies
Maintainers
2
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@blockfrost/blockfrost-js - npm Package Compare versions

Comparing version 1.0.2 to 1.1.0

lib/endpoints/api/network/index.d.ts

8

lib/BlockFrostAPI.d.ts

@@ -16,2 +16,3 @@ import { AxiosInstance } from 'axios';

import { nutlinkAddress, nutlinkAddressTicker, nutlinkAddressTickers, nutlinkAddressTickersAll, nutlinkAddressTickerAll, nutlinkTickers, nutlinkTickersAll } from './endpoints/api/nutlink';
import { network } from './endpoints/api/network';
import { Options, ValidatedOptions } from './types';

@@ -673,3 +674,10 @@ declare class BlockFrostAPI {

getAccount: typeof getAccount;
/**
* network
*
* @returns Detailed network information.
*
*/
network: typeof network;
}
export { BlockFrostAPI };

@@ -22,2 +22,3 @@ "use strict";

const nutlink_1 = require("./endpoints/api/nutlink");
const network_1 = require("./endpoints/api/network");
const url_join_1 = __importDefault(require("url-join"));

@@ -676,2 +677,9 @@ const utils_1 = require("./utils");

this.getAccount = account_1.getAccount;
/**
* network
*
* @returns Detailed network information.
*
*/
this.network = network_1.network;
this.options = utils_1.validateOptions(options);

@@ -678,0 +686,0 @@ let apiBase = config_1.API_URLS.mainnet;

2

package.json
{
"name": "@blockfrost/blockfrost-js",
"version": "1.0.2",
"version": "1.1.0",
"description": "A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API",

@@ -5,0 +5,0 @@ "keywords": [

@@ -42,3 +42,3 @@ ![master build ci](https://github.com/blockfrost/blockfrost-js/actions/workflows/build.yml/badge.svg?branch=master) [![npm version](https://badge.fury.io/js/%40blockfrost%2Fblockfrost-js.svg)](https://badge.fury.io/js/%40blockfrost%2Fblockfrost-js) ![downloads](https://img.shields.io/npm/dy/@blockfrost/blockfrost-js) <a href="https://fivebinaries.com/"><img src="https://img.shields.io/badge/made%20by-Five%20Binaries-darkviolet.svg?style=flat-square" /></a> <img src="./docs/badge-coverage.svg" />

```typescript
import { BlockfrostAPI } from '@blockfrost/blockfrost-js';
import { BlockFrostAPI } from '@blockfrost/blockfrost-js';

@@ -69,3 +69,3 @@ const API = new BlockFrostAPI({

```typescript
import { BlockfrostIPFS } from '@blockfrost/blockfrost-js';
import { BlockFrostIPFS } from '@blockfrost/blockfrost-js';

@@ -72,0 +72,0 @@ const IPFS = new BlockFrostIPFS({

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