@uniswap/client-trading 0.5.7 → 0.5.8

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.
@@ -1873,6 +1873,16 @@ export declare class QuoteResponse extends Message<QuoteResponse> {
1873
1873
  * @generated from field: optional trading.v1.SponsorshipInfo sponsorship_info = 21;
1874
1874
  */
1875
1875
  sponsorshipInfo?: SponsorshipInfo;
1876
+ /**
1877
+ * Whether an ERC-20 token approval is applicable to this swap's input — i.e.
1878
+ * the routing pulls the input token via an allowance (ERC-20 -> Permit2 /
1879
+ * Across) rather than attaching it as native value or wrapping/unwrapping.
1880
+ * Reflects the routing mechanism, not the swapper's current allowance. When
1881
+ * unset, treat as applicable (approval may be required).
1882
+ *
1883
+ * @generated from field: optional bool is_token_approval_applicable = 22;
1884
+ */
1885
+ isTokenApprovalApplicable?: boolean;
1876
1886
  constructor(data?: PartialMessage<QuoteResponse>);
1877
1887
  static readonly runtime: typeof proto3;
1878
1888
  static readonly typeName = "trading.v1.QuoteResponse";
@@ -2199,6 +2199,7 @@ QuoteResponse.fields = proto3.util.newFieldList(() => [
2199
2199
  { no: 19, name: "permit_transaction", kind: "message", T: TransactionRequest, opt: true },
2200
2200
  { no: 20, name: "permit_gas_fee", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2201
2201
  { no: 21, name: "sponsorship_info", kind: "message", T: SponsorshipInfo, opt: true },
2202
+ { no: 22, name: "is_token_approval_applicable", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
2202
2203
  ]);
2203
2204
  /**
2204
2205
  * @generated from message trading.v1.QuoteInput
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.5.7",
3
+ "version": "0.5.8",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },