@uniswap/client-liquidity 0.0.13 → 0.0.15

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.
@@ -102,7 +102,11 @@ export declare enum ChainId {
102
102
  /**
103
103
  * @generated from enum value: MONAD = 143;
104
104
  */
105
- MONAD = 143
105
+ MONAD = 143,
106
+ /**
107
+ * @generated from enum value: XLAYER = 196;
108
+ */
109
+ XLAYER = 196
106
110
  }
107
111
  /**
108
112
  * @generated from enum uniswap.liquidity.v1.Distributor
@@ -1457,9 +1461,9 @@ export declare class V4DecreaseLPPosition extends Message<V4DecreaseLPPosition>
1457
1461
  */
1458
1462
  chainId: ChainId;
1459
1463
  /**
1460
- * @generated from field: int32 liquidityPercentageToDecrease = 6;
1464
+ * @generated from field: string liquidityPercentageToDecrease = 6;
1461
1465
  */
1462
- liquidityPercentageToDecrease: number;
1466
+ liquidityPercentageToDecrease: string;
1463
1467
  /**
1464
1468
  * @generated from field: optional string poolLiquidity = 7;
1465
1469
  */
@@ -1661,7 +1665,11 @@ export declare class V2CheckApprovalLPRequest extends Message<V2CheckApprovalLPR
1661
1665
  */
1662
1666
  positionAmount?: string;
1663
1667
  /**
1664
- * @generated from field: bool simulate_transaction = 10;
1668
+ * @generated from field: optional string spender_address = 10;
1669
+ */
1670
+ spenderAddress?: string;
1671
+ /**
1672
+ * @generated from field: bool simulate_transaction = 11;
1665
1673
  */
1666
1674
  simulateTransaction: boolean;
1667
1675
  constructor(data?: PartialMessage<V2CheckApprovalLPRequest>);
@@ -114,6 +114,10 @@ export var ChainId;
114
114
  * @generated from enum value: MONAD = 143;
115
115
  */
116
116
  ChainId[ChainId["MONAD"] = 143] = "MONAD";
117
+ /**
118
+ * @generated from enum value: XLAYER = 196;
119
+ */
120
+ ChainId[ChainId["XLAYER"] = 196] = "XLAYER";
117
121
  })(ChainId || (ChainId = {}));
118
122
  // Retrieve enum metadata with: proto3.getEnumType(ChainId)
119
123
  proto3.util.setEnumType(ChainId, "uniswap.liquidity.v1.ChainId", [
@@ -137,6 +141,7 @@ proto3.util.setEnumType(ChainId, "uniswap.liquidity.v1.ChainId", [
137
141
  { no: 130, name: "UNICHAIN" },
138
142
  { no: 1868, name: "SONEIUM" },
139
143
  { no: 143, name: "MONAD" },
144
+ { no: 196, name: "XLAYER" },
140
145
  ]);
141
146
  /**
142
147
  * @generated from enum uniswap.liquidity.v1.Distributor
@@ -1615,9 +1620,9 @@ export class V4DecreaseLPPosition extends Message {
1615
1620
  */
1616
1621
  this.chainId = ChainId.CHAIN_ID_UNSPECIFIED;
1617
1622
  /**
1618
- * @generated from field: int32 liquidityPercentageToDecrease = 6;
1623
+ * @generated from field: string liquidityPercentageToDecrease = 6;
1619
1624
  */
1620
- this.liquidityPercentageToDecrease = 0;
1625
+ this.liquidityPercentageToDecrease = "";
1621
1626
  /**
1622
1627
  * @generated from field: string positionLiquidity = 10;
1623
1628
  */
@@ -1645,7 +1650,7 @@ V4DecreaseLPPosition.fields = proto3.util.newFieldList(() => [
1645
1650
  { no: 3, name: "position", kind: "message", T: V4Position },
1646
1651
  { no: 4, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1647
1652
  { no: 5, name: "chain_id", kind: "enum", T: proto3.getEnumType(ChainId) },
1648
- { no: 6, name: "liquidityPercentageToDecrease", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1653
+ { no: 6, name: "liquidityPercentageToDecrease", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1649
1654
  { no: 7, name: "poolLiquidity", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1650
1655
  { no: 8, name: "current_tick", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1651
1656
  { no: 9, name: "sqrtRatioX96", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
@@ -1829,7 +1834,7 @@ export class V2CheckApprovalLPRequest extends Message {
1829
1834
  */
1830
1835
  this.walletAddress = "";
1831
1836
  /**
1832
- * @generated from field: bool simulate_transaction = 10;
1837
+ * @generated from field: bool simulate_transaction = 11;
1833
1838
  */
1834
1839
  this.simulateTransaction = false;
1835
1840
  proto3.util.initPartial(data, this);
@@ -1859,7 +1864,8 @@ V2CheckApprovalLPRequest.fields = proto3.util.newFieldList(() => [
1859
1864
  { no: 7, name: "amount0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1860
1865
  { no: 8, name: "amount1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1861
1866
  { no: 9, name: "position_amount", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1862
- { no: 10, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1867
+ { no: 10, name: "spender_address", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1868
+ { no: 11, name: "simulate_transaction", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1863
1869
  ]);
1864
1870
  /**
1865
1871
  * @generated from message uniswap.liquidity.v1.V3CheckApprovalLPRequest
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "0.0.13",
3
+ "version": "0.0.15",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },