Merge pull request #268 from status-im/deps

This commit is contained in:
Franck Royer 2021-08-19 13:46:17 +10:00 committed by GitHub
commit d97613bb83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 2191 additions and 15382 deletions

View File

@ -8,6 +8,7 @@
"bitjson",
"bitauth",
"bufbuild",
"chainsafe",
"cimg",
"ciphertext",
"circleci",

View File

@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Examples: Renamed `eth-dm` to `eth-pm`; "Direct Message" can lead to confusion with "Direct Connection" that
refers to low latency network connections.
- Examples (eth-pm): Use sign typed data EIP-712 instead of personal sign.
- Upgraded dependencies to remove warning at installation.
### Removed
- Examples (cli-chat): The focus of this library is Web environment;

17565
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -58,6 +58,7 @@
"node": ">=14"
},
"dependencies": {
"@chainsafe/libp2p-noise": "^4.0.0",
"axios": "^0.21.1",
"debug": "^4.3.1",
"ecies-geth": "^1.5.2",
@ -68,7 +69,6 @@
"libp2p-bootstrap": "^0.13.0",
"libp2p-gossipsub": "^0.10.0",
"libp2p-mplex": "^0.10.4",
"libp2p-noise": "^4.0.0",
"libp2p-tcp": "^0.17.0",
"libp2p-websockets": "^0.16.0",
"multiaddr": "^10.0.0",

View File

@ -1,3 +1,5 @@
import { bytes } from '@chainsafe/libp2p-noise/dist/src/@types/basic';
import { Noise } from '@chainsafe/libp2p-noise/dist/src/noise';
import debug from 'debug';
import Libp2p, { Connection, Libp2pModules, Libp2pOptions } from 'libp2p';
import Bootstrap from 'libp2p-bootstrap';
@ -5,8 +7,6 @@ import { MuxedStream } from 'libp2p-interfaces/dist/src/stream-muxer/types';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: No types available
import Mplex from 'libp2p-mplex';
import { bytes } from 'libp2p-noise/dist/src/@types/basic';
import { Noise } from 'libp2p-noise/dist/src/noise';
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore: No types available
import Websockets from 'libp2p-websockets';