@@ -264,24 +264,28 @@ import {
264264} from './environments'
265265const WebSocket = require ( 'websocket' ) . w3cwebsocket
266266
267+ /** @internal */
267268const BLOCKCHAIN_TO_BIP44 = {
268269 [ Blockchain . ETH ] : BIP44 . ETH ,
269270 [ Blockchain . BTC ] : BIP44 . BTC ,
270271 [ Blockchain . NEO ] : BIP44 . NEO
271272}
272273
274+ /** @internal */
273275const ORDERS_REMAINING_TO_AUTOSYNC_AT = 20
276+ /** @internal */
274277const NEP5_OLD_ASSETS = [ 'nos' , 'phx' , 'guard' , 'lx' , 'ava' ]
278+
279+ /** @internal */
275280export const MISSING_NONCES = 'missing_asset_nonces'
281+ /** @internal */
276282export const MAX_ORDERS_REACHED = 'Maximal number of orders have been reached'
283+ /** @internal */
277284export const MAX_SIGN_STATE_RECURSION = 5
278285
279286export class Client {
280- public perfClient : PerfClient
281287 private connection : NashSocketEvents
282288 private mode : ClientMode = ClientMode . NONE
283- public ethVaultContract : Contract
284- public apiKey : APIKey
285289 private maxEthCostPrTransaction : BigNumber
286290 private opts : EnvironmentConfig
287291 private clientOpts : ClientOptions
@@ -309,15 +313,26 @@ export class Client {
309313 private gql : GQL
310314 private web3 : Web3
311315 private authorization : string
312- public marketData : { [ key : string ] : Market }
313- public nashProtocolMarketData : ReturnType < typeof mapMarketsForNashProtocol >
314316 private walletIndices : { [ key : string ] : number }
315- public assetData : { [ key : string ] : AssetData }
316317
317318 private tradedAssets : string [ ] = [ ]
318319 private assetNonces : { [ key : string ] : number [ ] }
319320 private currentOrderNonce : number
320321 private signStateInProgress : boolean
322+
323+ /** @internal */
324+ public perfClient : PerfClient
325+ /** @internal */
326+ public apiKey : APIKey
327+ /** @internal */
328+ public ethVaultContract : Contract
329+ /** @internal */
330+ public marketData : { [ key : string ] : Market }
331+ /** @internal */
332+ public nashProtocolMarketData : ReturnType < typeof mapMarketsForNashProtocol >
333+ /** @internal */
334+ public assetData : { [ key : string ] : AssetData }
335+
321336 /**
322337 * Create a new instance of [[Client]]
323338 *
0 commit comments