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

blockstore-core

Package Overview
Dependencies
Maintainers
2
Versions
35
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

blockstore-core - npm Package Compare versions

Comparing version 4.1.1 to 4.2.0

dist/src/black-hole.d.ts

1

dist/typedoc-urls.json
{
"BaseBlockstore": "https://ipfs.github.io/js-stores/classes/base.BaseBlockstore.html",
"BlackHoleBlockstore": "https://ipfs.github.io/js-stores/classes/black_hole.BlackHoleBlockstore.html",
"abortedError": "https://ipfs.github.io/js-stores/functions/errors.abortedError.html",

@@ -4,0 +5,0 @@ "closeFailedError": "https://ipfs.github.io/js-stores/functions/errors.closeFailedError.html",

{
"name": "blockstore-core",
"version": "4.1.1",
"version": "4.2.0",
"description": "Contains various implementations of the API contract described in interface-blockstore",

@@ -58,2 +58,6 @@ "author": "Alex Potsides <alex.potsides@protocol.ai>",

},
"./black-hole": {
"types": "./dist/src/black-hole.d.ts",
"import": "./dist/src/black-hole.js"
},
"./errors": {

@@ -60,0 +64,0 @@ "types": "./dist/src/errors.d.ts",

@@ -18,2 +18,3 @@ # blockstore-core <!-- omit in toc -->

- [MemoryBlockstore](#memoryblockstore)
- [BlackHoleBlockstore](#blackholeblockstore)
- [API Docs](#api-docs)

@@ -39,4 +40,5 @@ - [License](#license)

- Base: [`src/base`](src/base.js)
- Memory: [`src/memory`](src/memory.js)
- Base: [`src/base`](src/base.ts)
- Memory: [`src/memory`](src/memory.ts)
- BlackHole: ['src/blackhole](src/blackhole.ts)

@@ -75,2 +77,12 @@ ## Usage

### BlackHoleBlockstore
A Blockstore that does not store any blocks.
```js
import { BlackHoleBlockstore } from 'blockstore-core/black-hole'
const store = new BlackHoleBlockstore()
```
## API Docs

@@ -77,0 +89,0 @@

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