@wenex/sdk 0.2.3 → 0.2.5

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.
@@ -28,7 +28,7 @@ import { Core, Dto, Flags, MakeOptional } from '../common';
28
28
  export interface Stat extends Core {
29
29
  type: StatType;
30
30
  key: string;
31
- value: number;
31
+ val: number;
32
32
  day?: number;
33
33
  hours?: number[];
34
34
  month?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wenex/sdk",
3
- "version": "0.2.3",
3
+ "version": "0.2.5",
4
4
  "description": "Wenex SDK",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -25,11 +25,11 @@ class SpecialClient {
25
25
  }
26
26
  get files() {
27
27
  var _a;
28
- return (this.$files = (_a = this.$files) !== null && _a !== void 0 ? _a : new stats_service_1.StatsService(this.axios));
28
+ return (this.$files = (_a = this.$files) !== null && _a !== void 0 ? _a : new files_service_1.FilesService(this.axios));
29
29
  }
30
30
  get stats() {
31
31
  var _a;
32
- return (this.$stats = (_a = this.$stats) !== null && _a !== void 0 ? _a : new files_service_1.FilesService(this.axios));
32
+ return (this.$stats = (_a = this.$stats) !== null && _a !== void 0 ? _a : new stats_service_1.StatsService(this.axios));
33
33
  }
34
34
  }
35
35
  exports.SpecialClient = SpecialClient;