@uniswap/client-data-api 0.0.21 → 0.0.22

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.
@@ -1,5 +1,5 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
- import { GetAuctionsRequest, GetAuctionsResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
2
+ import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
3
3
  /**
4
4
  * @generated from rpc data.v1.AuctionService.GetBidsByWallet
5
5
  */
@@ -27,14 +27,14 @@ export declare const getBids: {
27
27
  };
28
28
  };
29
29
  /**
30
- * @generated from rpc data.v1.AuctionService.GetAuctions
30
+ * @generated from rpc data.v1.AuctionService.GetAuction
31
31
  */
32
- export declare const getAuctions: {
33
- readonly localName: "getAuctions";
34
- readonly name: "GetAuctions";
32
+ export declare const getAuction: {
33
+ readonly localName: "getAuction";
34
+ readonly name: "GetAuction";
35
35
  readonly kind: MethodKind.Unary;
36
- readonly I: typeof GetAuctionsRequest;
37
- readonly O: typeof GetAuctionsResponse;
36
+ readonly I: typeof GetAuctionRequest;
37
+ readonly O: typeof GetAuctionResponse;
38
38
  readonly service: {
39
39
  readonly typeName: "data.v1.AuctionService";
40
40
  };
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
- import { GetAuctionsRequest, GetAuctionsResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
6
+ import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
7
7
  /**
8
8
  * @generated from rpc data.v1.AuctionService.GetBidsByWallet
9
9
  */
@@ -31,14 +31,14 @@ export const getBids = {
31
31
  }
32
32
  };
33
33
  /**
34
- * @generated from rpc data.v1.AuctionService.GetAuctions
34
+ * @generated from rpc data.v1.AuctionService.GetAuction
35
35
  */
36
- export const getAuctions = {
37
- localName: "getAuctions",
38
- name: "GetAuctions",
36
+ export const getAuction = {
37
+ localName: "getAuction",
38
+ name: "GetAuction",
39
39
  kind: MethodKind.Unary,
40
- I: GetAuctionsRequest,
41
- O: GetAuctionsResponse,
40
+ I: GetAuctionRequest,
41
+ O: GetAuctionResponse,
42
42
  service: {
43
43
  typeName: "data.v1.AuctionService"
44
44
  }
@@ -1,4 +1,4 @@
1
- import { GetAuctionsRequest, GetAuctionsResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
1
+ import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
2
2
  import { MethodKind } from "@bufbuild/protobuf";
3
3
  /**
4
4
  * @generated from service data.v1.AuctionService
@@ -25,12 +25,12 @@ export declare const AuctionService: {
25
25
  readonly kind: MethodKind.Unary;
26
26
  };
27
27
  /**
28
- * @generated from rpc data.v1.AuctionService.GetAuctions
28
+ * @generated from rpc data.v1.AuctionService.GetAuction
29
29
  */
30
- readonly getAuctions: {
31
- readonly name: "GetAuctions";
32
- readonly I: typeof GetAuctionsRequest;
33
- readonly O: typeof GetAuctionsResponse;
30
+ readonly getAuction: {
31
+ readonly name: "GetAuction";
32
+ readonly I: typeof GetAuctionRequest;
33
+ readonly O: typeof GetAuctionResponse;
34
34
  readonly kind: MethodKind.Unary;
35
35
  };
36
36
  };
@@ -2,7 +2,7 @@
2
2
  // @generated from file data/v1/auction.proto (package data.v1, syntax proto3)
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
- import { GetAuctionsRequest, GetAuctionsResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
5
+ import { GetAuctionRequest, GetAuctionResponse, GetBidsByWalletRequest, GetBidsByWalletResponse, GetBidsRequest, GetBidsResponse } from "./auction_pb.js";
6
6
  import { MethodKind } from "@bufbuild/protobuf";
7
7
  /**
8
8
  * @generated from service data.v1.AuctionService
@@ -29,12 +29,12 @@ export const AuctionService = {
29
29
  kind: MethodKind.Unary,
30
30
  },
31
31
  /**
32
- * @generated from rpc data.v1.AuctionService.GetAuctions
32
+ * @generated from rpc data.v1.AuctionService.GetAuction
33
33
  */
34
- getAuctions: {
35
- name: "GetAuctions",
36
- I: GetAuctionsRequest,
37
- O: GetAuctionsResponse,
34
+ getAuction: {
35
+ name: "GetAuction",
36
+ I: GetAuctionRequest,
37
+ O: GetAuctionResponse,
38
38
  kind: MethodKind.Unary,
39
39
  },
40
40
  }
@@ -193,9 +193,9 @@ export declare class GetBidsResponse extends Message<GetBidsResponse> {
193
193
  /**
194
194
  * Request to fetch auctions.
195
195
  *
196
- * @generated from message data.v1.GetAuctionsRequest
196
+ * @generated from message data.v1.GetAuctionRequest
197
197
  */
198
- export declare class GetAuctionsRequest extends Message<GetAuctionsRequest> {
198
+ export declare class GetAuctionRequest extends Message<GetAuctionRequest> {
199
199
  /**
200
200
  * @generated from field: int32 chain_id = 1;
201
201
  */
@@ -204,14 +204,14 @@ export declare class GetAuctionsRequest extends Message<GetAuctionsRequest> {
204
204
  * @generated from field: string address = 2;
205
205
  */
206
206
  address: string;
207
- constructor(data?: PartialMessage<GetAuctionsRequest>);
207
+ constructor(data?: PartialMessage<GetAuctionRequest>);
208
208
  static readonly runtime: typeof proto3;
209
- static readonly typeName = "data.v1.GetAuctionsRequest";
209
+ static readonly typeName = "data.v1.GetAuctionRequest";
210
210
  static readonly fields: FieldList;
211
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionsRequest;
212
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionsRequest;
213
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionsRequest;
214
- static equals(a: GetAuctionsRequest | PlainMessage<GetAuctionsRequest> | undefined, b: GetAuctionsRequest | PlainMessage<GetAuctionsRequest> | undefined): boolean;
211
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionRequest;
212
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionRequest;
213
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionRequest;
214
+ static equals(a: GetAuctionRequest | PlainMessage<GetAuctionRequest> | undefined, b: GetAuctionRequest | PlainMessage<GetAuctionRequest> | undefined): boolean;
215
215
  }
216
216
  /**
217
217
  * A single auction resource.
@@ -279,19 +279,19 @@ export declare class Auction extends Message<Auction> {
279
279
  /**
280
280
  * Response containing auctions.
281
281
  *
282
- * @generated from message data.v1.GetAuctionsResponse
282
+ * @generated from message data.v1.GetAuctionResponse
283
283
  */
284
- export declare class GetAuctionsResponse extends Message<GetAuctionsResponse> {
284
+ export declare class GetAuctionResponse extends Message<GetAuctionResponse> {
285
285
  /**
286
286
  * @generated from field: repeated data.v1.Auction auctions = 1;
287
287
  */
288
288
  auctions: Auction[];
289
- constructor(data?: PartialMessage<GetAuctionsResponse>);
289
+ constructor(data?: PartialMessage<GetAuctionResponse>);
290
290
  static readonly runtime: typeof proto3;
291
- static readonly typeName = "data.v1.GetAuctionsResponse";
291
+ static readonly typeName = "data.v1.GetAuctionResponse";
292
292
  static readonly fields: FieldList;
293
- static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionsResponse;
294
- static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionsResponse;
295
- static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionsResponse;
296
- static equals(a: GetAuctionsResponse | PlainMessage<GetAuctionsResponse> | undefined, b: GetAuctionsResponse | PlainMessage<GetAuctionsResponse> | undefined): boolean;
293
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAuctionResponse;
294
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAuctionResponse;
295
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAuctionResponse;
296
+ static equals(a: GetAuctionResponse | PlainMessage<GetAuctionResponse> | undefined, b: GetAuctionResponse | PlainMessage<GetAuctionResponse> | undefined): boolean;
297
297
  }
@@ -285,9 +285,9 @@ GetBidsResponse.fields = proto3.util.newFieldList(() => [
285
285
  /**
286
286
  * Request to fetch auctions.
287
287
  *
288
- * @generated from message data.v1.GetAuctionsRequest
288
+ * @generated from message data.v1.GetAuctionRequest
289
289
  */
290
- export class GetAuctionsRequest extends Message {
290
+ export class GetAuctionRequest extends Message {
291
291
  constructor(data) {
292
292
  super();
293
293
  /**
@@ -301,21 +301,21 @@ export class GetAuctionsRequest extends Message {
301
301
  proto3.util.initPartial(data, this);
302
302
  }
303
303
  static fromBinary(bytes, options) {
304
- return new GetAuctionsRequest().fromBinary(bytes, options);
304
+ return new GetAuctionRequest().fromBinary(bytes, options);
305
305
  }
306
306
  static fromJson(jsonValue, options) {
307
- return new GetAuctionsRequest().fromJson(jsonValue, options);
307
+ return new GetAuctionRequest().fromJson(jsonValue, options);
308
308
  }
309
309
  static fromJsonString(jsonString, options) {
310
- return new GetAuctionsRequest().fromJsonString(jsonString, options);
310
+ return new GetAuctionRequest().fromJsonString(jsonString, options);
311
311
  }
312
312
  static equals(a, b) {
313
- return proto3.util.equals(GetAuctionsRequest, a, b);
313
+ return proto3.util.equals(GetAuctionRequest, a, b);
314
314
  }
315
315
  }
316
- GetAuctionsRequest.runtime = proto3;
317
- GetAuctionsRequest.typeName = "data.v1.GetAuctionsRequest";
318
- GetAuctionsRequest.fields = proto3.util.newFieldList(() => [
316
+ GetAuctionRequest.runtime = proto3;
317
+ GetAuctionRequest.typeName = "data.v1.GetAuctionRequest";
318
+ GetAuctionRequest.fields = proto3.util.newFieldList(() => [
319
319
  { no: 1, name: "chain_id", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
320
320
  { no: 2, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
321
321
  ]);
@@ -409,9 +409,9 @@ Auction.fields = proto3.util.newFieldList(() => [
409
409
  /**
410
410
  * Response containing auctions.
411
411
  *
412
- * @generated from message data.v1.GetAuctionsResponse
412
+ * @generated from message data.v1.GetAuctionResponse
413
413
  */
414
- export class GetAuctionsResponse extends Message {
414
+ export class GetAuctionResponse extends Message {
415
415
  constructor(data) {
416
416
  super();
417
417
  /**
@@ -421,20 +421,20 @@ export class GetAuctionsResponse extends Message {
421
421
  proto3.util.initPartial(data, this);
422
422
  }
423
423
  static fromBinary(bytes, options) {
424
- return new GetAuctionsResponse().fromBinary(bytes, options);
424
+ return new GetAuctionResponse().fromBinary(bytes, options);
425
425
  }
426
426
  static fromJson(jsonValue, options) {
427
- return new GetAuctionsResponse().fromJson(jsonValue, options);
427
+ return new GetAuctionResponse().fromJson(jsonValue, options);
428
428
  }
429
429
  static fromJsonString(jsonString, options) {
430
- return new GetAuctionsResponse().fromJsonString(jsonString, options);
430
+ return new GetAuctionResponse().fromJsonString(jsonString, options);
431
431
  }
432
432
  static equals(a, b) {
433
- return proto3.util.equals(GetAuctionsResponse, a, b);
433
+ return proto3.util.equals(GetAuctionResponse, a, b);
434
434
  }
435
435
  }
436
- GetAuctionsResponse.runtime = proto3;
437
- GetAuctionsResponse.typeName = "data.v1.GetAuctionsResponse";
438
- GetAuctionsResponse.fields = proto3.util.newFieldList(() => [
436
+ GetAuctionResponse.runtime = proto3;
437
+ GetAuctionResponse.typeName = "data.v1.GetAuctionResponse";
438
+ GetAuctionResponse.fields = proto3.util.newFieldList(() => [
439
439
  { no: 1, name: "auctions", kind: "message", T: Auction, repeated: true },
440
440
  ]);
@@ -857,6 +857,10 @@ export declare class OnChainTransaction extends Message<OnChainTransaction> {
857
857
  * @generated from field: data.v1.TransactionFee fee = 12;
858
858
  */
859
859
  fee?: TransactionFee;
860
+ /**
861
+ * @generated from field: optional data.v1.Paymaster paymaster = 13;
862
+ */
863
+ paymaster?: Paymaster;
860
864
  constructor(data?: PartialMessage<OnChainTransaction>);
861
865
  static readonly runtime: typeof proto3;
862
866
  static readonly typeName = "data.v1.OnChainTransaction";
@@ -1335,3 +1339,24 @@ export declare class TokenStats extends Message<TokenStats> {
1335
1339
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenStats;
1336
1340
  static equals(a: TokenStats | PlainMessage<TokenStats> | undefined, b: TokenStats | PlainMessage<TokenStats> | undefined): boolean;
1337
1341
  }
1342
+ /**
1343
+ * @generated from message data.v1.Paymaster
1344
+ */
1345
+ export declare class Paymaster extends Message<Paymaster> {
1346
+ /**
1347
+ * @generated from field: string address = 1;
1348
+ */
1349
+ address: string;
1350
+ /**
1351
+ * @generated from field: optional string name = 2;
1352
+ */
1353
+ name?: string;
1354
+ constructor(data?: PartialMessage<Paymaster>);
1355
+ static readonly runtime: typeof proto3;
1356
+ static readonly typeName = "data.v1.Paymaster";
1357
+ static readonly fields: FieldList;
1358
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Paymaster;
1359
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Paymaster;
1360
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Paymaster;
1361
+ static equals(a: Paymaster | PlainMessage<Paymaster> | undefined, b: Paymaster | PlainMessage<Paymaster> | undefined): boolean;
1362
+ }
@@ -1175,6 +1175,7 @@ OnChainTransaction.fields = proto3.util.newFieldList(() => [
1175
1175
  { no: 10, name: "status", kind: "enum", T: proto3.getEnumType(OnChainTransactionStatus) },
1176
1176
  { no: 11, name: "protocol", kind: "message", T: ProtocolMetadata, opt: true },
1177
1177
  { no: 12, name: "fee", kind: "message", T: TransactionFee },
1178
+ { no: 13, name: "paymaster", kind: "message", T: Paymaster, opt: true },
1178
1179
  ]);
1179
1180
  /**
1180
1181
  * @generated from message data.v1.Transfer
@@ -1703,3 +1704,34 @@ TokenStats.fields = proto3.util.newFieldList(() => [
1703
1704
  { no: 9, name: "price_change_1d", kind: "scalar", T: 2 /* ScalarType.FLOAT */, opt: true },
1704
1705
  { no: 10, name: "price_history_1d", kind: "message", T: TimestampedValue, repeated: true },
1705
1706
  ]);
1707
+ /**
1708
+ * @generated from message data.v1.Paymaster
1709
+ */
1710
+ export class Paymaster extends Message {
1711
+ constructor(data) {
1712
+ super();
1713
+ /**
1714
+ * @generated from field: string address = 1;
1715
+ */
1716
+ this.address = "";
1717
+ proto3.util.initPartial(data, this);
1718
+ }
1719
+ static fromBinary(bytes, options) {
1720
+ return new Paymaster().fromBinary(bytes, options);
1721
+ }
1722
+ static fromJson(jsonValue, options) {
1723
+ return new Paymaster().fromJson(jsonValue, options);
1724
+ }
1725
+ static fromJsonString(jsonString, options) {
1726
+ return new Paymaster().fromJsonString(jsonString, options);
1727
+ }
1728
+ static equals(a, b) {
1729
+ return proto3.util.equals(Paymaster, a, b);
1730
+ }
1731
+ }
1732
+ Paymaster.runtime = proto3;
1733
+ Paymaster.typeName = "data.v1.Paymaster";
1734
+ Paymaster.fields = proto3.util.newFieldList(() => [
1735
+ { no: 1, name: "address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1736
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1737
+ ]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-data-api",
3
- "version": "0.0.21",
3
+ "version": "0.0.22",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },