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

@blockfrost/blockfrost-js

Package Overview
Dependencies
Maintainers
3
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 5.4.0 to 5.5.0-beta.0

2

lib/BlockFrostAPI.js

@@ -153,3 +153,3 @@ "use strict";

else {
throw Error('Invalid network option. Valid options: mainnet, testnet, preview, preprod.');
throw Error('Invalid network option. Valid options: mainnet, testnet, preview, preprod, sanchonet.');
}

@@ -156,0 +156,0 @@ }

@@ -5,2 +5,3 @@ export declare const API_URLS: {

preprod: string;
sanchonet: string;
ipfs: string;

@@ -7,0 +8,0 @@ };

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

preprod: 'https://cardano-preprod.blockfrost.io/api',
sanchonet: 'https://cardano-sanchonet.blockfrost.io/api',
ipfs: 'https://ipfs.blockfrost.io/api',

@@ -10,0 +11,0 @@ };

@@ -23,3 +23,3 @@ import { CacheError, CancelError, TimeoutError, RequestError, ReadError, ParseError, UploadError, HTTPError, MaxRedirectsError, UnsupportedProtocolError, RequiredRetryOptions } from 'got';

export type Options = (OptionCombination1 | OptionCombination2) & AdditionalOptions;
export type CardanoNetwork = 'mainnet' | 'preview' | 'preprod';
export type CardanoNetwork = 'mainnet' | 'preview' | 'preprod' | 'sanchonet';
export type BlockfrostNetwork = CardanoNetwork | 'ipfs';

@@ -26,0 +26,0 @@ export interface ValidatedOptions {

@@ -82,2 +82,5 @@ "use strict";

}
else if (projectId.startsWith('sanchonet')) {
return 'sanchonet';
}
else if (projectId.startsWith('ipfs')) {

@@ -84,0 +87,0 @@ return 'ipfs';

{
"name": "@blockfrost/blockfrost-js",
"version": "5.4.0",
"version": "5.5.0-beta.0",
"description": "A JavaScript/TypeScript SDK for interacting with the https://blockfrost.io API",

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

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