Repository navigation
Releases: FXapis/fxapis-typescript
Releases · FXapis/fxapis-typescript
Release list
v0.3.0
- Added the copy trading client: strategies, subscriptions (create, change, pause, reset, delete), executions with filters and page cursors, links, and status.
- Copy trading is set up but copying starts after scheduled maintenance; until then calls that start copying answer 503 COPY_TRADING_PAUSED.
v0.2.1
- getAccountsByIdFigures: balance, equity, margin, free margin, margin level, credit and profit (fresh: true reads the terminal live)
- getAccountsByIdQuotes: live bid/ask from the account's own broker for up to 20 symbols or instruments, with time, brokerTime, ageMs, marketOpen, stale and tradeMode
v0.2.0
- Breaking: API-key management moves to fx.admin.keys (list, create, get, update, revoke) and needs an admin key (fx_admin_…) made by the workspace owner in the console. Replaces getApikeys, postApikeys, getApikeysById, patchApikeysById and postApikeysByIdRevoke.
- Breaking: the member and invitation methods are removed (getMembers, patchMembersById, postMembersByIdRemove, getMembersInvitations, postMembersInvitations, postMembersInvitationsByIdRevoke, postMembersInvitationsByIdResend). The API never accepted API keys for them; manage your team in the console.
- An ordinary key used on an admin method gets 403 ADMIN_KEY_REQUIRED as a typed FxapisError.
v0.1.5
- getEvents / getEventsById: catch up on webhook events after downtime
- postWebhooksByIdReplay: re-send what an endpoint missed (failed only by default)
- Delivery logs: paged deliveries with the request and response, and an attempt detail method
v0.1.4
- Webhooks: methods for the /v1/webhooks endpoints — list, create, read, update, enable, disable, rotate the secret, send a test event, delete, read deliveries and redeliver.
- verifyWebhook(rawBody, signatureHeader, secret) checks a delivery's fxapis-signature header and returns the event; it throws WebhookVerificationError when the signature is missing, malformed, too old or does not match. Runs on Web Crypto: Node 18+, Deno, Bun, edge runtimes and browsers.
v0.1.3
- The changes of 0.1.2, which never reached npm: GATEWAY_ERROR for a proxy's non-JSON error page, FxapisError.retryAfter, and retryable for every documented transient code.
- The release workflow publishes the tested build as-is.
v0.1.2
Not published to npm. The release workflow failed before publishing (it tried to rebuild the package from an artifact that holds only the build). The same changes are in v0.1.3.
v0.1.1 — on npm
The first release on npm:
npm install fxapisSame client as v0.1.0 — one typed method per endpoint, zero runtime dependencies, ESM, typed errors. From here on, releases are staged on npm by this repository's release workflow (Trusted Publishing, with provenance) and go live once a maintainer approves them with 2FA.
v0.1.0
Initial public release of the TypeScript/Node.js client: one generated method per fxapis endpoint, typed errors, idempotency helpers, zero runtime dependencies.