@0xmonaco/react 1.1.2 → 1.1.5-prerelease.de852e2
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 +28 -0
- package/dist/coverage.js +28 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +2 -0
- package/dist/hooks/useBbo/index.d.ts +2 -0
- package/dist/hooks/useBbo/index.js +1 -0
- package/dist/hooks/useBbo/types.d.ts +12 -0
- package/dist/hooks/useBbo/types.js +0 -0
- package/dist/hooks/useBbo/useBbo.d.ts +8 -0
- package/dist/hooks/useBbo/useBbo.js +50 -0
- package/dist/hooks/useDepth/index.d.ts +2 -0
- package/dist/hooks/useDepth/index.js +1 -0
- package/dist/hooks/useDepth/types.d.ts +12 -0
- package/dist/hooks/useDepth/types.js +0 -0
- package/dist/hooks/useDepth/useDepth.d.ts +9 -0
- package/dist/hooks/useDepth/useDepth.js +51 -0
- package/dist/hooks/useTrade/types.d.ts +7 -1
- package/dist/hooks/useTrade/useTrade.js +6 -0
- package/package.json +5 -5
package/dist/coverage.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export declare const COVERED: {
|
|
|
3
3
|
attach_position_tp_sl: string;
|
|
4
4
|
batch_cancel_all: string;
|
|
5
5
|
batch_cancel_all_by_pair: string;
|
|
6
|
+
cancel_all_after: string;
|
|
6
7
|
batch_cancel_orders: string;
|
|
7
8
|
batch_create_orders: string;
|
|
8
9
|
batch_replace_orders: string;
|
|
@@ -81,6 +82,14 @@ export declare const COVERED: {
|
|
|
81
82
|
};
|
|
82
83
|
/** operationId → reason it is intentionally not covered by @0xmonaco/react. */
|
|
83
84
|
export declare const INTENTIONALLY_EXCLUDED: {
|
|
85
|
+
get_rfq_capabilities: string;
|
|
86
|
+
create_rfq: string;
|
|
87
|
+
get_rfq: string;
|
|
88
|
+
accept_rfq: string;
|
|
89
|
+
cancel_rfq: string;
|
|
90
|
+
upsert_rfq_quote: string;
|
|
91
|
+
withdraw_rfq_quote: string;
|
|
92
|
+
respond_rfq_last_look: string;
|
|
84
93
|
list_managed_market_assignments: string;
|
|
85
94
|
claim_managed_market_lease: string;
|
|
86
95
|
refresh_managed_market_quotes: string;
|
|
@@ -125,6 +134,22 @@ export declare const INTENTIONALLY_EXCLUDED: {
|
|
|
125
134
|
get_user_trades: string;
|
|
126
135
|
health_check: string;
|
|
127
136
|
get_region_status: string;
|
|
137
|
+
get_protocol_totals: string;
|
|
138
|
+
get_protocol_series: string;
|
|
139
|
+
list_market_volumes: string;
|
|
140
|
+
get_treasury_net_fees: string;
|
|
141
|
+
list_builders: string;
|
|
142
|
+
get_builder: string;
|
|
143
|
+
get_builder_totals: string;
|
|
144
|
+
get_builder_series: string;
|
|
145
|
+
list_builder_leaderboard: string;
|
|
146
|
+
list_wallet_leaderboard: string;
|
|
147
|
+
get_wallet_summary: string;
|
|
148
|
+
list_wallet_liquidations: string;
|
|
149
|
+
list_token_custody: string;
|
|
150
|
+
get_token_custody: string;
|
|
151
|
+
list_vault_deposits: string;
|
|
152
|
+
list_vault_withdrawals: string;
|
|
128
153
|
list_application_balances: string;
|
|
129
154
|
list_application_movements: string;
|
|
130
155
|
list_application_orders: string;
|
|
@@ -134,6 +159,9 @@ export declare const INTENTIONALLY_EXCLUDED: {
|
|
|
134
159
|
list_delegated_agent_owners: string;
|
|
135
160
|
list_delegated_agents: string;
|
|
136
161
|
list_all_funding_history: string;
|
|
162
|
+
list_all_liquidation_events: string;
|
|
163
|
+
list_insurance_funds: string;
|
|
164
|
+
list_trades: string;
|
|
137
165
|
list_funding_payments: string;
|
|
138
166
|
list_margin_accounts: string;
|
|
139
167
|
list_sub_accounts_with_balances: string;
|
package/dist/coverage.js
CHANGED
|
@@ -3,6 +3,7 @@ export const COVERED = {
|
|
|
3
3
|
attach_position_tp_sl: "usePositions",
|
|
4
4
|
batch_cancel_all: "useTrade",
|
|
5
5
|
batch_cancel_all_by_pair: "useTrade",
|
|
6
|
+
cancel_all_after: "useTrade",
|
|
6
7
|
batch_cancel_orders: "useTrade",
|
|
7
8
|
batch_create_orders: "useTrade",
|
|
8
9
|
batch_replace_orders: "useTrade",
|
|
@@ -81,6 +82,14 @@ export const COVERED = {
|
|
|
81
82
|
};
|
|
82
83
|
/** operationId → reason it is intentionally not covered by @0xmonaco/react. */
|
|
83
84
|
export const INTENTIONALLY_EXCLUDED = {
|
|
85
|
+
get_rfq_capabilities: "RFQ (block trading) ships behind a feature flag; hooks come with the frontend's RFQ UI. Covered by @0xmonaco/core.",
|
|
86
|
+
create_rfq: "RFQ (block trading) ships behind a feature flag; hooks come with the frontend's RFQ UI. Covered by @0xmonaco/core.",
|
|
87
|
+
get_rfq: "RFQ (block trading) ships behind a feature flag; hooks come with the frontend's RFQ UI. Covered by @0xmonaco/core.",
|
|
88
|
+
accept_rfq: "RFQ (block trading) ships behind a feature flag; hooks come with the frontend's RFQ UI. Covered by @0xmonaco/core.",
|
|
89
|
+
cancel_rfq: "RFQ (block trading) ships behind a feature flag; hooks come with the frontend's RFQ UI. Covered by @0xmonaco/core.",
|
|
90
|
+
upsert_rfq_quote: "RFQ (block trading) ships behind a feature flag; hooks come with the frontend's RFQ UI. Covered by @0xmonaco/core.",
|
|
91
|
+
withdraw_rfq_quote: "RFQ (block trading) ships behind a feature flag; hooks come with the frontend's RFQ UI. Covered by @0xmonaco/core.",
|
|
92
|
+
respond_rfq_last_look: "RFQ (block trading) ships behind a feature flag; hooks come with the frontend's RFQ UI. Covered by @0xmonaco/core.",
|
|
84
93
|
list_managed_market_assignments: "Operational maker inventory; consumed by the authenticated bot driver through the core SDK.",
|
|
85
94
|
claim_managed_market_lease: "Process lease lifecycle belongs to the managed maker driver, not an interactive consumer.",
|
|
86
95
|
refresh_managed_market_quotes: "Cadenced fenced intents belong to the managed maker driver; core SDK exposes the transport.",
|
|
@@ -125,6 +134,22 @@ export const INTENTIONALLY_EXCLUDED = {
|
|
|
125
134
|
get_user_trades: "Trade-history lookup with a core client method but no dedicated React hook yet.",
|
|
126
135
|
health_check: "Infrastructure liveness probe (GET /health); not part of the data SDK surface.",
|
|
127
136
|
get_region_status: "Caller region status for a region notice; available via the core client but no dedicated React hook yet.",
|
|
137
|
+
get_protocol_totals: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
138
|
+
get_protocol_series: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
139
|
+
list_market_volumes: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
140
|
+
get_treasury_net_fees: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
141
|
+
list_builders: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
142
|
+
get_builder: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
143
|
+
get_builder_totals: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
144
|
+
get_builder_series: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
145
|
+
list_builder_leaderboard: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
146
|
+
list_wallet_leaderboard: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
147
|
+
get_wallet_summary: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
148
|
+
list_wallet_liquidations: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
149
|
+
list_token_custody: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
150
|
+
get_token_custody: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
151
|
+
list_vault_deposits: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
152
|
+
list_vault_withdrawals: "Explorer analytics read covered by @0xmonaco/core; no React hook.",
|
|
128
153
|
list_application_balances: "Application reporting endpoint (public, selected by clientId) for frontend operators; not a user-wallet React workflow.",
|
|
129
154
|
list_application_movements: "Application reporting endpoint (public, selected by clientId) for frontend operators; not a user-wallet React workflow.",
|
|
130
155
|
list_application_orders: "Application reporting endpoint (public, selected by clientId) for frontend operators; not a user-wallet React workflow.",
|
|
@@ -134,6 +159,9 @@ export const INTENTIONALLY_EXCLUDED = {
|
|
|
134
159
|
list_delegated_agent_owners: "Delegated-agent management is an automation/agent surface, not a UI workflow; no React hook.",
|
|
135
160
|
list_delegated_agents: "Delegated-agent management is an automation/agent surface, not a UI workflow; no React hook.",
|
|
136
161
|
list_all_funding_history: "Bulk market data; useMarket covers per-pair funding; no React hook.",
|
|
162
|
+
list_all_liquidation_events: "Every-market explorer feed covered by @0xmonaco/core; useMarket covers per-pair liquidation events; no React hook.",
|
|
163
|
+
list_insurance_funds: "Explorer reporting read covered by @0xmonaco/core; no React hook.",
|
|
164
|
+
list_trades: "Every-market and per-application explorer trade feed covered by @0xmonaco/core; useTradeFeed covers a pair's trades; no React hook.",
|
|
137
165
|
list_funding_payments: "Perps funding-payment history; no React hook yet.",
|
|
138
166
|
list_margin_accounts: "Margin-account management/collateral/simulation endpoint; no React hook yet.",
|
|
139
167
|
list_sub_accounts_with_balances: "Sub-account administration; no React hook.",
|
package/dist/hooks/index.d.ts
CHANGED
package/dist/hooks/index.js
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useBbo } from "./useBbo";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { Bbo, LocalBookError, LocalBookResyncReason } from "@0xmonaco/types";
|
|
2
|
+
/** Return type for the useBbo hook. */
|
|
3
|
+
export interface UseBboReturn {
|
|
4
|
+
/** The current best bid and ask, or `null` until the first snapshot (and while rebuilding). */
|
|
5
|
+
bbo: Bbo | null;
|
|
6
|
+
/** Whether a subscription is active. */
|
|
7
|
+
subscribed: boolean;
|
|
8
|
+
/** Why the top of book was last discarded to be rebuilt, if it has been. */
|
|
9
|
+
lastResync: LocalBookResyncReason | null;
|
|
10
|
+
/** The server's rejection of the subscription (e.g. `INVALID_SUBSCRIPTION`), if any. */
|
|
11
|
+
error: LocalBookError | null;
|
|
12
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { TradingMode } from "@0xmonaco/types";
|
|
2
|
+
import type { UseBboReturn } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* The live best bid and ask for one market, kept by `sdk.ws.bbo` from the
|
|
5
|
+
* market-data `bbo` channel, with the same snapshot handoff and rebuild on a
|
|
6
|
+
* gap as `useDepth`. An empty side is `null`.
|
|
7
|
+
*/
|
|
8
|
+
export declare function useBbo(tradingPairId: string, tradingMode: TradingMode): UseBboReturn;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
import { useMonacoSDK } from "../useMonaco";
|
|
3
|
+
/**
|
|
4
|
+
* The live best bid and ask for one market, kept by `sdk.ws.bbo` from the
|
|
5
|
+
* market-data `bbo` channel, with the same snapshot handoff and rebuild on a
|
|
6
|
+
* gap as `useDepth`. An empty side is `null`.
|
|
7
|
+
*/
|
|
8
|
+
export function useBbo(tradingPairId, tradingMode) {
|
|
9
|
+
const { sdk } = useMonacoSDK();
|
|
10
|
+
const [bbo, setBbo] = useState(null);
|
|
11
|
+
const [subscribed, setSubscribed] = useState(false);
|
|
12
|
+
const [lastResync, setLastResync] = useState(null);
|
|
13
|
+
const [error, setError] = useState(null);
|
|
14
|
+
useEffect(() => {
|
|
15
|
+
setBbo(null);
|
|
16
|
+
setLastResync(null);
|
|
17
|
+
setError(null);
|
|
18
|
+
if (!sdk?.ws || !tradingPairId) {
|
|
19
|
+
setSubscribed(false);
|
|
20
|
+
return;
|
|
21
|
+
}
|
|
22
|
+
let unsubscribe;
|
|
23
|
+
try {
|
|
24
|
+
unsubscribe = sdk.ws.bbo(tradingPairId, tradingMode, (value) => {
|
|
25
|
+
// A live value means any earlier channel error has cleared.
|
|
26
|
+
setBbo(value);
|
|
27
|
+
setError(null);
|
|
28
|
+
}, {
|
|
29
|
+
onResync: (reason) => {
|
|
30
|
+
setLastResync(reason);
|
|
31
|
+
setBbo(null);
|
|
32
|
+
},
|
|
33
|
+
onError: setError,
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
catch (err) {
|
|
37
|
+
// An id that is not a UUID or a mode other than SPOT/MARGIN is refused
|
|
38
|
+
// synchronously; surface it rather than throwing out of the effect.
|
|
39
|
+
setError({ code: "INVALID_ARGUMENT", message: err instanceof Error ? err.message : String(err) });
|
|
40
|
+
setSubscribed(false);
|
|
41
|
+
return;
|
|
42
|
+
}
|
|
43
|
+
setSubscribed(true);
|
|
44
|
+
return () => {
|
|
45
|
+
unsubscribe();
|
|
46
|
+
setSubscribed(false);
|
|
47
|
+
};
|
|
48
|
+
}, [sdk?.ws, tradingPairId, tradingMode]);
|
|
49
|
+
return { bbo, subscribed, lastResync, error };
|
|
50
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { useDepth } from "./useDepth";
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { DepthBook, LocalBookError, LocalBookResyncReason } from "@0xmonaco/types";
|
|
2
|
+
/** Return type for the useDepth hook. */
|
|
3
|
+
export interface UseDepthReturn {
|
|
4
|
+
/** The local depth book, or `null` until the first snapshot (and while rebuilding). */
|
|
5
|
+
book: DepthBook | null;
|
|
6
|
+
/** Whether a subscription is active. */
|
|
7
|
+
subscribed: boolean;
|
|
8
|
+
/** Why the book was last discarded to be rebuilt, if it has been. */
|
|
9
|
+
lastResync: LocalBookResyncReason | null;
|
|
10
|
+
/** The server's rejection of the subscription (e.g. `INVALID_SUBSCRIPTION`), if any. */
|
|
11
|
+
error: LocalBookError | null;
|
|
12
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import type { TradingMode } from "@0xmonaco/types";
|
|
2
|
+
import type { UseDepthReturn } from "./types";
|
|
3
|
+
/**
|
|
4
|
+
* A live local depth book (up to 1000 levels per side) for one market, kept
|
|
5
|
+
* by `sdk.ws.depth` from the market-data `depth` channel: the subscribe-time
|
|
6
|
+
* snapshot is the base, linked frames update it, and a gap rebuilds it from a
|
|
7
|
+
* fresh snapshot (the book reads `null` until it arrives).
|
|
8
|
+
*/
|
|
9
|
+
export declare function useDepth(tradingPairId: string, tradingMode: TradingMode): UseDepthReturn;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { useEffect, useState } from "react";
|
|
2
|
+
import { useMonacoSDK } from "../useMonaco";
|
|
3
|
+
/**
|
|
4
|
+
* A live local depth book (up to 1000 levels per side) for one market, kept
|
|
5
|
+
* by `sdk.ws.depth` from the market-data `depth` channel: the subscribe-time
|
|
6
|
+
* snapshot is the base, linked frames update it, and a gap rebuilds it from a
|
|
7
|
+
* fresh snapshot (the book reads `null` until it arrives).
|
|
8
|
+
*/
|
|
9
|
+
export function useDepth(tradingPairId, tradingMode) {
|
|
10
|
+
const { sdk } = useMonacoSDK();
|
|
11
|
+
const [book, setBook] = useState(null);
|
|
12
|
+
const [subscribed, setSubscribed] = useState(false);
|
|
13
|
+
const [lastResync, setLastResync] = useState(null);
|
|
14
|
+
const [error, setError] = useState(null);
|
|
15
|
+
useEffect(() => {
|
|
16
|
+
setBook(null);
|
|
17
|
+
setLastResync(null);
|
|
18
|
+
setError(null);
|
|
19
|
+
if (!sdk?.ws || !tradingPairId) {
|
|
20
|
+
setSubscribed(false);
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
let unsubscribe;
|
|
24
|
+
try {
|
|
25
|
+
unsubscribe = sdk.ws.depth(tradingPairId, tradingMode, (value) => {
|
|
26
|
+
// A live value means any earlier channel error has cleared.
|
|
27
|
+
setBook(value);
|
|
28
|
+
setError(null);
|
|
29
|
+
}, {
|
|
30
|
+
onResync: (reason) => {
|
|
31
|
+
setLastResync(reason);
|
|
32
|
+
setBook(null);
|
|
33
|
+
},
|
|
34
|
+
onError: setError,
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
catch (err) {
|
|
38
|
+
// An id that is not a UUID or a mode other than SPOT/MARGIN is refused
|
|
39
|
+
// synchronously; surface it rather than throwing out of the effect.
|
|
40
|
+
setError({ code: "INVALID_ARGUMENT", message: err instanceof Error ? err.message : String(err) });
|
|
41
|
+
setSubscribed(false);
|
|
42
|
+
return;
|
|
43
|
+
}
|
|
44
|
+
setSubscribed(true);
|
|
45
|
+
return () => {
|
|
46
|
+
unsubscribe();
|
|
47
|
+
setSubscribed(false);
|
|
48
|
+
};
|
|
49
|
+
}, [sdk?.ws, tradingPairId, tradingMode]);
|
|
50
|
+
return { book, subscribed, lastResync, error };
|
|
51
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BatchCancelOrdersResponse, BatchCreateOrderParams, BatchCreateOrdersResponse, BatchReplaceOrderParams, BatchReplaceOrdersResponse, CancelConditionalOrderResponse, CancelOrderResponse, ConditionalOrder, CreateOrderResponse, GetOrderResponse, GetPaginatedOrdersParams, GetPaginatedOrdersResponse, ListConditionalOrdersParams, ListConditionalOrdersResponse, OrderSide, ReplaceOrderResponse, TradingAPI } from "@0xmonaco/types";
|
|
1
|
+
import type { BatchCancelOrdersResponse, BatchCreateOrderParams, BatchCreateOrdersResponse, BatchReplaceOrderParams, BatchReplaceOrdersResponse, CancelAllAfterOptions, CancelAllAfterResponse, CancelConditionalOrderResponse, CancelOrderResponse, ConditionalOrder, CreateOrderResponse, GetOrderResponse, GetPaginatedOrdersParams, GetPaginatedOrdersResponse, ListConditionalOrdersParams, ListConditionalOrdersResponse, OrderSide, ReplaceOrderResponse, TradingAPI } from "@0xmonaco/types";
|
|
2
2
|
type PlaceLimitOrderOptions = NonNullable<Parameters<TradingAPI["placeLimitOrder"]>[4]>;
|
|
3
3
|
type PlaceMarketOrderOptions = NonNullable<Parameters<TradingAPI["placeMarketOrder"]>[3]>;
|
|
4
4
|
type ReplaceOrderOptions = NonNullable<Parameters<TradingAPI["replaceOrder"]>[1]>;
|
|
@@ -19,6 +19,12 @@ export interface UseTradeReturn {
|
|
|
19
19
|
batchCancel: (orderIds: string[]) => Promise<BatchCancelOrdersResponse>;
|
|
20
20
|
/** Cancel all active orders, optionally filtered by trading pair */
|
|
21
21
|
batchCancelAll: (tradingPairId?: string) => Promise<BatchCancelOrdersResponse>;
|
|
22
|
+
/**
|
|
23
|
+
* Arm, refresh or disarm the cancel-all-after dead man's switch: unless you
|
|
24
|
+
* call again before `timeoutMs` runs out, your resting orders are
|
|
25
|
+
* cancelled. 0 disarms; otherwise 5000 to 900000.
|
|
26
|
+
*/
|
|
27
|
+
cancelAllAfter: (timeoutMs: number, options?: CancelAllAfterOptions) => Promise<CancelAllAfterResponse>;
|
|
22
28
|
/** Replace an existing order */
|
|
23
29
|
replaceOrder: (orderId: string, newOrder: ReplaceOrderOptions) => Promise<ReplaceOrderResponse>;
|
|
24
30
|
/** Batch create multiple orders */
|
|
@@ -68,6 +68,11 @@ export const useTrade = () => {
|
|
|
68
68
|
throw new Error("SDK not available");
|
|
69
69
|
return await sdk.trading.batchCancelAll(tradingPairId);
|
|
70
70
|
}, [sdk]);
|
|
71
|
+
const cancelAllAfter = useCallback(async (timeoutMs, options) => {
|
|
72
|
+
if (!sdk)
|
|
73
|
+
throw new Error("SDK not available");
|
|
74
|
+
return await sdk.trading.cancelAllAfter(timeoutMs, options);
|
|
75
|
+
}, [sdk]);
|
|
71
76
|
const replaceOrder = useCallback(
|
|
72
77
|
// Derived from the TradingAPI signature so new replace options (e.g.
|
|
73
78
|
// clientOrderId) flow through without re-listing them here.
|
|
@@ -127,6 +132,7 @@ export const useTrade = () => {
|
|
|
127
132
|
listConditionalOrders,
|
|
128
133
|
batchCancel,
|
|
129
134
|
batchCancelAll,
|
|
135
|
+
cancelAllAfter,
|
|
130
136
|
replaceOrder,
|
|
131
137
|
batchCreate,
|
|
132
138
|
batchReplace,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xmonaco/react",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.5-prerelease.de852e2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"homepage": "https://docs.0xmonaco.com/sdk/typescript",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"lint": "biome lint ."
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@0xmonaco/core": "1.1.
|
|
20
|
-
"@0xmonaco/types": "1.1.
|
|
19
|
+
"@0xmonaco/core": "1.1.5-prerelease.de852e2",
|
|
20
|
+
"@0xmonaco/types": "1.1.5-prerelease.de852e2"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/react": "^19.3.0",
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
},
|
|
26
26
|
"peerDependencies": {
|
|
27
27
|
"react": "^17.0.0 || ^18.0.0 || ^19.0.0",
|
|
28
|
-
"
|
|
29
|
-
"
|
|
28
|
+
"viem": "^2.45.2",
|
|
29
|
+
"wagmi": "^2.0.0 || ^3.0.0"
|
|
30
30
|
},
|
|
31
31
|
"exports": {
|
|
32
32
|
".": {
|