skapi-js 0.2.1 → 0.2.2

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_id, owner, options) {
25
- this.version = '0.2.1';
25
+ this.version = '0.2.2';
26
26
  this.__disabledAccount = null;
27
27
  this.__cached_requests = {};
28
28
  this.__startKeyHistory = {};
@@ -669,7 +669,7 @@ export async function getUsers(params, fetchOptions) {
669
669
  return 'by_admin:approved';
670
670
  }
671
671
  else {
672
- return 'by_admin:approved';
672
+ return 'by_admin:suspended';
673
673
  }
674
674
  }
675
675
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "skapi-js",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
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",