@uniswap/client-data-api 0.0.28 → 0.0.29
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.
- package/dist/data/v1/api-DataApiService_connectquery.js +1 -1
- package/dist/data/v1/api_connect.js +1 -1
- package/dist/data/v1/api_pb.js +1 -1
- package/dist/data/v1/auction-AuctionService_connectquery.d.ts +14 -1
- package/dist/data/v1/auction-AuctionService_connectquery.js +15 -2
- package/dist/data/v1/auction_connect.d.ts +10 -1
- package/dist/data/v1/auction_connect.js +11 -2
- package/dist/data/v1/auction_pb.d.ts +73 -0
- package/dist/data/v1/auction_pb.js +113 -1
- package/dist/data/v1/plan_pb.js +1 -1
- package/dist/data/v1/poolTypes_pb.js +1 -1
- package/dist/data/v1/reorged_block_pb.js +1 -1
- package/dist/data/v1/search-SearchService_connectquery.js +1 -1
- package/dist/data/v1/searchTypes_pb.js +1 -1
- package/dist/data/v1/search_connect.js +1 -1
- package/dist/data/v1/search_pb.js +1 -1
- package/dist/data/v1/types_pb.js +1 -1
- package/dist/data/v1/workerService-WorkerService_connectquery.js +1 -1
- package/dist/data/v1/workerService_connect.js +1 -1
- package/dist/data/v1/workerService_pb.js +1 -1
- package/package.json +1 -1
package/dist/data/v1/api_pb.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
2
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
5
5
|
*/
|
|
@@ -39,3 +39,16 @@ export declare const getAuction: {
|
|
|
39
39
|
readonly typeName: "data.v1.AuctionService";
|
|
40
40
|
};
|
|
41
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* @generated from rpc data.v1.AuctionService.GetLatestCheckpoint
|
|
44
|
+
*/
|
|
45
|
+
export declare const getLatestCheckpoint: {
|
|
46
|
+
readonly localName: "getLatestCheckpoint";
|
|
47
|
+
readonly name: "GetLatestCheckpoint";
|
|
48
|
+
readonly kind: MethodKind.Unary;
|
|
49
|
+
readonly I: typeof GetLatestCheckpointRequest;
|
|
50
|
+
readonly O: typeof GetLatestCheckpointResponse;
|
|
51
|
+
readonly service: {
|
|
52
|
+
readonly typeName: "data.v1.AuctionService";
|
|
53
|
+
};
|
|
54
|
+
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query v1.4.
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
6
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.AuctionService.GetBidsByWallet
|
|
9
9
|
*/
|
|
@@ -43,3 +43,16 @@ export const getAuction = {
|
|
|
43
43
|
typeName: "data.v1.AuctionService"
|
|
44
44
|
}
|
|
45
45
|
};
|
|
46
|
+
/**
|
|
47
|
+
* @generated from rpc data.v1.AuctionService.GetLatestCheckpoint
|
|
48
|
+
*/
|
|
49
|
+
export const getLatestCheckpoint = {
|
|
50
|
+
localName: "getLatestCheckpoint",
|
|
51
|
+
name: "GetLatestCheckpoint",
|
|
52
|
+
kind: MethodKind.Unary,
|
|
53
|
+
I: GetLatestCheckpointRequest,
|
|
54
|
+
O: GetLatestCheckpointResponse,
|
|
55
|
+
service: {
|
|
56
|
+
typeName: "data.v1.AuctionService"
|
|
57
|
+
}
|
|
58
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
1
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.AuctionService
|
|
@@ -33,5 +33,14 @@ export declare const AuctionService: {
|
|
|
33
33
|
readonly O: typeof GetAuctionResponse;
|
|
34
34
|
readonly kind: MethodKind.Unary;
|
|
35
35
|
};
|
|
36
|
+
/**
|
|
37
|
+
* @generated from rpc data.v1.AuctionService.GetLatestCheckpoint
|
|
38
|
+
*/
|
|
39
|
+
readonly getLatestCheckpoint: {
|
|
40
|
+
readonly name: "GetLatestCheckpoint";
|
|
41
|
+
readonly I: typeof GetLatestCheckpointRequest;
|
|
42
|
+
readonly O: typeof GetLatestCheckpointResponse;
|
|
43
|
+
readonly kind: MethodKind.Unary;
|
|
44
|
+
};
|
|
36
45
|
};
|
|
37
46
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
|
|
5
|
+
import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse, GetLatestCheckpointRequest, GetLatestCheckpointResponse } from "./auction_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.AuctionService
|
|
@@ -37,5 +37,14 @@ export const AuctionService = {
|
|
|
37
37
|
O: GetAuctionResponse,
|
|
38
38
|
kind: MethodKind.Unary,
|
|
39
39
|
},
|
|
40
|
+
/**
|
|
41
|
+
* @generated from rpc data.v1.AuctionService.GetLatestCheckpoint
|
|
42
|
+
*/
|
|
43
|
+
getLatestCheckpoint: {
|
|
44
|
+
name: "GetLatestCheckpoint",
|
|
45
|
+
I: GetLatestCheckpointRequest,
|
|
46
|
+
O: GetLatestCheckpointResponse,
|
|
47
|
+
kind: MethodKind.Unary,
|
|
48
|
+
},
|
|
40
49
|
}
|
|
41
50
|
};
|
|
@@ -341,3 +341,76 @@ export declare class GetAuctionResponse extends Message<GetAuctionResponse> {
|
|
|
341
341
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionResponse;
|
|
342
342
|
static equals(a: GetAuctionResponse | PlainMessage<GetAuctionResponse> | undefined, b: GetAuctionResponse | PlainMessage<GetAuctionResponse> | undefined): boolean;
|
|
343
343
|
}
|
|
344
|
+
/**
|
|
345
|
+
* Request to fetch the latest checkpoint for an auction.
|
|
346
|
+
*
|
|
347
|
+
* @generated from message data.v1.GetLatestCheckpointRequest
|
|
348
|
+
*/
|
|
349
|
+
export declare class GetLatestCheckpointRequest extends Message<GetLatestCheckpointRequest> {
|
|
350
|
+
/**
|
|
351
|
+
* @generated from field: int32 chain_id = 1;
|
|
352
|
+
*/
|
|
353
|
+
chainId: number;
|
|
354
|
+
/**
|
|
355
|
+
* @generated from field: string address = 2;
|
|
356
|
+
*/
|
|
357
|
+
address: string;
|
|
358
|
+
constructor(data?: PartialMessage<GetLatestCheckpointRequest>);
|
|
359
|
+
static readonly runtime: typeof proto3;
|
|
360
|
+
static readonly typeName = "data.v1.GetLatestCheckpointRequest";
|
|
361
|
+
static readonly fields: FieldList;
|
|
362
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLatestCheckpointRequest;
|
|
363
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLatestCheckpointRequest;
|
|
364
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLatestCheckpointRequest;
|
|
365
|
+
static equals(a: GetLatestCheckpointRequest | PlainMessage<GetLatestCheckpointRequest> | undefined, b: GetLatestCheckpointRequest | PlainMessage<GetLatestCheckpointRequest> | undefined): boolean;
|
|
366
|
+
}
|
|
367
|
+
/**
|
|
368
|
+
* A checkpoint for an auction.
|
|
369
|
+
*
|
|
370
|
+
* @generated from message data.v1.Checkpoint
|
|
371
|
+
*/
|
|
372
|
+
export declare class Checkpoint extends Message<Checkpoint> {
|
|
373
|
+
/**
|
|
374
|
+
* @generated from field: string clearing_price = 1;
|
|
375
|
+
*/
|
|
376
|
+
clearingPrice: string;
|
|
377
|
+
/**
|
|
378
|
+
* @generated from field: string currency_raised_at_clearing_price_q96_x7 = 2;
|
|
379
|
+
*/
|
|
380
|
+
currencyRaisedAtClearingPriceQ96X7: string;
|
|
381
|
+
/**
|
|
382
|
+
* @generated from field: string cumulative_mps_per_price = 3;
|
|
383
|
+
*/
|
|
384
|
+
cumulativeMpsPerPrice: string;
|
|
385
|
+
/**
|
|
386
|
+
* @generated from field: int32 cumulative_mps = 4;
|
|
387
|
+
*/
|
|
388
|
+
cumulativeMps: number;
|
|
389
|
+
constructor(data?: PartialMessage<Checkpoint>);
|
|
390
|
+
static readonly runtime: typeof proto3;
|
|
391
|
+
static readonly typeName = "data.v1.Checkpoint";
|
|
392
|
+
static readonly fields: FieldList;
|
|
393
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Checkpoint;
|
|
394
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Checkpoint;
|
|
395
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Checkpoint;
|
|
396
|
+
static equals(a: Checkpoint | PlainMessage<Checkpoint> | undefined, b: Checkpoint | PlainMessage<Checkpoint> | undefined): boolean;
|
|
397
|
+
}
|
|
398
|
+
/**
|
|
399
|
+
* Response containing the latest checkpoint.
|
|
400
|
+
*
|
|
401
|
+
* @generated from message data.v1.GetLatestCheckpointResponse
|
|
402
|
+
*/
|
|
403
|
+
export declare class GetLatestCheckpointResponse extends Message<GetLatestCheckpointResponse> {
|
|
404
|
+
/**
|
|
405
|
+
* @generated from field: data.v1.Checkpoint checkpoint = 1;
|
|
406
|
+
*/
|
|
407
|
+
checkpoint?: Checkpoint;
|
|
408
|
+
constructor(data?: PartialMessage<GetLatestCheckpointResponse>);
|
|
409
|
+
static readonly runtime: typeof proto3;
|
|
410
|
+
static readonly typeName = "data.v1.GetLatestCheckpointResponse";
|
|
411
|
+
static readonly fields: FieldList;
|
|
412
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLatestCheckpointResponse;
|
|
413
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLatestCheckpointResponse;
|
|
414
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLatestCheckpointResponse;
|
|
415
|
+
static equals(a: GetLatestCheckpointResponse | PlainMessage<GetLatestCheckpointResponse> | undefined, b: GetLatestCheckpointResponse | PlainMessage<GetLatestCheckpointResponse> | undefined): boolean;
|
|
416
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-es v1.10.
|
|
1
|
+
// @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
@@ -496,3 +496,115 @@ GetAuctionResponse.typeName = "data.v1.GetAuctionResponse";
|
|
|
496
496
|
GetAuctionResponse.fields = proto3.util.newFieldList(() => [
|
|
497
497
|
{ no: 1, name: "auctions", kind: "message", T: Auction, repeated: true },
|
|
498
498
|
]);
|
|
499
|
+
/**
|
|
500
|
+
* Request to fetch the latest checkpoint for an auction.
|
|
501
|
+
*
|
|
502
|
+
* @generated from message data.v1.GetLatestCheckpointRequest
|
|
503
|
+
*/
|
|
504
|
+
export class GetLatestCheckpointRequest extends Message {
|
|
505
|
+
constructor(data) {
|
|
506
|
+
super();
|
|
507
|
+
/**
|
|
508
|
+
* @generated from field: int32 chain_id = 1;
|
|
509
|
+
*/
|
|
510
|
+
this.chainId = 0;
|
|
511
|
+
/**
|
|
512
|
+
* @generated from field: string address = 2;
|
|
513
|
+
*/
|
|
514
|
+
this.address = "";
|
|
515
|
+
proto3.util.initPartial(data, this);
|
|
516
|
+
}
|
|
517
|
+
static fromBinary(bytes, options) {
|
|
518
|
+
return new GetLatestCheckpointRequest().fromBinary(bytes, options);
|
|
519
|
+
}
|
|
520
|
+
static fromJson(jsonValue, options) {
|
|
521
|
+
return new GetLatestCheckpointRequest().fromJson(jsonValue, options);
|
|
522
|
+
}
|
|
523
|
+
static fromJsonString(jsonString, options) {
|
|
524
|
+
return new GetLatestCheckpointRequest().fromJsonString(jsonString, options);
|
|
525
|
+
}
|
|
526
|
+
static equals(a, b) {
|
|
527
|
+
return proto3.util.equals(GetLatestCheckpointRequest, a, b);
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
GetLatestCheckpointRequest.runtime = proto3;
|
|
531
|
+
GetLatestCheckpointRequest.typeName = "data.v1.GetLatestCheckpointRequest";
|
|
532
|
+
GetLatestCheckpointRequest.fields = proto3.util.newFieldList(() => [
|
|
533
|
+
{ no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
534
|
+
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
535
|
+
]);
|
|
536
|
+
/**
|
|
537
|
+
* A checkpoint for an auction.
|
|
538
|
+
*
|
|
539
|
+
* @generated from message data.v1.Checkpoint
|
|
540
|
+
*/
|
|
541
|
+
export class Checkpoint extends Message {
|
|
542
|
+
constructor(data) {
|
|
543
|
+
super();
|
|
544
|
+
/**
|
|
545
|
+
* @generated from field: string clearing_price = 1;
|
|
546
|
+
*/
|
|
547
|
+
this.clearingPrice = "";
|
|
548
|
+
/**
|
|
549
|
+
* @generated from field: string currency_raised_at_clearing_price_q96_x7 = 2;
|
|
550
|
+
*/
|
|
551
|
+
this.currencyRaisedAtClearingPriceQ96X7 = "";
|
|
552
|
+
/**
|
|
553
|
+
* @generated from field: string cumulative_mps_per_price = 3;
|
|
554
|
+
*/
|
|
555
|
+
this.cumulativeMpsPerPrice = "";
|
|
556
|
+
/**
|
|
557
|
+
* @generated from field: int32 cumulative_mps = 4;
|
|
558
|
+
*/
|
|
559
|
+
this.cumulativeMps = 0;
|
|
560
|
+
proto3.util.initPartial(data, this);
|
|
561
|
+
}
|
|
562
|
+
static fromBinary(bytes, options) {
|
|
563
|
+
return new Checkpoint().fromBinary(bytes, options);
|
|
564
|
+
}
|
|
565
|
+
static fromJson(jsonValue, options) {
|
|
566
|
+
return new Checkpoint().fromJson(jsonValue, options);
|
|
567
|
+
}
|
|
568
|
+
static fromJsonString(jsonString, options) {
|
|
569
|
+
return new Checkpoint().fromJsonString(jsonString, options);
|
|
570
|
+
}
|
|
571
|
+
static equals(a, b) {
|
|
572
|
+
return proto3.util.equals(Checkpoint, a, b);
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
Checkpoint.runtime = proto3;
|
|
576
|
+
Checkpoint.typeName = "data.v1.Checkpoint";
|
|
577
|
+
Checkpoint.fields = proto3.util.newFieldList(() => [
|
|
578
|
+
{ no: 1, name: "clearing_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
579
|
+
{ no: 2, name: "currency_raised_at_clearing_price_q96_x7", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
580
|
+
{ no: 3, name: "cumulative_mps_per_price", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
581
|
+
{ no: 4, name: "cumulative_mps", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
582
|
+
]);
|
|
583
|
+
/**
|
|
584
|
+
* Response containing the latest checkpoint.
|
|
585
|
+
*
|
|
586
|
+
* @generated from message data.v1.GetLatestCheckpointResponse
|
|
587
|
+
*/
|
|
588
|
+
export class GetLatestCheckpointResponse extends Message {
|
|
589
|
+
constructor(data) {
|
|
590
|
+
super();
|
|
591
|
+
proto3.util.initPartial(data, this);
|
|
592
|
+
}
|
|
593
|
+
static fromBinary(bytes, options) {
|
|
594
|
+
return new GetLatestCheckpointResponse().fromBinary(bytes, options);
|
|
595
|
+
}
|
|
596
|
+
static fromJson(jsonValue, options) {
|
|
597
|
+
return new GetLatestCheckpointResponse().fromJson(jsonValue, options);
|
|
598
|
+
}
|
|
599
|
+
static fromJsonString(jsonString, options) {
|
|
600
|
+
return new GetLatestCheckpointResponse().fromJsonString(jsonString, options);
|
|
601
|
+
}
|
|
602
|
+
static equals(a, b) {
|
|
603
|
+
return proto3.util.equals(GetLatestCheckpointResponse, a, b);
|
|
604
|
+
}
|
|
605
|
+
}
|
|
606
|
+
GetLatestCheckpointResponse.runtime = proto3;
|
|
607
|
+
GetLatestCheckpointResponse.typeName = "data.v1.GetLatestCheckpointResponse";
|
|
608
|
+
GetLatestCheckpointResponse.fields = proto3.util.newFieldList(() => [
|
|
609
|
+
{ no: 1, name: "checkpoint", kind: "message", T: Checkpoint },
|
|
610
|
+
]);
|
package/dist/data/v1/plan_pb.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query v1.4.
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v1/search.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-query v1.4.
|
|
1
|
+
// @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// @generated by protoc-gen-connect-es v1.
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
|
|
2
2
|
// @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|