@uniswap/client-trading 0.5.2 → 0.5.3

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.
@@ -990,6 +990,33 @@ export declare class Swap5792Request extends Message<Swap5792Request> {
990
990
  */
991
991
  value: BridgeQuote;
992
992
  case: "bridgeQuote";
993
+ } | {
994
+ /**
995
+ * UniswapX quotes are only accepted with approval_only = true (the swap
996
+ * itself is an off-chain signed order).
997
+ *
998
+ * @generated from field: trading.v1.DutchLimitQuote dutch_limit_quote = 10;
999
+ */
1000
+ value: DutchLimitQuote;
1001
+ case: "dutchLimitQuote";
1002
+ } | {
1003
+ /**
1004
+ * @generated from field: trading.v1.DutchLimitV2Quote dutch_limit_v2_quote = 11;
1005
+ */
1006
+ value: DutchLimitV2Quote;
1007
+ case: "dutchLimitV2Quote";
1008
+ } | {
1009
+ /**
1010
+ * @generated from field: trading.v1.DutchLimitV3Quote dutch_limit_v3_quote = 12;
1011
+ */
1012
+ value: DutchLimitV3Quote;
1013
+ case: "dutchLimitV3Quote";
1014
+ } | {
1015
+ /**
1016
+ * @generated from field: trading.v1.PriorityQuote priority_quote = 13;
1017
+ */
1018
+ value: PriorityQuote;
1019
+ case: "priorityQuote";
993
1020
  } | {
994
1021
  case: undefined;
995
1022
  value?: undefined;
@@ -1014,6 +1041,20 @@ export declare class Swap5792Request extends Message<Swap5792Request> {
1014
1041
  * @generated from field: optional trading.v1.SponsorshipInfo sponsorship_info = 8;
1015
1042
  */
1016
1043
  sponsorshipInfo?: SponsorshipInfo;
1044
+ /**
1045
+ * Return only the ERC-20 approval call(s) for the quote's input token —
1046
+ * no swap transaction. Required for UniswapX quotes.
1047
+ *
1048
+ * @generated from field: optional bool approval_only = 9;
1049
+ */
1050
+ approvalOnly?: boolean;
1051
+ /**
1052
+ * Explicit opt-in to gas sponsorship for approval-only batches (mirrors
1053
+ * /check_approval_4337). The swap flow still uses sponsorship_info.
1054
+ *
1055
+ * @generated from field: optional bool request_gas_sponsorship = 14;
1056
+ */
1057
+ requestGasSponsorship?: boolean;
1017
1058
  constructor(data?: PartialMessage<Swap5792Request>);
1018
1059
  static readonly runtime: typeof proto3;
1019
1060
  static readonly typeName = "trading.v1.Swap5792Request";
@@ -1228,11 +1228,17 @@ Swap5792Request.fields = proto3.util.newFieldList(() => [
1228
1228
  { no: 1, name: "classic_quote", kind: "message", T: ClassicQuote, oneof: "quote" },
1229
1229
  { no: 2, name: "wrap_unwrap_quote", kind: "message", T: WrapUnwrapQuote, oneof: "quote" },
1230
1230
  { no: 3, name: "bridge_quote", kind: "message", T: BridgeQuote, oneof: "quote" },
1231
+ { no: 10, name: "dutch_limit_quote", kind: "message", T: DutchLimitQuote, oneof: "quote" },
1232
+ { no: 11, name: "dutch_limit_v2_quote", kind: "message", T: DutchLimitV2Quote, oneof: "quote" },
1233
+ { no: 12, name: "dutch_limit_v3_quote", kind: "message", T: DutchLimitV3Quote, oneof: "quote" },
1234
+ { no: 13, name: "priority_quote", kind: "message", T: PriorityQuote, oneof: "quote" },
1231
1235
  { no: 4, name: "permit_data", kind: "message", T: PermitSingleData, opt: true },
1232
1236
  { no: 5, name: "deadline", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1233
1237
  { no: 6, name: "urgency", kind: "enum", T: proto3.getEnumType(Urgency), opt: true },
1234
1238
  { no: 7, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
1235
1239
  { no: 8, name: "sponsorship_info", kind: "message", T: SponsorshipInfo, opt: true },
1240
+ { no: 9, name: "approval_only", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1241
+ { no: 14, name: "request_gas_sponsorship", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1236
1242
  ]);
1237
1243
  /**
1238
1244
  * @generated from message trading.v1.Swap5792Response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },