strategy-tools 1.0.2 → 1.0.3

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.
@@ -4,8 +4,8 @@ export interface CetusStrategy {
4
4
  settings: any;
5
5
  memory: any;
6
6
  account: string;
7
- pair: string;
8
7
  intermediary: string;
8
+ pair: CetusPair;
9
9
  status: StrategyStatus;
10
10
  }
11
11
  export declare enum StrategyStatus {
@@ -14,6 +14,9 @@ export declare enum StrategyStatus {
14
14
  SELL_ONLY = "SELL_ONLY",
15
15
  STOPPED = "STOPPED"
16
16
  }
17
+ export declare enum CetusPair {
18
+ USDCOP = "USDCOP"
19
+ }
17
20
  export interface StrategyRate {
18
21
  symbol: string;
19
22
  source: string;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.StrategyStatus = void 0;
3
+ exports.CetusPair = exports.StrategyStatus = void 0;
4
4
  var StrategyStatus;
5
5
  (function (StrategyStatus) {
6
6
  StrategyStatus["RUNNING"] = "RUNNING";
@@ -8,5 +8,9 @@ var StrategyStatus;
8
8
  StrategyStatus["SELL_ONLY"] = "SELL_ONLY";
9
9
  StrategyStatus["STOPPED"] = "STOPPED";
10
10
  })(StrategyStatus || (exports.StrategyStatus = StrategyStatus = {}));
11
+ var CetusPair;
12
+ (function (CetusPair) {
13
+ CetusPair["USDCOP"] = "USDCOP";
14
+ })(CetusPair || (exports.CetusPair = CetusPair = {}));
11
15
  ;
12
16
  //# sourceMappingURL=types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/cetus/types.ts"],"names":[],"mappings":";;;AAWA,IAAY,cAKX;AALD,WAAY,cAAc;IACtB,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,qCAAmB,CAAA;AACvB,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAcA,CAAC"}
1
+ {"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/cetus/types.ts"],"names":[],"mappings":";;;AAWA,IAAY,cAKX;AALD,WAAY,cAAc;IACtB,qCAAmB,CAAA;IACnB,uCAAqB,CAAA;IACrB,yCAAuB,CAAA;IACvB,qCAAmB,CAAA;AACvB,CAAC,EALW,cAAc,8BAAd,cAAc,QAKzB;AAED,IAAY,SAEX;AAFD,WAAY,SAAS;IACjB,8BAAiB,CAAA;AACrB,CAAC,EAFW,SAAS,yBAAT,SAAS,QAEpB;AAcA,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "strategy-tools",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Librería para el desarrollo de estrategias de Cetus",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -4,8 +4,8 @@ export interface CetusStrategy {
4
4
  settings: any;
5
5
  memory: any;
6
6
  account: string;
7
- pair: string;
8
7
  intermediary: string;
8
+ pair: CetusPair;
9
9
  status: StrategyStatus;
10
10
  }
11
11
 
@@ -16,6 +16,10 @@ export enum StrategyStatus {
16
16
  STOPPED = "STOPPED"
17
17
  }
18
18
 
19
+ export enum CetusPair {
20
+ USDCOP = "USDCOP"
21
+ }
22
+
19
23
  export interface StrategyRate {
20
24
  symbol: string;
21
25
  source: string;