🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more →

ipfs-message-port-protocol

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ipfs-message-port-protocol - npm Package Compare versions

Comparing version

to
0.12.2-39dbf708.0

{
"name": "ipfs-message-port-protocol",
"version": "0.12.2-00bd3dd0.0",
"version": "0.12.2-39dbf708.0",
"description": "IPFS client/server protocol over message port",
"license": "Apache-2.0 OR MIT",
"homepage": "https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-message-port-protocol#readme",
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-ipfs.git"
},
"bugs": {
"url": "https://github.com/ipfs/js-ipfs/issues"
},
"keywords": [
"ipfs"
],
"homepage": "https://github.com/ipfs/js-ipfs/tree/master/packages/ipfs-message-port-protocol#readme",
"bugs": "https://github.com/ipfs/js-ipfs/issues",
"license": "(Apache-2.0 OR MIT)",
"engines": {
"node": ">=16.0.0",
"npm": ">=7.0.0"
},
"type": "module",
"main": "src/index.js",
"types": "dist/src/index.d.ts",
"types": "./dist/src/index.d.ts",
"typesVersions": {

@@ -31,36 +40,38 @@ "*": {

"files": [
"src",
"dist",
"src",
"!dist/test",
"!**/*.tsbuildinfo"
],
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
}
},
"exports": {
".": {
"types": "./dist/src/index.d.ts",
"import": "./src/index.js"
},
"./block": {
"types": "./src/block.d.ts",
"import": "./src/block.js"
},
"./cid": {
"types": "./src/cid.d.ts",
"import": "./src/cid.js"
},
"./core": {
"types": "./src/core.d.ts",
"import": "./src/core.js"
},
"./dag": {
"types": "./src/dag.d.ts",
"import": "./src/dag.js"
},
"./error": {
"types": "./src/error.d.ts",
"import": "./src/error.js"
}
},
"browser": {},
"repository": {
"type": "git",
"url": "git+https://github.com/ipfs/js-ipfs.git"
"eslintConfig": {
"extends": "ipfs",
"parserOptions": {
"sourceType": "module"
}
},

@@ -80,3 +91,3 @@ "scripts": {

"dependencies": {
"ipfs-core-types": "^0.11.2-00bd3dd0.0",
"ipfs-core-types": "^0.11.2-39dbf708.0",
"multiformats": "^9.5.1"

@@ -88,7 +99,3 @@ },

},
"engines": {
"node": ">=15.0.0",
"npm": ">=3.0.0"
},
"gitHead": "5e5669eefa320838c4810adf62356b0039209ed2"
"gitHead": "a2f1f57d7993d04b2d19c3d7ecbeecc95a54d2ae"
}
# ipfs-message-port-protocol <!-- omit in toc -->
[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://protocol.ai)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Travis CI](https://flat.badgen.net/travis/ipfs/js-ipfs)](https://travis-ci.com/ipfs/js-ipfs)
[![Codecov branch](https://img.shields.io/codecov/c/github/ipfs/js-ipfs/master.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfs)
[![Dependency Status](https://david-dm.org/ipfs/js-ipfs/status.svg?path=packages/ipfs-message-port-protocol)](https://david-dm.org/ipfs/js-ipfs?path=packages/ipfs-message-port-protocol)
[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat-square)](https://github.com/feross/standard)
[![ipfs.io](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io)
[![IRC](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![Discord](https://img.shields.io/discord/806902334369824788?style=flat-square)](https://discord.gg/ipfs)
[![codecov](https://img.shields.io/codecov/c/github/ipfs/js-ipfs.svg?style=flat-square)](https://codecov.io/gh/ipfs/js-ipfs)
[![CI](https://img.shields.io/github/workflow/status/ipfs/js-ipfs/test%20&%20maybe%20release/master?style=flat-square)](https://github.com/ipfs/js-ipfs/actions/workflows/js-test-and-release.yml)
> This package serves as a repository code shared between the core `ipfs-message-port-client` and the `ipfs-message-port-server`
> IPFS client/server protocol over message port
## Table of Contentens <!-- omit in toc -->
## Table of contents <!-- omit in toc -->

@@ -22,9 +20,9 @@ - [Install](#install)

- [Callback](#callback)
- [License](#license)
- [Contribute](#contribute)
- [License](#license)
## Install
```bash
$ npm install --save ipfs-message-port-protocol
```console
$ npm i ipfs-message-port-protocol
```

@@ -101,3 +99,2 @@

```js

@@ -168,20 +165,31 @@ import { encodeIterable, decodeIterable } from 'ipfs-message-port-protocol/core')

## License
[structured cloning algorithm]:https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
[message channel]:https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel
[MessagePort]:https://developer.mozilla.org/en-US/docs/Web/API/MessagePort
[Transferable]:https://developer.mozilla.org/en-US/docs/Web/API/Transferable
Licensed under either of
[CID]:https://github.com/multiformats/js-cid
- 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>)
[async iterables]:https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of
## Contribute
Contributions welcome. Please check out [the issues](https://github.com/ipfs/js-ipfs/issues).
Contributions welcome! Please check out [the issues](https://github.com/ipfs/js-ipfs/issues).
Check out our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general. Please be aware that all interactions related to this repo are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
Also see our [contributing document](https://github.com/ipfs/community/blob/master/CONTRIBUTING_JS.md) for more information on how we work, and about contributing in general.
## License
Please be aware that all interactions related to this repo are subject to the IPFS [Code of Conduct](https://github.com/ipfs/community/blob/master/code-of-conduct.md).
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fipfs%2Fjs-ipfs.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fipfs%2Fjs-ipfs?ref=badge_large)
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.
[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/CONTRIBUTING.md)
[structured cloning algorithm]: https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Structured_clone_algorithm
[message channel]: https://developer.mozilla.org/en-US/docs/Web/API/MessageChannel
[MessagePort]: https://developer.mozilla.org/en-US/docs/Web/API/MessagePort
[Transferable]: https://developer.mozilla.org/en-US/docs/Web/API/Transferable
[CID]: https://github.com/multiformats/js-cid
[async iterables]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/for-await...of