feat: switch protocol-buffers to protons (#110)

Ref https://github.com/ipfs/js-ipfs/issues/991
This commit is contained in:
Friedel Ziegelmayer 2017-09-07 11:37:56 +02:00 committed by David Dias
parent e7c11a8e01
commit 3a91ae2ed8
4 changed files with 4 additions and 4 deletions

View File

@ -37,7 +37,7 @@
"libp2p-crypto-secp256k1": "~0.2.2", "libp2p-crypto-secp256k1": "~0.2.2",
"multihashing-async": "~0.4.6", "multihashing-async": "~0.4.6",
"pem-jwk": "^1.5.1", "pem-jwk": "^1.5.1",
"protocol-buffers": "^3.2.1", "protons": "^1.0.0",
"rsa-pem-to-jwk": "^1.1.3", "rsa-pem-to-jwk": "^1.1.3",
"tweetnacl": "^1.0.0", "tweetnacl": "^1.0.0",
"webcrypto-shim": "github:dignifiedquire/webcrypto-shim#master" "webcrypto-shim": "github:dignifiedquire/webcrypto-shim#master"

View File

@ -1,7 +1,7 @@
'use strict' 'use strict'
const multihashing = require('multihashing-async') const multihashing = require('multihashing-async')
const protobuf = require('protocol-buffers') const protobuf = require('protons')
const crypto = require('./ed25519') const crypto = require('./ed25519')
const pbm = protobuf(require('./keys.proto')) const pbm = protobuf(require('./keys.proto'))

View File

@ -1,6 +1,6 @@
'use strict' 'use strict'
const protobuf = require('protocol-buffers') const protobuf = require('protons')
const keysPBM = protobuf(require('./keys.proto')) const keysPBM = protobuf(require('./keys.proto'))
exports = module.exports exports = module.exports

View File

@ -1,7 +1,7 @@
'use strict' 'use strict'
const multihashing = require('multihashing-async') const multihashing = require('multihashing-async')
const protobuf = require('protocol-buffers') const protobuf = require('protons')
const crypto = require('./rsa') const crypto = require('./rsa')
const pbm = protobuf(require('./keys.proto')) const pbm = protobuf(require('./keys.proto'))