@nadohq/client 0.1.0-alpha.51 → 0.1.0-alpha.52

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.
@@ -1,5 +1,6 @@
1
1
  import * as _nadohq_indexer_client from '@nadohq/indexer-client';
2
2
  import { GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerCandlesticksParams, GetIndexerEdgeCandlesticksParams, GetIndexerFundingRateParams, GetIndexerMultiProductFundingRatesParams, GetIndexerProductSnapshotsParams, GetIndexerMarketSnapshotsParams, GetIndexerEdgeMarketSnapshotsParams, GetIndexerMultiProductSnapshotsParams } from '@nadohq/indexer-client';
3
+ import * as bignumber_js from 'bignumber.js';
3
4
  import * as _nadohq_trigger_client from '@nadohq/trigger-client';
4
5
  import * as _nadohq_engine_client from '@nadohq/engine-client';
5
6
  import { GetEngineAllMarketsResponse, ValidateEngineOrderParams, GetEngineSubaccountOrdersParams, GetEngineSubaccountProductOrdersParams, GetEngineMaxOrderSizeParams, GetEngineMarketLiquidityParams, GetEngineMarketPriceParams, GetEngineMarketPricesParams } from '@nadohq/engine-client';
@@ -52,7 +53,7 @@ declare class MarketQueryAPI extends BaseNadoAPI {
52
53
  * Queries engine to determine maximum order size
53
54
  * @param params
54
55
  */
55
- getMaxOrderSize(params: GetEngineMaxOrderSizeParams): Promise<BigNumber>;
56
+ getMaxOrderSize(params: GetEngineMaxOrderSizeParams): Promise<bignumber_js.BigNumber>;
56
57
  /**
57
58
  * Retrieves liquidity per price tick from the engine. The engine will skip price levels that have no liquidity,
58
59
  * so it is not guaranteed that the bids/asks are evenly spaced
@@ -1,5 +1,6 @@
1
1
  import * as _nadohq_indexer_client from '@nadohq/indexer-client';
2
2
  import { GetIndexerOrdersParams, GetIndexerOrdersResponse, GetIndexerCandlesticksParams, GetIndexerEdgeCandlesticksParams, GetIndexerFundingRateParams, GetIndexerMultiProductFundingRatesParams, GetIndexerProductSnapshotsParams, GetIndexerMarketSnapshotsParams, GetIndexerEdgeMarketSnapshotsParams, GetIndexerMultiProductSnapshotsParams } from '@nadohq/indexer-client';
3
+ import * as bignumber_js from 'bignumber.js';
3
4
  import * as _nadohq_trigger_client from '@nadohq/trigger-client';
4
5
  import * as _nadohq_engine_client from '@nadohq/engine-client';
5
6
  import { GetEngineAllMarketsResponse, ValidateEngineOrderParams, GetEngineSubaccountOrdersParams, GetEngineSubaccountProductOrdersParams, GetEngineMaxOrderSizeParams, GetEngineMarketLiquidityParams, GetEngineMarketPriceParams, GetEngineMarketPricesParams } from '@nadohq/engine-client';
@@ -52,7 +53,7 @@ declare class MarketQueryAPI extends BaseNadoAPI {
52
53
  * Queries engine to determine maximum order size
53
54
  * @param params
54
55
  */
55
- getMaxOrderSize(params: GetEngineMaxOrderSizeParams): Promise<BigNumber>;
56
+ getMaxOrderSize(params: GetEngineMaxOrderSizeParams): Promise<bignumber_js.BigNumber>;
56
57
  /**
57
58
  * Retrieves liquidity per price tick from the engine. The engine will skip price levels that have no liquidity,
58
59
  * so it is not guaranteed that the bids/asks are evenly spaced
@@ -9,6 +9,7 @@ import '@nadohq/shared';
9
9
  import '../../context.cjs';
10
10
  import '@nadohq/indexer-client';
11
11
  import 'viem';
12
+ import 'bignumber.js';
12
13
  import '../types.cjs';
13
14
 
14
15
  declare const MarketAPI_base: ts_mixer_dist_types_types.Class<any[], MarketExecuteAPI & MarketQueryAPI, typeof MarketExecuteAPI & typeof MarketQueryAPI>;
@@ -9,6 +9,7 @@ import '@nadohq/shared';
9
9
  import '../../context.js';
10
10
  import '@nadohq/indexer-client';
11
11
  import 'viem';
12
+ import 'bignumber.js';
12
13
  import '../types.js';
13
14
 
14
15
  declare const MarketAPI_base: ts_mixer_dist_types_types.Class<any[], MarketExecuteAPI & MarketQueryAPI, typeof MarketExecuteAPI & typeof MarketQueryAPI>;
package/dist/client.d.cts CHANGED
@@ -14,6 +14,7 @@ import './apis/market/types.cjs';
14
14
  import './apis/types.cjs';
15
15
  import './apis/market/MarketQueryAPI.cjs';
16
16
  import '@nadohq/indexer-client';
17
+ import 'bignumber.js';
17
18
  import './apis/perp/PerpExecuteAPI.cjs';
18
19
  import './apis/perp/PerpQueryAPI.cjs';
19
20
  import './apis/spot/SpotExecuteAPI.cjs';
package/dist/client.d.ts CHANGED
@@ -14,6 +14,7 @@ import './apis/market/types.js';
14
14
  import './apis/types.js';
15
15
  import './apis/market/MarketQueryAPI.js';
16
16
  import '@nadohq/indexer-client';
17
+ import 'bignumber.js';
17
18
  import './apis/perp/PerpExecuteAPI.js';
18
19
  import './apis/perp/PerpQueryAPI.js';
19
20
  import './apis/spot/SpotExecuteAPI.js';
@@ -21,6 +21,7 @@ import 'ts-mixer/dist/types/types';
21
21
  import './apis/market/MarketExecuteAPI.cjs';
22
22
  import './apis/types.cjs';
23
23
  import './apis/market/MarketQueryAPI.cjs';
24
+ import 'bignumber.js';
24
25
  import './apis/perp/PerpExecuteAPI.cjs';
25
26
  import './apis/perp/PerpQueryAPI.cjs';
26
27
  import './apis/spot/SpotExecuteAPI.cjs';
@@ -21,6 +21,7 @@ import 'ts-mixer/dist/types/types';
21
21
  import './apis/market/MarketExecuteAPI.js';
22
22
  import './apis/types.js';
23
23
  import './apis/market/MarketQueryAPI.js';
24
+ import 'bignumber.js';
24
25
  import './apis/perp/PerpExecuteAPI.js';
25
26
  import './apis/perp/PerpQueryAPI.js';
26
27
  import './apis/spot/SpotExecuteAPI.js';
package/dist/index.d.cts CHANGED
@@ -22,6 +22,7 @@ import 'ts-mixer/dist/types/types';
22
22
  import './apis/market/MarketExecuteAPI.cjs';
23
23
  import './apis/types.cjs';
24
24
  import './apis/market/MarketQueryAPI.cjs';
25
+ import 'bignumber.js';
25
26
  import './apis/perp/PerpExecuteAPI.cjs';
26
27
  import './apis/perp/PerpQueryAPI.cjs';
27
28
  import './apis/spot/SpotExecuteAPI.cjs';
package/dist/index.d.ts CHANGED
@@ -22,6 +22,7 @@ import 'ts-mixer/dist/types/types';
22
22
  import './apis/market/MarketExecuteAPI.js';
23
23
  import './apis/types.js';
24
24
  import './apis/market/MarketQueryAPI.js';
25
+ import 'bignumber.js';
25
26
  import './apis/perp/PerpExecuteAPI.js';
26
27
  import './apis/perp/PerpQueryAPI.js';
27
28
  import './apis/spot/SpotExecuteAPI.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nadohq/client",
3
- "version": "0.1.0-alpha.51",
3
+ "version": "0.1.0-alpha.52",
4
4
  "type": "module",
5
5
  "sideEffects": false,
6
6
  "description": "> TODO: description",
@@ -41,10 +41,10 @@
41
41
  "module": "./dist/index.js",
42
42
  "types": "./dist/index.d.ts",
43
43
  "dependencies": {
44
- "@nadohq/engine-client": "0.1.0-alpha.51",
45
- "@nadohq/indexer-client": "0.1.0-alpha.51",
46
- "@nadohq/shared": "0.1.0-alpha.51",
47
- "@nadohq/trigger-client": "0.1.0-alpha.51",
44
+ "@nadohq/engine-client": "0.1.0-alpha.52",
45
+ "@nadohq/indexer-client": "0.1.0-alpha.52",
46
+ "@nadohq/shared": "0.1.0-alpha.52",
47
+ "@nadohq/trigger-client": "0.1.0-alpha.52",
48
48
  "ts-mixer": "*"
49
49
  },
50
50
  "peerDependencies": {
@@ -53,5 +53,5 @@
53
53
  "devDependencies": {
54
54
  "viem": "workspace:*"
55
55
  },
56
- "gitHead": "bcd86b536b1f0b3b5eabf53e8f4ba5158e0051fc"
56
+ "gitHead": "41f74df94ad4408c93f5b0e577513b535106d30d"
57
57
  }