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

@libp2p/interface-record

Package Overview
Dependencies
Maintainers
4
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@libp2p/interface-record - npm Package Compare versions

Comparing version 0.0.0 to 1.0.0

dist/src/index.d.ts

35

package.json
{
"name": "@libp2p/interface-record",
"version": "0.0.0",
"description": "Compliance tests for implementations of the libp2p connection interface",
"version": "1.0.0",
"description": "Record interface for libp2p",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/libp2p-interface-compliance-tests#readme",
"homepage": "https://github.com/libp2p/js-libp2p-interfaces/tree/master/packages/interface-record#readme",
"repository": {

@@ -24,18 +24,2 @@ "type": "git",

"types": "./dist/src/index.d.ts",
"typesVersions": {
"*": {
"*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
],
"src/*": [
"*",
"dist/*",
"dist/src/*",
"dist/src/*/index"
]
}
},
"files": [

@@ -49,4 +33,4 @@ "src",

".": {
"import": "./dist/src/index.js",
"types": "./dist/src/index.d.ts"
"types": "./dist/src/index.d.ts",
"import": "./dist/src/index.js"
}

@@ -146,13 +130,6 @@ },

"build": "aegir build",
"test": "aegir test",
"test:chrome": "aegir test -t browser --cov",
"test:chrome-webworker": "aegir test -t webworker",
"test:firefox": "aegir test -t browser -- --browser firefox",
"test:firefox-webworker": "aegir test -t webworker -- --browser firefox",
"test:node": "aegir test -t node --cov",
"test:electron-main": "aegir test -t electron-main",
"release": "aegir release"
},
"dependencies": {
"@libp2p/interface-peer-id": "^0.0.0"
"@libp2p/interface-peer-id": "~0.0.0"
},

@@ -159,0 +136,0 @@ "devDependencies": {

@@ -1,4 +0,24 @@

interface-record
==================
# @libp2p/interface-record <!-- omit in toc -->
[![test & maybe release](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml/badge.svg)](https://github.com/libp2p/js-libp2p-interfaces/actions/workflows/js-test-and-release.yml)
> Record interface for libp2p
## Table of contents <!-- omit in toc -->
- [Install](#install)
- [Usage](#usage)
- [Create Record](#create-record)
- [API](#api)
- [marshal](#marshal)
- [equals](#equals)
- [License](#license)
- [Contribution](#contribution)
## Install
```console
$ npm i @libp2p/interface-record
```
A libp2p node needs to store data in a public location (e.g. a DHT), or rely on potentially untrustworthy intermediaries to relay information. Libp2p provides an all-purpose data container called **envelope**, which includes a signature of the data, so that it its authenticity can be verified.

@@ -88,5 +108,18 @@

**Parameters**
- other is a `Record` to compare with the current instance.
**Returns**
- `other is Record`
## License
Licensed under either of
- Apache 2.0, ([LICENSE-APACHE](LICENSE-APACHE) / <http://www.apache.org/licenses/LICENSE-2.0>)
- MIT ([LICENSE-MIT](LICENSE-MIT) / <http://opensource.org/licenses/MIT>)
### Contribution
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
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