@uniswap/client-data-api 0.0.235 → 0.0.238
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.
|
@@ -731,7 +731,8 @@ export declare class LaunchBadge extends Message<LaunchBadge> {
|
|
|
731
731
|
/**
|
|
732
732
|
* When the badge was earned (proto-JSON serializes this as an ISO-8601
|
|
733
733
|
* string, which is the client contract). Exact on-chain launch time for
|
|
734
|
-
*
|
|
734
|
+
* frontrunner; observation time for original and for tier crossings,
|
|
735
|
+
* which are only known to have happened by the pass that spots them.
|
|
735
736
|
*
|
|
736
737
|
* @generated from field: google.protobuf.Timestamp earned_at = 3;
|
|
737
738
|
*/
|
package/dist/data/v2/api_pb.d.ts
CHANGED
|
@@ -718,6 +718,14 @@ export declare class GetTokenRequest extends Message<GetTokenRequest> {
|
|
|
718
718
|
* @generated from field: string address = 2;
|
|
719
719
|
*/
|
|
720
720
|
address: string;
|
|
721
|
+
/**
|
|
722
|
+
* External-consumer request (public API proxy): fields whose upstream
|
|
723
|
+
* data source is internal-only are omitted (served as null/empty), and
|
|
724
|
+
* Solana tokens are not served (SVM lookups return NotFound).
|
|
725
|
+
*
|
|
726
|
+
* @generated from field: bool external = 3;
|
|
727
|
+
*/
|
|
728
|
+
external: boolean;
|
|
721
729
|
constructor(data?: PartialMessage<GetTokenRequest>);
|
|
722
730
|
static readonly runtime: typeof proto3;
|
|
723
731
|
static readonly typeName = "data.v2.GetTokenRequest";
|
|
@@ -773,6 +781,13 @@ export declare class GetTokensRequest extends Message<GetTokensRequest> {
|
|
|
773
781
|
* @generated from field: repeated data.v2.TokenIdentifier tokens = 1;
|
|
774
782
|
*/
|
|
775
783
|
tokens: TokenIdentifier[];
|
|
784
|
+
/**
|
|
785
|
+
* External-consumer request: internally-sourced fields are omitted and
|
|
786
|
+
* SVM identifiers resolve nothing (see GetTokenRequest.external).
|
|
787
|
+
*
|
|
788
|
+
* @generated from field: bool external = 2;
|
|
789
|
+
*/
|
|
790
|
+
external: boolean;
|
|
776
791
|
constructor(data?: PartialMessage<GetTokensRequest>);
|
|
777
792
|
static readonly runtime: typeof proto3;
|
|
778
793
|
static readonly typeName = "data.v2.GetTokensRequest";
|
|
@@ -2382,6 +2397,14 @@ export declare class ListTokensRequest extends Message<ListTokensRequest> {
|
|
|
2382
2397
|
* @generated from field: data.v2.HistoryDuration sparkline_duration = 5;
|
|
2383
2398
|
*/
|
|
2384
2399
|
sparklineDuration: HistoryDuration;
|
|
2400
|
+
/**
|
|
2401
|
+
* External-consumer request: internally-sourced fields are omitted and
|
|
2402
|
+
* the Solana feed is not merged (see GetTokenRequest.external); filtering
|
|
2403
|
+
* semantics are unchanged.
|
|
2404
|
+
*
|
|
2405
|
+
* @generated from field: bool external = 6;
|
|
2406
|
+
*/
|
|
2407
|
+
external: boolean;
|
|
2385
2408
|
constructor(data?: PartialMessage<ListTokensRequest>);
|
|
2386
2409
|
static readonly runtime: typeof proto3;
|
|
2387
2410
|
static readonly typeName = "data.v2.ListTokensRequest";
|
package/dist/data/v2/api_pb.js
CHANGED
|
@@ -833,6 +833,14 @@ export class GetTokenRequest extends Message {
|
|
|
833
833
|
* @generated from field: string address = 2;
|
|
834
834
|
*/
|
|
835
835
|
this.address = "";
|
|
836
|
+
/**
|
|
837
|
+
* External-consumer request (public API proxy): fields whose upstream
|
|
838
|
+
* data source is internal-only are omitted (served as null/empty), and
|
|
839
|
+
* Solana tokens are not served (SVM lookups return NotFound).
|
|
840
|
+
*
|
|
841
|
+
* @generated from field: bool external = 3;
|
|
842
|
+
*/
|
|
843
|
+
this.external = false;
|
|
836
844
|
proto3.util.initPartial(data, this);
|
|
837
845
|
}
|
|
838
846
|
static fromBinary(bytes, options) {
|
|
@@ -853,6 +861,7 @@ GetTokenRequest.typeName = "data.v2.GetTokenRequest";
|
|
|
853
861
|
GetTokenRequest.fields = proto3.util.newFieldList(() => [
|
|
854
862
|
{ no: 1, name: "chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */ },
|
|
855
863
|
{ no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
864
|
+
{ no: 3, name: "external", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
856
865
|
]);
|
|
857
866
|
/**
|
|
858
867
|
* @generated from message data.v2.GetTokenResponse
|
|
@@ -925,6 +934,13 @@ export class GetTokensRequest extends Message {
|
|
|
925
934
|
* @generated from field: repeated data.v2.TokenIdentifier tokens = 1;
|
|
926
935
|
*/
|
|
927
936
|
this.tokens = [];
|
|
937
|
+
/**
|
|
938
|
+
* External-consumer request: internally-sourced fields are omitted and
|
|
939
|
+
* SVM identifiers resolve nothing (see GetTokenRequest.external).
|
|
940
|
+
*
|
|
941
|
+
* @generated from field: bool external = 2;
|
|
942
|
+
*/
|
|
943
|
+
this.external = false;
|
|
928
944
|
proto3.util.initPartial(data, this);
|
|
929
945
|
}
|
|
930
946
|
static fromBinary(bytes, options) {
|
|
@@ -944,6 +960,7 @@ GetTokensRequest.runtime = proto3;
|
|
|
944
960
|
GetTokensRequest.typeName = "data.v2.GetTokensRequest";
|
|
945
961
|
GetTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
946
962
|
{ no: 1, name: "tokens", kind: "message", T: TokenIdentifier, repeated: true },
|
|
963
|
+
{ no: 2, name: "external", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
947
964
|
]);
|
|
948
965
|
/**
|
|
949
966
|
* Best-effort response: tokens are returned for each requested identifier that
|
|
@@ -2701,6 +2718,14 @@ export class ListTokensRequest extends Message {
|
|
|
2701
2718
|
* @generated from field: data.v2.HistoryDuration sparkline_duration = 5;
|
|
2702
2719
|
*/
|
|
2703
2720
|
this.sparklineDuration = HistoryDuration.UNSPECIFIED;
|
|
2721
|
+
/**
|
|
2722
|
+
* External-consumer request: internally-sourced fields are omitted and
|
|
2723
|
+
* the Solana feed is not merged (see GetTokenRequest.external); filtering
|
|
2724
|
+
* semantics are unchanged.
|
|
2725
|
+
*
|
|
2726
|
+
* @generated from field: bool external = 6;
|
|
2727
|
+
*/
|
|
2728
|
+
this.external = false;
|
|
2704
2729
|
proto3.util.initPartial(data, this);
|
|
2705
2730
|
}
|
|
2706
2731
|
static fromBinary(bytes, options) {
|
|
@@ -2724,6 +2749,7 @@ ListTokensRequest.fields = proto3.util.newFieldList(() => [
|
|
|
2724
2749
|
{ no: 3, name: "filter", kind: "message", T: TokenListFilter, opt: true },
|
|
2725
2750
|
{ no: 4, name: "page", kind: "message", T: PageRequest, opt: true },
|
|
2726
2751
|
{ no: 5, name: "sparkline_duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
|
|
2752
|
+
{ no: 6, name: "external", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
2727
2753
|
]);
|
|
2728
2754
|
/**
|
|
2729
2755
|
* @generated from message data.v2.ListTokensResponse
|
|
@@ -2009,7 +2009,8 @@ export declare class LaunchBadge extends Message<LaunchBadge> {
|
|
|
2009
2009
|
/**
|
|
2010
2010
|
* When the badge was earned (proto-JSON serializes this as an ISO-8601
|
|
2011
2011
|
* string, which is the client contract). Exact on-chain launch time for
|
|
2012
|
-
*
|
|
2012
|
+
* frontrunner; observation time for original and for tier crossings,
|
|
2013
|
+
* which are only known to have happened by the pass that spots them.
|
|
2013
2014
|
*
|
|
2014
2015
|
* @generated from field: google.protobuf.Timestamp earned_at = 3;
|
|
2015
2016
|
*/
|
|
@@ -558,7 +558,8 @@ export declare class LaunchBadge extends Message<LaunchBadge> {
|
|
|
558
558
|
/**
|
|
559
559
|
* When the badge was earned (proto-JSON serializes this as an ISO-8601
|
|
560
560
|
* string, which is the client contract). Exact on-chain launch time for
|
|
561
|
-
*
|
|
561
|
+
* frontrunner; observation time for original and for tier crossings,
|
|
562
|
+
* which are only known to have happened by the pass that spots them.
|
|
562
563
|
*
|
|
563
564
|
* @generated from field: google.protobuf.Timestamp earned_at = 3;
|
|
564
565
|
*/
|