@uniswap/client-data-api 0.0.292 → 0.0.294
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/workerService-WorkerService_connectquery.d.ts +1 -14
- package/dist/data/v1/workerService-WorkerService_connectquery.js +1 -14
- package/dist/data/v1/workerService_connect.d.ts +1 -10
- package/dist/data/v1/workerService_connect.js +1 -10
- package/dist/data/v1/workerService_pb.d.ts +0 -26
- package/dist/data/v1/workerService_pb.js +0 -48
- package/dist/data/v2/types_pb.d.ts +4 -0
- package/dist/data/v2/types_pb.js +1 -0
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import {
|
|
2
|
+
import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
5
5
|
*/
|
|
@@ -13,19 +13,6 @@ export declare const refreshProtocolStats: {
|
|
|
13
13
|
readonly typeName: "data.v1.WorkerService";
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
/**
|
|
17
|
-
* @generated from rpc data.v1.WorkerService.CheckSubgraphHealth
|
|
18
|
-
*/
|
|
19
|
-
export declare const checkSubgraphHealth: {
|
|
20
|
-
readonly localName: "checkSubgraphHealth";
|
|
21
|
-
readonly name: "CheckSubgraphHealth";
|
|
22
|
-
readonly kind: MethodKind.Unary;
|
|
23
|
-
readonly I: typeof CheckSubgraphHealthRequest;
|
|
24
|
-
readonly O: typeof CheckSubgraphHealthResponse;
|
|
25
|
-
readonly service: {
|
|
26
|
-
readonly typeName: "data.v1.WorkerService";
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
16
|
/**
|
|
30
17
|
* @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
|
|
31
18
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import {
|
|
6
|
+
import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
9
9
|
*/
|
|
@@ -17,19 +17,6 @@ export const refreshProtocolStats = {
|
|
|
17
17
|
typeName: "data.v1.WorkerService"
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
/**
|
|
21
|
-
* @generated from rpc data.v1.WorkerService.CheckSubgraphHealth
|
|
22
|
-
*/
|
|
23
|
-
export const checkSubgraphHealth = {
|
|
24
|
-
localName: "checkSubgraphHealth",
|
|
25
|
-
name: "CheckSubgraphHealth",
|
|
26
|
-
kind: MethodKind.Unary,
|
|
27
|
-
I: CheckSubgraphHealthRequest,
|
|
28
|
-
O: CheckSubgraphHealthResponse,
|
|
29
|
-
service: {
|
|
30
|
-
typeName: "data.v1.WorkerService"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
33
20
|
/**
|
|
34
21
|
* @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
|
|
35
22
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.WorkerService
|
|
@@ -15,15 +15,6 @@ export declare const WorkerService: {
|
|
|
15
15
|
readonly O: typeof RefreshProtocolStatsResponse;
|
|
16
16
|
readonly kind: MethodKind.Unary;
|
|
17
17
|
};
|
|
18
|
-
/**
|
|
19
|
-
* @generated from rpc data.v1.WorkerService.CheckSubgraphHealth
|
|
20
|
-
*/
|
|
21
|
-
readonly checkSubgraphHealth: {
|
|
22
|
-
readonly name: "CheckSubgraphHealth";
|
|
23
|
-
readonly I: typeof CheckSubgraphHealthRequest;
|
|
24
|
-
readonly O: typeof CheckSubgraphHealthResponse;
|
|
25
|
-
readonly kind: MethodKind.Unary;
|
|
26
|
-
};
|
|
27
18
|
/**
|
|
28
19
|
* @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
|
|
29
20
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file data/v1/workerService.proto (package data.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import {
|
|
5
|
+
import { IngestBlockaidMetadataRequest, IngestBlockaidMetadataResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse, RunLaunchpadOrphanCleanupRequest, RunLaunchpadOrphanCleanupResponse, RunQuickLaunchSweepRequest, RunQuickLaunchSweepResponse } from "./workerService_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.WorkerService
|
|
@@ -19,15 +19,6 @@ export const WorkerService = {
|
|
|
19
19
|
O: RefreshProtocolStatsResponse,
|
|
20
20
|
kind: MethodKind.Unary,
|
|
21
21
|
},
|
|
22
|
-
/**
|
|
23
|
-
* @generated from rpc data.v1.WorkerService.CheckSubgraphHealth
|
|
24
|
-
*/
|
|
25
|
-
checkSubgraphHealth: {
|
|
26
|
-
name: "CheckSubgraphHealth",
|
|
27
|
-
I: CheckSubgraphHealthRequest,
|
|
28
|
-
O: CheckSubgraphHealthResponse,
|
|
29
|
-
kind: MethodKind.Unary,
|
|
30
|
-
},
|
|
31
22
|
/**
|
|
32
23
|
* @generated from rpc data.v1.WorkerService.IngestBlockaidMetadata
|
|
33
24
|
*/
|
|
@@ -26,32 +26,6 @@ export declare class RefreshProtocolStatsResponse extends Message<RefreshProtoco
|
|
|
26
26
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshProtocolStatsResponse;
|
|
27
27
|
static equals(a: RefreshProtocolStatsResponse | PlainMessage<RefreshProtocolStatsResponse> | undefined, b: RefreshProtocolStatsResponse | PlainMessage<RefreshProtocolStatsResponse> | undefined): boolean;
|
|
28
28
|
}
|
|
29
|
-
/**
|
|
30
|
-
* @generated from message data.v1.CheckSubgraphHealthRequest
|
|
31
|
-
*/
|
|
32
|
-
export declare class CheckSubgraphHealthRequest extends Message<CheckSubgraphHealthRequest> {
|
|
33
|
-
constructor(data?: PartialMessage<CheckSubgraphHealthRequest>);
|
|
34
|
-
static readonly runtime: typeof proto3;
|
|
35
|
-
static readonly typeName = "data.v1.CheckSubgraphHealthRequest";
|
|
36
|
-
static readonly fields: FieldList;
|
|
37
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckSubgraphHealthRequest;
|
|
38
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckSubgraphHealthRequest;
|
|
39
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckSubgraphHealthRequest;
|
|
40
|
-
static equals(a: CheckSubgraphHealthRequest | PlainMessage<CheckSubgraphHealthRequest> | undefined, b: CheckSubgraphHealthRequest | PlainMessage<CheckSubgraphHealthRequest> | undefined): boolean;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* @generated from message data.v1.CheckSubgraphHealthResponse
|
|
44
|
-
*/
|
|
45
|
-
export declare class CheckSubgraphHealthResponse extends Message<CheckSubgraphHealthResponse> {
|
|
46
|
-
constructor(data?: PartialMessage<CheckSubgraphHealthResponse>);
|
|
47
|
-
static readonly runtime: typeof proto3;
|
|
48
|
-
static readonly typeName = "data.v1.CheckSubgraphHealthResponse";
|
|
49
|
-
static readonly fields: FieldList;
|
|
50
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CheckSubgraphHealthResponse;
|
|
51
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CheckSubgraphHealthResponse;
|
|
52
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CheckSubgraphHealthResponse;
|
|
53
|
-
static equals(a: CheckSubgraphHealthResponse | PlainMessage<CheckSubgraphHealthResponse> | undefined, b: CheckSubgraphHealthResponse | PlainMessage<CheckSubgraphHealthResponse> | undefined): boolean;
|
|
54
|
-
}
|
|
55
29
|
/**
|
|
56
30
|
* @generated from message data.v1.BlockaidMetadataItem
|
|
57
31
|
*/
|
|
@@ -51,54 +51,6 @@ export class RefreshProtocolStatsResponse extends Message {
|
|
|
51
51
|
RefreshProtocolStatsResponse.runtime = proto3;
|
|
52
52
|
RefreshProtocolStatsResponse.typeName = "data.v1.RefreshProtocolStatsResponse";
|
|
53
53
|
RefreshProtocolStatsResponse.fields = proto3.util.newFieldList(() => []);
|
|
54
|
-
/**
|
|
55
|
-
* @generated from message data.v1.CheckSubgraphHealthRequest
|
|
56
|
-
*/
|
|
57
|
-
export class CheckSubgraphHealthRequest extends Message {
|
|
58
|
-
constructor(data) {
|
|
59
|
-
super();
|
|
60
|
-
proto3.util.initPartial(data, this);
|
|
61
|
-
}
|
|
62
|
-
static fromBinary(bytes, options) {
|
|
63
|
-
return new CheckSubgraphHealthRequest().fromBinary(bytes, options);
|
|
64
|
-
}
|
|
65
|
-
static fromJson(jsonValue, options) {
|
|
66
|
-
return new CheckSubgraphHealthRequest().fromJson(jsonValue, options);
|
|
67
|
-
}
|
|
68
|
-
static fromJsonString(jsonString, options) {
|
|
69
|
-
return new CheckSubgraphHealthRequest().fromJsonString(jsonString, options);
|
|
70
|
-
}
|
|
71
|
-
static equals(a, b) {
|
|
72
|
-
return proto3.util.equals(CheckSubgraphHealthRequest, a, b);
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
CheckSubgraphHealthRequest.runtime = proto3;
|
|
76
|
-
CheckSubgraphHealthRequest.typeName = "data.v1.CheckSubgraphHealthRequest";
|
|
77
|
-
CheckSubgraphHealthRequest.fields = proto3.util.newFieldList(() => []);
|
|
78
|
-
/**
|
|
79
|
-
* @generated from message data.v1.CheckSubgraphHealthResponse
|
|
80
|
-
*/
|
|
81
|
-
export class CheckSubgraphHealthResponse extends Message {
|
|
82
|
-
constructor(data) {
|
|
83
|
-
super();
|
|
84
|
-
proto3.util.initPartial(data, this);
|
|
85
|
-
}
|
|
86
|
-
static fromBinary(bytes, options) {
|
|
87
|
-
return new CheckSubgraphHealthResponse().fromBinary(bytes, options);
|
|
88
|
-
}
|
|
89
|
-
static fromJson(jsonValue, options) {
|
|
90
|
-
return new CheckSubgraphHealthResponse().fromJson(jsonValue, options);
|
|
91
|
-
}
|
|
92
|
-
static fromJsonString(jsonString, options) {
|
|
93
|
-
return new CheckSubgraphHealthResponse().fromJsonString(jsonString, options);
|
|
94
|
-
}
|
|
95
|
-
static equals(a, b) {
|
|
96
|
-
return proto3.util.equals(CheckSubgraphHealthResponse, a, b);
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
CheckSubgraphHealthResponse.runtime = proto3;
|
|
100
|
-
CheckSubgraphHealthResponse.typeName = "data.v1.CheckSubgraphHealthResponse";
|
|
101
|
-
CheckSubgraphHealthResponse.fields = proto3.util.newFieldList(() => []);
|
|
102
54
|
/**
|
|
103
55
|
* @generated from message data.v1.BlockaidMetadataItem
|
|
104
56
|
*/
|
|
@@ -826,6 +826,10 @@ export declare class TokenMarketStats extends Message<TokenMarketStats> {
|
|
|
826
826
|
* @generated from field: optional double pools_total_value_locked_usd = 8;
|
|
827
827
|
*/
|
|
828
828
|
poolsTotalValueLockedUsd?: number;
|
|
829
|
+
/**
|
|
830
|
+
* @generated from field: optional double price_all_time_high_usd = 9;
|
|
831
|
+
*/
|
|
832
|
+
priceAllTimeHighUsd?: number;
|
|
829
833
|
constructor(data?: PartialMessage<TokenMarketStats>);
|
|
830
834
|
static readonly runtime: typeof proto3;
|
|
831
835
|
static readonly typeName = "data.v2.TokenMarketStats";
|
package/dist/data/v2/types_pb.js
CHANGED
|
@@ -915,6 +915,7 @@ TokenMarketStats.fields = proto3.util.newFieldList(() => [
|
|
|
915
915
|
{ no: 6, name: "volume_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
916
916
|
{ no: 7, name: "volume_duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
|
|
917
917
|
{ no: 8, name: "pools_total_value_locked_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
918
|
+
{ no: 9, name: "price_all_time_high_usd", kind: "scalar", T: 1 /* ScalarType.DOUBLE */, opt: true },
|
|
918
919
|
]);
|
|
919
920
|
/**
|
|
920
921
|
* Buy/sell activity for one window, summed over the requested chains. Buy and
|