@usherlabs/cex-broker 0.2.25 → 0.2.27

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/server.d.ts CHANGED
@@ -1,7 +1,8 @@
1
1
  import * as grpc from "@grpc/grpc-js";
2
+ import type { SubscribeBrokerLifecycle } from "./handlers/subscribe";
2
3
  import type { BrokerPoolEntry } from "./helpers";
3
4
  import type { BrokerExecutionArchiver, WithdrawalObservationTracker } from "./helpers/broker-execution-archive";
4
5
  import type { OrderActivityTracker } from "./helpers/order-activity-tracker";
5
6
  import type { OtelMetrics } from "./helpers/otel";
6
7
  import type { PolicyConfig } from "./types";
7
- export declare function getServer(policy: PolicyConfig, brokers: Record<string, BrokerPoolEntry>, whitelistIps: string[], useVerity: boolean, verityProverUrl: string, otelMetrics?: OtelMetrics, brokerArchiver?: BrokerExecutionArchiver, orderActivityTracker?: OrderActivityTracker, withdrawalObservationTracker?: WithdrawalObservationTracker): grpc.Server;
8
+ export declare function getServer(policy: PolicyConfig, brokers: Record<string, BrokerPoolEntry>, whitelistIps: string[], useVerity: boolean, verityProverUrl: string, otelMetrics?: OtelMetrics, brokerArchiver?: BrokerExecutionArchiver, orderActivityTracker?: OrderActivityTracker, withdrawalObservationTracker?: WithdrawalObservationTracker, subscribeBrokerLifecycle?: SubscribeBrokerLifecycle): grpc.Server;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usherlabs/cex-broker",
3
- "version": "0.2.25",
3
+ "version": "0.2.27",
4
4
  "description": "Unified gRPC API to CEXs by Usher Labs.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,6 +36,7 @@
36
36
  "prepack": "bun run build",
37
37
  "start-broker": "bun run ./src/cli.ts",
38
38
  "start-archive-forwarder": "bun run services/archive-forwarder/index.ts",
39
+ "start-ohlcv-collector": "bun run services/ohlcv-collector/index.ts",
39
40
  "start-archive-watch": "bun run examples/archive-watch-subscribe.ts",
40
41
  "start-candle-viewer": "bun run research/candle-viewer/server.ts",
41
42
  "dev:candle-viewer": "bunx nodemon --watch research/candle-viewer --ext ts,html --signal SIGTERM --exec \"bun run start-candle-viewer\"",