cetus-tools 1.0.5 → 1.0.6

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/README.md CHANGED
@@ -1,2 +1,2 @@
1
- # cetus-tools
2
- Librería para elementos comunes de CETUS
1
+ # cetus-tools
2
+ Librería para elementos comunes de CETUS
@@ -18,7 +18,7 @@ export interface IBitsoOrderDetails {
18
18
  original_value: number;
19
19
  price?: number;
20
20
  side: 'buy' | 'sell';
21
- status: 'queued' | 'open' | 'partially' | 'filled' | 'cancelled' | 'completed';
21
+ status: 'queued' | 'open' | 'partially' | 'filled' | 'cancelled' | 'completed' | 'partially filled';
22
22
  stop?: number;
23
23
  time_in_force: 'goodtillcancelled' | 'fillorkill' | 'immediateorcancel' | 'postonly';
24
24
  triggered_at?: string;
@@ -29,14 +29,14 @@ export interface IBitsoOrderDetails {
29
29
  export declare function parseBitsoOrderDetailsArray(response: {
30
30
  [key: string]: string;
31
31
  side: 'buy' | 'sell';
32
- status: 'queued' | 'open' | 'partially' | 'filled' | 'cancelled' | 'completed';
32
+ status: 'queued' | 'open' | 'partially' | 'filled' | 'cancelled' | 'completed' | 'partially filled';
33
33
  time_in_force: 'goodtillcancelled' | 'fillorkill' | 'immediateorcancel' | 'postonly';
34
34
  type: 'market' | 'limit';
35
35
  }[]): IBitsoOrderDetails[];
36
36
  export declare function parseBitsoOrderDetails(response: {
37
37
  [key: string]: string;
38
38
  side: 'buy' | 'sell';
39
- status: 'queued' | 'open' | 'partially' | 'filled' | 'cancelled' | 'completed';
39
+ status: 'queued' | 'open' | 'partially' | 'filled' | 'cancelled' | 'completed' | 'partially filled';
40
40
  time_in_force: 'goodtillcancelled' | 'fillorkill' | 'immediateorcancel' | 'postonly';
41
41
  type: 'market' | 'limit';
42
42
  }): IBitsoOrderDetails;
package/package.json CHANGED
@@ -1,52 +1,52 @@
1
- {
2
- "name": "cetus-tools",
3
- "version": "1.0.5",
4
- "description": "Librería para elementos comunes de CETUS",
5
- "main": "dist/index.js",
6
- "types": "dist/index.d.ts",
7
- "files": [
8
- "/dist"
9
- ],
10
- "scripts": {
11
- "build": "rimraf ./dist && tsc --skipLibCheck",
12
- "publish-lib": "npm run build && npm publish",
13
- "publish-beta": "npm run build && npm publish --tag beta",
14
- "publish-dryrun": "npm run build && npm publish --dry-run",
15
- "link": "npm run build && npm link",
16
- "test": "npm run build && jest --runInBand --detectOpenHandles",
17
- "test-watch": "npm run build && jest --watch --runInBand --detectOpenHandles",
18
- "test-silent": "npm run build && jest --runInBand --detectOpenHandles --silent",
19
- "test-coverage": "npm run build && jest --runInBand --detectOpenHandles --silent --coverage"
20
- },
21
- "repository": {
22
- "type": "git",
23
- "url": "git+https://github.com/ITRMachines/cetus-tools.git"
24
- },
25
- "keywords": [],
26
- "bugs": {
27
- "url": "https://github.com/ITRMachines/cetus-tools/issues"
28
- },
29
- "homepage": "https://github.com/ITRMachines/cetus-tools#readme",
30
- "author": "",
31
- "license": "ISC",
32
- "devDependencies": {
33
- "@types/crypto-js": "^4.2.1",
34
- "@types/jest": "^29.5.6",
35
- "@types/morgan": "^1.9.7",
36
- "@types/node": "^20.8.7",
37
- "jest": "^29.7.0",
38
- "rimraf": "^5.0.5",
39
- "ts-jest": "^29.1.1",
40
- "typescript": "^5.2.2"
41
- },
42
- "dependencies": {
43
- "axios": "^1.5.1",
44
- "crypto-js": "^4.2.0",
45
- "dotenv": "^16.3.1",
46
- "itrm-tools": "^1.0.49",
47
- "morgan": "^1.10.0"
48
- },
49
- "optionalDependencies": {
50
- "axios-mock-adapter": "^1.22.0"
51
- }
52
- }
1
+ {
2
+ "name": "cetus-tools",
3
+ "version": "1.0.6",
4
+ "description": "Librería para elementos comunes de CETUS",
5
+ "main": "dist/index.js",
6
+ "types": "dist/index.d.ts",
7
+ "files": [
8
+ "/dist"
9
+ ],
10
+ "scripts": {
11
+ "build": "rimraf ./dist && tsc --skipLibCheck",
12
+ "publish-lib": "npm run build && npm publish",
13
+ "publish-beta": "npm run build && npm publish --tag beta",
14
+ "publish-dryrun": "npm run build && npm publish --dry-run",
15
+ "link": "npm run build && npm link",
16
+ "test": "npm run build && jest --runInBand --detectOpenHandles",
17
+ "test-watch": "npm run build && jest --watch --runInBand --detectOpenHandles",
18
+ "test-silent": "npm run build && jest --runInBand --detectOpenHandles --silent",
19
+ "test-coverage": "npm run build && jest --runInBand --detectOpenHandles --silent --coverage"
20
+ },
21
+ "repository": {
22
+ "type": "git",
23
+ "url": "git+https://github.com/ITRMachines/cetus-tools.git"
24
+ },
25
+ "keywords": [],
26
+ "bugs": {
27
+ "url": "https://github.com/ITRMachines/cetus-tools/issues"
28
+ },
29
+ "homepage": "https://github.com/ITRMachines/cetus-tools#readme",
30
+ "author": "",
31
+ "license": "ISC",
32
+ "devDependencies": {
33
+ "@types/crypto-js": "^4.2.1",
34
+ "@types/jest": "^29.5.6",
35
+ "@types/morgan": "^1.9.7",
36
+ "@types/node": "^20.8.7",
37
+ "jest": "^29.7.0",
38
+ "rimraf": "^5.0.5",
39
+ "ts-jest": "^29.1.1",
40
+ "typescript": "^5.2.2"
41
+ },
42
+ "dependencies": {
43
+ "axios": "^1.5.1",
44
+ "crypto-js": "^4.2.0",
45
+ "dotenv": "^16.3.1",
46
+ "itrm-tools": "^1.0.49",
47
+ "morgan": "^1.10.0"
48
+ },
49
+ "optionalDependencies": {
50
+ "axios-mock-adapter": "^1.22.0"
51
+ }
52
+ }