mirror of
https://github.com/fluencelabs/js-peer-id
synced 2025-04-25 14:42:27 +00:00
fix: add buffer (#120)
related to this https://github.com/ipfs/js-ipfs/issues/2924
This commit is contained in:
parent
7e985b127f
commit
c305c36b26
@ -45,11 +45,12 @@
|
||||
"dirty-chai": "^2.0.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"buffer": "^5.5.0",
|
||||
"cids": "^0.7.3",
|
||||
"class-is": "^1.1.0",
|
||||
"libp2p-crypto": "~0.17.2",
|
||||
"libp2p-crypto": "~0.17.3",
|
||||
"multihashes": "~0.4.15",
|
||||
"protons": "^1.0.1"
|
||||
"protons": "^1.0.2"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -4,6 +4,7 @@
|
||||
|
||||
'use strict'
|
||||
|
||||
const { Buffer } = require('buffer')
|
||||
const mh = require('multihashes')
|
||||
const CID = require('cids')
|
||||
const cryptoKeys = require('libp2p-crypto/src/keys')
|
||||
|
@ -2,6 +2,7 @@
|
||||
/* eslint-env mocha */
|
||||
'use strict'
|
||||
|
||||
const { Buffer } = require('buffer')
|
||||
const chai = require('chai')
|
||||
const dirtyChai = require('dirty-chai')
|
||||
chai.use(dirtyChai)
|
||||
|
Loading…
x
Reference in New Issue
Block a user