@uniswap/client-data-api 0.0.118 → 0.0.119

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.
@@ -431,6 +431,14 @@ export declare class GetTokenHistoryTVLRequest extends Message<GetTokenHistoryTV
431
431
  * @generated from field: data.v2.HistoryDuration duration = 3;
432
432
  */
433
433
  duration: HistoryDuration;
434
+ /**
435
+ * Multichain filter: aggregate only these chains. Empty = all chains in the
436
+ * asset's group. Ignored for the single_chain target. Solana TVL is
437
+ * included only when its chain id appears here (or the filter is empty).
438
+ *
439
+ * @generated from field: repeated uint32 chain_ids = 4;
440
+ */
441
+ chainIds: number[];
434
442
  constructor(data?: PartialMessage<GetTokenHistoryTVLRequest>);
435
443
  static readonly runtime: typeof proto3;
436
444
  static readonly typeName = "data.v2.GetTokenHistoryTVLRequest";
@@ -533,6 +533,14 @@ export class GetTokenHistoryTVLRequest extends Message {
533
533
  * @generated from field: data.v2.HistoryDuration duration = 3;
534
534
  */
535
535
  this.duration = HistoryDuration.UNSPECIFIED;
536
+ /**
537
+ * Multichain filter: aggregate only these chains. Empty = all chains in the
538
+ * asset's group. Ignored for the single_chain target. Solana TVL is
539
+ * included only when its chain id appears here (or the filter is empty).
540
+ *
541
+ * @generated from field: repeated uint32 chain_ids = 4;
542
+ */
543
+ this.chainIds = [];
536
544
  proto3.util.initPartial(data, this);
537
545
  }
538
546
  static fromBinary(bytes, options) {
@@ -554,6 +562,7 @@ GetTokenHistoryTVLRequest.fields = proto3.util.newFieldList(() => [
554
562
  { no: 1, name: "single_chain", kind: "message", T: TokenIdentifier, oneof: "target" },
555
563
  { no: 2, name: "multichain", kind: "message", T: MultichainTarget, oneof: "target" },
556
564
  { no: 3, name: "duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
565
+ { no: 4, name: "chain_ids", kind: "scalar", T: 13 /* ScalarType.UINT32 */, repeated: true },
557
566
  ]);
558
567
  /**
559
568
  * @generated from message data.v2.GetTokenHistoryTVLResponse
@@ -0,0 +1,15 @@
1
+ import { MethodKind } from "@bufbuild/protobuf";
2
+ import { RefreshSolanaTopTokensRequest, RefreshSolanaTopTokensResponse } from "./workerService_pb.js";
3
+ /**
4
+ * @generated from rpc data.v2.WorkerService.RefreshSolanaTopTokens
5
+ */
6
+ export declare const refreshSolanaTopTokens: {
7
+ readonly localName: "refreshSolanaTopTokens";
8
+ readonly name: "RefreshSolanaTopTokens";
9
+ readonly kind: MethodKind.Unary;
10
+ readonly I: typeof RefreshSolanaTopTokensRequest;
11
+ readonly O: typeof RefreshSolanaTopTokensResponse;
12
+ readonly service: {
13
+ readonly typeName: "data.v2.WorkerService";
14
+ };
15
+ };
@@ -0,0 +1,19 @@
1
+ // @generated by protoc-gen-connect-query v1.4.2 with parameter "target=ts"
2
+ // @generated from file data/v2/workerService.proto (package data.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { MethodKind } from "@bufbuild/protobuf";
6
+ import { RefreshSolanaTopTokensRequest, RefreshSolanaTopTokensResponse } from "./workerService_pb.js";
7
+ /**
8
+ * @generated from rpc data.v2.WorkerService.RefreshSolanaTopTokens
9
+ */
10
+ export const refreshSolanaTopTokens = {
11
+ localName: "refreshSolanaTopTokens",
12
+ name: "RefreshSolanaTopTokens",
13
+ kind: MethodKind.Unary,
14
+ I: RefreshSolanaTopTokensRequest,
15
+ O: RefreshSolanaTopTokensResponse,
16
+ service: {
17
+ typeName: "data.v2.WorkerService"
18
+ }
19
+ };
@@ -0,0 +1,23 @@
1
+ import { RefreshSolanaTopTokensRequest, RefreshSolanaTopTokensResponse } from "./workerService_pb.js";
2
+ import { MethodKind } from "@bufbuild/protobuf";
3
+ /**
4
+ * Internal worker/cron RPCs for the V2 data API. Triggered by EventBridge
5
+ * schedules (not client-facing), but kept in the v2 namespace alongside the v2
6
+ * data surface they feed.
7
+ *
8
+ * @generated from service data.v2.WorkerService
9
+ */
10
+ export declare const WorkerService: {
11
+ readonly typeName: "data.v2.WorkerService";
12
+ readonly methods: {
13
+ /**
14
+ * @generated from rpc data.v2.WorkerService.RefreshSolanaTopTokens
15
+ */
16
+ readonly refreshSolanaTopTokens: {
17
+ readonly name: "RefreshSolanaTopTokens";
18
+ readonly I: typeof RefreshSolanaTopTokensRequest;
19
+ readonly O: typeof RefreshSolanaTopTokensResponse;
20
+ readonly kind: MethodKind.Unary;
21
+ };
22
+ };
23
+ };
@@ -0,0 +1,27 @@
1
+ // @generated by protoc-gen-connect-es v1.7.0 with parameter "target=ts"
2
+ // @generated from file data/v2/workerService.proto (package data.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { RefreshSolanaTopTokensRequest, RefreshSolanaTopTokensResponse } from "./workerService_pb.js";
6
+ import { MethodKind } from "@bufbuild/protobuf";
7
+ /**
8
+ * Internal worker/cron RPCs for the V2 data API. Triggered by EventBridge
9
+ * schedules (not client-facing), but kept in the v2 namespace alongside the v2
10
+ * data surface they feed.
11
+ *
12
+ * @generated from service data.v2.WorkerService
13
+ */
14
+ export const WorkerService = {
15
+ typeName: "data.v2.WorkerService",
16
+ methods: {
17
+ /**
18
+ * @generated from rpc data.v2.WorkerService.RefreshSolanaTopTokens
19
+ */
20
+ refreshSolanaTopTokens: {
21
+ name: "RefreshSolanaTopTokens",
22
+ I: RefreshSolanaTopTokensRequest,
23
+ O: RefreshSolanaTopTokensResponse,
24
+ kind: MethodKind.Unary,
25
+ },
26
+ }
27
+ };
@@ -0,0 +1,28 @@
1
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
+ import { Message, proto3 } from "@bufbuild/protobuf";
3
+ /**
4
+ * @generated from message data.v2.RefreshSolanaTopTokensRequest
5
+ */
6
+ export declare class RefreshSolanaTopTokensRequest extends Message<RefreshSolanaTopTokensRequest> {
7
+ constructor(data?: PartialMessage<RefreshSolanaTopTokensRequest>);
8
+ static readonly runtime: typeof proto3;
9
+ static readonly typeName = "data.v2.RefreshSolanaTopTokensRequest";
10
+ static readonly fields: FieldList;
11
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshSolanaTopTokensRequest;
12
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshSolanaTopTokensRequest;
13
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshSolanaTopTokensRequest;
14
+ static equals(a: RefreshSolanaTopTokensRequest | PlainMessage<RefreshSolanaTopTokensRequest> | undefined, b: RefreshSolanaTopTokensRequest | PlainMessage<RefreshSolanaTopTokensRequest> | undefined): boolean;
15
+ }
16
+ /**
17
+ * @generated from message data.v2.RefreshSolanaTopTokensResponse
18
+ */
19
+ export declare class RefreshSolanaTopTokensResponse extends Message<RefreshSolanaTopTokensResponse> {
20
+ constructor(data?: PartialMessage<RefreshSolanaTopTokensResponse>);
21
+ static readonly runtime: typeof proto3;
22
+ static readonly typeName = "data.v2.RefreshSolanaTopTokensResponse";
23
+ static readonly fields: FieldList;
24
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): RefreshSolanaTopTokensResponse;
25
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): RefreshSolanaTopTokensResponse;
26
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): RefreshSolanaTopTokensResponse;
27
+ static equals(a: RefreshSolanaTopTokensResponse | PlainMessage<RefreshSolanaTopTokensResponse> | undefined, b: RefreshSolanaTopTokensResponse | PlainMessage<RefreshSolanaTopTokensResponse> | undefined): boolean;
28
+ }
@@ -0,0 +1,53 @@
1
+ // @generated by protoc-gen-es v1.10.1 with parameter "target=ts"
2
+ // @generated from file data/v2/workerService.proto (package data.v2, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+ import { Message, proto3 } from "@bufbuild/protobuf";
6
+ /**
7
+ * @generated from message data.v2.RefreshSolanaTopTokensRequest
8
+ */
9
+ export class RefreshSolanaTopTokensRequest extends Message {
10
+ constructor(data) {
11
+ super();
12
+ proto3.util.initPartial(data, this);
13
+ }
14
+ static fromBinary(bytes, options) {
15
+ return new RefreshSolanaTopTokensRequest().fromBinary(bytes, options);
16
+ }
17
+ static fromJson(jsonValue, options) {
18
+ return new RefreshSolanaTopTokensRequest().fromJson(jsonValue, options);
19
+ }
20
+ static fromJsonString(jsonString, options) {
21
+ return new RefreshSolanaTopTokensRequest().fromJsonString(jsonString, options);
22
+ }
23
+ static equals(a, b) {
24
+ return proto3.util.equals(RefreshSolanaTopTokensRequest, a, b);
25
+ }
26
+ }
27
+ RefreshSolanaTopTokensRequest.runtime = proto3;
28
+ RefreshSolanaTopTokensRequest.typeName = "data.v2.RefreshSolanaTopTokensRequest";
29
+ RefreshSolanaTopTokensRequest.fields = proto3.util.newFieldList(() => []);
30
+ /**
31
+ * @generated from message data.v2.RefreshSolanaTopTokensResponse
32
+ */
33
+ export class RefreshSolanaTopTokensResponse extends Message {
34
+ constructor(data) {
35
+ super();
36
+ proto3.util.initPartial(data, this);
37
+ }
38
+ static fromBinary(bytes, options) {
39
+ return new RefreshSolanaTopTokensResponse().fromBinary(bytes, options);
40
+ }
41
+ static fromJson(jsonValue, options) {
42
+ return new RefreshSolanaTopTokensResponse().fromJson(jsonValue, options);
43
+ }
44
+ static fromJsonString(jsonString, options) {
45
+ return new RefreshSolanaTopTokensResponse().fromJsonString(jsonString, options);
46
+ }
47
+ static equals(a, b) {
48
+ return proto3.util.equals(RefreshSolanaTopTokensResponse, a, b);
49
+ }
50
+ }
51
+ RefreshSolanaTopTokensResponse.runtime = proto3;
52
+ RefreshSolanaTopTokensResponse.typeName = "data.v2.RefreshSolanaTopTokensResponse";
53
+ RefreshSolanaTopTokensResponse.fields = proto3.util.newFieldList(() => []);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.118",
3
+ "version": "0.0.119",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },