@uniswap/client-trading 0.11.16 → 0.11.17

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
2
- import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
2
+ import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginAssetsRequest, MarginAssetsResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
3
3
  /**
4
4
  * @generated from rpc trading.v1.tradingService.Quote
5
5
  */
@@ -336,6 +336,20 @@ export declare const marginMarkets: {
336
336
  readonly typeName: "trading.v1.tradingService";
337
337
  };
338
338
  };
339
+ /**
340
+ * @generated from rpc trading.v1.tradingService.MarginAssets
341
+ */
342
+ export declare const marginAssets: {
343
+ readonly localName: "marginAssets";
344
+ readonly name: "MarginAssets";
345
+ readonly kind: MethodKind.Unary;
346
+ readonly I: typeof MarginAssetsRequest;
347
+ readonly O: typeof MarginAssetsResponse;
348
+ readonly idempotency: MethodIdempotency.NoSideEffects;
349
+ readonly service: {
350
+ readonly typeName: "trading.v1.tradingService";
351
+ };
352
+ };
339
353
  /**
340
354
  * @generated from rpc trading.v1.tradingService.MarginPositions
341
355
  */
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
6
- import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
6
+ import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginAssetsRequest, MarginAssetsResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
7
7
  /**
8
8
  * @generated from rpc trading.v1.tradingService.Quote
9
9
  */
@@ -340,6 +340,20 @@ export const marginMarkets = {
340
340
  typeName: "trading.v1.tradingService"
341
341
  }
342
342
  };
343
+ /**
344
+ * @generated from rpc trading.v1.tradingService.MarginAssets
345
+ */
346
+ export const marginAssets = {
347
+ localName: "marginAssets",
348
+ name: "MarginAssets",
349
+ kind: MethodKind.Unary,
350
+ I: MarginAssetsRequest,
351
+ O: MarginAssetsResponse,
352
+ idempotency: MethodIdempotency.NoSideEffects,
353
+ service: {
354
+ typeName: "trading.v1.tradingService"
355
+ }
356
+ };
343
357
  /**
344
358
  * @generated from rpc trading.v1.tradingService.MarginPositions
345
359
  */
@@ -1,4 +1,4 @@
1
- import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
1
+ import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginAssetsRequest, MarginAssetsResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
2
2
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service trading.v1.tradingService
@@ -246,6 +246,16 @@ export declare const tradingService: {
246
246
  readonly kind: MethodKind.Unary;
247
247
  readonly idempotency: MethodIdempotency.NoSideEffects;
248
248
  };
249
+ /**
250
+ * @generated from rpc trading.v1.tradingService.MarginAssets
251
+ */
252
+ readonly marginAssets: {
253
+ readonly name: "MarginAssets";
254
+ readonly I: typeof MarginAssetsRequest;
255
+ readonly O: typeof MarginAssetsResponse;
256
+ readonly kind: MethodKind.Unary;
257
+ readonly idempotency: MethodIdempotency.NoSideEffects;
258
+ };
249
259
  /**
250
260
  * @generated from rpc trading.v1.tradingService.MarginPositions
251
261
  */
@@ -2,7 +2,7 @@
2
2
  // @generated from file trading/v1/api.proto (package trading.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
5
+ import { CheckApproval4337Request, CheckApproval4337Response, CheckApprovalRequest, CheckApprovalResponse, CheckWalletDelegationRequest, CheckWalletDelegationResponse, CreatePlanRequest, DocsRequest, DocsResponse, Encode4337Request, Encode4337Response, Encode7702Request, Encode7702Response, GetOrdersRequest, GetOrdersResponse, GetPlanRequest, GetPlansRequest, GetPlansResponse, GetSwapsRequest, GetSwapsResponse, GetTokensRequest, GetTokensResponse, MarginAssetsRequest, MarginAssetsResponse, MarginMarketsRequest, MarginMarketsResponse, MarginPositionActivityRequest, MarginPositionActivityResponse, MarginPositionsRequest, MarginPositionsResponse, MarginQuoteRequest, MarginQuoteResponse, OrderRequest, OrderResponse, PermissionsRequest, PermissionsResponse, PlanResponse, QuoteRequest, QuoteResponse, SupportedChainsRequest, SupportedChainsResponse, Swap4337Request, Swap4337Response, Swap5792Request, Swap5792Response, Swap7702Request, Swap7702Response, SwappableTokensRequest, SwappableTokensResponse, SwapRequest, SwapResponse, UpdatePlanRequest } from "./api_pb.js";
6
6
  import { MethodIdempotency, MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service trading.v1.tradingService
@@ -250,6 +250,16 @@ export const tradingService = {
250
250
  kind: MethodKind.Unary,
251
251
  idempotency: MethodIdempotency.NoSideEffects,
252
252
  },
253
+ /**
254
+ * @generated from rpc trading.v1.tradingService.MarginAssets
255
+ */
256
+ marginAssets: {
257
+ name: "MarginAssets",
258
+ I: MarginAssetsRequest,
259
+ O: MarginAssetsResponse,
260
+ kind: MethodKind.Unary,
261
+ idempotency: MethodIdempotency.NoSideEffects,
262
+ },
253
263
  /**
254
264
  * @generated from rpc trading.v1.tradingService.MarginPositions
255
265
  */
@@ -8418,6 +8418,85 @@ export declare class MarginMarketsResponse extends Message<MarginMarketsResponse
8418
8418
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MarginMarketsResponse;
8419
8419
  static equals(a: MarginMarketsResponse | PlainMessage<MarginMarketsResponse> | undefined, b: MarginMarketsResponse | PlainMessage<MarginMarketsResponse> | undefined): boolean;
8420
8420
  }
8421
+ /**
8422
+ * @generated from message trading.v1.MarginAssetsRequest
8423
+ */
8424
+ export declare class MarginAssetsRequest extends Message<MarginAssetsRequest> {
8425
+ /**
8426
+ * @generated from field: int32 chain_id = 1;
8427
+ */
8428
+ chainId: number;
8429
+ constructor(data?: PartialMessage<MarginAssetsRequest>);
8430
+ static readonly runtime: typeof proto3;
8431
+ static readonly typeName = "trading.v1.MarginAssetsRequest";
8432
+ static readonly fields: FieldList;
8433
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MarginAssetsRequest;
8434
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MarginAssetsRequest;
8435
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MarginAssetsRequest;
8436
+ static equals(a: MarginAssetsRequest | PlainMessage<MarginAssetsRequest> | undefined, b: MarginAssetsRequest | PlainMessage<MarginAssetsRequest> | undefined): boolean;
8437
+ }
8438
+ /**
8439
+ * One per (exposure_token, counter_token) within a direction.
8440
+ *
8441
+ * @generated from message trading.v1.MarginAssetPair
8442
+ */
8443
+ export declare class MarginAssetPair extends Message<MarginAssetPair> {
8444
+ /**
8445
+ * @generated from field: trading.v1.MarginTokenMetadata exposure_token = 1;
8446
+ */
8447
+ exposureToken?: MarginTokenMetadata;
8448
+ /**
8449
+ * @generated from field: trading.v1.MarginTokenMetadata counter_token = 2;
8450
+ */
8451
+ counterToken?: MarginTokenMetadata;
8452
+ /**
8453
+ * The venues whose adapter supports the pair in the catalogue, never empty.
8454
+ * A listed venue can still be refused on live reserve or router state, so
8455
+ * /margin/markets and the quote are authoritative for what opens.
8456
+ *
8457
+ * @generated from field: repeated trading.v1.MarginVenue venues = 3;
8458
+ */
8459
+ venues: MarginVenue[];
8460
+ constructor(data?: PartialMessage<MarginAssetPair>);
8461
+ static readonly runtime: typeof proto3;
8462
+ static readonly typeName = "trading.v1.MarginAssetPair";
8463
+ static readonly fields: FieldList;
8464
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MarginAssetPair;
8465
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MarginAssetPair;
8466
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MarginAssetPair;
8467
+ static equals(a: MarginAssetPair | PlainMessage<MarginAssetPair> | undefined, b: MarginAssetPair | PlainMessage<MarginAssetPair> | undefined): boolean;
8468
+ }
8469
+ /**
8470
+ * Both lists are ordered by exposure_token, then counter_token, address.
8471
+ *
8472
+ * @generated from message trading.v1.MarginAssetsResponse
8473
+ */
8474
+ export declare class MarginAssetsResponse extends Message<MarginAssetsResponse> {
8475
+ /**
8476
+ * @generated from field: string request_id = 1;
8477
+ */
8478
+ requestId: string;
8479
+ /**
8480
+ * Exposure is the collateral, counter the debt.
8481
+ *
8482
+ * @generated from field: repeated trading.v1.MarginAssetPair longs = 2;
8483
+ */
8484
+ longs: MarginAssetPair[];
8485
+ /**
8486
+ * Exposure is the debt, counter the collateral.
8487
+ *
8488
+ * @generated from field: repeated trading.v1.MarginAssetPair shorts = 3;
8489
+ */
8490
+ shorts: MarginAssetPair[];
8491
+ constructor(data?: PartialMessage<MarginAssetsResponse>);
8492
+ static readonly runtime: typeof proto3;
8493
+ static readonly typeName = "trading.v1.MarginAssetsResponse";
8494
+ static readonly fields: FieldList;
8495
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MarginAssetsResponse;
8496
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MarginAssetsResponse;
8497
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MarginAssetsResponse;
8498
+ static equals(a: MarginAssetsResponse | PlainMessage<MarginAssetsResponse> | undefined, b: MarginAssetsResponse | PlainMessage<MarginAssetsResponse> | undefined): boolean;
8499
+ }
8421
8500
  /**
8422
8501
  * increaseLeverage, decreaseLeverage. Equity is held, so no amount.
8423
8502
  *
@@ -9774,6 +9774,120 @@ MarginMarketsResponse.fields = proto3.util.newFieldList(() => [
9774
9774
  { no: 2, name: "markets", kind: "message", T: MarginMarketRow, repeated: true },
9775
9775
  { no: 3, name: "next_cursor", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
9776
9776
  ]);
9777
+ /**
9778
+ * @generated from message trading.v1.MarginAssetsRequest
9779
+ */
9780
+ export class MarginAssetsRequest extends Message {
9781
+ constructor(data) {
9782
+ super();
9783
+ /**
9784
+ * @generated from field: int32 chain_id = 1;
9785
+ */
9786
+ this.chainId = 0;
9787
+ proto3.util.initPartial(data, this);
9788
+ }
9789
+ static fromBinary(bytes, options) {
9790
+ return new MarginAssetsRequest().fromBinary(bytes, options);
9791
+ }
9792
+ static fromJson(jsonValue, options) {
9793
+ return new MarginAssetsRequest().fromJson(jsonValue, options);
9794
+ }
9795
+ static fromJsonString(jsonString, options) {
9796
+ return new MarginAssetsRequest().fromJsonString(jsonString, options);
9797
+ }
9798
+ static equals(a, b) {
9799
+ return proto3.util.equals(MarginAssetsRequest, a, b);
9800
+ }
9801
+ }
9802
+ MarginAssetsRequest.runtime = proto3;
9803
+ MarginAssetsRequest.typeName = "trading.v1.MarginAssetsRequest";
9804
+ MarginAssetsRequest.fields = proto3.util.newFieldList(() => [
9805
+ { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
9806
+ ]);
9807
+ /**
9808
+ * One per (exposure_token, counter_token) within a direction.
9809
+ *
9810
+ * @generated from message trading.v1.MarginAssetPair
9811
+ */
9812
+ export class MarginAssetPair extends Message {
9813
+ constructor(data) {
9814
+ super();
9815
+ /**
9816
+ * The venues whose adapter supports the pair in the catalogue, never empty.
9817
+ * A listed venue can still be refused on live reserve or router state, so
9818
+ * /margin/markets and the quote are authoritative for what opens.
9819
+ *
9820
+ * @generated from field: repeated trading.v1.MarginVenue venues = 3;
9821
+ */
9822
+ this.venues = [];
9823
+ proto3.util.initPartial(data, this);
9824
+ }
9825
+ static fromBinary(bytes, options) {
9826
+ return new MarginAssetPair().fromBinary(bytes, options);
9827
+ }
9828
+ static fromJson(jsonValue, options) {
9829
+ return new MarginAssetPair().fromJson(jsonValue, options);
9830
+ }
9831
+ static fromJsonString(jsonString, options) {
9832
+ return new MarginAssetPair().fromJsonString(jsonString, options);
9833
+ }
9834
+ static equals(a, b) {
9835
+ return proto3.util.equals(MarginAssetPair, a, b);
9836
+ }
9837
+ }
9838
+ MarginAssetPair.runtime = proto3;
9839
+ MarginAssetPair.typeName = "trading.v1.MarginAssetPair";
9840
+ MarginAssetPair.fields = proto3.util.newFieldList(() => [
9841
+ { no: 1, name: "exposure_token", kind: "message", T: MarginTokenMetadata },
9842
+ { no: 2, name: "counter_token", kind: "message", T: MarginTokenMetadata },
9843
+ { no: 3, name: "venues", kind: "enum", T: proto3.getEnumType(MarginVenue), repeated: true },
9844
+ ]);
9845
+ /**
9846
+ * Both lists are ordered by exposure_token, then counter_token, address.
9847
+ *
9848
+ * @generated from message trading.v1.MarginAssetsResponse
9849
+ */
9850
+ export class MarginAssetsResponse extends Message {
9851
+ constructor(data) {
9852
+ super();
9853
+ /**
9854
+ * @generated from field: string request_id = 1;
9855
+ */
9856
+ this.requestId = "";
9857
+ /**
9858
+ * Exposure is the collateral, counter the debt.
9859
+ *
9860
+ * @generated from field: repeated trading.v1.MarginAssetPair longs = 2;
9861
+ */
9862
+ this.longs = [];
9863
+ /**
9864
+ * Exposure is the debt, counter the collateral.
9865
+ *
9866
+ * @generated from field: repeated trading.v1.MarginAssetPair shorts = 3;
9867
+ */
9868
+ this.shorts = [];
9869
+ proto3.util.initPartial(data, this);
9870
+ }
9871
+ static fromBinary(bytes, options) {
9872
+ return new MarginAssetsResponse().fromBinary(bytes, options);
9873
+ }
9874
+ static fromJson(jsonValue, options) {
9875
+ return new MarginAssetsResponse().fromJson(jsonValue, options);
9876
+ }
9877
+ static fromJsonString(jsonString, options) {
9878
+ return new MarginAssetsResponse().fromJsonString(jsonString, options);
9879
+ }
9880
+ static equals(a, b) {
9881
+ return proto3.util.equals(MarginAssetsResponse, a, b);
9882
+ }
9883
+ }
9884
+ MarginAssetsResponse.runtime = proto3;
9885
+ MarginAssetsResponse.typeName = "trading.v1.MarginAssetsResponse";
9886
+ MarginAssetsResponse.fields = proto3.util.newFieldList(() => [
9887
+ { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
9888
+ { no: 2, name: "longs", kind: "message", T: MarginAssetPair, repeated: true },
9889
+ { no: 3, name: "shorts", kind: "message", T: MarginAssetPair, repeated: true },
9890
+ ]);
9777
9891
  /**
9778
9892
  * increaseLeverage, decreaseLeverage. Equity is held, so no amount.
9779
9893
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.11.16",
3
+ "version": "0.11.17",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },