@uniswap/client-data-api 0.0.24 → 0.0.26

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.
@@ -789,6 +789,12 @@ export declare class GetPositionRequest extends Message<GetPositionRequest> {
789
789
  * @generated from field: string owner = 5;
790
790
  */
791
791
  owner: string;
792
+ /**
793
+ * if true, fallback to onchain data for pool data
794
+ *
795
+ * @generated from field: optional bool fallback_to_chain = 6;
796
+ */
797
+ fallbackToChain?: boolean;
792
798
  constructor(data?: PartialMessage<GetPositionRequest>);
793
799
  static readonly runtime: typeof proto3;
794
800
  static readonly typeName = "data.v1.GetPositionRequest";
@@ -1195,6 +1195,7 @@ GetPositionRequest.fields = proto3.util.newFieldList(() => [
1195
1195
  { no: 3, name: "token_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1196
1196
  { no: 4, name: "pair_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1197
1197
  { no: 5, name: "owner", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1198
+ { no: 6, name: "fallback_to_chain", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1198
1199
  ]);
1199
1200
  /**
1200
1201
  * @generated from message data.v1.GetPositionResponse
@@ -15,19 +15,13 @@ export declare class GetBidsByWalletRequest extends Message<GetBidsByWalletReque
15
15
  /**
16
16
  * Optional: filter by auction id if desired.
17
17
  *
18
- * @generated from field: string auction_id = 2;
19
- */
20
- auctionId: string;
21
- /**
22
- * Optional: pagination
23
- *
24
- * @generated from field: int32 page_size = 3;
18
+ * @generated from field: string auction_address = 2;
25
19
  */
26
- pageSize: number;
20
+ auctionAddress: string;
27
21
  /**
28
- * @generated from field: string page_token = 4;
22
+ * @generated from field: int32 chain_id = 3;
29
23
  */
30
- pageToken: string;
24
+ chainId: number;
31
25
  constructor(data?: PartialMessage<GetBidsByWalletRequest>);
32
26
  static readonly runtime: typeof proto3;
33
27
  static readonly typeName = "data.v1.GetBidsByWalletRequest";
@@ -83,6 +77,10 @@ export declare class Bid extends Message<Bid> {
83
77
  * @generated from field: string status = 8;
84
78
  */
85
79
  status: string;
80
+ /**
81
+ * @generated from field: string base_token_initial = 9;
82
+ */
83
+ baseTokenInitial: string;
86
84
  constructor(data?: PartialMessage<Bid>);
87
85
  static readonly runtime: typeof proto3;
88
86
  static readonly typeName = "data.v1.Bid";
@@ -271,6 +269,46 @@ export declare class Auction extends Message<Auction> {
271
269
  * @generated from field: string clearing_price = 13;
272
270
  */
273
271
  clearingPrice: string;
272
+ /**
273
+ * @generated from field: string address = 14;
274
+ */
275
+ address: string;
276
+ /**
277
+ * @generated from field: string amount = 15;
278
+ */
279
+ amount: string;
280
+ /**
281
+ * @generated from field: string currency = 16;
282
+ */
283
+ currency: string;
284
+ /**
285
+ * @generated from field: string tokens_recipient = 17;
286
+ */
287
+ tokensRecipient: string;
288
+ /**
289
+ * @generated from field: string funds_recipient = 18;
290
+ */
291
+ fundsRecipient: string;
292
+ /**
293
+ * @generated from field: string claim_block = 19;
294
+ */
295
+ claimBlock: string;
296
+ /**
297
+ * @generated from field: string validation_hook = 20;
298
+ */
299
+ validationHook: string;
300
+ /**
301
+ * @generated from field: string floor_price = 21;
302
+ */
303
+ floorPrice: string;
304
+ /**
305
+ * @generated from field: string required_currency_raised = 22;
306
+ */
307
+ requiredCurrencyRaised: string;
308
+ /**
309
+ * @generated from field: string auction_steps_data = 23;
310
+ */
311
+ auctionStepsData: string;
274
312
  constructor(data?: PartialMessage<Auction>);
275
313
  static readonly runtime: typeof proto3;
276
314
  static readonly typeName = "data.v1.Auction";
@@ -20,19 +20,13 @@ export class GetBidsByWalletRequest extends Message {
20
20
  /**
21
21
  * Optional: filter by auction id if desired.
22
22
  *
23
- * @generated from field: string auction_id = 2;
24
- */
25
- this.auctionId = "";
26
- /**
27
- * Optional: pagination
28
- *
29
- * @generated from field: int32 page_size = 3;
23
+ * @generated from field: string auction_address = 2;
30
24
  */
31
- this.pageSize = 0;
25
+ this.auctionAddress = "";
32
26
  /**
33
- * @generated from field: string page_token = 4;
27
+ * @generated from field: int32 chain_id = 3;
34
28
  */
35
- this.pageToken = "";
29
+ this.chainId = 0;
36
30
  proto3.util.initPartial(data, this);
37
31
  }
38
32
  static fromBinary(bytes, options) {
@@ -52,9 +46,8 @@ GetBidsByWalletRequest.runtime = proto3;
52
46
  GetBidsByWalletRequest.typeName = "data.v1.GetBidsByWalletRequest";
53
47
  GetBidsByWalletRequest.fields = proto3.util.newFieldList(() => [
54
48
  { no: 1, name: "wallet_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
55
- { no: 2, name: "auction_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
56
- { no: 3, name: "page_size", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
57
- { no: 4, name: "page_token", kind: "scalar", T: 9 /* ScalarType.STRING */ },
49
+ { no: 2, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
50
+ { no: 3, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
58
51
  ]);
59
52
  /**
60
53
  * A single bid resource.
@@ -104,6 +97,10 @@ export class Bid extends Message {
104
97
  * @generated from field: string status = 8;
105
98
  */
106
99
  this.status = "";
100
+ /**
101
+ * @generated from field: string base_token_initial = 9;
102
+ */
103
+ this.baseTokenInitial = "";
107
104
  proto3.util.initPartial(data, this);
108
105
  }
109
106
  static fromBinary(bytes, options) {
@@ -130,6 +127,7 @@ Bid.fields = proto3.util.newFieldList(() => [
130
127
  { no: 6, name: "max_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
131
128
  { no: 7, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
132
129
  { no: 8, name: "status", kind: "scalar", T: 9 /* ScalarType.STRING */ },
130
+ { no: 9, name: "base_token_initial", kind: "scalar", T: 9 /* ScalarType.STRING */ },
133
131
  ]);
134
132
  /**
135
133
  * Response containing all bids for a wallet.
@@ -379,6 +377,46 @@ export class Auction extends Message {
379
377
  * @generated from field: string clearing_price = 13;
380
378
  */
381
379
  this.clearingPrice = "";
380
+ /**
381
+ * @generated from field: string address = 14;
382
+ */
383
+ this.address = "";
384
+ /**
385
+ * @generated from field: string amount = 15;
386
+ */
387
+ this.amount = "";
388
+ /**
389
+ * @generated from field: string currency = 16;
390
+ */
391
+ this.currency = "";
392
+ /**
393
+ * @generated from field: string tokens_recipient = 17;
394
+ */
395
+ this.tokensRecipient = "";
396
+ /**
397
+ * @generated from field: string funds_recipient = 18;
398
+ */
399
+ this.fundsRecipient = "";
400
+ /**
401
+ * @generated from field: string claim_block = 19;
402
+ */
403
+ this.claimBlock = "";
404
+ /**
405
+ * @generated from field: string validation_hook = 20;
406
+ */
407
+ this.validationHook = "";
408
+ /**
409
+ * @generated from field: string floor_price = 21;
410
+ */
411
+ this.floorPrice = "";
412
+ /**
413
+ * @generated from field: string required_currency_raised = 22;
414
+ */
415
+ this.requiredCurrencyRaised = "";
416
+ /**
417
+ * @generated from field: string auction_steps_data = 23;
418
+ */
419
+ this.auctionStepsData = "";
382
420
  proto3.util.initPartial(data, this);
383
421
  }
384
422
  static fromBinary(bytes, options) {
@@ -410,6 +448,16 @@ Auction.fields = proto3.util.newFieldList(() => [
410
448
  { no: 11, name: "created_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
411
449
  { no: 12, name: "updated_at", kind: "scalar", T: 9 /* ScalarType.STRING */ },
412
450
  { no: 13, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
451
+ { no: 14, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
452
+ { no: 15, name: "amount", kind: "scalar", T: 9 /* ScalarType.STRING */ },
453
+ { no: 16, name: "currency", kind: "scalar", T: 9 /* ScalarType.STRING */ },
454
+ { no: 17, name: "tokens_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ },
455
+ { no: 18, name: "funds_recipient", kind: "scalar", T: 9 /* ScalarType.STRING */ },
456
+ { no: 19, name: "claim_block", kind: "scalar", T: 9 /* ScalarType.STRING */ },
457
+ { no: 20, name: "validation_hook", kind: "scalar", T: 9 /* ScalarType.STRING */ },
458
+ { no: 21, name: "floor_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
459
+ { no: 22, name: "required_currency_raised", kind: "scalar", T: 9 /* ScalarType.STRING */ },
460
+ { no: 23, name: "auction_steps_data", kind: "scalar", T: 9 /* ScalarType.STRING */ },
413
461
  ]);
414
462
  /**
415
463
  * Response containing auctions.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.24",
3
+ "version": "0.0.26",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },