@mywebapi.com/sdk 0.1.1 → 0.1.2

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 +21 -3
  2. package/package.json +18 -12
package/README.md CHANGED
@@ -1,8 +1,8 @@
1
1
  # @mywebapi.com/sdk
2
2
 
3
- TypeScript client for the SaaS WebAPI v2 (MT4/MT5 trading platform management).
3
+ TypeScript client for the CPlugin WebAPI v2 — a management API for trading-platform servers.
4
4
 
5
- **Status:** Develop-only (not yet published). API shape is stable; package will be released to the private npm registry once the v2 API reaches production maturity.
5
+ **Status:** Published on the public npm registry as [`@mywebapi.com/sdk`](https://www.npmjs.com/package/@mywebapi.com/sdk) (early access, current version `0.1.2`). The API shape is stable; while the package is at `0.x`, minor releases may introduce breaking changes, so pin a version in production. Versioning follows [semver](https://semver.org/).
6
6
 
7
7
  - **Auto-generated types** from the live OpenAPI spec — all endpoints, DTOs, and enums are exact and stay in sync with the server.
8
8
  - **Unified entry point** — `CPluginWebApiClient` with `mt4` and `mt5` namespaces; credentials and token management configured once at instantiation.
@@ -245,7 +245,25 @@ MT4 hubs expose ticks, trades, margin-call, user and symbol streams; MT5 hubs ex
245
245
  ## What's next
246
246
 
247
247
  - Add typed convenience wrappers for every v2 endpoint as usage patterns crystallise.
248
- - Tag a release (`vX.Y.Z`) to publish `@mywebapi.com/sdk` to npm via the GitHub Actions workflow.
248
+ - Progress toward a stable `1.0.0` once the v2 API reaches production maturity.
249
+
250
+ New versions are cut by tagging a release (`vX.Y.Z`), which publishes `@mywebapi.com/sdk` to npm via the GitHub Actions workflow — see [PUBLISHING.md](./PUBLISHING.md).
251
+
252
+ ## Contributing
253
+
254
+ Contributions are welcome — see [CONTRIBUTING.md](./CONTRIBUTING.md) for the development setup, the generated-code workflow, and PR guidelines.
255
+
256
+ ## Security
257
+
258
+ To report a security vulnerability, please follow the responsible-disclosure process in [SECURITY.md](./SECURITY.md). Do not open public issues for security reports.
259
+
260
+ ## Trademarks
261
+
262
+ MetaTrader, MT4, MT5, and MetaQuotes are trademarks or registered trademarks of MetaQuotes Ltd.
263
+ This project is an independent, community-oriented SDK for the WebAPI service.
264
+ It is **not affiliated with, endorsed by, or sponsored by MetaQuotes Ltd.**
265
+
266
+ All other trademarks are the property of their respective owners.
249
267
 
250
268
  ## License
251
269
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@mywebapi.com/sdk",
3
- "version": "0.1.1",
3
+ "version": "0.1.2",
4
4
  "license": "MIT",
5
- "description": "Typed TypeScript SDK for the CPlugin WebAPI v2 — manage MT4 and MT5 servers from Node.js and browsers. OAuth2, retries, pagination and SignalR real-time included; types regenerated from the OpenAPI spec so they never drift.",
5
+ "description": "Typed TypeScript SDK for the CPlugin WebAPI v2 — manage trading-platform servers from Node.js and browsers. OAuth2, retries, pagination and SignalR real-time included; types regenerated from the OpenAPI spec so they never drift.",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "types": "./dist/index.d.ts",
@@ -12,7 +12,11 @@
12
12
  "types": "./dist/index.d.ts"
13
13
  }
14
14
  },
15
- "files": ["dist", "README.md", "LICENSE"],
15
+ "files": [
16
+ "dist",
17
+ "README.md",
18
+ "LICENSE"
19
+ ],
16
20
  "publishConfig": {
17
21
  "access": "public"
18
22
  },
@@ -22,20 +26,20 @@
22
26
  },
23
27
  "homepage": "https://cplugin.github.io/mywebapi.com-sdk-js/",
24
28
  "keywords": [
25
- "mt4",
26
- "mt5",
27
- "metatrader",
28
- "forex",
29
- "trading",
30
- "broker",
31
29
  "cplugin",
32
30
  "webapi",
33
- "typescript",
31
+ "trading",
32
+ "trading-platform",
33
+ "broker",
34
+ "forex",
34
35
  "sdk",
36
+ "typescript",
37
+ "api-client",
38
+ "rest-api",
39
+ "openapi",
35
40
  "signalr",
36
41
  "real-time",
37
- "rest-api",
38
- "openapi"
42
+ "oauth2"
39
43
  ],
40
44
  "bugs": {
41
45
  "url": "https://github.com/CPlugin/mywebapi.com-sdk-js/issues"
@@ -45,6 +49,7 @@
45
49
  "build": "rm -rf dist && bun build src/index.ts --outdir dist --target browser --format esm && tsc -p tsconfig.build.json --emitDeclarationOnly --declaration",
46
50
  "test": "bun test",
47
51
  "test:e2e": "WEBAPI_E2E=1 bun test e2e",
52
+ "docs": "typedoc",
48
53
  "typecheck": "tsc --noEmit"
49
54
  },
50
55
  "peerDependencies": {
@@ -59,6 +64,7 @@
59
64
  "@microsoft/signalr": "^10.0.0",
60
65
  "@types/bun": "latest",
61
66
  "orval": "8.19.0",
67
+ "typedoc": "^0.28.19",
62
68
  "typescript": "^5.4.0"
63
69
  },
64
70
  "engines": {