Skip to content

Releases: FXapis/fxapis-typescript

v0.3.0

Choose a tag to compare

@elwizard33 elwizard33 released this 17 Oct 00:55
  • 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

Choose a tag to compare

@elwizard33 elwizard33 released this 16 Oct 03:19
  • 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

Choose a tag to compare

@elwizard33 elwizard33 released this 15 Oct 19:56
  • 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

Choose a tag to compare

@elwizard33 elwizard33 released this 15 Oct 04:37
  • 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

Choose a tag to compare

@elwizard33 elwizard33 released this 12 Oct 04:10
  • 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

Choose a tag to compare

@elwizard33 elwizard33 released this 08 Oct 17:42
  • 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

Choose a tag to compare

@elwizard33 elwizard33 released this 08 Oct 17:40

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

Choose a tag to compare

@elwizard33 elwizard33 released this 08 Oct 17:13

The first release on npm:

npm install fxapis

Same 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

Choose a tag to compare

@elwizard33 elwizard33 released this 07 Oct 22:30

Initial public release of the TypeScript/Node.js client: one generated method per fxapis endpoint, typed errors, idempotency helpers, zero runtime dependencies.