@danielgroen/dxtrade-api 1.0.15 → 1.0.17

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.
Files changed (2) hide show
  1. package/README.md +1 -0
  2. package/package.json +5 -3
package/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![npm version](https://img.shields.io/npm/v/@danielgroen/dxtrade-api)](https://www.npmjs.com/package/@danielgroen/dxtrade-api)
4
4
  [![npm downloads](https://img.shields.io/npm/dm/@danielgroen/dxtrade-api)](https://www.npmjs.com/package/@danielgroen/dxtrade-api)
5
5
  [![license](https://img.shields.io/npm/l/@danielgroen/dxtrade-api)](LICENSE)
6
+ [![Tests](https://github.com/danielgroen/dxtrade-api/actions/workflows/tests.yml/badge.svg)](https://github.com/danielgroen/dxtrade-api/actions/workflows/tests.yml)
6
7
  [![Publish to npm](https://github.com/danielgroen/dxtrade-api/actions/workflows/publish.yml/badge.svg)](https://github.com/danielgroen/dxtrade-api/actions/workflows/publish.yml)
7
8
 
8
9
  [![DXtrade API](https://raw.githubusercontent.com/danielgroen/dxtrade-api/master/public/logo-dxtrade.svg)](https://demo.dx.trade/developers/#/)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@danielgroen/dxtrade-api",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "DXtrade trading API client library",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -20,7 +20,8 @@
20
20
  "build": "tsup",
21
21
  "dev": "tsup --watch",
22
22
  "================ Tests ================": "",
23
- "test": "echo \"no test specified\";",
23
+ "test": "vitest run",
24
+ "test:watch": "vitest",
24
25
  "=============== Examples ===============": "",
25
26
  "example:debug": "tsx examples/debug.ts",
26
27
  "example:account": "tsx examples/account-metrics.ts",
@@ -60,7 +61,8 @@
60
61
  "prettier": "^3.8.1",
61
62
  "tsup": "^8.3.6",
62
63
  "tsx": "^4.19.2",
63
- "typescript": "^5.7.3"
64
+ "typescript": "^5.7.3",
65
+ "vitest": "^4.0.18"
64
66
  },
65
67
  "keywords": [
66
68
  "dxtrade",