carbon-js-sdk 0.10.0 → 0.10.1

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.
@@ -114,7 +114,7 @@ class InsightsQueryClient {
114
114
  }
115
115
  TotalUsers(req = {}) {
116
116
  return __awaiter(this, void 0, void 0, function* () {
117
- const request = this.apiManager.path("user/total", req, {});
117
+ const request = this.apiManager.path("user/total", {}, req);
118
118
  const response = yield request.get();
119
119
  return response.data;
120
120
  });
@@ -97,7 +97,7 @@ export interface QueryPerpPool7DaysAPY extends QueryByPageRequest {
97
97
  export interface PerpPool7DaysAPYEntry {
98
98
  latestPrice: number;
99
99
  previousPrice: number;
100
- last7DaysAPY: number;
100
+ apy: number;
101
101
  from: string;
102
102
  to: string;
103
103
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "carbon-js-sdk",
3
- "version": "0.10.0",
3
+ "version": "0.10.1",
4
4
  "description": "TypeScript SDK for Carbon blockchain",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",