@uniswap/client-platform-service 0.0.30 → 0.0.31

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.
@@ -170,6 +170,12 @@ export declare class IntrospectResponse extends Message<IntrospectResponse> {
170
170
  * @generated from field: optional string name = 8;
171
171
  */
172
172
  name?: string;
173
+ /**
174
+ * Endpoint-access scopes assigned when the key is created.
175
+ *
176
+ * @generated from field: repeated string scope = 9;
177
+ */
178
+ scope: string[];
173
179
  constructor(data?: PartialMessage<IntrospectResponse>);
174
180
  static readonly runtime: typeof proto3;
175
181
  static readonly typeName = "uniswap.platformservice.v1.IntrospectResponse";
@@ -378,6 +384,10 @@ export declare class ApiKeyDataStruct extends Message<ApiKeyDataStruct> {
378
384
  * @generated from field: optional uniswap.platformservice.v1.ApiKeyTier tier = 11;
379
385
  */
380
386
  tier?: ApiKeyTier;
387
+ /**
388
+ * @generated from field: repeated string scope = 12;
389
+ */
390
+ scope: string[];
381
391
  constructor(data?: PartialMessage<ApiKeyDataStruct>);
382
392
  static readonly runtime: typeof proto3;
383
393
  static readonly typeName = "uniswap.platformservice.v1.ApiKeyDataStruct";
@@ -447,6 +457,10 @@ export declare class InternalCreateApiKeyRequest extends Message<InternalCreateA
447
457
  * @generated from field: uniswap.platformservice.v1.ApiKeyTier tier = 4;
448
458
  */
449
459
  tier: ApiKeyTier;
460
+ /**
461
+ * @generated from field: repeated string scope = 5;
462
+ */
463
+ scope: string[];
450
464
  constructor(data?: PartialMessage<InternalCreateApiKeyRequest>);
451
465
  static readonly runtime: typeof proto3;
452
466
  static readonly typeName = "uniswap.platformservice.v1.InternalCreateApiKeyRequest";
@@ -543,6 +557,10 @@ export declare class InternalModifyApiKeyV2Request extends Message<InternalModif
543
557
  * @generated from field: optional uniswap.platformservice.v1.ApiKeyTier tier = 3;
544
558
  */
545
559
  tier?: ApiKeyTier;
560
+ /**
561
+ * @generated from field: repeated string scope = 4;
562
+ */
563
+ scope: string[];
546
564
  constructor(data?: PartialMessage<InternalModifyApiKeyV2Request>);
547
565
  static readonly runtime: typeof proto3;
548
566
  static readonly typeName = "uniswap.platformservice.v1.InternalModifyApiKeyV2Request";
@@ -223,6 +223,12 @@ export class IntrospectResponse extends Message {
223
223
  * @generated from field: uniswap.platformservice.v1.ApiKeyTier tier = 6;
224
224
  */
225
225
  this.tier = ApiKeyTier.UNSPECIFIED;
226
+ /**
227
+ * Endpoint-access scopes assigned when the key is created.
228
+ *
229
+ * @generated from field: repeated string scope = 9;
230
+ */
231
+ this.scope = [];
226
232
  proto3.util.initPartial(data, this);
227
233
  }
228
234
  static fromBinary(bytes, options) {
@@ -249,6 +255,7 @@ IntrospectResponse.fields = proto3.util.newFieldList(() => [
249
255
  { no: 6, name: "tier", kind: "enum", T: proto3.getEnumType(ApiKeyTier) },
250
256
  { no: 7, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
251
257
  { no: 8, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
258
+ { no: 9, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
252
259
  ]);
253
260
  /**
254
261
  * Create API Key request/response
@@ -486,6 +493,10 @@ export class ApiKeyDataStruct extends Message {
486
493
  * @generated from field: bool active = 6;
487
494
  */
488
495
  this.active = false;
496
+ /**
497
+ * @generated from field: repeated string scope = 12;
498
+ */
499
+ this.scope = [];
489
500
  proto3.util.initPartial(data, this);
490
501
  }
491
502
  static fromBinary(bytes, options) {
@@ -514,6 +525,7 @@ ApiKeyDataStruct.fields = proto3.util.newFieldList(() => [
514
525
  { no: 9, name: "creation_time", kind: "message", T: Timestamp },
515
526
  { no: 10, name: "analytics_id", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
516
527
  { no: 11, name: "tier", kind: "enum", T: proto3.getEnumType(ApiKeyTier), opt: true },
528
+ { no: 12, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
517
529
  ]);
518
530
  /**
519
531
  * @generated from message uniswap.platformservice.v1.ListApiKeyRequest
@@ -596,6 +608,10 @@ export class InternalCreateApiKeyRequest extends Message {
596
608
  * @generated from field: uniswap.platformservice.v1.ApiKeyTier tier = 4;
597
609
  */
598
610
  this.tier = ApiKeyTier.UNSPECIFIED;
611
+ /**
612
+ * @generated from field: repeated string scope = 5;
613
+ */
614
+ this.scope = [];
599
615
  proto3.util.initPartial(data, this);
600
616
  }
601
617
  static fromBinary(bytes, options) {
@@ -618,6 +634,7 @@ InternalCreateApiKeyRequest.fields = proto3.util.newFieldList(() => [
618
634
  { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
619
635
  { no: 3, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
620
636
  { no: 4, name: "tier", kind: "enum", T: proto3.getEnumType(ApiKeyTier) },
637
+ { no: 5, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
621
638
  ]);
622
639
  /**
623
640
  * @generated from message uniswap.platformservice.v1.InternalCreateApiKeyResponse
@@ -734,6 +751,10 @@ export class InternalModifyApiKeyV2Request extends Message {
734
751
  * @generated from field: string hashed_api_key = 1;
735
752
  */
736
753
  this.hashedApiKey = "";
754
+ /**
755
+ * @generated from field: repeated string scope = 4;
756
+ */
757
+ this.scope = [];
737
758
  proto3.util.initPartial(data, this);
738
759
  }
739
760
  static fromBinary(bytes, options) {
@@ -755,6 +776,7 @@ InternalModifyApiKeyV2Request.fields = proto3.util.newFieldList(() => [
755
776
  { no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
756
777
  { no: 2, name: "target_rps", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
757
778
  { no: 3, name: "tier", kind: "enum", T: proto3.getEnumType(ApiKeyTier), opt: true },
779
+ { no: 4, name: "scope", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
758
780
  ]);
759
781
  /**
760
782
  * @generated from message uniswap.platformservice.v1.InternalModifyApiKeyV2Response
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-platform-service",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },