notherbase-fs 4.1.3 → 4.1.4

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/notherbase-fs.js CHANGED
@@ -36,7 +36,8 @@ class NotherBaseFS {
36
36
  this.app.use(express.json({
37
37
  extended: true,
38
38
  inflate: true,
39
- type: 'application/x-www-form-urlencoded'
39
+ type: 'application/x-www-form-urlencoded',
40
+ limit: '50mb'
40
41
  }));
41
42
 
42
43
  //be safe, needs to be before session
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "notherbase-fs",
3
- "version": "4.1.3",
3
+ "version": "4.1.4",
4
4
  "description": "Functions to help make developing for NotherBase easier.",
5
5
  "exports": "./notherbase-fs.js",
6
6
  "scripts": {
@@ -99,12 +99,12 @@
99
99
  let test = new Test();
100
100
 
101
101
  let downloadData = async () => {
102
- let res = base.downloadData();
102
+ let res = await base.downloadData();
103
103
  console.log(res.message);
104
104
  }
105
105
 
106
106
  let deleteData = async () => {
107
- let res = base.deleteData($('#password').val());
107
+ let res = await base.deleteData($('#password').val());
108
108
  console.log(res.message);
109
109
  }
110
110