@uniswap/client-data-api 0.0.119 → 0.0.122

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.
@@ -957,6 +957,14 @@ export declare class GetPositionRequest extends Message<GetPositionRequest> {
957
957
  * @generated from field: optional bool fallback_to_chain = 6;
958
958
  */
959
959
  fallbackToChain?: boolean;
960
+ /**
961
+ * Selector for V4: if true, resolve tokenId against the PermissionedPositionManager
962
+ * instead of the canonical V4 PositionManager. Default false (canonical). A tokenId
963
+ * is only unique within one manager, so the caller must indicate which to query.
964
+ *
965
+ * @generated from field: optional bool permissioned = 7;
966
+ */
967
+ permissioned?: boolean;
960
968
  constructor(data?: PartialMessage<GetPositionRequest>);
961
969
  static readonly runtime: typeof proto3;
962
970
  static readonly typeName = "data.v1.GetPositionRequest";
@@ -1125,6 +1133,14 @@ export declare class ListPositionsRequest extends Message<ListPositionsRequest>
1125
1133
  * @generated from field: optional bool include_hidden = 12;
1126
1134
  */
1127
1135
  includeHidden?: boolean;
1136
+ /**
1137
+ * default false; when true, also returns V4 positions held via the
1138
+ * PermissionedPositionManager (discovered from Aurora). Off by default so
1139
+ * existing callers are unaffected until PA->sec-token translation lands.
1140
+ *
1141
+ * @generated from field: optional bool include_permissioned = 13;
1142
+ */
1143
+ includePermissioned?: boolean;
1128
1144
  constructor(data?: PartialMessage<ListPositionsRequest>);
1129
1145
  static readonly runtime: typeof proto3;
1130
1146
  static readonly typeName = "data.v1.ListPositionsRequest";
@@ -1372,6 +1372,7 @@ GetPositionRequest.fields = proto3.util.newFieldList(() => [
1372
1372
  { no: 4, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1373
1373
  { no: 5, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1374
1374
  { no: 6, name: "fallback_to_chain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1375
+ { no: 7, name: "permissioned", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1375
1376
  ]);
1376
1377
  /**
1377
1378
  * @generated from message data.v1.GetPositionResponse
@@ -1536,6 +1537,7 @@ ListPositionsRequest.fields = proto3.util.newFieldList(() => [
1536
1537
  { no: 10, name: "token0", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1537
1538
  { no: 11, name: "token1", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1538
1539
  { no: 12, name: "include_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1540
+ { no: 13, name: "include_permissioned", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1539
1541
  ]);
1540
1542
  /**
1541
1543
  * @generated from message data.v1.ListPositionsResponse
@@ -298,6 +298,14 @@ export declare class Position extends Message<Position> {
298
298
  * @generated from field: optional double uncollected_fees_usd = 10;
299
299
  */
300
300
  uncollectedFeesUsd?: number;
301
+ /**
302
+ * True if this is a permissioned-pool position (held via the
303
+ * PermissionedPositionManager). ListPositions always merges canonical + perm;
304
+ * this discriminates which is which. Default false.
305
+ *
306
+ * @generated from field: bool permissioned = 11;
307
+ */
308
+ permissioned: boolean;
301
309
  constructor(data?: PartialMessage<Position>);
302
310
  static readonly runtime: typeof proto3;
303
311
  static readonly typeName = "pools.v1.Position";
@@ -342,6 +342,14 @@ export class Position extends Message {
342
342
  * @generated from field: bool is_hidden = 8;
343
343
  */
344
344
  this.isHidden = false;
345
+ /**
346
+ * True if this is a permissioned-pool position (held via the
347
+ * PermissionedPositionManager). ListPositions always merges canonical + perm;
348
+ * this discriminates which is which. Default false.
349
+ *
350
+ * @generated from field: bool permissioned = 11;
351
+ */
352
+ this.permissioned = false;
345
353
  proto3.util.initPartial(data, this);
346
354
  }
347
355
  static fromBinary(bytes, options) {
@@ -370,6 +378,7 @@ Position.fields = proto3.util.newFieldList(() => [
370
378
  { no: 8, name: "is_hidden", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
371
379
  { no: 9, name: "value_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
372
380
  { no: 10, name: "uncollected_fees_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
381
+ { no: 11, name: "permissioned", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
373
382
  ]);
374
383
  /**
375
384
  * @generated from message pools.v1.Hook
@@ -74,6 +74,15 @@ export declare class GetTokenMarketsMultiChainRequest extends Message<GetTokenMa
74
74
  * @generated from field: data.v2.HistoryDuration duration = 3;
75
75
  */
76
76
  duration: HistoryDuration;
77
+ /**
78
+ * Aggregate volume_usd and TVL over only these chains. Empty = all chains in
79
+ * the asset's group. 52w price high/low is unaffected (always read from the
80
+ * asset's canonical chain, like the OHLC/price charts). EVM-only, matching
81
+ * the rest of the markets endpoints.
82
+ *
83
+ * @generated from field: repeated uint32 chain_ids = 4;
84
+ */
85
+ chainIds: number[];
77
86
  constructor(data?: PartialMessage<GetTokenMarketsMultiChainRequest>);
78
87
  static readonly runtime: typeof proto3;
79
88
  static readonly typeName = "data.v2.GetTokenMarketsMultiChainRequest";
@@ -91,6 +91,15 @@ export class GetTokenMarketsMultiChainRequest extends Message {
91
91
  * @generated from field: data.v2.HistoryDuration duration = 3;
92
92
  */
93
93
  this.duration = HistoryDuration.UNSPECIFIED;
94
+ /**
95
+ * Aggregate volume_usd and TVL over only these chains. Empty = all chains in
96
+ * the asset's group. 52w price high/low is unaffected (always read from the
97
+ * asset's canonical chain, like the OHLC/price charts). EVM-only, matching
98
+ * the rest of the markets endpoints.
99
+ *
100
+ * @generated from field: repeated uint32 chain_ids = 4;
101
+ */
102
+ this.chainIds = [];
94
103
  proto3.util.initPartial(data, this);
95
104
  }
96
105
  static fromBinary(bytes, options) {
@@ -112,6 +121,7 @@ GetTokenMarketsMultiChainRequest.fields = proto3.util.newFieldList(() => [
112
121
  { no: 1, name: "multichain_ids", kind: "message", T: MultichainIdList, oneof: "identifier" },
113
122
  { no: 2, name: "tokens", kind: "message", T: TokenIdentifierList, oneof: "identifier" },
114
123
  { no: 3, name: "duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
124
+ { no: 4, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
115
125
  ]);
116
126
  /**
117
127
  * @generated from message data.v2.GetTokenMarketsMultiChainResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.119",
3
+ "version": "0.0.122",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },