UNPKG
@tendermint/sig
Version:
latest (0.6.0)
0.6.0
0.5.2
0.5.1
0.5.0
0.4.1
0.4.0
0.3.1
0.3.0
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
A signing library for Cosmos
github.com/cosmos/sig
cosmos/sig
@tendermint/sig
/
index.js
9 lines
(7 loc)
•
197 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
let
node =
false
;
try
{ node = (
Object
.
prototype
.
toString
.
call
(
global
.
process
) ===
'[object process]'
); }
catch
(e) { }
module
.
exports
= node ?
require
(
'./dist/node'
) :
require
(
'./dist/web'
);