@xoxno/types 1.0.148 → 1.0.149

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.
@@ -1,9 +1,9 @@
1
1
  import { ExchangeSource, OracleType, PricingMethod } from '../../../enums/lending.enum';
2
2
  export declare class OraclePriceFluctuation {
3
- firstUpperRatio: string;
4
- firstLowerRatio: string;
5
- lastUpperRatio: string;
6
- lastLowerRatio: string;
3
+ firstUpperRatio: number;
4
+ firstLowerRatio: number;
5
+ lastUpperRatio: number;
6
+ lastLowerRatio: number;
7
7
  constructor(init?: Partial<OraclePriceFluctuation>);
8
8
  }
9
9
  export declare class LendingOracleUpdateStruct {
@@ -20,31 +20,31 @@ class OraclePriceFluctuation {
20
20
  exports.OraclePriceFluctuation = OraclePriceFluctuation;
21
21
  __decorate([
22
22
  (0, swagger_1.ApiProperty)({
23
- type: String,
23
+ type: 'integer',
24
24
  description: 'First upper ratio threshold for price fluctuation',
25
25
  }),
26
- __metadata("design:type", String)
26
+ __metadata("design:type", Number)
27
27
  ], OraclePriceFluctuation.prototype, "firstUpperRatio", void 0);
28
28
  __decorate([
29
29
  (0, swagger_1.ApiProperty)({
30
- type: String,
30
+ type: 'integer',
31
31
  description: 'First lower ratio threshold for price fluctuation',
32
32
  }),
33
- __metadata("design:type", String)
33
+ __metadata("design:type", Number)
34
34
  ], OraclePriceFluctuation.prototype, "firstLowerRatio", void 0);
35
35
  __decorate([
36
36
  (0, swagger_1.ApiProperty)({
37
- type: String,
37
+ type: 'integer',
38
38
  description: 'Last upper ratio threshold for price fluctuation',
39
39
  }),
40
- __metadata("design:type", String)
40
+ __metadata("design:type", Number)
41
41
  ], OraclePriceFluctuation.prototype, "lastUpperRatio", void 0);
42
42
  __decorate([
43
43
  (0, swagger_1.ApiProperty)({
44
- type: String,
44
+ type: 'integer',
45
45
  description: 'Last lower ratio threshold for price fluctuation',
46
46
  }),
47
- __metadata("design:type", String)
47
+ __metadata("design:type", Number)
48
48
  ], OraclePriceFluctuation.prototype, "lastLowerRatio", void 0);
49
49
  class LendingOracleUpdateStruct {
50
50
  constructor(init) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.148",
3
+ "version": "1.0.149",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {