@0xmonaco/react 0.8.7-develop.5d0e403 → 0.8.7-develop.ab57a24
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/dist/coverage.d.ts +46 -1
- package/dist/coverage.js +47 -2
- package/package.json +3 -3
package/dist/coverage.d.ts
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
/** operationId → the @0xmonaco/react hook that covers it. */
|
|
2
|
+
export declare const COVERED: {
|
|
3
|
+
add_position_margin: string;
|
|
4
|
+
attach_position_tp_sl: string;
|
|
5
|
+
batch_cancel_all: string;
|
|
6
|
+
batch_cancel_all_by_pair: string;
|
|
7
|
+
batch_cancel_orders: string;
|
|
8
|
+
batch_create_orders: string;
|
|
9
|
+
batch_replace_orders: string;
|
|
10
|
+
cancel_conditional_order: string;
|
|
11
|
+
cancel_order: string;
|
|
12
|
+
close_position: string;
|
|
13
|
+
create_challenge: string;
|
|
14
|
+
create_conditional_order: string;
|
|
15
|
+
create_order: string;
|
|
16
|
+
get_candles: string;
|
|
17
|
+
get_funding_state: string;
|
|
18
|
+
get_index_price: string;
|
|
19
|
+
get_mark_price: string;
|
|
20
|
+
get_market_metadata: string;
|
|
21
|
+
get_open_interest: string;
|
|
22
|
+
get_order_by_id: string;
|
|
23
|
+
get_orderbook_snapshot: string;
|
|
24
|
+
get_orders: string;
|
|
25
|
+
get_perp_market_config: string;
|
|
26
|
+
get_perp_market_summary: string;
|
|
27
|
+
get_position: string;
|
|
28
|
+
get_position_risk: string;
|
|
29
|
+
get_trades: string;
|
|
30
|
+
get_user_balance_by_asset: string;
|
|
31
|
+
get_user_balances: string;
|
|
32
|
+
get_user_movements: string;
|
|
33
|
+
get_user_profile: string;
|
|
34
|
+
get_withdrawal: string;
|
|
35
|
+
initiate_withdrawal: string;
|
|
36
|
+
list_conditional_orders: string;
|
|
37
|
+
list_funding_history: string;
|
|
38
|
+
list_position_history: string;
|
|
39
|
+
list_positions: string;
|
|
40
|
+
list_trading_pairs: string;
|
|
41
|
+
reduce_position_margin: string;
|
|
42
|
+
refresh_session: string;
|
|
43
|
+
replace_order: string;
|
|
44
|
+
revoke_session: string;
|
|
45
|
+
simulate_fees: string;
|
|
46
|
+
};
|
|
1
47
|
/** operationId → reason it is intentionally not covered by @0xmonaco/react. */
|
|
2
48
|
export declare const INTENTIONALLY_EXCLUDED: {
|
|
3
49
|
authenticate_backend: string;
|
|
@@ -27,7 +73,6 @@ export declare const INTENTIONALLY_EXCLUDED: {
|
|
|
27
73
|
list_funding_payments: string;
|
|
28
74
|
list_margin_accounts: string;
|
|
29
75
|
list_sub_accounts_with_balances: string;
|
|
30
|
-
list_user_trades: string;
|
|
31
76
|
mint_tokens: string;
|
|
32
77
|
revoke_delegated_agent: string;
|
|
33
78
|
simulate_auto_margin_order_risk: string;
|
package/dist/coverage.js
CHANGED
|
@@ -1,3 +1,49 @@
|
|
|
1
|
+
/** operationId → the @0xmonaco/react hook that covers it. */
|
|
2
|
+
export const COVERED = {
|
|
3
|
+
add_position_margin: "usePositions",
|
|
4
|
+
attach_position_tp_sl: "usePositions",
|
|
5
|
+
batch_cancel_all: "useTrade",
|
|
6
|
+
batch_cancel_all_by_pair: "useTrade",
|
|
7
|
+
batch_cancel_orders: "useTrade",
|
|
8
|
+
batch_create_orders: "useTrade",
|
|
9
|
+
batch_replace_orders: "useTrade",
|
|
10
|
+
cancel_conditional_order: "useTrade",
|
|
11
|
+
cancel_order: "useTrade",
|
|
12
|
+
close_position: "usePositions",
|
|
13
|
+
create_challenge: "useAuth",
|
|
14
|
+
create_conditional_order: "useTrade",
|
|
15
|
+
create_order: "useTrade",
|
|
16
|
+
get_candles: "useMarket",
|
|
17
|
+
get_funding_state: "useMarket",
|
|
18
|
+
get_index_price: "useMarket",
|
|
19
|
+
get_mark_price: "useMarket",
|
|
20
|
+
get_market_metadata: "useMarket",
|
|
21
|
+
get_open_interest: "useMarket",
|
|
22
|
+
get_order_by_id: "useTrade",
|
|
23
|
+
get_orderbook_snapshot: "useOrderbook",
|
|
24
|
+
get_orders: "useTrade",
|
|
25
|
+
get_perp_market_config: "useMarket",
|
|
26
|
+
get_perp_market_summary: "useMarket",
|
|
27
|
+
get_position: "usePositions",
|
|
28
|
+
get_position_risk: "usePositions",
|
|
29
|
+
get_trades: "useTradeFeed",
|
|
30
|
+
get_user_balance_by_asset: "useProfile",
|
|
31
|
+
get_user_balances: "useUserBalances",
|
|
32
|
+
get_user_movements: "useUserMovements",
|
|
33
|
+
get_user_profile: "useProfile",
|
|
34
|
+
get_withdrawal: "useVault (retryWithdrawal)",
|
|
35
|
+
initiate_withdrawal: "useVault (withdraw)",
|
|
36
|
+
list_conditional_orders: "useTrade",
|
|
37
|
+
list_funding_history: "useMarket",
|
|
38
|
+
list_position_history: "usePositions",
|
|
39
|
+
list_positions: "usePositions",
|
|
40
|
+
list_trading_pairs: "useMarket",
|
|
41
|
+
reduce_position_margin: "usePositions",
|
|
42
|
+
refresh_session: "useAuth",
|
|
43
|
+
replace_order: "useTrade",
|
|
44
|
+
revoke_session: "useAuth",
|
|
45
|
+
simulate_fees: "useFees",
|
|
46
|
+
};
|
|
1
47
|
/** operationId → reason it is intentionally not covered by @0xmonaco/react. */
|
|
2
48
|
export const INTENTIONALLY_EXCLUDED = {
|
|
3
49
|
authenticate_backend: "Backend auth is header-based via setServerKey()/the x-server-key header, not an endpoint method (MON-1486).",
|
|
@@ -24,10 +70,9 @@ export const INTENTIONALLY_EXCLUDED = {
|
|
|
24
70
|
list_application_users: "Application/backend (server-key) admin endpoint; not a user-wallet React workflow.",
|
|
25
71
|
list_delegated_agent_owners: "Delegated-agent management is an automation/agent surface, not a UI workflow; no React hook.",
|
|
26
72
|
list_delegated_agents: "Delegated-agent management is an automation/agent surface, not a UI workflow; no React hook.",
|
|
27
|
-
list_funding_payments: "
|
|
73
|
+
list_funding_payments: "Perps funding-payment history; no React hook yet.",
|
|
28
74
|
list_margin_accounts: "Margin-account management/collateral/simulation endpoint; no React hook yet.",
|
|
29
75
|
list_sub_accounts_with_balances: "Sub-account administration; no React hook.",
|
|
30
|
-
list_user_trades: "gRPC-only: trades.proto declares the HTTP annotation but there is no Actix route; GET /api/v1/trades/user is shadowed by GET /api/v1/trades/{id}. Equivalent data is exposed via get_user_trades (GET /api/v1/accounts/trades).",
|
|
31
76
|
mint_tokens: "Test-net faucet; no React hook (use the MCP/core faucet path).",
|
|
32
77
|
revoke_delegated_agent: "Delegated-agent management is an automation/agent surface, not a UI workflow; no React hook.",
|
|
33
78
|
simulate_auto_margin_order_risk: "Margin-account management/collateral/simulation endpoint; no React hook yet.",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xmonaco/react",
|
|
3
|
-
"version": "0.8.7-develop.
|
|
3
|
+
"version": "0.8.7-develop.ab57a24",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"lint": "biome lint ."
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@0xmonaco/core": "0.8.7-develop.
|
|
24
|
-
"@0xmonaco/types": "0.8.7-develop.
|
|
23
|
+
"@0xmonaco/core": "0.8.7-develop.ab57a24",
|
|
24
|
+
"@0xmonaco/types": "0.8.7-develop.ab57a24"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@types/react": "^19.1.12",
|