@0xmonaco/react 1.0.91 → 1.0.93
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 +5 -5
- package/dist/coverage.d.ts +1 -1
- package/dist/coverage.js +1 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -35,12 +35,12 @@ Wrap your application with the `MonacoProvider`:
|
|
|
35
35
|
```tsx
|
|
36
36
|
import { MonacoProvider } from "@0xmonaco/react";
|
|
37
37
|
import { WagmiProvider, createConfig, http } from "wagmi";
|
|
38
|
-
import {
|
|
38
|
+
import { sei } from "wagmi/chains";
|
|
39
39
|
|
|
40
40
|
const wagmiConfig = createConfig({
|
|
41
|
-
chains: [
|
|
41
|
+
chains: [sei],
|
|
42
42
|
transports: {
|
|
43
|
-
[
|
|
43
|
+
[sei.id]: http("https://evm-rpc.sei-apis.com"),
|
|
44
44
|
},
|
|
45
45
|
});
|
|
46
46
|
|
|
@@ -48,8 +48,8 @@ function App() {
|
|
|
48
48
|
return (
|
|
49
49
|
<WagmiProvider config={wagmiConfig}>
|
|
50
50
|
<MonacoProvider
|
|
51
|
-
network="
|
|
52
|
-
seiRpcUrl="https://evm-rpc
|
|
51
|
+
network="mainnet"
|
|
52
|
+
seiRpcUrl="https://evm-rpc.sei-apis.com"
|
|
53
53
|
>
|
|
54
54
|
<YourApp />
|
|
55
55
|
</MonacoProvider>
|
package/dist/coverage.d.ts
CHANGED
|
@@ -123,6 +123,7 @@ export declare const INTENTIONALLY_EXCLUDED: {
|
|
|
123
123
|
get_twap_order_tca: string;
|
|
124
124
|
get_user_trades: string;
|
|
125
125
|
health_check: string;
|
|
126
|
+
get_region_status: string;
|
|
126
127
|
list_application_balances: string;
|
|
127
128
|
list_application_movements: string;
|
|
128
129
|
list_application_orders: string;
|
|
@@ -142,7 +143,6 @@ export declare const INTENTIONALLY_EXCLUDED: {
|
|
|
142
143
|
simulate_risk_bucket_order_risk: string;
|
|
143
144
|
simulate_order_risk: string;
|
|
144
145
|
simulate_parent_margin_order_risk: string;
|
|
145
|
-
submit_whitelist: string;
|
|
146
146
|
register_deposit_address: string;
|
|
147
147
|
transfer_collateral_from_parent_margin_account: string;
|
|
148
148
|
transfer_collateral_from_margin_account: string;
|
package/dist/coverage.js
CHANGED
|
@@ -123,6 +123,7 @@ export const INTENTIONALLY_EXCLUDED = {
|
|
|
123
123
|
get_twap_order_tca: "TWAP parent orders are an advanced execution-algo surface (covered by @0xmonaco/core); no React hook yet.",
|
|
124
124
|
get_user_trades: "Trade-history lookup with a core client method but no dedicated React hook yet.",
|
|
125
125
|
health_check: "Infrastructure liveness probe (GET /health); not part of the data SDK surface.",
|
|
126
|
+
get_region_status: "Caller region status for a region notice; available via the core client but no dedicated React hook yet.",
|
|
126
127
|
list_application_balances: "Application reporting endpoint (public, selected by clientId) for frontend operators; not a user-wallet React workflow.",
|
|
127
128
|
list_application_movements: "Application reporting endpoint (public, selected by clientId) for frontend operators; not a user-wallet React workflow.",
|
|
128
129
|
list_application_orders: "Application reporting endpoint (public, selected by clientId) for frontend operators; not a user-wallet React workflow.",
|
|
@@ -142,7 +143,6 @@ export const INTENTIONALLY_EXCLUDED = {
|
|
|
142
143
|
simulate_risk_bucket_order_risk: "Margin-account management/collateral/simulation endpoint; no React hook yet.",
|
|
143
144
|
simulate_order_risk: "Margin-account management/collateral/simulation endpoint; no React hook yet.",
|
|
144
145
|
simulate_parent_margin_order_risk: "Margin-account management/collateral/simulation endpoint; no React hook yet.",
|
|
145
|
-
submit_whitelist: "Whitelist submission; no React hook.",
|
|
146
146
|
register_deposit_address: "Deposit-address registration; a backend/onboarding operation, not a UI action. No React hook.",
|
|
147
147
|
transfer_collateral_from_parent_margin_account: "Margin-account management/collateral/simulation endpoint; no React hook yet.",
|
|
148
148
|
transfer_collateral_from_margin_account: "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": "1.0.
|
|
3
|
+
"version": "1.0.93",
|
|
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.0.
|
|
20
|
-
"@0xmonaco/types": "1.0.
|
|
19
|
+
"@0xmonaco/core": "1.0.93",
|
|
20
|
+
"@0xmonaco/types": "1.0.93"
|
|
21
21
|
},
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"@types/react": "^19.2.18",
|