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 4.2.0-beta.4 to 4.2.0-beta.5

lib/src/BlockFrostAPI.d.ts

54

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

@@ -20,2 +20,3 @@ "keywords": [

"build": "yarn clean && tsc",
"type-check": "tsc --project tsconfig.types.json",
"clean": "rimraf lib",

@@ -40,31 +41,30 @@ "generate-types": "openapi-typescript https://raw.githubusercontent.com/blockfrost/openapi/master/openapi.yaml --output ./src/types/OpenApi.ts",

"devDependencies": {
"@commitlint/cli": "^15.0.0",
"@commitlint/config-conventional": "^15.0.0",
"@jest/globals": "^27.4.2",
"@swc-node/jest": "^1.4.1",
"@types/jest": "^27.0.3",
"@types/node": "^16.11.12",
"@types/url-join": "^4.0.1",
"@typescript-eslint/eslint-plugin": "^5.6.0",
"@typescript-eslint/parser": "5.6.0",
"eslint": "8.4.1",
"eslint-config-prettier": "8.3.0",
"eslint-plugin-import": "2.25.3",
"@commitlint/cli": "^17.0.2",
"@commitlint/config-conventional": "^17.0.2",
"@jest/globals": "^28.1.0",
"@swc-node/jest": "^1.5.2",
"@types/jest": "^28.1.0",
"@types/node": "^17.0.38",
"@typescript-eslint/eslint-plugin": "^5.27.0",
"@typescript-eslint/parser": "5.27.0",
"eslint": "8.16.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-prettier": "4.0.0",
"husky": "^7.0.4",
"jest": "^27.4.3",
"jest-extended": "^1.2.0",
"husky": "^8.0.1",
"jest": "^28.1.0",
"jest-extended": "^2.0.0",
"make-coverage-badge": "^1.2.0",
"nock": "^13.2.1",
"openapi-typescript": "^4.4.0",
"prettier": "2.5.1",
"nock": "^13.2.4",
"openapi-typescript": "^5.4.0",
"prettier": "2.6.2",
"rimraf": "^3.0.2",
"serialize-error": "^9.0.0",
"ts-jest": "^27.1.1",
"ts-node": "10.4.0",
"ts-node-dev": "^1.1.8",
"typedoc": "^0.22.10",
"typedoc-github-wiki-theme": "^0.6.0",
"typedoc-plugin-markdown": "^3.11.7",
"typescript": "4.5.2",
"serialize-error": "^11.0.0",
"ts-jest": "^28.0.3",
"ts-node": "10.8.0",
"ts-node-dev": "^2.0.0",
"typedoc": "^0.22.17",
"typedoc-github-wiki-theme": "^1.0.1",
"typedoc-plugin-markdown": "^3.12.1",
"typescript": "4.7.2",
"yarn-run-all": "^3.1.1"

@@ -71,0 +71,0 @@ },

@@ -57,3 +57,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) <img src="https://github.com/blockfrost/blockfrost-js/blob/master/docs/badge-coverage.svg" /> <a href="https://fivebinaries.com/"><img src="https://img.shields.io/badge/made%20by-Five%20Binaries-darkviolet.svg?style=flat-square" /></a>

- `isTestnet` - `boolean`, whether the projectId is intended for testnet network (optional, default value is derived from the `projectId` itself if possible)
- `rateLimiter` - `boolean` or `RateLimiterConfig`, whether to enable rate limiter that matches [Blockfrost API limits](https://docs.blockfrost.io/#section/Limits) (optional, default `true`). If you have your IP addresses white-listed you may want to disable it. You may also customize rate limiter by passing your own [config object](ttps://github.com/blockfrost/blockfrost-js/blob/master/src/utils/limiter.ts#11).
- `rateLimiter` - `boolean` or [`RateLimiterConfig`](https://github.com/blockfrost/blockfrost-js/blob/master/src/utils/limiter.ts#L18=), whether to enable rate limiter that matches [Blockfrost API limits](https://docs.blockfrost.io/#section/Limits) (optional, default `true`). If you have your IP addresses white-listed you may want to disable it. You may also customize rate limiter by passing your own [config object](ttps://github.com/blockfrost/blockfrost-js/blob/master/src/utils/limiter.ts#11).
- `requestTimeout` - `number`, How long to wait for a request to complete, in milliseconds (optional, default `20000`)

@@ -60,0 +60,0 @@ - `retrySettings` - `RequiredRetryOptions`, customizations for retrying failed request (optional, [for defaults click here](https://github.com/blockfrost/blockfrost-js/blob/master/src/utils/index.ts#L58))

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