molly-db 1.0.15 → 1.0.16

Sign up to get free protection for your applications and to get access to all the features.
@@ -24,8 +24,6 @@ function bodyParser( _data ){
24
24
  const date = Date.now(); _data = JSON.parse(_data);
25
25
  const result = _data.length ? _data : [_data];
26
26
 
27
- console.log( _data, typeof _data, _data.length, result );
28
-
29
27
  return result.map(x=>{ if( !x?.hash )
30
28
  x.hash = crypto.hash( date,Math.random() );
31
29
  return JSON.stringify(x);
@@ -381,4 +379,4 @@ async function save( _params ){
381
379
  } catch(e) { error(e?.message||e); }
382
380
  })();
383
381
 
384
- /* --------------------------------------------------------------------------------------- */
382
+ /* --------------------------------------------------------------------------------------- */
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "license": "MIT",
3
3
  "main": "main.js",
4
- "version": "1.0.15",
4
+ "version": "1.0.16",
5
5
  "name": "molly-db",
6
6
  "author": "bececrazy",
7
7
  "scripts": {