@progalaxyelabs/ngx-stonescriptphp-client 1.8.2 → 1.9.0

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/index.d.ts CHANGED
@@ -47,9 +47,11 @@ declare class SigninStatusService {
47
47
  }
48
48
 
49
49
  declare class ApiResponse<DataType> {
50
- private status;
51
- private data;
52
- private message;
50
+ readonly status: string;
51
+ readonly data: DataType | null;
52
+ readonly message: string;
53
+ get success(): boolean;
54
+ get errors(): string[];
53
55
  constructor(status: string, data?: any, message?: string);
54
56
  onOk(callback: (data: DataType) => void): ApiResponse<DataType>;
55
57
  onNotOk(callback: (message: string, data: DataType) => void): ApiResponse<DataType>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progalaxyelabs/ngx-stonescriptphp-client",
3
- "version": "1.8.2",
3
+ "version": "1.9.0",
4
4
  "description": "Angular client library for StoneScriptPHP backend framework",
5
5
  "keywords": [
6
6
  "angular",