@uniswap/client-data-api 0.0.38 → 0.0.40
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/types_pb.d.ts +7 -1
- package/dist/data/v1/types_pb.js +7 -0
- package/dist/data/v1/workerService-WorkerService_connectquery.d.ts +14 -1
- package/dist/data/v1/workerService-WorkerService_connectquery.js +14 -1
- package/dist/data/v1/workerService_connect.d.ts +10 -1
- package/dist/data/v1/workerService_connect.js +10 -1
- package/dist/data/v1/workerService_pb.d.ts +26 -0
- package/dist/data/v1/workerService_pb.js +48 -0
- package/package.json +1 -1
|
@@ -293,7 +293,13 @@ export declare enum TransactionTypeFilter {
|
|
|
293
293
|
*
|
|
294
294
|
* @generated from enum value: TRANSACTION_TYPE_FILTER_CREATE_POOL = 10;
|
|
295
295
|
*/
|
|
296
|
-
CREATE_POOL = 10
|
|
296
|
+
CREATE_POOL = 10,
|
|
297
|
+
/**
|
|
298
|
+
* Limit orders (UniswapX only)
|
|
299
|
+
*
|
|
300
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_LIMIT_ORDER = 11;
|
|
301
|
+
*/
|
|
302
|
+
LIMIT_ORDER = 11
|
|
297
303
|
}
|
|
298
304
|
/**
|
|
299
305
|
* @generated from enum data.v1.OnChainTransactionStatus
|
package/dist/data/v1/types_pb.js
CHANGED
|
@@ -370,6 +370,12 @@ export var TransactionTypeFilter;
|
|
|
370
370
|
* @generated from enum value: TRANSACTION_TYPE_FILTER_CREATE_POOL = 10;
|
|
371
371
|
*/
|
|
372
372
|
TransactionTypeFilter[TransactionTypeFilter["CREATE_POOL"] = 10] = "CREATE_POOL";
|
|
373
|
+
/**
|
|
374
|
+
* Limit orders (UniswapX only)
|
|
375
|
+
*
|
|
376
|
+
* @generated from enum value: TRANSACTION_TYPE_FILTER_LIMIT_ORDER = 11;
|
|
377
|
+
*/
|
|
378
|
+
TransactionTypeFilter[TransactionTypeFilter["LIMIT_ORDER"] = 11] = "LIMIT_ORDER";
|
|
373
379
|
})(TransactionTypeFilter || (TransactionTypeFilter = {}));
|
|
374
380
|
// Retrieve enum metadata with: proto3.getEnumType(TransactionTypeFilter)
|
|
375
381
|
proto3.util.setEnumType(TransactionTypeFilter, "data.v1.TransactionTypeFilter", [
|
|
@@ -384,6 +390,7 @@ proto3.util.setEnumType(TransactionTypeFilter, "data.v1.TransactionTypeFilter",
|
|
|
384
390
|
{ no: 8, name: "TRANSACTION_TYPE_FILTER_CLAIM" },
|
|
385
391
|
{ no: 9, name: "TRANSACTION_TYPE_FILTER_MINT" },
|
|
386
392
|
{ no: 10, name: "TRANSACTION_TYPE_FILTER_CREATE_POOL" },
|
|
393
|
+
{ no: 11, name: "TRANSACTION_TYPE_FILTER_LIMIT_ORDER" },
|
|
387
394
|
]);
|
|
388
395
|
/**
|
|
389
396
|
* @generated from enum data.v1.OnChainTransactionStatus
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
2
|
+
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
5
5
|
*/
|
|
@@ -13,3 +13,16 @@ 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
|
+
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
6
|
+
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc data.v1.WorkerService.RefreshProtocolStats
|
|
9
9
|
*/
|
|
@@ -17,3 +17,16 @@ 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
|
+
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
1
|
+
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from service data.v1.WorkerService
|
|
@@ -15,5 +15,14 @@ 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
|
+
};
|
|
18
27
|
};
|
|
19
28
|
};
|
|
@@ -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 { RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
5
|
+
import { CheckSubgraphHealthRequest, CheckSubgraphHealthResponse, RefreshProtocolStatsRequest, RefreshProtocolStatsResponse } from "./workerService_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from service data.v1.WorkerService
|
|
@@ -19,5 +19,14 @@ 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
|
+
},
|
|
22
31
|
}
|
|
23
32
|
};
|
|
@@ -26,3 +26,29 @@ 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
|
+
}
|
|
@@ -51,3 +51,51 @@ 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(() => []);
|