Skip to content

Commit

Permalink
Remove async code from bindings and tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fanatid committed Dec 20, 2015
1 parent e1757d2 commit a37bb1d
Show file tree
Hide file tree
Showing 24 changed files with 41 additions and 863 deletions.
2 changes: 1 addition & 1 deletion bindings.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./lib/bindings')
module.exports = require('bindings')('secp256k1')
1 change: 0 additions & 1 deletion elliptic.js

This file was deleted.

2 changes: 1 addition & 1 deletion js.js
Original file line number Diff line number Diff line change
@@ -1 +1 @@
module.exports = require('./elliptic')
module.exports = require('./lib/elliptic')
244 changes: 0 additions & 244 deletions lib/bindings/index.js

This file was deleted.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,6 @@
},
"dependencies": {
"bindings": "^1.2.1",
"bluebird": "^3.0.2",
"bn.js": "^4.2.0",
"elliptic": "^6.0.2",
"nan": "^2.0.9",
Expand Down
4 changes: 0 additions & 4 deletions src/addon.cc
Original file line number Diff line number Diff line change
Expand Up @@ -39,19 +39,15 @@ NAN_MODULE_INIT(Init) {

// sign
Nan::Export(target, "sign", sign);
Nan::Export(target, "signSync", signSync);

// verify
Nan::Export(target, "verify", verify);
Nan::Export(target, "verifySync", verifySync);

// recover
Nan::Export(target, "recover", recover);
Nan::Export(target, "recoverSync", recoverSync);

// ecdh
Nan::Export(target, "ecdh", ecdh);
Nan::Export(target, "ecdhSync", ecdhSync);
}

NODE_MODULE(secp256k1, Init)
48 changes: 0 additions & 48 deletions src/async.h

This file was deleted.

Loading

0 comments on commit a37bb1d

Please sign in to comment.