Skip to content

Commit 5699924

Browse files
committed
Google Closure compatible standalone browserify payloads
1 parent de6e429 commit 5699924

File tree

4 files changed

+26377
-10
lines changed

4 files changed

+26377
-10
lines changed

bitauth.ext.js

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
// Google Closure Externs File
2+
// See: https://developers.google.com/closure/compiler/docs/api-tutorial3?hl=en
3+
4+
var bitauth = {
5+
"_generateRandomPair": function () {},
6+
"getPublicKeyFromPrivateKey": function (privateKey) {},
7+
"_getPublicKeyFromPrivateKey": function (privateKey) {},
8+
"getSinFromPublicKey": function (publicKey) {},
9+
"generateSin": function () {},
10+
"sign": function (data, privateKey) {},
11+
"_sign": function (data, privateKey) {},
12+
"verifySignature": function (data, publicKey, hexSignature, callBack) {},
13+
"_verifySignature": function (data, publicKey, hexSignature) {},
14+
"validateSin": function (sin, callBack) {}
15+
};

0 commit comments

Comments
 (0)