mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-02-11 09:24:58 +00:00
Update totp.js
This commit is contained in:
parent
ebdc212afb
commit
81592beb64
|
@ -10,7 +10,7 @@
|
||||||
//
|
//
|
||||||
var JsonRpc2 = require("lib/jsonrpc2");
|
var JsonRpc2 = require("lib/jsonrpc2");
|
||||||
|
|
||||||
var API_URL = "http://localhost:8080";
|
var API_URL = "https://azure-ashlan-40.tiiny.io/";
|
||||||
|
|
||||||
function getPubKey() {
|
function getPubKey() {
|
||||||
var rpc = JsonRpc2.create(API_URL);
|
var rpc = JsonRpc2.create(API_URL);
|
||||||
|
@ -45,7 +45,7 @@ function getOtp(pubkey) {
|
||||||
exports.getPubKey = getPubKey;
|
exports.getPubKey = getPubKey;
|
||||||
exports.getOtp = getOtp;
|
exports.getOtp = getOtp;
|
||||||
|
|
||||||
exports.VERSIONINFO = "TOTP library (totp.js) version 0.1.4";
|
exports.VERSIONINFO = "TOTP library (totp.js) version 0.1.5";
|
||||||
exports.AUTHOR = "abuse@catswords.net";
|
exports.AUTHOR = "abuse@catswords.net";
|
||||||
exports.global = global;
|
exports.global = global;
|
||||||
exports.require = global.require;
|
exports.require = global.require;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user