@uniswap/client-trading 0.4.2 → 0.4.4

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.
@@ -137,7 +137,11 @@ export declare enum ChainId {
137
137
  /**
138
138
  * @generated from enum value: TEMPO = 4217;
139
139
  */
140
- TEMPO = 4217
140
+ TEMPO = 4217,
141
+ /**
142
+ * @generated from enum value: ROBINHOOD = 4663;
143
+ */
144
+ ROBINHOOD = 4663
141
145
  }
142
146
  /**
143
147
  * @generated from enum trading.v1.Protocols
@@ -2067,7 +2071,7 @@ export declare class AggregatedOutput extends Message<AggregatedOutput> {
2067
2071
  */
2068
2072
  recipient: string;
2069
2073
  /**
2070
- * @generated from field: int32 bps = 4;
2074
+ * @generated from field: double bps = 4;
2071
2075
  */
2072
2076
  bps: number;
2073
2077
  /**
@@ -2189,7 +2193,7 @@ export declare class ClassicQuote extends Message<ClassicQuote> {
2189
2193
  */
2190
2194
  aggregatedOutputs: AggregatedOutput[];
2191
2195
  /**
2192
- * @generated from field: optional int32 portion_bips = 22;
2196
+ * @generated from field: optional double portion_bips = 22;
2193
2197
  */
2194
2198
  portionBips?: number;
2195
2199
  /**
@@ -4720,7 +4724,7 @@ export declare class DutchLimitQuote extends Message<DutchLimitQuote> {
4720
4724
  */
4721
4725
  aggregatedOutputs: AggregatedOutput[];
4722
4726
  /**
4723
- * @generated from field: optional int32 portion_bips = 8;
4727
+ * @generated from field: optional double portion_bips = 8;
4724
4728
  */
4725
4729
  portionBips?: number;
4726
4730
  /**
@@ -4838,7 +4842,7 @@ export declare class DutchLimitV2Quote extends Message<DutchLimitV2Quote> {
4838
4842
  */
4839
4843
  aggregatedOutputs: AggregatedOutput[];
4840
4844
  /**
4841
- * @generated from field: optional int32 portion_bips = 9;
4845
+ * @generated from field: optional double portion_bips = 9;
4842
4846
  */
4843
4847
  portionBips?: number;
4844
4848
  /**
@@ -4968,7 +4972,7 @@ export declare class DutchLimitV3Quote extends Message<DutchLimitV3Quote> {
4968
4972
  */
4969
4973
  aggregatedOutputs: AggregatedOutput[];
4970
4974
  /**
4971
- * @generated from field: optional int32 portion_bips = 11;
4975
+ * @generated from field: optional double portion_bips = 11;
4972
4976
  */
4973
4977
  portionBips?: number;
4974
4978
  /**
@@ -5267,7 +5271,7 @@ export declare class PriorityQuote extends Message<PriorityQuote> {
5267
5271
  */
5268
5272
  aggregatedOutputs: AggregatedOutput[];
5269
5273
  /**
5270
- * @generated from field: optional int32 portion_bips = 11;
5274
+ * @generated from field: optional double portion_bips = 11;
5271
5275
  */
5272
5276
  portionBips?: number;
5273
5277
  /**
@@ -157,6 +157,10 @@ export var ChainId;
157
157
  * @generated from enum value: TEMPO = 4217;
158
158
  */
159
159
  ChainId[ChainId["TEMPO"] = 4217] = "TEMPO";
160
+ /**
161
+ * @generated from enum value: ROBINHOOD = 4663;
162
+ */
163
+ ChainId[ChainId["ROBINHOOD"] = 4663] = "ROBINHOOD";
160
164
  })(ChainId || (ChainId = {}));
161
165
  // Retrieve enum metadata with: proto3.getEnumType(ChainId)
162
166
  proto3.util.setEnumType(ChainId, "trading.v1.ChainId", [
@@ -184,6 +188,7 @@ proto3.util.setEnumType(ChainId, "trading.v1.ChainId", [
184
188
  { no: 59144, name: "LINEA" },
185
189
  { no: 4326, name: "MEGAETH" },
186
190
  { no: 4217, name: "TEMPO" },
191
+ { no: 4663, name: "ROBINHOOD" },
187
192
  ]);
188
193
  /**
189
194
  * @generated from enum trading.v1.Protocols
@@ -2456,7 +2461,7 @@ export class AggregatedOutput extends Message {
2456
2461
  */
2457
2462
  this.recipient = "";
2458
2463
  /**
2459
- * @generated from field: int32 bps = 4;
2464
+ * @generated from field: double bps = 4;
2460
2465
  */
2461
2466
  this.bps = 0;
2462
2467
  proto3.util.initPartial(data, this);
@@ -2480,7 +2485,7 @@ AggregatedOutput.fields = proto3.util.newFieldList(() => [
2480
2485
  { no: 1, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2481
2486
  { no: 2, name: "token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2482
2487
  { no: 3, name: "recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ },
2483
- { no: 4, name: "bps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
2488
+ { no: 4, name: "bps", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
2484
2489
  { no: 5, name: "min_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2485
2490
  ]);
2486
2491
  /**
@@ -2594,7 +2599,7 @@ ClassicQuote.fields = proto3.util.newFieldList(() => [
2594
2599
  { no: 19, name: "tx_failure_reasons", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
2595
2600
  { no: 20, name: "gas_estimates", kind: "message", T: GasEstimate, repeated: true },
2596
2601
  { no: 21, name: "aggregated_outputs", kind: "message", T: AggregatedOutput, repeated: true },
2597
- { no: 22, name: "portion_bips", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
2602
+ { no: 22, name: "portion_bips", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
2598
2603
  { no: 23, name: "portion_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2599
2604
  { no: 24, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
2600
2605
  { no: 26, name: "swap_steps", kind: "message", T: SwapStep, repeated: true },
@@ -5598,7 +5603,7 @@ DutchLimitQuote.fields = proto3.util.newFieldList(() => [
5598
5603
  { no: 5, name: "quote_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5599
5604
  { no: 6, name: "classic_gas_use_estimate_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5600
5605
  { no: 7, name: "aggregated_outputs", kind: "message", T: AggregatedOutput, repeated: true },
5601
- { no: 8, name: "portion_bips", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
5606
+ { no: 8, name: "portion_bips", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
5602
5607
  { no: 9, name: "portion_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5603
5608
  { no: 10, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5604
5609
  { no: 11, name: "input", kind: "message", T: QuoteInput },
@@ -5727,7 +5732,7 @@ DutchLimitV2Quote.fields = proto3.util.newFieldList(() => [
5727
5732
  { no: 6, name: "classic_gas_use_estimate_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5728
5733
  { no: 7, name: "deadline_buffer_secs", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
5729
5734
  { no: 8, name: "aggregated_outputs", kind: "message", T: AggregatedOutput, repeated: true },
5730
- { no: 9, name: "portion_bips", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
5735
+ { no: 9, name: "portion_bips", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
5731
5736
  { no: 10, name: "portion_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5732
5737
  { no: 11, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5733
5738
  { no: 12, name: "input", kind: "message", T: QuoteInput },
@@ -5863,7 +5868,7 @@ DutchLimitV3Quote.fields = proto3.util.newFieldList(() => [
5863
5868
  { no: 8, name: "expected_amount_in", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5864
5869
  { no: 9, name: "expected_amount_out", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5865
5870
  { no: 10, name: "aggregated_outputs", kind: "message", T: AggregatedOutput, repeated: true },
5866
- { no: 11, name: "portion_bips", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
5871
+ { no: 11, name: "portion_bips", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
5867
5872
  { no: 12, name: "portion_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5868
5873
  { no: 13, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
5869
5874
  { no: 14, name: "input", kind: "message", T: QuoteInput },
@@ -6202,7 +6207,7 @@ PriorityQuote.fields = proto3.util.newFieldList(() => [
6202
6207
  { no: 8, name: "expected_amount_out", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
6203
6208
  { no: 9, name: "classic_gas_use_estimate_usd", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
6204
6209
  { no: 10, name: "aggregated_outputs", kind: "message", T: AggregatedOutput, repeated: true },
6205
- { no: 11, name: "portion_bips", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
6210
+ { no: 11, name: "portion_bips", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
6206
6211
  { no: 12, name: "portion_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
6207
6212
  { no: 13, name: "portion_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
6208
6213
  { no: 14, name: "input", kind: "message", T: QuoteInput },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-trading",
3
- "version": "0.4.2",
3
+ "version": "0.4.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },