Release 1.0.0-rc1

This commit is contained in:
Marin Petrunić 2020-02-07 13:52:32 +01:00
parent 13deb78079
commit 573ef8ea95
No known key found for this signature in database
GPG Key ID: 834D07135E110DA5
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,6 @@
# js-libp2p-noise # js-libp2p-noise
![npm](https://img.shields.io/npm/v/@nodefactory/js-libp2p-noise) ![npm](https://img.shields.io/npm/v/libp2p-noise)
[![Build Status](https://travis-ci.com/NodeFactoryIo/js-libp2p-noise.svg?branch=master)](https://travis-ci.com/NodeFactoryIo/js-libp2p-noise) [![Build Status](https://travis-ci.com/NodeFactoryIo/js-libp2p-noise.svg?branch=master)](https://travis-ci.com/NodeFactoryIo/js-libp2p-noise)
[![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/) [![](https://img.shields.io/badge/project-libp2p-yellow.svg?style=flat-square)](https://libp2p.io/)
@ -21,7 +21,7 @@ When published, package should be imported as: `import { Noise } from 'libp2p-no
Example of using default noise configuration and passing it to the libp2p config: Example of using default noise configuration and passing it to the libp2p config:
``` ```
import {NOISE, Noise} from "@nodefactory/js-libp2p-noise" import {NOISE, Noise} from "libp2p-noise"
//custom noise configuration, pass it instead of NOISE object //custom noise configuration, pass it instead of NOISE object
const noise = new Noise(privateKey, Buffer.alloc(), false); const noise = new Noise(privateKey, Buffer.alloc(), false);

View File

@ -1,6 +1,6 @@
{ {
"name": "js-libp2p-noise", "name": "libp2p-noise",
"version": "1.0.0-rc", "version": "1.0.0-rc1",
"main": "dist/index.js", "main": "dist/index.js",
"module": "lib/index.js", "module": "lib/index.js",
"files": [ "files": [