@uniswap/client-data-api 0.0.237 → 0.0.239

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.
@@ -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";
@@ -838,6 +853,13 @@ export declare class GetTokenMultiChainRequest extends Message<GetTokenMultiChai
838
853
  * @generated from field: optional uint32 canonical_chain_id = 3;
839
854
  */
840
855
  canonicalChainId?: number;
856
+ /**
857
+ * External-consumer request: internally-sourced fields are omitted and SVM
858
+ * group members are not served (see GetTokenRequest.external).
859
+ *
860
+ * @generated from field: bool external = 4;
861
+ */
862
+ external: boolean;
841
863
  constructor(data?: PartialMessage<GetTokenMultiChainRequest>);
842
864
  static readonly runtime: typeof proto3;
843
865
  static readonly typeName = "data.v2.GetTokenMultiChainRequest";
@@ -891,6 +913,13 @@ export declare class GetTokensMultiChainRequest extends Message<GetTokensMultiCh
891
913
  * @generated from field: optional uint32 canonical_chain_id = 3;
892
914
  */
893
915
  canonicalChainId?: number;
916
+ /**
917
+ * External-consumer request: internally-sourced fields are omitted and SVM
918
+ * group members are not served (see GetTokenRequest.external).
919
+ *
920
+ * @generated from field: bool external = 4;
921
+ */
922
+ external: boolean;
894
923
  constructor(data?: PartialMessage<GetTokensMultiChainRequest>);
895
924
  static readonly runtime: typeof proto3;
896
925
  static readonly typeName = "data.v2.GetTokensMultiChainRequest";
@@ -2382,6 +2411,14 @@ export declare class ListTokensRequest extends Message<ListTokensRequest> {
2382
2411
  * @generated from field: data.v2.HistoryDuration sparkline_duration = 5;
2383
2412
  */
2384
2413
  sparklineDuration: HistoryDuration;
2414
+ /**
2415
+ * External-consumer request: internally-sourced fields are omitted and
2416
+ * the Solana feed is not merged (see GetTokenRequest.external); filtering
2417
+ * semantics are unchanged.
2418
+ *
2419
+ * @generated from field: bool external = 6;
2420
+ */
2421
+ external: boolean;
2385
2422
  constructor(data?: PartialMessage<ListTokensRequest>);
2386
2423
  static readonly runtime: typeof proto3;
2387
2424
  static readonly typeName = "data.v2.ListTokensRequest";
@@ -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
@@ -993,6 +1010,13 @@ export class GetTokenMultiChainRequest extends Message {
993
1010
  * @generated from oneof data.v2.GetTokenMultiChainRequest.identifier
994
1011
  */
995
1012
  this.identifier = { case: undefined };
1013
+ /**
1014
+ * External-consumer request: internally-sourced fields are omitted and SVM
1015
+ * group members are not served (see GetTokenRequest.external).
1016
+ *
1017
+ * @generated from field: bool external = 4;
1018
+ */
1019
+ this.external = false;
996
1020
  proto3.util.initPartial(data, this);
997
1021
  }
998
1022
  static fromBinary(bytes, options) {
@@ -1014,6 +1038,7 @@ GetTokenMultiChainRequest.fields = proto3.util.newFieldList(() => [
1014
1038
  { no: 1, name: "multichain_id", kind: "scalar", T: 9 /* ScalarType.STRING */, oneof: "identifier" },
1015
1039
  { no: 2, name: "token", kind: "message", T: TokenIdentifier, oneof: "identifier" },
1016
1040
  { no: 3, name: "canonical_chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1041
+ { no: 4, name: "external", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1017
1042
  ]);
1018
1043
  /**
1019
1044
  * @generated from message data.v2.GetTokenMultiChainResponse
@@ -1051,6 +1076,13 @@ export class GetTokensMultiChainRequest extends Message {
1051
1076
  * @generated from oneof data.v2.GetTokensMultiChainRequest.identifier
1052
1077
  */
1053
1078
  this.identifier = { case: undefined };
1079
+ /**
1080
+ * External-consumer request: internally-sourced fields are omitted and SVM
1081
+ * group members are not served (see GetTokenRequest.external).
1082
+ *
1083
+ * @generated from field: bool external = 4;
1084
+ */
1085
+ this.external = false;
1054
1086
  proto3.util.initPartial(data, this);
1055
1087
  }
1056
1088
  static fromBinary(bytes, options) {
@@ -1072,6 +1104,7 @@ GetTokensMultiChainRequest.fields = proto3.util.newFieldList(() => [
1072
1104
  { no: 1, name: "multichain_ids", kind: "message", T: MultichainIdList, oneof: "identifier" },
1073
1105
  { no: 2, name: "tokens", kind: "message", T: TokenIdentifierList, oneof: "identifier" },
1074
1106
  { no: 3, name: "canonical_chain_id", kind: "scalar", T: 13 /* ScalarType.UINT32 */, opt: true },
1107
+ { no: 4, name: "external", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1075
1108
  ]);
1076
1109
  /**
1077
1110
  * @generated from message data.v2.MultichainIdList
@@ -2701,6 +2734,14 @@ export class ListTokensRequest extends Message {
2701
2734
  * @generated from field: data.v2.HistoryDuration sparkline_duration = 5;
2702
2735
  */
2703
2736
  this.sparklineDuration = HistoryDuration.UNSPECIFIED;
2737
+ /**
2738
+ * External-consumer request: internally-sourced fields are omitted and
2739
+ * the Solana feed is not merged (see GetTokenRequest.external); filtering
2740
+ * semantics are unchanged.
2741
+ *
2742
+ * @generated from field: bool external = 6;
2743
+ */
2744
+ this.external = false;
2704
2745
  proto3.util.initPartial(data, this);
2705
2746
  }
2706
2747
  static fromBinary(bytes, options) {
@@ -2724,6 +2765,7 @@ ListTokensRequest.fields = proto3.util.newFieldList(() => [
2724
2765
  { no: 3, name: "filter", kind: "message", T: TokenListFilter, opt: true },
2725
2766
  { no: 4, name: "page", kind: "message", T: PageRequest, opt: true },
2726
2767
  { no: 5, name: "sparkline_duration", kind: "enum", T: proto3.getEnumType(HistoryDuration) },
2768
+ { no: 6, name: "external", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
2727
2769
  ]);
2728
2770
  /**
2729
2771
  * @generated from message data.v2.ListTokensResponse
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.237",
3
+ "version": "0.0.239",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },