@uniswap/client-trading 0.2.2 → 0.4.0

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.
@@ -130,6 +130,10 @@ export declare enum ChainId {
130
130
  * @generated from enum value: LINEA = 59144;
131
131
  */
132
132
  LINEA = 59144,
133
+ /**
134
+ * @generated from enum value: MEGAETH = 4326;
135
+ */
136
+ MEGAETH = 4326,
133
137
  /**
134
138
  * @generated from enum value: TEMPO = 4217;
135
139
  */
@@ -889,6 +893,10 @@ export declare class Swap5792Request extends Message<Swap5792Request> {
889
893
  * @generated from field: optional trading.v1.Urgency urgency = 6;
890
894
  */
891
895
  urgency?: Urgency;
896
+ /**
897
+ * @generated from field: optional trading.v1.UrgencyWithOverrides urgency_overrides = 7;
898
+ */
899
+ urgencyOverrides?: UrgencyWithOverrides;
892
900
  constructor(data?: PartialMessage<Swap5792Request>);
893
901
  static readonly runtime: typeof proto3;
894
902
  static readonly typeName = "trading.v1.Swap5792Request";
@@ -1353,6 +1361,72 @@ export declare class Token extends Message<Token> {
1353
1361
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Token;
1354
1362
  static equals(a: Token | PlainMessage<Token> | undefined, b: Token | PlainMessage<Token> | undefined): boolean;
1355
1363
  }
1364
+ /**
1365
+ * Caller-supplied caps applied on top of the gas service's computed quote.
1366
+ * All fields are absolute wei (decimal string). The gas service applies
1367
+ * max_priority_fee_per_gas / max_fee_per_gas as caps only — they lower the
1368
+ * quote, never raise it. gas_limit, if set, replaces the limit calculation
1369
+ * entirely.
1370
+ *
1371
+ * TAPI deliberately bundles gas_limit into UrgencyOverrides for a
1372
+ * REST-friendly client API. Trading's translation layer extracts gas_limit
1373
+ * out to the top-level gas_limit field on the unirpc-v2 request before
1374
+ * forwarding; unirpc-v2's `GasOverrides` proto carries only the fee-market
1375
+ * fields.
1376
+ *
1377
+ * @generated from message trading.v1.UrgencyOverrides
1378
+ */
1379
+ export declare class UrgencyOverrides extends Message<UrgencyOverrides> {
1380
+ /**
1381
+ * wei
1382
+ *
1383
+ * @generated from field: optional string max_priority_fee_per_gas = 1;
1384
+ */
1385
+ maxPriorityFeePerGas?: string;
1386
+ /**
1387
+ * wei
1388
+ *
1389
+ * @generated from field: optional string max_fee_per_gas = 2;
1390
+ */
1391
+ maxFeePerGas?: string;
1392
+ /**
1393
+ * @generated from field: optional string gas_limit = 3;
1394
+ */
1395
+ gasLimit?: string;
1396
+ constructor(data?: PartialMessage<UrgencyOverrides>);
1397
+ static readonly runtime: typeof proto3;
1398
+ static readonly typeName = "trading.v1.UrgencyOverrides";
1399
+ static readonly fields: FieldList;
1400
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UrgencyOverrides;
1401
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UrgencyOverrides;
1402
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UrgencyOverrides;
1403
+ static equals(a: UrgencyOverrides | PlainMessage<UrgencyOverrides> | undefined, b: UrgencyOverrides | PlainMessage<UrgencyOverrides> | undefined): boolean;
1404
+ }
1405
+ /**
1406
+ * High-level fee tier selection with optional caps. Mutually exclusive
1407
+ * with the legacy `urgency` enum field and `gas_strategies` on each
1408
+ * request — only one form of gas selection should be set.
1409
+ *
1410
+ * @generated from message trading.v1.UrgencyWithOverrides
1411
+ */
1412
+ export declare class UrgencyWithOverrides extends Message<UrgencyWithOverrides> {
1413
+ /**
1414
+ * @generated from field: trading.v1.Urgency level = 1;
1415
+ */
1416
+ level: Urgency;
1417
+ /**
1418
+ * @generated from field: optional trading.v1.UrgencyOverrides overrides = 2;
1419
+ */
1420
+ overrides?: UrgencyOverrides;
1421
+ constructor(data?: PartialMessage<UrgencyWithOverrides>);
1422
+ static readonly runtime: typeof proto3;
1423
+ static readonly typeName = "trading.v1.UrgencyWithOverrides";
1424
+ static readonly fields: FieldList;
1425
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UrgencyWithOverrides;
1426
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UrgencyWithOverrides;
1427
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UrgencyWithOverrides;
1428
+ static equals(a: UrgencyWithOverrides | PlainMessage<UrgencyWithOverrides> | undefined, b: UrgencyWithOverrides | PlainMessage<UrgencyWithOverrides> | undefined): boolean;
1429
+ }
1356
1430
  /**
1357
1431
  * @generated from message trading.v1.GasStrategy
1358
1432
  */
@@ -1463,7 +1537,8 @@ export declare class QuoteRequest extends Message<QuoteRequest> {
1463
1537
  */
1464
1538
  urgency?: Urgency;
1465
1539
  /**
1466
- * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 14;
1540
+ * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 14 [deprecated = true];
1541
+ * @deprecated
1467
1542
  */
1468
1543
  gasStrategies: GasStrategy[];
1469
1544
  /**
@@ -1490,6 +1565,10 @@ export declare class QuoteRequest extends Message<QuoteRequest> {
1490
1565
  * @generated from field: optional string recipient = 22;
1491
1566
  */
1492
1567
  recipient?: string;
1568
+ /**
1569
+ * @generated from field: optional trading.v1.UrgencyWithOverrides urgency_overrides = 23;
1570
+ */
1571
+ urgencyOverrides?: UrgencyWithOverrides;
1493
1572
  constructor(data?: PartialMessage<QuoteRequest>);
1494
1573
  static readonly runtime: typeof proto3;
1495
1574
  static readonly typeName = "trading.v1.QuoteRequest";
@@ -3180,13 +3259,18 @@ export declare class SwapRequest extends Message<SwapRequest> {
3180
3259
  */
3181
3260
  urgency?: Urgency;
3182
3261
  /**
3183
- * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 12;
3262
+ * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 12 [deprecated = true];
3263
+ * @deprecated
3184
3264
  */
3185
3265
  gasStrategies: GasStrategy[];
3186
3266
  /**
3187
3267
  * @generated from field: optional bool include_gas_info = 13;
3188
3268
  */
3189
3269
  includeGasInfo?: boolean;
3270
+ /**
3271
+ * @generated from field: optional trading.v1.UrgencyWithOverrides urgency_overrides = 14;
3272
+ */
3273
+ urgencyOverrides?: UrgencyWithOverrides;
3190
3274
  constructor(data?: PartialMessage<SwapRequest>);
3191
3275
  static readonly runtime: typeof proto3;
3192
3276
  static readonly typeName = "trading.v1.SwapRequest";
@@ -3291,9 +3375,14 @@ export declare class Swap7702Request extends Message<Swap7702Request> {
3291
3375
  */
3292
3376
  urgency?: Urgency;
3293
3377
  /**
3294
- * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 10;
3378
+ * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 10 [deprecated = true];
3379
+ * @deprecated
3295
3380
  */
3296
3381
  gasStrategies: GasStrategy[];
3382
+ /**
3383
+ * @generated from field: optional trading.v1.UrgencyWithOverrides urgency_overrides = 11;
3384
+ */
3385
+ urgencyOverrides?: UrgencyWithOverrides;
3297
3386
  constructor(data?: PartialMessage<Swap7702Request>);
3298
3387
  static readonly runtime: typeof proto3;
3299
3388
  static readonly typeName = "trading.v1.Swap7702Request";
@@ -3473,10 +3562,6 @@ export declare class Customer extends Message<Customer> {
3473
3562
  * @generated from field: string name = 2;
3474
3563
  */
3475
3564
  name: string;
3476
- /**
3477
- * @generated from field: bool isInternal = 3;
3478
- */
3479
- isInternal: boolean;
3480
3565
  /**
3481
3566
  * @generated from field: string createdAt = 4;
3482
3567
  */
@@ -3518,10 +3603,6 @@ export declare class CreateCustomerRequest extends Message<CreateCustomerRequest
3518
3603
  * @generated from field: string name = 1;
3519
3604
  */
3520
3605
  name: string;
3521
- /**
3522
- * @generated from field: bool isInternal = 2;
3523
- */
3524
- isInternal: boolean;
3525
3606
  /**
3526
3607
  * @generated from field: string createdBy = 3;
3527
3608
  */
@@ -3640,10 +3721,6 @@ export declare class UpdateCustomerRequest extends Message<UpdateCustomerRequest
3640
3721
  * @generated from field: string name = 2;
3641
3722
  */
3642
3723
  name: string;
3643
- /**
3644
- * @generated from field: bool isInternal = 3;
3645
- */
3646
- isInternal: boolean;
3647
3724
  constructor(data?: PartialMessage<UpdateCustomerRequest>);
3648
3725
  static readonly runtime: typeof proto3;
3649
3726
  static readonly typeName = "trading.v1.UpdateCustomerRequest";
@@ -4960,6 +5037,10 @@ export declare class CheckApprovalRequest extends Message<CheckApprovalRequest>
4960
5037
  * @generated from field: optional trading.v1.ChainId token_out_chain_id = 8;
4961
5038
  */
4962
5039
  tokenOutChainId?: ChainId;
5040
+ /**
5041
+ * @generated from field: optional trading.v1.UrgencyWithOverrides urgency_overrides = 9;
5042
+ */
5043
+ urgencyOverrides?: UrgencyWithOverrides;
4963
5044
  constructor(data?: PartialMessage<CheckApprovalRequest>);
4964
5045
  static readonly runtime: typeof proto3;
4965
5046
  static readonly typeName = "trading.v1.CheckApprovalRequest";
@@ -6146,6 +6227,10 @@ export declare class CreatePlanRequest extends Message<CreatePlanRequest> {
6146
6227
  * @generated from field: optional trading.v1.WalletExecutionContext wallet_execution_context = 3;
6147
6228
  */
6148
6229
  walletExecutionContext?: WalletExecutionContext;
6230
+ /**
6231
+ * @generated from field: optional trading.v1.UrgencyWithOverrides urgency_overrides = 4;
6232
+ */
6233
+ urgencyOverrides?: UrgencyWithOverrides;
6149
6234
  constructor(data?: PartialMessage<CreatePlanRequest>);
6150
6235
  static readonly runtime: typeof proto3;
6151
6236
  static readonly typeName = "trading.v1.CreatePlanRequest";
@@ -149,6 +149,10 @@ export var ChainId;
149
149
  * @generated from enum value: LINEA = 59144;
150
150
  */
151
151
  ChainId[ChainId["LINEA"] = 59144] = "LINEA";
152
+ /**
153
+ * @generated from enum value: MEGAETH = 4326;
154
+ */
155
+ ChainId[ChainId["MEGAETH"] = 4326] = "MEGAETH";
152
156
  /**
153
157
  * @generated from enum value: TEMPO = 4217;
154
158
  */
@@ -178,6 +182,7 @@ proto3.util.setEnumType(ChainId, "trading.v1.ChainId", [
178
182
  { no: 1868, name: "SONEIUM" },
179
183
  { no: 196, name: "XLAYER" },
180
184
  { no: 59144, name: "LINEA" },
185
+ { no: 4326, name: "MEGAETH" },
181
186
  { no: 4217, name: "TEMPO" },
182
187
  ]);
183
188
  /**
@@ -1138,6 +1143,7 @@ Swap5792Request.fields = proto3.util.newFieldList(() => [
1138
1143
  { no: 4, name: "permit_data", kind: "message", T: PermitSingleData, opt: true },
1139
1144
  { no: 5, name: "deadline", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
1140
1145
  { no: 6, name: "urgency", kind: "enum", T: proto3.getEnumType(Urgency), opt: true },
1146
+ { no: 7, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
1141
1147
  ]);
1142
1148
  /**
1143
1149
  * @generated from message trading.v1.Swap5792Response
@@ -1770,6 +1776,81 @@ Token.fields = proto3.util.newFieldList(() => [
1770
1776
  { no: 5, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1771
1777
  { no: 6, name: "project", kind: "message", T: TokenProject },
1772
1778
  ]);
1779
+ /**
1780
+ * Caller-supplied caps applied on top of the gas service's computed quote.
1781
+ * All fields are absolute wei (decimal string). The gas service applies
1782
+ * max_priority_fee_per_gas / max_fee_per_gas as caps only — they lower the
1783
+ * quote, never raise it. gas_limit, if set, replaces the limit calculation
1784
+ * entirely.
1785
+ *
1786
+ * TAPI deliberately bundles gas_limit into UrgencyOverrides for a
1787
+ * REST-friendly client API. Trading's translation layer extracts gas_limit
1788
+ * out to the top-level gas_limit field on the unirpc-v2 request before
1789
+ * forwarding; unirpc-v2's `GasOverrides` proto carries only the fee-market
1790
+ * fields.
1791
+ *
1792
+ * @generated from message trading.v1.UrgencyOverrides
1793
+ */
1794
+ export class UrgencyOverrides extends Message {
1795
+ constructor(data) {
1796
+ super();
1797
+ proto3.util.initPartial(data, this);
1798
+ }
1799
+ static fromBinary(bytes, options) {
1800
+ return new UrgencyOverrides().fromBinary(bytes, options);
1801
+ }
1802
+ static fromJson(jsonValue, options) {
1803
+ return new UrgencyOverrides().fromJson(jsonValue, options);
1804
+ }
1805
+ static fromJsonString(jsonString, options) {
1806
+ return new UrgencyOverrides().fromJsonString(jsonString, options);
1807
+ }
1808
+ static equals(a, b) {
1809
+ return proto3.util.equals(UrgencyOverrides, a, b);
1810
+ }
1811
+ }
1812
+ UrgencyOverrides.runtime = proto3;
1813
+ UrgencyOverrides.typeName = "trading.v1.UrgencyOverrides";
1814
+ UrgencyOverrides.fields = proto3.util.newFieldList(() => [
1815
+ { no: 1, name: "max_priority_fee_per_gas", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1816
+ { no: 2, name: "max_fee_per_gas", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1817
+ { no: 3, name: "gas_limit", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1818
+ ]);
1819
+ /**
1820
+ * High-level fee tier selection with optional caps. Mutually exclusive
1821
+ * with the legacy `urgency` enum field and `gas_strategies` on each
1822
+ * request — only one form of gas selection should be set.
1823
+ *
1824
+ * @generated from message trading.v1.UrgencyWithOverrides
1825
+ */
1826
+ export class UrgencyWithOverrides extends Message {
1827
+ constructor(data) {
1828
+ super();
1829
+ /**
1830
+ * @generated from field: trading.v1.Urgency level = 1;
1831
+ */
1832
+ this.level = Urgency.NORMAL;
1833
+ proto3.util.initPartial(data, this);
1834
+ }
1835
+ static fromBinary(bytes, options) {
1836
+ return new UrgencyWithOverrides().fromBinary(bytes, options);
1837
+ }
1838
+ static fromJson(jsonValue, options) {
1839
+ return new UrgencyWithOverrides().fromJson(jsonValue, options);
1840
+ }
1841
+ static fromJsonString(jsonString, options) {
1842
+ return new UrgencyWithOverrides().fromJsonString(jsonString, options);
1843
+ }
1844
+ static equals(a, b) {
1845
+ return proto3.util.equals(UrgencyWithOverrides, a, b);
1846
+ }
1847
+ }
1848
+ UrgencyWithOverrides.runtime = proto3;
1849
+ UrgencyWithOverrides.typeName = "trading.v1.UrgencyWithOverrides";
1850
+ UrgencyWithOverrides.fields = proto3.util.newFieldList(() => [
1851
+ { no: 1, name: "level", kind: "enum", T: proto3.getEnumType(Urgency) },
1852
+ { no: 2, name: "overrides", kind: "message", T: UrgencyOverrides, opt: true },
1853
+ ]);
1773
1854
  /**
1774
1855
  * @generated from message trading.v1.GasStrategy
1775
1856
  */
@@ -1864,7 +1945,8 @@ export class QuoteRequest extends Message {
1864
1945
  */
1865
1946
  this.spreadOptimization = SpreadOptimization.EXECUTION;
1866
1947
  /**
1867
- * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 14;
1948
+ * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 14 [deprecated = true];
1949
+ * @deprecated
1868
1950
  */
1869
1951
  this.gasStrategies = [];
1870
1952
  /**
@@ -1913,6 +1995,7 @@ QuoteRequest.fields = proto3.util.newFieldList(() => [
1913
1995
  { no: 20, name: "integrator_fees", kind: "message", T: IntegratorFee, repeated: true },
1914
1996
  { no: 21, name: "wallet_execution_context", kind: "message", T: WalletExecutionContext, opt: true },
1915
1997
  { no: 22, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1998
+ { no: 23, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
1916
1999
  ]);
1917
2000
  /**
1918
2001
  * @generated from message trading.v1.IntegratorFee
@@ -3797,7 +3880,8 @@ export class SwapRequest extends Message {
3797
3880
  */
3798
3881
  this.quote = { case: undefined };
3799
3882
  /**
3800
- * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 12;
3883
+ * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 12 [deprecated = true];
3884
+ * @deprecated
3801
3885
  */
3802
3886
  this.gasStrategies = [];
3803
3887
  proto3.util.initPartial(data, this);
@@ -3831,6 +3915,7 @@ SwapRequest.fields = proto3.util.newFieldList(() => [
3831
3915
  { no: 11, name: "urgency", kind: "enum", T: proto3.getEnumType(Urgency), opt: true },
3832
3916
  { no: 12, name: "gas_strategies", kind: "message", T: GasStrategy, repeated: true },
3833
3917
  { no: 13, name: "include_gas_info", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
3918
+ { no: 14, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
3834
3919
  ]);
3835
3920
  /**
3836
3921
  * @generated from message trading.v1.SwapResponse
@@ -3903,7 +3988,8 @@ export class Swap7702Request extends Message {
3903
3988
  */
3904
3989
  this.deadline = protoInt64.zero;
3905
3990
  /**
3906
- * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 10;
3991
+ * @generated from field: repeated trading.v1.GasStrategy gas_strategies = 10 [deprecated = true];
3992
+ * @deprecated
3907
3993
  */
3908
3994
  this.gasStrategies = [];
3909
3995
  proto3.util.initPartial(data, this);
@@ -3934,6 +4020,7 @@ Swap7702Request.fields = proto3.util.newFieldList(() => [
3934
4020
  { no: 8, name: "deadline", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
3935
4021
  { no: 9, name: "urgency", kind: "enum", T: proto3.getEnumType(Urgency), opt: true },
3936
4022
  { no: 10, name: "gas_strategies", kind: "message", T: GasStrategy, repeated: true },
4023
+ { no: 11, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
3937
4024
  ]);
3938
4025
  /**
3939
4026
  * @generated from message trading.v1.Swap7702Response
@@ -4171,10 +4258,6 @@ export class Customer extends Message {
4171
4258
  * @generated from field: string name = 2;
4172
4259
  */
4173
4260
  this.name = "";
4174
- /**
4175
- * @generated from field: bool isInternal = 3;
4176
- */
4177
- this.isInternal = false;
4178
4261
  /**
4179
4262
  * @generated from field: string createdAt = 4;
4180
4263
  */
@@ -4215,7 +4298,6 @@ Customer.typeName = "trading.v1.Customer";
4215
4298
  Customer.fields = proto3.util.newFieldList(() => [
4216
4299
  { no: 1, name: "hash", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4217
4300
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4218
- { no: 3, name: "isInternal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
4219
4301
  { no: 4, name: "createdAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4220
4302
  { no: 5, name: "modifiedAt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4221
4303
  { no: 6, name: "usagePlanId", kind: "scalar", T: 9 /* ScalarType.STRING */ },
@@ -4233,10 +4315,6 @@ export class CreateCustomerRequest extends Message {
4233
4315
  * @generated from field: string name = 1;
4234
4316
  */
4235
4317
  this.name = "";
4236
- /**
4237
- * @generated from field: bool isInternal = 2;
4238
- */
4239
- this.isInternal = false;
4240
4318
  /**
4241
4319
  * @generated from field: string createdBy = 3;
4242
4320
  */
@@ -4260,7 +4338,6 @@ CreateCustomerRequest.runtime = proto3;
4260
4338
  CreateCustomerRequest.typeName = "trading.v1.CreateCustomerRequest";
4261
4339
  CreateCustomerRequest.fields = proto3.util.newFieldList(() => [
4262
4340
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4263
- { no: 2, name: "isInternal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
4264
4341
  { no: 3, name: "createdBy", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4265
4342
  ]);
4266
4343
  /**
@@ -4430,10 +4507,6 @@ export class UpdateCustomerRequest extends Message {
4430
4507
  * @generated from field: string name = 2;
4431
4508
  */
4432
4509
  this.name = "";
4433
- /**
4434
- * @generated from field: bool isInternal = 3;
4435
- */
4436
- this.isInternal = false;
4437
4510
  proto3.util.initPartial(data, this);
4438
4511
  }
4439
4512
  static fromBinary(bytes, options) {
@@ -4453,7 +4526,6 @@ UpdateCustomerRequest.runtime = proto3;
4453
4526
  UpdateCustomerRequest.typeName = "trading.v1.UpdateCustomerRequest";
4454
4527
  UpdateCustomerRequest.fields = proto3.util.newFieldList(() => [
4455
4528
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
4456
- { no: 3, name: "isInternal", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
4457
4529
  ]);
4458
4530
  /**
4459
4531
  * @generated from message trading.v1.UpdateCustomerResponse
@@ -5868,6 +5940,7 @@ CheckApprovalRequest.fields = proto3.util.newFieldList(() => [
5868
5940
  { no: 6, name: "include_gas_info", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
5869
5941
  { no: 7, name: "token_out", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5870
5942
  { no: 8, name: "token_out_chain_id", kind: "enum", T: proto3.getEnumType(ChainId), opt: true },
5943
+ { no: 9, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
5871
5944
  ]);
5872
5945
  /**
5873
5946
  * @generated from message trading.v1.CheckApprovalResponse
@@ -7264,6 +7337,7 @@ CreatePlanRequest.fields = proto3.util.newFieldList(() => [
7264
7337
  { no: 1, name: "routing", kind: "enum", T: proto3.getEnumType(SwapType) },
7265
7338
  { no: 2, name: "quote", kind: "message", T: ChainedQuote },
7266
7339
  { no: 3, name: "wallet_execution_context", kind: "message", T: WalletExecutionContext, opt: true },
7340
+ { no: 4, name: "urgency_overrides", kind: "message", T: UrgencyWithOverrides, opt: true },
7267
7341
  ]);
7268
7342
  /**
7269
7343
  * @generated from message trading.v1.GetPlanRequest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.2.2",
3
+ "version": "0.4.0",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },