@authing/guard
Advanced tools
Comparing version 0.3.6 to 0.3.7
{ | ||
"name": "@authing/guard", | ||
"version": "0.3.6", | ||
"version": "0.3.7", | ||
"repository": { | ||
@@ -5,0 +5,0 @@ "type": "git", |
@@ -125,4 +125,4 @@ /* jshint esversion: 6 */ | ||
$authing.opts.host = opts.host; | ||
$authing.opts.timestamp = Math.round(new Date() / 1000); | ||
$authing.opts.nonce = Math.ceil(Math.random() * Math.pow(10, 6)); | ||
$authing.opts.timestamp = $authing.opts.timestamp || Math.round(new Date() / 1000); | ||
$authing.opts.nonce = $authing.opts.nonce || Math.ceil(Math.random() * Math.pow(10, 6)); | ||
@@ -129,0 +129,0 @@ let emailExp = /^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,6})+$/; |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
18240203