@axis-markets/client 0.8.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/README.md +658 -658
- package/lib/axis-client.cjs +1 -1
- package/lib/axis-client.cjs.map +1 -1
- package/package.json +1 -1
- package/src/axis-account.js +2 -2
- package/src/index.d.ts +1626 -1626
- package/src/index.js +717 -717
package/package.json
CHANGED
package/src/axis-account.js
CHANGED
|
@@ -4,8 +4,8 @@ import {parseApiDate} from './api-dates.js'
|
|
|
4
4
|
import {planApproval, maxQuoteSpend} from './allowance.js'
|
|
5
5
|
import {OrderKind, TradeDirection} from './constants.js'
|
|
6
6
|
|
|
7
|
-
/** Orders per `update` transaction
|
|
8
|
-
const UPDATE_BATCH =
|
|
7
|
+
/** Orders per `update` transaction */
|
|
8
|
+
const UPDATE_BATCH = 90
|
|
9
9
|
/** Time to wait for the account state before trading, in milliseconds */
|
|
10
10
|
const READY_TIMEOUT = 15_000
|
|
11
11
|
/** How long an order created by this client counts as committed before the indexer reports it, in milliseconds */
|