skapi-js 1.0.4 → 1.0.6

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/js/main/skapi.js CHANGED
@@ -22,7 +22,7 @@ export default class Skapi {
22
22
  set user(value) {
23
23
  }
24
24
  constructor(service, owner, options) {
25
- this.version = '1.0.4';
25
+ this.version = '1.0.6';
26
26
  this.session = null;
27
27
  this.connection = null;
28
28
  this.host = 'skapi';
@@ -711,7 +711,7 @@ export async function postRecord(form, config) {
711
711
  if (typeof i === 'string') {
712
712
  arr.push(i);
713
713
  }
714
- else if (i.url && i.size && i.filename && typeof i.getFile === 'function') {
714
+ else if (i.url && i.size && i.filename) {
715
715
  arr.push(i.url);
716
716
  }
717
717
  else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skapi-js",
3
- "version": "1.0.4",
3
+ "version": "1.0.6",
4
4
  "description": "Javascript library for Skapi: Complete JAM Stack, front-end driven serverless backend API service.",
5
5
  "main": "./dist/skapi.module.js",
6
6
  "types": "./js/Main.d.ts",