@stxapp/stx-typescript 0.7.0 → 0.8.1
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/CHANGELOG.md +11 -0
- package/dist/{chunk-CDXZOW53.js → chunk-GLUTQFBV.js} +591 -6
- package/dist/chunk-GLUTQFBV.js.map +1 -0
- package/dist/{chunk-ASOLCDBG.cjs → chunk-VLNOUSFW.cjs} +595 -10
- package/dist/chunk-VLNOUSFW.cjs.map +1 -0
- package/dist/{client-CA1d-osT.d.cts → client-CRccD5B2.d.cts} +1000 -109
- package/dist/{client-CA1d-osT.d.ts → client-CRccD5B2.d.ts} +1000 -109
- package/dist/index.cjs +18 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +17 -1
- package/dist/oauth.cjs +21 -19
- package/dist/oauth.cjs.map +1 -1
- package/dist/oauth.d.cts +8 -4
- package/dist/oauth.d.ts +8 -4
- package/dist/oauth.js +5 -3
- package/dist/oauth.js.map +1 -1
- package/package.json +1 -1
- package/dist/chunk-ASOLCDBG.cjs.map +0 -1
- package/dist/chunk-CDXZOW53.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.8.1 (2026-10-12)
|
|
4
|
+
|
|
5
|
+
- Combos (preview: available on US demo; may change before general availability). `ws.comboPlayer()` requests quotes on a combination, cashes one out, accepts, cancels and reads a request; `ws.comboMaker()` receives requests, quotes and withdraws quotes. Events and replies are typed (`ComboPlayerEvent`, `ComboMakerEvent` and the reply types), with `waitFor()`, `next()` and `for await`.
|
|
6
|
+
- `STXCombosUnavailableException` when an environment does not offer combos, `STXComboRefusedException` with the exchange's reason in `code` (and `detail` for `player_refused`), and `STXComboPriceMovedException` with the live best quote.
|
|
7
|
+
|
|
8
|
+
## 0.8.0 (2026-10-06)
|
|
9
|
+
|
|
10
|
+
- Create player-prop markets as an app with the `markets.write` scope: `eventPlayers()`, `statsFor()` and `createMarkets()`, with `Stats` constants by sport and an opt-in `validate` check. Lines must be positive and end in `.5`; up to 25 markets per call.
|
|
11
|
+
- `AppScopes.MARKETS_WRITE`.
|
|
12
|
+
- Request and response types follow the current exchange REST spec.
|
|
13
|
+
|
|
3
14
|
## 0.7.0 (2026-10-03)
|
|
4
15
|
|
|
5
16
|
- `balance()`, `positions()` and `placeOrders()` call `GET /api/v1/account/balance`, `GET /api/v1/positions` and `POST /api/v1/orders/batched` directly. They require exchange v3.3.172 or later, which every STX environment runs. On an older exchange they now throw `STXNotFoundException` instead of reading the channel snapshots or placing orders one at a time.
|