beanbagdb 0.5.71 → 0.5.72

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "beanbagdb",
3
- "version": "0.5.71",
3
+ "version": "0.5.72",
4
4
  "description": "A JS library to introduce a schema layer to a No-SQL local database",
5
5
  "main": "src/index.js",
6
6
  "module": "src/index.js",
package/src/index.js CHANGED
@@ -277,7 +277,7 @@ export class BeanBagDB {
277
277
  }
278
278
 
279
279
  try {
280
- let new_log_doc = this._get_blank_doc("system_log")
280
+ let new_log_doc = this._get_blank_doc("system_setting")
281
281
  new_log_doc.data = {text,data:{steps},time:this.util_get_now_unix_timestamp(),app:app_data.meta.name}
282
282
  await this.db_api.insert(new_log_doc);
283
283
  console.log("init logged")
@@ -109,7 +109,7 @@ export const default_app = {
109
109
  },
110
110
  {
111
111
  system_generated:true,
112
- version:0.60,
112
+ version:0.61,
113
113
  description:"To store user defined key. this can include anything like API tokens etc. There is a special method to fetch this. The values are encrypted",
114
114
  name: "system_key",
115
115
  schema: {