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

@blockfrost/blockfrost-js

Package Overview
Dependencies
Maintainers
2
Versions
105
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 0.9.0 to 0.9.1

30

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

@@ -28,3 +28,3 @@ "keywords": [

"dependencies": {
"@blockfrost/openapi": "^0.1.23",
"@blockfrost/openapi": "0.1.24",
"@emurgo/cardano-serialization-lib-nodejs": "^7.1.0",

@@ -38,11 +38,11 @@ "axios": "^0.21.1",

"@swc-node/jest": "^1.3.1",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.4",
"@types/url-join": "^4.0.0",
"@typescript-eslint/eslint-plugin": "^4.28.0",
"@typescript-eslint/parser": "4.28.0",
"@types/jest": "^26.0.24",
"@types/node": "^16.3.2",
"@types/url-join": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^4.28.3",
"@typescript-eslint/parser": "4.28.3",
"axios-mock-adapter": "^1.19.0",
"babel-plugin-module-resolver": "^4.1.0",
"dotenv": "^10.0.0",
"eslint": "7.29.0",
"eslint": "7.30.0",
"eslint-config-prettier": "8.3.0",

@@ -53,12 +53,12 @@ "eslint-plugin-import": "2.23.4",

"jest-extended": "^0.11.5",
"openapi-typescript": "^4.0.1",
"prettier": "2.3.1",
"openapi-typescript": "^4.0.2",
"prettier": "2.3.2",
"rimraf": "^3.0.2",
"ts-jest": "^27.0.3",
"ts-node": "10.0.0",
"ts-node-dev": "^1.1.6",
"ts-node": "10.1.0",
"ts-node-dev": "^1.1.8",
"tsc-watch": "^4.4.0",
"tsconfig-paths": "^3.9.0",
"typedoc": "^0.21.0",
"typescript": "4.3.4"
"tsconfig-paths": "^3.10.1",
"typedoc": "^0.21.4",
"typescript": "4.3.5"
},

@@ -65,0 +65,0 @@ "engines": {

@@ -31,3 +31,3 @@ <img src="https://blockfrost.io/images/logo.svg" width="250">

const API = new BlockFrostAPI({
projectId: 'YOUR API KEY HERE',
projectId: 'YOUR API KEY HERE', // see: https://blockfrost.io
});

@@ -37,3 +37,3 @@

const latestBlock = await API.blocksLatest();
const assets = await API.assets();
const latestEpoch = await API.epochsLatest();
const health = await API.health();

@@ -44,5 +44,8 @@ const address = await API.addresses(

console.log(address, assets, latestBlock, health);
console.log('address', address);
console.log('latestEpoch', latestEpoch);
console.log('latestBlock', latestBlock);
console.log('health', health);
} catch (err) {
console.log(err);
console.log('error', err);
}

@@ -55,5 +58,6 @@ ```

import { BlockfrostIPFS } from '@blockfrost/blockfrost-js';
import fs from 'fs';
const IPFS = new BlockFrostIPFS({
projectId: 'YOUR API KEY HERE', // see: https://blockfrost.io
projectId: 'YOUR IPFS KEY HERE', // see: https://blockfrost.io
});

@@ -60,0 +64,0 @@

Sorry, the diff of this file is too big to display

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