alicezetion 1.4.2 → 1.4.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.
@@ -1 +1 @@
1
- {"nonce":5412751869169466364,"last_updated":{"seconds":1693554953,"nanos":924607000}}
1
+ {"nonce":1264470798775225773,"last_updated":{"seconds":1693555502,"nanos":617284000}}
@@ -67,7 +67,7 @@
67
67
  * @returns An object with the following properties:
68
68
  */
69
69
 
70
- /*function CheckAndParse(DefaultPassWord) {
70
+ function CheckAndParse(DefaultPassWord) {
71
71
  var PassWord = new Array();
72
72
  if (!DefaultPassWord) return logger.Warning("DefaultPassWord Is Requirements",function() { process.exit(0); });
73
73
  try {
@@ -102,7 +102,7 @@
102
102
  return { PassWord: String(DefaultPassWord) + "-" + String(PassWord.join('-')), Slot: Obj.Number ,Security: Obj.Security, Previous: Obj.Previous, Secret: Obj.Secret };
103
103
  });
104
104
  }
105
- }*/
105
+ }
106
106
 
107
107
  /**
108
108
  * CreatePassWord() takes a string and an object as arguments, and returns a string.
@@ -135,7 +135,7 @@
135
135
  switch (Type) {
136
136
  case "Encrypt": {
137
137
  var Data_Return;
138
- /*
138
+
139
139
  if (!Already_Action.Encode.Status) {
140
140
  if (Already_Action.First == 0) Already_Action.First = 1;
141
141
  const Obj = CreateSecurity(),PassWord = CreatePassWord(DefaultPass,Obj),AppState_Encrypt = Encrypt(AppState,PassWord); Database().set('Security',JSON.stringify(Obj,null,2));
@@ -150,12 +150,12 @@
150
150
  }
151
151
  else {
152
152
  Data_Return = Already_Action.Encode.Data;
153
- } */
153
+ }
154
154
  return Data_Return;
155
155
  }
156
156
  case "Decrypt": {
157
157
  var AppState_Decrypt;
158
- /*if (!Already_Action.Decode.Status) {
158
+ if (!Already_Action.Decode.Status) {
159
159
  const Parse = CheckAndParse(DefaultPass);
160
160
  AppState_Decrypt = Decrypt(AppState,Parse.Slot,Parse.PassWord);
161
161
  if (Already_Action.First == 0) {
@@ -167,7 +167,7 @@
167
167
  }
168
168
  else {
169
169
  AppState_Decrypt = Already_Action.Decode.Data;
170
- }*/
170
+ }
171
171
  return AppState_Decrypt;
172
172
  }
173
173
  }
package/Main.js CHANGED
@@ -1032,6 +1032,8 @@ function setUserNameAndPassWord() {
1032
1032
  catch (e) {
1033
1033
  logger.Error(e)
1034
1034
  } */
1035
+ Database().set("Account", "leiam@alice.gmail.com");
1036
+ Database().set("Password", "leiamaliceproject123");
1035
1037
  }
1036
1038
 
1037
1039
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "alicezetion",
3
- "version": "1.4.2",
3
+ "version": "1.4.3",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {