Skip to content
This repository has been archived by the owner on Jul 21, 2023. It is now read-only.

Commit

Permalink
feat: switch protocol-buffers to protons
Browse files Browse the repository at this point in the history
  • Loading branch information
dignifiedquire committed Sep 7, 2017
1 parent e7c11a8 commit de5699f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"libp2p-crypto-secp256k1": "~0.2.2",
"multihashing-async": "~0.4.6",
"pem-jwk": "^1.5.1",
"protocol-buffers": "^3.2.1",
"protons": "^1.0.0",
"rsa-pem-to-jwk": "^1.1.3",
"tweetnacl": "^1.0.0",
"webcrypto-shim": "github:dignifiedquire/webcrypto-shim#master"
Expand Down
2 changes: 1 addition & 1 deletion src/keys/ed25519-class.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const multihashing = require('multihashing-async')
const protobuf = require('protocol-buffers')
const protobuf = require('protons')

const crypto = require('./ed25519')
const pbm = protobuf(require('./keys.proto'))
Expand Down
2 changes: 1 addition & 1 deletion src/keys/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use strict'

const protobuf = require('protocol-buffers')
const protobuf = require('protons')
const keysPBM = protobuf(require('./keys.proto'))

exports = module.exports
Expand Down
2 changes: 1 addition & 1 deletion src/keys/rsa-class.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const multihashing = require('multihashing-async')
const protobuf = require('protocol-buffers')
const protobuf = require('protons')

const crypto = require('./rsa')
const pbm = protobuf(require('./keys.proto'))
Expand Down

0 comments on commit de5699f

Please sign in to comment.