Update lib.js

- Added support when floGlobals is undefined
This commit is contained in:
sairajzero 2022-04-03 20:15:58 +05:30
parent b34ef8ca93
commit 94f90807f7

6
lib.js
View File

@ -1,10 +1,10 @@
(function(GLOBAL) { //lib v1.2.2
(function(GLOBAL) { //lib v1.2.2a
'use strict';
/* Utility Libraries required for Standard operations
* All credits for these codes belong to their respective creators, moderators and owners.
* For more info (including license and terms of use), please visit respective source.
*/
GLOBAL.cryptocoin = floGlobals.blockchain || 'FLO';
GLOBAL.cryptocoin = (typeof floGlobals === 'undefined' ? null : floGlobals.blockchain) || 'FLO';
//Crypto.js
(function() {
@ -6784,4 +6784,4 @@
})();
})(typeof global !== "undefined" ? global : window);
})(typeof global !== "undefined" ? global : window);