@uniswap/client-platform-service 0.0.2 → 0.0.4

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.
@@ -63,6 +63,18 @@ export declare class IntrospectRequest extends Message<IntrospectRequest> {
63
63
  * @generated from message uniswap.platformservice.v1.IntrospectResponse
64
64
  */
65
65
  export declare class IntrospectResponse extends Message<IntrospectResponse> {
66
+ /**
67
+ * @generated from field: string wrapped_id = 1;
68
+ */
69
+ wrappedId: string;
70
+ /**
71
+ * @generated from field: bool result = 2;
72
+ */
73
+ result: boolean;
74
+ /**
75
+ * @generated from field: string user_id = 3;
76
+ */
77
+ userId: string;
66
78
  constructor(data?: PartialMessage<IntrospectResponse>);
67
79
  static readonly runtime: typeof proto3;
68
80
  static readonly typeName = "uniswap.platformservice.v1.IntrospectResponse";
@@ -83,7 +95,11 @@ export declare class CreateApiKeyRequest extends Message<CreateApiKeyRequest> {
83
95
  */
84
96
  userId: string;
85
97
  /**
86
- * @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 2;
98
+ * @generated from field: string name = 2;
99
+ */
100
+ name: string;
101
+ /**
102
+ * @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 3;
87
103
  */
88
104
  rateLimitConfig?: RateLimitConfig;
89
105
  constructor(data?: PartialMessage<CreateApiKeyRequest>);
@@ -116,6 +132,10 @@ export declare class CreateApiKeyResponse extends Message<CreateApiKeyResponse>
116
132
  * @generated from message uniswap.platformservice.v1.ModificationData
117
133
  */
118
134
  export declare class ModificationData extends Message<ModificationData> {
135
+ /**
136
+ * @generated from field: optional bool active = 1;
137
+ */
138
+ active?: boolean;
119
139
  /**
120
140
  * @generated from field: optional uniswap.platformservice.v1.RateLimitConfig rate_limit_config = 2;
121
141
  */
@@ -96,6 +96,18 @@ IntrospectRequest.fields = proto3.util.newFieldList(() => [
96
96
  export class IntrospectResponse extends Message {
97
97
  constructor(data) {
98
98
  super();
99
+ /**
100
+ * @generated from field: string wrapped_id = 1;
101
+ */
102
+ this.wrappedId = "";
103
+ /**
104
+ * @generated from field: bool result = 2;
105
+ */
106
+ this.result = false;
107
+ /**
108
+ * @generated from field: string user_id = 3;
109
+ */
110
+ this.userId = "";
99
111
  proto3.util.initPartial(data, this);
100
112
  }
101
113
  static fromBinary(bytes, options) {
@@ -113,7 +125,11 @@ export class IntrospectResponse extends Message {
113
125
  }
114
126
  IntrospectResponse.runtime = proto3;
115
127
  IntrospectResponse.typeName = "uniswap.platformservice.v1.IntrospectResponse";
116
- IntrospectResponse.fields = proto3.util.newFieldList(() => []);
128
+ IntrospectResponse.fields = proto3.util.newFieldList(() => [
129
+ { no: 1, name: "wrapped_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
130
+ { no: 2, name: "result", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
131
+ { no: 3, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
132
+ ]);
117
133
  /**
118
134
  * Create API Key request/response
119
135
  *
@@ -126,6 +142,10 @@ export class CreateApiKeyRequest extends Message {
126
142
  * @generated from field: string user_id = 1;
127
143
  */
128
144
  this.userId = "";
145
+ /**
146
+ * @generated from field: string name = 2;
147
+ */
148
+ this.name = "";
129
149
  proto3.util.initPartial(data, this);
130
150
  }
131
151
  static fromBinary(bytes, options) {
@@ -145,7 +165,8 @@ CreateApiKeyRequest.runtime = proto3;
145
165
  CreateApiKeyRequest.typeName = "uniswap.platformservice.v1.CreateApiKeyRequest";
146
166
  CreateApiKeyRequest.fields = proto3.util.newFieldList(() => [
147
167
  { no: 1, name: "user_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
148
- { no: 2, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
168
+ { no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
169
+ { no: 3, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
149
170
  ]);
150
171
  /**
151
172
  * @generated from message uniswap.platformservice.v1.CreateApiKeyResponse
@@ -201,6 +222,7 @@ export class ModificationData extends Message {
201
222
  ModificationData.runtime = proto3;
202
223
  ModificationData.typeName = "uniswap.platformservice.v1.ModificationData";
203
224
  ModificationData.fields = proto3.util.newFieldList(() => [
225
+ { no: 1, name: "active", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
204
226
  { no: 2, name: "rate_limit_config", kind: "message", T: RateLimitConfig, opt: true },
205
227
  ]);
206
228
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-platform-service",
3
- "version": "0.0.2",
3
+ "version": "0.0.4",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },