otplib 10.2.3-1 → 10.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/authenticator.js +1 -1
- package/core.js +1 -1
- package/hotp.js +1 -1
- package/index.js +1 -1
- package/otplib-browser.js +1 -1
- package/package.json +1 -1
- package/totp.js +1 -1
- package/utils.js +1 -1
package/authenticator.js
CHANGED
package/core.js
CHANGED
package/hotp.js
CHANGED
package/index.js
CHANGED
package/otplib-browser.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* otplib-browser
|
|
3
3
|
*
|
|
4
4
|
* @author Gerald Yeo <contact@fusedthought.com>
|
|
5
|
-
* @version: 10.2.3
|
|
5
|
+
* @version: 10.2.3
|
|
6
6
|
* @license: MIT
|
|
7
7
|
**/
|
|
8
8
|
!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.otplib=e():t.otplib=e()}(window,function(){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var i=e[r]={i:r,l:!1,exports:{}};return t[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var i in t)n.d(r,i,function(e){return t[e]}.bind(null,i));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=55)}([function(t,e){"function"==typeof Object.create?t.exports=function(t,e){t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}})}:t.exports=function(t,e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}},function(t,e,n){var r=n(3),i=r.Buffer;function o(t,e){for(var n in t)e[n]=t[n]}function s(t,e,n){return i(t,e,n)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?t.exports=r:(o(r,e),e.Buffer=s),o(i,s),s.from=function(t,e,n){if("number"==typeof t)throw new TypeError("Argument must not be a number");return i(t,e,n)},s.alloc=function(t,e,n){if("number"!=typeof t)throw new TypeError("Argument must be a number");var r=i(t);return void 0!==e?"string"==typeof n?r.fill(e,n):r.fill(e):r.fill(0),r},s.allocUnsafe=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return i(t)},s.allocUnsafeSlow=function(t){if("number"!=typeof t)throw new TypeError("Argument must be a number");return r.SlowBuffer(t)}},function(t,e,n){"use strict";var r=function(t){return parseInt(t,10).toString(16)};function i(t){return/^(\d+)(\.\d+)?$/.test(t)}var o=function(t,e){return!(!i(t)||!i(e))&&String(t)===String(e)};var s=function(t,e){for(var n=e||0,r=t+"";r.length<n;)r="0"+r;return r},a=n(19);var u=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!t||t<1)return"";if(!e.crypto||"function"!=typeof e.crypto.randomBytes)throw new Error("Expecting options.crypto to have a randomBytes function");return e.crypto.randomBytes(t).toString("base64").slice(0,t)};n.d(e,"a",function(){return r}),n.d(e,"b",function(){return o}),n.d(e,"c",function(){return s}),n.d(e,"d",function(){return a.a}),n.d(e,"e",function(){return u})},function(t,e,n){"use strict";(function(t){
|
package/package.json
CHANGED
package/totp.js
CHANGED