@0xmonaco/core 1.1.5 → 1.1.6

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.
@@ -68,6 +68,22 @@ export declare const COVERED: {
68
68
  get_fee_schedule: string;
69
69
  get_pulse: string;
70
70
  get_region_status: string;
71
+ get_protocol_totals: string;
72
+ get_protocol_series: string;
73
+ list_market_volumes: string;
74
+ get_treasury_net_fees: string;
75
+ list_builders: string;
76
+ get_builder: string;
77
+ get_builder_totals: string;
78
+ get_builder_series: string;
79
+ list_builder_leaderboard: string;
80
+ list_wallet_leaderboard: string;
81
+ get_wallet_summary: string;
82
+ list_wallet_liquidations: string;
83
+ list_token_custody: string;
84
+ get_token_custody: string;
85
+ list_vault_deposits: string;
86
+ list_vault_withdrawals: string;
71
87
  list_managed_market_assignments: string;
72
88
  claim_managed_market_lease: string;
73
89
  refresh_managed_market_quotes: string;
package/dist/coverage.js CHANGED
@@ -68,6 +68,22 @@ export const COVERED = {
68
68
  get_fee_schedule: "getFeeSchedule",
69
69
  get_pulse: "pulse.getPulse",
70
70
  get_region_status: "compliance.getRegionStatus",
71
+ get_protocol_totals: "analytics.getProtocolTotals",
72
+ get_protocol_series: "analytics.getProtocolSeries",
73
+ list_market_volumes: "analytics.listMarketVolumes",
74
+ get_treasury_net_fees: "analytics.getTreasuryNetFees",
75
+ list_builders: "analytics.listBuilders",
76
+ get_builder: "analytics.getBuilder",
77
+ get_builder_totals: "analytics.getBuilderTotals",
78
+ get_builder_series: "analytics.getBuilderSeries",
79
+ list_builder_leaderboard: "analytics.listBuilderLeaderboard",
80
+ list_wallet_leaderboard: "analytics.listWalletLeaderboard",
81
+ get_wallet_summary: "analytics.getWalletSummary",
82
+ list_wallet_liquidations: "analytics.listWalletLiquidations",
83
+ list_token_custody: "analytics.listTokenCustody",
84
+ get_token_custody: "analytics.getTokenCustody",
85
+ list_vault_deposits: "analytics.listVaultDeposits",
86
+ list_vault_withdrawals: "analytics.listVaultWithdrawals",
71
87
  list_managed_market_assignments: "managedMarkets.listAssignments",
72
88
  claim_managed_market_lease: "managedMarkets.claimLease",
73
89
  refresh_managed_market_quotes: "managedMarkets.refreshQuotes",
package/dist/sdk.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import type { ApplicationsAPI, AuthAPI, AuthState, BuildercodesAPI, ComplianceAPI, CopyTradingAPI, DelegatedAgentsAPI, FaucetAPI, FeesAPI, ManagedMarketsAPI, MarginAccountsAPI, MarketAPI, MonacoSDK, Network, PortfolioAPI, PositionsAPI, ProfileAPI, PulseAPI, RfqAPI, SDKConfig, SubAccountsAPI, SweeperAPI, TraderCodesAPI, TradingAPI, VaultAPI, WithdrawalsAPI } from "@0xmonaco/types";
1
+ import type { AnalyticsAPI, ApplicationsAPI, AuthAPI, AuthState, BuildercodesAPI, ComplianceAPI, CopyTradingAPI, DelegatedAgentsAPI, FaucetAPI, FeesAPI, ManagedMarketsAPI, MarginAccountsAPI, MarketAPI, MonacoSDK, Network, PortfolioAPI, PositionsAPI, ProfileAPI, PulseAPI, RfqAPI, SDKConfig, SubAccountsAPI, SweeperAPI, TraderCodesAPI, TradingAPI, VaultAPI, WithdrawalsAPI } from "@0xmonaco/types";
2
2
  import { type Address, type PublicClient, type TransactionReceipt, type WalletClient } from "viem";
3
3
  import { type MonacoWebSocket, OrderbookAPIImpl, TradesAPIImpl } from "./api";
4
4
  export declare class MonacoSDKImpl implements MonacoSDK {
@@ -24,6 +24,7 @@ export declare class MonacoSDKImpl implements MonacoSDK {
24
24
  profile: ProfileAPI;
25
25
  pulse: PulseAPI;
26
26
  compliance: ComplianceAPI;
27
+ analytics: AnalyticsAPI;
27
28
  orderbook: OrderbookAPIImpl;
28
29
  trades: TradesAPIImpl;
29
30
  ws: MonacoWebSocket;
package/dist/sdk.js CHANGED
@@ -2,6 +2,7 @@ import { StatusCodes } from "http-status-codes";
2
2
  import { createPublicClient, http } from "viem";
3
3
  import { sei, seiTestnet } from "viem/chains";
4
4
  import { ApplicationsAPIImpl, createMonacoWebSocket, OrderbookAPIImpl, TradesAPIImpl } from "./api";
5
+ import { AnalyticsAPIImpl } from "./api/analytics";
5
6
  import { AuthAPIImpl } from "./api/auth";
6
7
  import { BuildercodesAPIImpl } from "./api/buildercodes";
7
8
  import { ComplianceAPIImpl } from "./api/compliance";
@@ -66,6 +67,7 @@ export class MonacoSDKImpl {
66
67
  profile;
67
68
  pulse;
68
69
  compliance;
70
+ analytics;
69
71
  orderbook;
70
72
  trades;
71
73
  ws;
@@ -100,6 +102,7 @@ export class MonacoSDKImpl {
100
102
  this.managedMarkets.setSessionKeypair(credentials);
101
103
  this.pulse.setSessionKeypair(credentials);
102
104
  this.compliance.setSessionKeypair(credentials);
105
+ this.analytics.setSessionKeypair(credentials);
103
106
  this.profile.setSessionKeypair(credentials);
104
107
  this.orderbook.setSessionKeypair(credentials);
105
108
  this.trades.setSessionKeypair(credentials);
@@ -171,6 +174,7 @@ export class MonacoSDKImpl {
171
174
  this.managedMarkets = configureSigning(new ManagedMarketsAPIImpl(apiUrl));
172
175
  this.pulse = configureSigning(new PulseAPIImpl(apiUrl));
173
176
  this.compliance = configureSigning(new ComplianceAPIImpl(apiUrl));
177
+ this.analytics = configureSigning(new AnalyticsAPIImpl(apiUrl));
174
178
  this.auth = configureSigning(new AuthAPIImpl(this.walletClient, this.chain, apiUrl));
175
179
  this.delegatedAgents = configureSigning(new DelegatedAgentsAPIImpl(apiUrl));
176
180
  this.fees = configureSigning(new FeesAPIImpl(apiUrl));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xmonaco/core",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "type": "module",
5
5
  "homepage": "https://docs.0xmonaco.com/sdk/typescript",
6
6
  "main": "./dist/index.js",
@@ -19,8 +19,8 @@
19
19
  "viem": "^2.45.2"
20
20
  },
21
21
  "dependencies": {
22
- "@0xmonaco/contracts": "1.1.5",
23
- "@0xmonaco/types": "1.1.5",
22
+ "@0xmonaco/contracts": "1.1.6",
23
+ "@0xmonaco/types": "1.1.6",
24
24
  "@noble/curves": "^2.4.0",
25
25
  "@noble/hashes": "^2.4.0",
26
26
  "http-status-codes": "^2.3.0"