@uniswap/client-liquidity 0.0.19 → 0.0.20

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,6 +1,6 @@
1
1
  import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
2
2
  import { Message, proto3 } from "@bufbuild/protobuf";
3
- import { BidToExit, ChainId, TransactionRequest } from "./types_pb.js";
3
+ import { BidToExit, ChainId, TransactionRequest, VerificationStatus } from "./types_pb.js";
4
4
  /**
5
5
  * REQUESTS & RESPONSES
6
6
  *
@@ -293,3 +293,69 @@ export declare class TokenCountAllocatedToLpForAuctionResponse extends Message<T
293
293
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TokenCountAllocatedToLpForAuctionResponse;
294
294
  static equals(a: TokenCountAllocatedToLpForAuctionResponse | PlainMessage<TokenCountAllocatedToLpForAuctionResponse> | undefined, b: TokenCountAllocatedToLpForAuctionResponse | PlainMessage<TokenCountAllocatedToLpForAuctionResponse> | undefined): boolean;
295
295
  }
296
+ /**
297
+ * @generated from message uniswap.liquidity.v1.VerifyWalletRequest
298
+ */
299
+ export declare class VerifyWalletRequest extends Message<VerifyWalletRequest> {
300
+ /**
301
+ * @generated from field: string wallet_address = 1;
302
+ */
303
+ walletAddress: string;
304
+ /**
305
+ * @generated from field: string auction_address = 2;
306
+ */
307
+ auctionAddress: string;
308
+ constructor(data?: PartialMessage<VerifyWalletRequest>);
309
+ static readonly runtime: typeof proto3;
310
+ static readonly typeName = "uniswap.liquidity.v1.VerifyWalletRequest";
311
+ static readonly fields: FieldList;
312
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyWalletRequest;
313
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyWalletRequest;
314
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyWalletRequest;
315
+ static equals(a: VerifyWalletRequest | PlainMessage<VerifyWalletRequest> | undefined, b: VerifyWalletRequest | PlainMessage<VerifyWalletRequest> | undefined): boolean;
316
+ }
317
+ /**
318
+ * @generated from message uniswap.liquidity.v1.VerifyWalletResponse
319
+ */
320
+ export declare class VerifyWalletResponse extends Message<VerifyWalletResponse> {
321
+ /**
322
+ * @generated from field: bool is_verified = 1;
323
+ */
324
+ isVerified: boolean;
325
+ /**
326
+ * @generated from field: uniswap.liquidity.v1.VerificationStatus status = 2;
327
+ */
328
+ status: VerificationStatus;
329
+ /**
330
+ * Predicate unsigned URL if not verified
331
+ *
332
+ * @generated from field: string redirect_url = 3;
333
+ */
334
+ redirectUrl: string;
335
+ /**
336
+ * Only set if is presale and KYC verified
337
+ *
338
+ * @generated from field: optional bool is_whitelisted = 4;
339
+ */
340
+ isWhitelisted?: boolean;
341
+ /**
342
+ * @generated from field: string failure_reason = 5;
343
+ */
344
+ failureReason: string;
345
+ /**
346
+ * @generated from field: bool auction_has_presale = 6;
347
+ */
348
+ auctionHasPresale: boolean;
349
+ /**
350
+ * @generated from field: bool auction_needs_verification = 7;
351
+ */
352
+ auctionNeedsVerification: boolean;
353
+ constructor(data?: PartialMessage<VerifyWalletResponse>);
354
+ static readonly runtime: typeof proto3;
355
+ static readonly typeName = "uniswap.liquidity.v1.VerifyWalletResponse";
356
+ static readonly fields: FieldList;
357
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): VerifyWalletResponse;
358
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): VerifyWalletResponse;
359
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): VerifyWalletResponse;
360
+ static equals(a: VerifyWalletResponse | PlainMessage<VerifyWalletResponse> | undefined, b: VerifyWalletResponse | PlainMessage<VerifyWalletResponse> | undefined): boolean;
361
+ }
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  // @ts-nocheck
5
5
  import { Message, proto3 } from "@bufbuild/protobuf";
6
- import { BidToExit, ChainId, TransactionRequest } from "./types_pb.js";
6
+ import { BidToExit, ChainId, TransactionRequest, VerificationStatus } from "./types_pb.js";
7
7
  /**
8
8
  * REQUESTS & RESPONSES
9
9
  *
@@ -396,3 +396,96 @@ TokenCountAllocatedToLpForAuctionResponse.fields = proto3.util.newFieldList(() =
396
396
  { no: 1, name: "request_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
397
397
  { no: 2, name: "token_count_allocated_to_lp", kind: "scalar", T: 9 /* ScalarType.STRING */ },
398
398
  ]);
399
+ /**
400
+ * @generated from message uniswap.liquidity.v1.VerifyWalletRequest
401
+ */
402
+ export class VerifyWalletRequest extends Message {
403
+ constructor(data) {
404
+ super();
405
+ /**
406
+ * @generated from field: string wallet_address = 1;
407
+ */
408
+ this.walletAddress = "";
409
+ /**
410
+ * @generated from field: string auction_address = 2;
411
+ */
412
+ this.auctionAddress = "";
413
+ proto3.util.initPartial(data, this);
414
+ }
415
+ static fromBinary(bytes, options) {
416
+ return new VerifyWalletRequest().fromBinary(bytes, options);
417
+ }
418
+ static fromJson(jsonValue, options) {
419
+ return new VerifyWalletRequest().fromJson(jsonValue, options);
420
+ }
421
+ static fromJsonString(jsonString, options) {
422
+ return new VerifyWalletRequest().fromJsonString(jsonString, options);
423
+ }
424
+ static equals(a, b) {
425
+ return proto3.util.equals(VerifyWalletRequest, a, b);
426
+ }
427
+ }
428
+ VerifyWalletRequest.runtime = proto3;
429
+ VerifyWalletRequest.typeName = "uniswap.liquidity.v1.VerifyWalletRequest";
430
+ VerifyWalletRequest.fields = proto3.util.newFieldList(() => [
431
+ { no: 1, name: "wallet_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
432
+ { no: 2, name: "auction_address", kind: "scalar", T: 9 /* ScalarType.STRING */ },
433
+ ]);
434
+ /**
435
+ * @generated from message uniswap.liquidity.v1.VerifyWalletResponse
436
+ */
437
+ export class VerifyWalletResponse extends Message {
438
+ constructor(data) {
439
+ super();
440
+ /**
441
+ * @generated from field: bool is_verified = 1;
442
+ */
443
+ this.isVerified = false;
444
+ /**
445
+ * @generated from field: uniswap.liquidity.v1.VerificationStatus status = 2;
446
+ */
447
+ this.status = VerificationStatus.UNSPECIFIED;
448
+ /**
449
+ * Predicate unsigned URL if not verified
450
+ *
451
+ * @generated from field: string redirect_url = 3;
452
+ */
453
+ this.redirectUrl = "";
454
+ /**
455
+ * @generated from field: string failure_reason = 5;
456
+ */
457
+ this.failureReason = "";
458
+ /**
459
+ * @generated from field: bool auction_has_presale = 6;
460
+ */
461
+ this.auctionHasPresale = false;
462
+ /**
463
+ * @generated from field: bool auction_needs_verification = 7;
464
+ */
465
+ this.auctionNeedsVerification = false;
466
+ proto3.util.initPartial(data, this);
467
+ }
468
+ static fromBinary(bytes, options) {
469
+ return new VerifyWalletResponse().fromBinary(bytes, options);
470
+ }
471
+ static fromJson(jsonValue, options) {
472
+ return new VerifyWalletResponse().fromJson(jsonValue, options);
473
+ }
474
+ static fromJsonString(jsonString, options) {
475
+ return new VerifyWalletResponse().fromJsonString(jsonString, options);
476
+ }
477
+ static equals(a, b) {
478
+ return proto3.util.equals(VerifyWalletResponse, a, b);
479
+ }
480
+ }
481
+ VerifyWalletResponse.runtime = proto3;
482
+ VerifyWalletResponse.typeName = "uniswap.liquidity.v1.VerifyWalletResponse";
483
+ VerifyWalletResponse.fields = proto3.util.newFieldList(() => [
484
+ { no: 1, name: "is_verified", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
485
+ { no: 2, name: "status", kind: "enum", T: proto3.getEnumType(VerificationStatus) },
486
+ { no: 3, name: "redirect_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
487
+ { no: 4, name: "is_whitelisted", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
488
+ { no: 5, name: "failure_reason", kind: "scalar", T: 9 /* ScalarType.STRING */ },
489
+ { no: 6, name: "auction_has_presale", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
490
+ { no: 7, name: "auction_needs_verification", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
491
+ ]);
@@ -130,6 +130,33 @@ export declare enum IndependentToken {
130
130
  */
131
131
  TOKEN_1 = 1
132
132
  }
133
+ /**
134
+ * @generated from enum uniswap.liquidity.v1.VerificationStatus
135
+ */
136
+ export declare enum VerificationStatus {
137
+ /**
138
+ * @generated from enum value: VERIFICATION_STATUS_UNSPECIFIED = 0;
139
+ */
140
+ UNSPECIFIED = 0,
141
+ /**
142
+ * Predicate: "verified"
143
+ *
144
+ * @generated from enum value: VERIFICATION_STATUS_VERIFIED = 1;
145
+ */
146
+ VERIFIED = 1,
147
+ /**
148
+ * Predicate: "unknown" (no entry)
149
+ *
150
+ * @generated from enum value: VERIFICATION_STATUS_NOT_STARTED = 2;
151
+ */
152
+ NOT_STARTED = 2,
153
+ /**
154
+ * Predicate: "not_verified"
155
+ *
156
+ * @generated from enum value: VERIFICATION_STATUS_PENDING = 3;
157
+ */
158
+ PENDING = 3
159
+ }
133
160
  /**
134
161
  * CORE TYPE OBJECTS
135
162
  *
@@ -176,6 +176,41 @@ proto3.util.setEnumType(IndependentToken, "uniswap.liquidity.v1.IndependentToken
176
176
  { no: 0, name: "TOKEN_0" },
177
177
  { no: 1, name: "TOKEN_1" },
178
178
  ]);
179
+ /**
180
+ * @generated from enum uniswap.liquidity.v1.VerificationStatus
181
+ */
182
+ export var VerificationStatus;
183
+ (function (VerificationStatus) {
184
+ /**
185
+ * @generated from enum value: VERIFICATION_STATUS_UNSPECIFIED = 0;
186
+ */
187
+ VerificationStatus[VerificationStatus["UNSPECIFIED"] = 0] = "UNSPECIFIED";
188
+ /**
189
+ * Predicate: "verified"
190
+ *
191
+ * @generated from enum value: VERIFICATION_STATUS_VERIFIED = 1;
192
+ */
193
+ VerificationStatus[VerificationStatus["VERIFIED"] = 1] = "VERIFIED";
194
+ /**
195
+ * Predicate: "unknown" (no entry)
196
+ *
197
+ * @generated from enum value: VERIFICATION_STATUS_NOT_STARTED = 2;
198
+ */
199
+ VerificationStatus[VerificationStatus["NOT_STARTED"] = 2] = "NOT_STARTED";
200
+ /**
201
+ * Predicate: "not_verified"
202
+ *
203
+ * @generated from enum value: VERIFICATION_STATUS_PENDING = 3;
204
+ */
205
+ VerificationStatus[VerificationStatus["PENDING"] = 3] = "PENDING";
206
+ })(VerificationStatus || (VerificationStatus = {}));
207
+ // Retrieve enum metadata with: proto3.getEnumType(VerificationStatus)
208
+ proto3.util.setEnumType(VerificationStatus, "uniswap.liquidity.v1.VerificationStatus", [
209
+ { no: 0, name: "VERIFICATION_STATUS_UNSPECIFIED" },
210
+ { no: 1, name: "VERIFICATION_STATUS_VERIFIED" },
211
+ { no: 2, name: "VERIFICATION_STATUS_NOT_STARTED" },
212
+ { no: 3, name: "VERIFICATION_STATUS_PENDING" },
213
+ ]);
179
214
  /**
180
215
  * CORE TYPE OBJECTS
181
216
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-liquidity",
3
- "version": "0.0.19",
3
+ "version": "0.0.20",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },