@uniswap/client-trading 0.5.10 → 0.5.11

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.
@@ -380,6 +380,22 @@ export declare enum PlanStepType {
380
380
  */
381
381
  VAULT_WITHDRAW = 15
382
382
  }
383
+ /**
384
+ * Set when the output is a fee taken from the swap; unset for the swapper's
385
+ * core output.
386
+ *
387
+ * @generated from enum trading.v1.AggregatedOutputFee
388
+ */
389
+ export declare enum AggregatedOutputFee {
390
+ /**
391
+ * @generated from enum value: AGGREGATED_OUTPUT_FEE_UNSPECIFIED = 0;
392
+ */
393
+ AGGREGATED_OUTPUT_FEE_UNSPECIFIED = 0,
394
+ /**
395
+ * @generated from enum value: INTEGRATOR = 1;
396
+ */
397
+ INTEGRATOR = 1
398
+ }
383
399
  /**
384
400
  * @generated from enum trading.v1.PoolType
385
401
  */
@@ -2398,9 +2414,9 @@ export declare class AggregatedOutput extends Message<AggregatedOutput> {
2398
2414
  */
2399
2415
  minAmount?: string;
2400
2416
  /**
2401
- * @generated from field: bool fee = 6;
2417
+ * @generated from field: optional trading.v1.AggregatedOutputFee fee = 6;
2402
2418
  */
2403
- fee: boolean;
2419
+ fee?: AggregatedOutputFee;
2404
2420
  constructor(data?: PartialMessage<AggregatedOutput>);
2405
2421
  static readonly runtime: typeof proto3;
2406
2422
  static readonly typeName = "trading.v1.AggregatedOutput";
@@ -511,6 +511,28 @@ proto3.util.setEnumType(PlanStepType, "trading.v1.PlanStepType", [
511
511
  { no: 14, name: "PLAN_STEP_TYPE_VAULT_DEPOSIT" },
512
512
  { no: 15, name: "PLAN_STEP_TYPE_VAULT_WITHDRAW" },
513
513
  ]);
514
+ /**
515
+ * Set when the output is a fee taken from the swap; unset for the swapper's
516
+ * core output.
517
+ *
518
+ * @generated from enum trading.v1.AggregatedOutputFee
519
+ */
520
+ export var AggregatedOutputFee;
521
+ (function (AggregatedOutputFee) {
522
+ /**
523
+ * @generated from enum value: AGGREGATED_OUTPUT_FEE_UNSPECIFIED = 0;
524
+ */
525
+ AggregatedOutputFee[AggregatedOutputFee["AGGREGATED_OUTPUT_FEE_UNSPECIFIED"] = 0] = "AGGREGATED_OUTPUT_FEE_UNSPECIFIED";
526
+ /**
527
+ * @generated from enum value: INTEGRATOR = 1;
528
+ */
529
+ AggregatedOutputFee[AggregatedOutputFee["INTEGRATOR"] = 1] = "INTEGRATOR";
530
+ })(AggregatedOutputFee || (AggregatedOutputFee = {}));
531
+ // Retrieve enum metadata with: proto3.getEnumType(AggregatedOutputFee)
532
+ proto3.util.setEnumType(AggregatedOutputFee, "trading.v1.AggregatedOutputFee", [
533
+ { no: 0, name: "AGGREGATED_OUTPUT_FEE_UNSPECIFIED" },
534
+ { no: 1, name: "INTEGRATOR" },
535
+ ]);
514
536
  /**
515
537
  * @generated from enum trading.v1.PoolType
516
538
  */
@@ -2777,10 +2799,6 @@ export class AggregatedOutput extends Message {
2777
2799
  * @generated from field: double bps = 4;
2778
2800
  */
2779
2801
  this.bps = 0;
2780
- /**
2781
- * @generated from field: bool fee = 6;
2782
- */
2783
- this.fee = false;
2784
2802
  proto3.util.initPartial(data, this);
2785
2803
  }
2786
2804
  static fromBinary(bytes, options) {
@@ -2804,7 +2822,7 @@ AggregatedOutput.fields = proto3.util.newFieldList(() => [
2804
2822
  { no: 3, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2805
2823
  { no: 4, name: "bps", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2806
2824
  { no: 5, name: "min_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2807
- { no: 6, name: "fee", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2825
+ { no: 6, name: "fee", kind: "enum", T: proto3.getEnumType(AggregatedOutputFee), opt: true },
2808
2826
  ]);
2809
2827
  /**
2810
2828
  * @generated from message trading.v1.RouteList
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.5.10",
3
+ "version": "0.5.11",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },