@uniswap/client-liquidity 1.4.22 → 1.4.24

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.
@@ -512,6 +512,21 @@ export declare class CreateAuctionRequest extends Message<CreateAuctionRequest>
512
512
  * @generated from field: optional bool creator_fees_enabled = 8;
513
513
  */
514
514
  creatorFeesEnabled?: boolean;
515
+ /**
516
+ * Opt-in: when true the migrator's `recipient` and the auction's
517
+ * `tokensRecipient` are set to the burn address instead of the pool owner, so
518
+ * a non-graduated auction does not return the token supply to the creator.
519
+ * Absent/false leaves that routing unchanged. `positionRecipient` and
520
+ * `fundsRecipient` are unaffected.
521
+ *
522
+ * Not failure-only: `recipient` is also paid on a SUCCESSFUL migration, where
523
+ * it receives the unconsumed part of reserved_supply_for_lp and any raised
524
+ * currency the LP position did not take. Opting in burns that value on
525
+ * graduation too, so only set it when the product terms cover both outcomes.
526
+ *
527
+ * @generated from field: optional bool burn_unsold_on_failure = 9;
528
+ */
529
+ burnUnsoldOnFailure?: boolean;
515
530
  constructor(data?: PartialMessage<CreateAuctionRequest>);
516
531
  static readonly runtime: typeof proto3;
517
532
  static readonly typeName = "uniswap.liquidity.v1.CreateAuctionRequest";
@@ -677,6 +677,7 @@ CreateAuctionRequest.fields = proto3.util.newFieldList(() => [
677
677
  { no: 6, name: "salt", kind: "scalar", T: 9 /* ScalarType.STRING */ },
678
678
  { no: 7, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
679
679
  { no: 8, name: "creator_fees_enabled", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
680
+ { no: 9, name: "burn_unsold_on_failure", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
680
681
  ]);
681
682
  /**
682
683
  * @generated from message uniswap.liquidity.v1.TokenInfo
@@ -1048,9 +1048,12 @@ export declare class PoolVolumeBucket extends Message<PoolVolumeBucket> {
1048
1048
  */
1049
1049
  export declare class PoolRef extends Message<PoolRef> {
1050
1050
  /**
1051
- * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 1;
1051
+ * Numeric chain id, mirroring data.v1.PoolRef (uint32) so callers pass the raw
1052
+ * chain id without reinterpreting it as the liquidity ChainId enum.
1053
+ *
1054
+ * @generated from field: uint32 chain_id = 1;
1052
1055
  */
1053
- chainId: ChainId;
1056
+ chainId: number;
1054
1057
  /**
1055
1058
  * V2 pair address, V3 pool address, or V4 pool id (0x + 64 hex).
1056
1059
  *
@@ -1101,6 +1104,15 @@ export declare class PositionModifier extends Message<PositionModifier> {
1101
1104
  * @generated from field: bool include_spam_tokens = 3;
1102
1105
  */
1103
1106
  includeSpamTokens: boolean;
1107
+ /**
1108
+ * When true, return ONLY the positions the default view hides — the exact
1109
+ * complement of the visible set: pools flagged spam (minus pool_include_overrides)
1110
+ * plus pool_exclude_overrides. Composes with the lifecycle/range filters.
1111
+ * Ignores include_spam_tokens. Default false = normal (visible) view.
1112
+ *
1113
+ * @generated from field: bool hidden_only = 4;
1114
+ */
1115
+ hiddenOnly: boolean;
1104
1116
  constructor(data?: PartialMessage<PositionModifier>);
1105
1117
  static readonly runtime: typeof proto3;
1106
1118
  static readonly typeName = "uniswap.liquidity.v2.PositionModifier";
@@ -1320,9 +1320,12 @@ export class PoolRef extends Message {
1320
1320
  constructor(data) {
1321
1321
  super();
1322
1322
  /**
1323
- * @generated from field: uniswap.liquidity.v1.ChainId chain_id = 1;
1323
+ * Numeric chain id, mirroring data.v1.PoolRef (uint32) so callers pass the raw
1324
+ * chain id without reinterpreting it as the liquidity ChainId enum.
1325
+ *
1326
+ * @generated from field: uint32 chain_id = 1;
1324
1327
  */
1325
- this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
1328
+ this.chainId = 0;
1326
1329
  /**
1327
1330
  * V2 pair address, V3 pool address, or V4 pool id (0x + 64 hex).
1328
1331
  *
@@ -1347,7 +1350,7 @@ export class PoolRef extends Message {
1347
1350
  PoolRef.runtime = proto3;
1348
1351
  PoolRef.typeName = "uniswap.liquidity.v2.PoolRef";
1349
1352
  PoolRef.fields = proto3.util.newFieldList(() => [
1350
- { no: 1, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
1353
+ { no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
1351
1354
  { no: 2, name: "pool_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1352
1355
  { no: 3, name: "position_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1353
1356
  ]);
@@ -1381,6 +1384,15 @@ export class PositionModifier extends Message {
1381
1384
  * @generated from field: bool include_spam_tokens = 3;
1382
1385
  */
1383
1386
  this.includeSpamTokens = false;
1387
+ /**
1388
+ * When true, return ONLY the positions the default view hides — the exact
1389
+ * complement of the visible set: pools flagged spam (minus pool_include_overrides)
1390
+ * plus pool_exclude_overrides. Composes with the lifecycle/range filters.
1391
+ * Ignores include_spam_tokens. Default false = normal (visible) view.
1392
+ *
1393
+ * @generated from field: bool hidden_only = 4;
1394
+ */
1395
+ this.hiddenOnly = false;
1384
1396
  proto3.util.initPartial(data, this);
1385
1397
  }
1386
1398
  static fromBinary(bytes, options) {
@@ -1402,6 +1414,7 @@ PositionModifier.fields = proto3.util.newFieldList(() => [
1402
1414
  { no: 1, name: "pool_include_overrides", kind: "message", T: PoolRef, repeated: true },
1403
1415
  { no: 2, name: "pool_exclude_overrides", kind: "message", T: PoolRef, repeated: true },
1404
1416
  { no: 3, name: "include_spam_tokens", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1417
+ { no: 4, name: "hidden_only", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1405
1418
  ]);
1406
1419
  /**
1407
1420
  * One LP position, as indexed from chain events (raw position state).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "1.4.22",
3
+ "version": "1.4.24",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },