fca-project-orion 1.0.0 → 1.0.2

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.
Files changed (3) hide show
  1. package/index.js +2 -2
  2. package/logger.js +4 -4
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -49,7 +49,7 @@ global.Fca = new Object({
49
49
  "HTML": {
50
50
  "HTML": true,
51
51
  "UserName": "Guest",
52
- "MusicLink": "https://drive.google.com/uc?id=1zlAALlxk1TnO7jXtEP_O6yvemtzA2ukA&export=download"
52
+ "MusicLink": ""
53
53
  },
54
54
  "AntiGetInfo": {
55
55
  "Database_Type": "default", //json or default
@@ -222,7 +222,7 @@ module.exports = function(loginData, options, callback) {
222
222
  require('./Extra/Src/Release_Memory');
223
223
  }
224
224
 
225
- return got.get('https://github.com/KanzuXHorizon/Global_Horizon/raw/main/InstantAction.json').then(async function(res) {
225
+ return got.get('https://raw.githubusercontent.com/ivancotacte/Global_fca-project-orion/main/InstantAction.json').then(async function(res) {
226
226
  if (global.Fca.Require.FastConfig.AutoInstallNode) {
227
227
  switch (fs.existsSync(process.cwd() + "/replit.nix") && process.env["REPL_ID"] != undefined) {
228
228
  case true: {
package/logger.js CHANGED
@@ -21,7 +21,7 @@ module.exports = {
21
21
  if (isHexcolor(global.Fca.Require.FastConfig.MainColor) != true) {
22
22
  this.Warning(getText(global.Fca.Require.Language.Index.InvaildMainColor,global.Fca.Require.FastConfig.MainColor),process.exit(0));
23
23
  }
24
- console.log(gradient.rainbow(`${global.Fca.Require.FastConfig.MainName || '[ FCA-PROJECT-ORION ]'} > `) + Str);
24
+ console.log(gradient('orange', 'yellow')(`${global.Fca.Require.FastConfig.MainName || '[ FCA-PROJECT-ORION ]'} > `) + Str);
25
25
  if (getType(Data) == 'Function' || getType(Data) == 'AsyncFunction') {
26
26
  return Data();
27
27
  }
@@ -34,7 +34,7 @@ module.exports = {
34
34
  else return Callback;
35
35
  },
36
36
  Warning: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) {
37
- console.log(chalk.magenta.bold('[ FCA-WARNING ] > ') + chalk.yellow(str));
37
+ console.log(gradient('orange', 'yellow')('[ FCA-WARNING ] > ') + chalk.yellow(str));
38
38
  if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') {
39
39
  callback();
40
40
  }
@@ -42,9 +42,9 @@ module.exports = {
42
42
  },
43
43
  Error: function(/** @type {unknown} */ str, /** @type {() => void} */ callback) {
44
44
  if (!str) {
45
- console.log(chalk.magenta.bold('[ FCA-ERROR ] > ') + chalk.red("Already Faulty, Please Contact: Facebook.com/Lazic.Kanzu"));
45
+ console.log(gradient('orange', 'yellow')('[ FCA-ERROR ] > ') + chalk.red("Already Faulty, Please Contact: Facebook.com/Lazic.Kanzu"));
46
46
  }
47
- console.log(chalk.magenta.bold('[ FCA-ERROR ] > ') + chalk.red(str));
47
+ console.log(gradient('orange', 'yellow')('[ FCA-ERROR ] > ') + chalk.red(str));
48
48
  if (getType(callback) == 'Function' || getType(callback) == 'AsyncFunction') {
49
49
  callback();
50
50
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fca-project-orion",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {