@uniswap/client-platform-service 0.0.37 → 0.0.38
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.
- package/dist/uniswap/platformservice/v1/workerService-WorkerService_connectquery.d.ts +1 -14
- package/dist/uniswap/platformservice/v1/workerService-WorkerService_connectquery.js +1 -14
- package/dist/uniswap/platformservice/v1/workerService_connect.d.ts +1 -10
- package/dist/uniswap/platformservice/v1/workerService_connect.js +1 -10
- package/dist/uniswap/platformservice/v1/workerService_pb.d.ts +0 -88
- package/dist/uniswap/platformservice/v1/workerService_pb.js +0 -128
- package/package.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
2
|
-
import { LocationUpdateS3Request, LocationUpdateS3Response
|
|
2
|
+
import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
|
|
3
3
|
/**
|
|
4
4
|
* @generated from rpc uniswap.platformservice.v1.WorkerService.UpdateLocationS3
|
|
5
5
|
*/
|
|
@@ -13,16 +13,3 @@ export declare const updateLocationS3: {
|
|
|
13
13
|
readonly typeName: "uniswap.platformservice.v1.WorkerService";
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
/**
|
|
17
|
-
* @generated from rpc uniswap.platformservice.v1.WorkerService.MigrateExistingApikey
|
|
18
|
-
*/
|
|
19
|
-
export declare const migrateExistingApikey: {
|
|
20
|
-
readonly localName: "migrateExistingApikey";
|
|
21
|
-
readonly name: "MigrateExistingApikey";
|
|
22
|
-
readonly kind: MethodKind.Unary;
|
|
23
|
-
readonly I: typeof MigrateExistingApikeyRequest;
|
|
24
|
-
readonly O: typeof MigrateExistingApikeyResponse;
|
|
25
|
-
readonly service: {
|
|
26
|
-
readonly typeName: "uniswap.platformservice.v1.WorkerService";
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
6
|
-
import { LocationUpdateS3Request, LocationUpdateS3Response
|
|
6
|
+
import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
|
|
7
7
|
/**
|
|
8
8
|
* @generated from rpc uniswap.platformservice.v1.WorkerService.UpdateLocationS3
|
|
9
9
|
*/
|
|
@@ -17,16 +17,3 @@ export const updateLocationS3 = {
|
|
|
17
17
|
typeName: "uniswap.platformservice.v1.WorkerService"
|
|
18
18
|
}
|
|
19
19
|
};
|
|
20
|
-
/**
|
|
21
|
-
* @generated from rpc uniswap.platformservice.v1.WorkerService.MigrateExistingApikey
|
|
22
|
-
*/
|
|
23
|
-
export const migrateExistingApikey = {
|
|
24
|
-
localName: "migrateExistingApikey",
|
|
25
|
-
name: "MigrateExistingApikey",
|
|
26
|
-
kind: MethodKind.Unary,
|
|
27
|
-
I: MigrateExistingApikeyRequest,
|
|
28
|
-
O: MigrateExistingApikeyResponse,
|
|
29
|
-
service: {
|
|
30
|
-
typeName: "uniswap.platformservice.v1.WorkerService"
|
|
31
|
-
}
|
|
32
|
-
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { LocationUpdateS3Request, LocationUpdateS3Response
|
|
1
|
+
import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
|
|
2
2
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
3
3
|
/**
|
|
4
4
|
* Service definition
|
|
@@ -17,14 +17,5 @@ export declare const WorkerService: {
|
|
|
17
17
|
readonly O: typeof LocationUpdateS3Response;
|
|
18
18
|
readonly kind: MethodKind.Unary;
|
|
19
19
|
};
|
|
20
|
-
/**
|
|
21
|
-
* @generated from rpc uniswap.platformservice.v1.WorkerService.MigrateExistingApikey
|
|
22
|
-
*/
|
|
23
|
-
readonly migrateExistingApikey: {
|
|
24
|
-
readonly name: "MigrateExistingApikey";
|
|
25
|
-
readonly I: typeof MigrateExistingApikeyRequest;
|
|
26
|
-
readonly O: typeof MigrateExistingApikeyResponse;
|
|
27
|
-
readonly kind: MethodKind.Unary;
|
|
28
|
-
};
|
|
29
20
|
};
|
|
30
21
|
};
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// @generated from file uniswap/platformservice/v1/workerService.proto (package uniswap.platformservice.v1, syntax proto3)
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
|
-
import { LocationUpdateS3Request, LocationUpdateS3Response
|
|
5
|
+
import { LocationUpdateS3Request, LocationUpdateS3Response } from "./workerService_pb.js";
|
|
6
6
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
7
7
|
/**
|
|
8
8
|
* Service definition
|
|
@@ -21,14 +21,5 @@ export const WorkerService = {
|
|
|
21
21
|
O: LocationUpdateS3Response,
|
|
22
22
|
kind: MethodKind.Unary,
|
|
23
23
|
},
|
|
24
|
-
/**
|
|
25
|
-
* @generated from rpc uniswap.platformservice.v1.WorkerService.MigrateExistingApikey
|
|
26
|
-
*/
|
|
27
|
-
migrateExistingApikey: {
|
|
28
|
-
name: "MigrateExistingApikey",
|
|
29
|
-
I: MigrateExistingApikeyRequest,
|
|
30
|
-
O: MigrateExistingApikeyResponse,
|
|
31
|
-
kind: MethodKind.Unary,
|
|
32
|
-
},
|
|
33
24
|
}
|
|
34
25
|
};
|
|
@@ -28,91 +28,3 @@ export declare class LocationUpdateS3Response extends Message<LocationUpdateS3Re
|
|
|
28
28
|
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): LocationUpdateS3Response;
|
|
29
29
|
static equals(a: LocationUpdateS3Response | PlainMessage<LocationUpdateS3Response> | undefined, b: LocationUpdateS3Response | PlainMessage<LocationUpdateS3Response> | undefined): boolean;
|
|
30
30
|
}
|
|
31
|
-
/**
|
|
32
|
-
* Rate limit configuration
|
|
33
|
-
*
|
|
34
|
-
* @generated from message uniswap.platformservice.v1.WorkerRateLimitConfig
|
|
35
|
-
*/
|
|
36
|
-
export declare class WorkerRateLimitConfig extends Message<WorkerRateLimitConfig> {
|
|
37
|
-
/**
|
|
38
|
-
* period_ms defines the time window in milliseconds for the rate limit
|
|
39
|
-
* For example: 60000 means a 1-minute window
|
|
40
|
-
* If you want to limit "X requests per minute", set this to 60000
|
|
41
|
-
*
|
|
42
|
-
* @generated from field: int32 period_ms = 1;
|
|
43
|
-
*/
|
|
44
|
-
periodMs: number;
|
|
45
|
-
/**
|
|
46
|
-
* units defines the number of requests allowed per time period
|
|
47
|
-
* For example: if period_ms=60000 and units=100, this means
|
|
48
|
-
* the user can make 100 requests every minute
|
|
49
|
-
*
|
|
50
|
-
* @generated from field: int32 units = 2;
|
|
51
|
-
*/
|
|
52
|
-
units: number;
|
|
53
|
-
/**
|
|
54
|
-
* capacity defines the maximum number of requests that can be made at once
|
|
55
|
-
* This acts as a hard limit on burst requests
|
|
56
|
-
* For example: if capacity=200, even if the user hasn't made requests for a while,
|
|
57
|
-
* they can't make more than 200 requests at once
|
|
58
|
-
*
|
|
59
|
-
* @generated from field: int32 capacity = 3;
|
|
60
|
-
*/
|
|
61
|
-
capacity: number;
|
|
62
|
-
constructor(data?: PartialMessage<WorkerRateLimitConfig>);
|
|
63
|
-
static readonly runtime: typeof proto3;
|
|
64
|
-
static readonly typeName = "uniswap.platformservice.v1.WorkerRateLimitConfig";
|
|
65
|
-
static readonly fields: FieldList;
|
|
66
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): WorkerRateLimitConfig;
|
|
67
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): WorkerRateLimitConfig;
|
|
68
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): WorkerRateLimitConfig;
|
|
69
|
-
static equals(a: WorkerRateLimitConfig | PlainMessage<WorkerRateLimitConfig> | undefined, b: WorkerRateLimitConfig | PlainMessage<WorkerRateLimitConfig> | undefined): boolean;
|
|
70
|
-
}
|
|
71
|
-
/**
|
|
72
|
-
* Create API Key request/response
|
|
73
|
-
*
|
|
74
|
-
* @generated from message uniswap.platformservice.v1.MigrateExistingApikeyRequest
|
|
75
|
-
*/
|
|
76
|
-
export declare class MigrateExistingApikeyRequest extends Message<MigrateExistingApikeyRequest> {
|
|
77
|
-
/**
|
|
78
|
-
* @generated from field: string api_key = 1;
|
|
79
|
-
*/
|
|
80
|
-
apiKey: string;
|
|
81
|
-
/**
|
|
82
|
-
* @generated from field: string name = 2;
|
|
83
|
-
*/
|
|
84
|
-
name: string;
|
|
85
|
-
/**
|
|
86
|
-
* @generated from field: string creation_date = 3;
|
|
87
|
-
*/
|
|
88
|
-
creationDate: string;
|
|
89
|
-
/**
|
|
90
|
-
* @generated from field: uniswap.platformservice.v1.WorkerRateLimitConfig rate_limit_config = 4;
|
|
91
|
-
*/
|
|
92
|
-
rateLimitConfig?: WorkerRateLimitConfig;
|
|
93
|
-
constructor(data?: PartialMessage<MigrateExistingApikeyRequest>);
|
|
94
|
-
static readonly runtime: typeof proto3;
|
|
95
|
-
static readonly typeName = "uniswap.platformservice.v1.MigrateExistingApikeyRequest";
|
|
96
|
-
static readonly fields: FieldList;
|
|
97
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateExistingApikeyRequest;
|
|
98
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateExistingApikeyRequest;
|
|
99
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateExistingApikeyRequest;
|
|
100
|
-
static equals(a: MigrateExistingApikeyRequest | PlainMessage<MigrateExistingApikeyRequest> | undefined, b: MigrateExistingApikeyRequest | PlainMessage<MigrateExistingApikeyRequest> | undefined): boolean;
|
|
101
|
-
}
|
|
102
|
-
/**
|
|
103
|
-
* @generated from message uniswap.platformservice.v1.MigrateExistingApikeyResponse
|
|
104
|
-
*/
|
|
105
|
-
export declare class MigrateExistingApikeyResponse extends Message<MigrateExistingApikeyResponse> {
|
|
106
|
-
/**
|
|
107
|
-
* @generated from field: string hashed_api_key = 1;
|
|
108
|
-
*/
|
|
109
|
-
hashedApiKey: string;
|
|
110
|
-
constructor(data?: PartialMessage<MigrateExistingApikeyResponse>);
|
|
111
|
-
static readonly runtime: typeof proto3;
|
|
112
|
-
static readonly typeName = "uniswap.platformservice.v1.MigrateExistingApikeyResponse";
|
|
113
|
-
static readonly fields: FieldList;
|
|
114
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MigrateExistingApikeyResponse;
|
|
115
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MigrateExistingApikeyResponse;
|
|
116
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MigrateExistingApikeyResponse;
|
|
117
|
-
static equals(a: MigrateExistingApikeyResponse | PlainMessage<MigrateExistingApikeyResponse> | undefined, b: MigrateExistingApikeyResponse | PlainMessage<MigrateExistingApikeyResponse> | undefined): boolean;
|
|
118
|
-
}
|
|
@@ -53,131 +53,3 @@ export class LocationUpdateS3Response extends Message {
|
|
|
53
53
|
LocationUpdateS3Response.runtime = proto3;
|
|
54
54
|
LocationUpdateS3Response.typeName = "uniswap.platformservice.v1.LocationUpdateS3Response";
|
|
55
55
|
LocationUpdateS3Response.fields = proto3.util.newFieldList(() => []);
|
|
56
|
-
/**
|
|
57
|
-
* Rate limit configuration
|
|
58
|
-
*
|
|
59
|
-
* @generated from message uniswap.platformservice.v1.WorkerRateLimitConfig
|
|
60
|
-
*/
|
|
61
|
-
export class WorkerRateLimitConfig extends Message {
|
|
62
|
-
constructor(data) {
|
|
63
|
-
super();
|
|
64
|
-
/**
|
|
65
|
-
* period_ms defines the time window in milliseconds for the rate limit
|
|
66
|
-
* For example: 60000 means a 1-minute window
|
|
67
|
-
* If you want to limit "X requests per minute", set this to 60000
|
|
68
|
-
*
|
|
69
|
-
* @generated from field: int32 period_ms = 1;
|
|
70
|
-
*/
|
|
71
|
-
this.periodMs = 0;
|
|
72
|
-
/**
|
|
73
|
-
* units defines the number of requests allowed per time period
|
|
74
|
-
* For example: if period_ms=60000 and units=100, this means
|
|
75
|
-
* the user can make 100 requests every minute
|
|
76
|
-
*
|
|
77
|
-
* @generated from field: int32 units = 2;
|
|
78
|
-
*/
|
|
79
|
-
this.units = 0;
|
|
80
|
-
/**
|
|
81
|
-
* capacity defines the maximum number of requests that can be made at once
|
|
82
|
-
* This acts as a hard limit on burst requests
|
|
83
|
-
* For example: if capacity=200, even if the user hasn't made requests for a while,
|
|
84
|
-
* they can't make more than 200 requests at once
|
|
85
|
-
*
|
|
86
|
-
* @generated from field: int32 capacity = 3;
|
|
87
|
-
*/
|
|
88
|
-
this.capacity = 0;
|
|
89
|
-
proto3.util.initPartial(data, this);
|
|
90
|
-
}
|
|
91
|
-
static fromBinary(bytes, options) {
|
|
92
|
-
return new WorkerRateLimitConfig().fromBinary(bytes, options);
|
|
93
|
-
}
|
|
94
|
-
static fromJson(jsonValue, options) {
|
|
95
|
-
return new WorkerRateLimitConfig().fromJson(jsonValue, options);
|
|
96
|
-
}
|
|
97
|
-
static fromJsonString(jsonString, options) {
|
|
98
|
-
return new WorkerRateLimitConfig().fromJsonString(jsonString, options);
|
|
99
|
-
}
|
|
100
|
-
static equals(a, b) {
|
|
101
|
-
return proto3.util.equals(WorkerRateLimitConfig, a, b);
|
|
102
|
-
}
|
|
103
|
-
}
|
|
104
|
-
WorkerRateLimitConfig.runtime = proto3;
|
|
105
|
-
WorkerRateLimitConfig.typeName = "uniswap.platformservice.v1.WorkerRateLimitConfig";
|
|
106
|
-
WorkerRateLimitConfig.fields = proto3.util.newFieldList(() => [
|
|
107
|
-
{ no: 1, name: "period_ms", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
108
|
-
{ no: 2, name: "units", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
109
|
-
{ no: 3, name: "capacity", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
|
|
110
|
-
]);
|
|
111
|
-
/**
|
|
112
|
-
* Create API Key request/response
|
|
113
|
-
*
|
|
114
|
-
* @generated from message uniswap.platformservice.v1.MigrateExistingApikeyRequest
|
|
115
|
-
*/
|
|
116
|
-
export class MigrateExistingApikeyRequest extends Message {
|
|
117
|
-
constructor(data) {
|
|
118
|
-
super();
|
|
119
|
-
/**
|
|
120
|
-
* @generated from field: string api_key = 1;
|
|
121
|
-
*/
|
|
122
|
-
this.apiKey = "";
|
|
123
|
-
/**
|
|
124
|
-
* @generated from field: string name = 2;
|
|
125
|
-
*/
|
|
126
|
-
this.name = "";
|
|
127
|
-
/**
|
|
128
|
-
* @generated from field: string creation_date = 3;
|
|
129
|
-
*/
|
|
130
|
-
this.creationDate = "";
|
|
131
|
-
proto3.util.initPartial(data, this);
|
|
132
|
-
}
|
|
133
|
-
static fromBinary(bytes, options) {
|
|
134
|
-
return new MigrateExistingApikeyRequest().fromBinary(bytes, options);
|
|
135
|
-
}
|
|
136
|
-
static fromJson(jsonValue, options) {
|
|
137
|
-
return new MigrateExistingApikeyRequest().fromJson(jsonValue, options);
|
|
138
|
-
}
|
|
139
|
-
static fromJsonString(jsonString, options) {
|
|
140
|
-
return new MigrateExistingApikeyRequest().fromJsonString(jsonString, options);
|
|
141
|
-
}
|
|
142
|
-
static equals(a, b) {
|
|
143
|
-
return proto3.util.equals(MigrateExistingApikeyRequest, a, b);
|
|
144
|
-
}
|
|
145
|
-
}
|
|
146
|
-
MigrateExistingApikeyRequest.runtime = proto3;
|
|
147
|
-
MigrateExistingApikeyRequest.typeName = "uniswap.platformservice.v1.MigrateExistingApikeyRequest";
|
|
148
|
-
MigrateExistingApikeyRequest.fields = proto3.util.newFieldList(() => [
|
|
149
|
-
{ no: 1, name: "api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
150
|
-
{ no: 2, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
151
|
-
{ no: 3, name: "creation_date", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
152
|
-
{ no: 4, name: "rate_limit_config", kind: "message", T: WorkerRateLimitConfig },
|
|
153
|
-
]);
|
|
154
|
-
/**
|
|
155
|
-
* @generated from message uniswap.platformservice.v1.MigrateExistingApikeyResponse
|
|
156
|
-
*/
|
|
157
|
-
export class MigrateExistingApikeyResponse extends Message {
|
|
158
|
-
constructor(data) {
|
|
159
|
-
super();
|
|
160
|
-
/**
|
|
161
|
-
* @generated from field: string hashed_api_key = 1;
|
|
162
|
-
*/
|
|
163
|
-
this.hashedApiKey = "";
|
|
164
|
-
proto3.util.initPartial(data, this);
|
|
165
|
-
}
|
|
166
|
-
static fromBinary(bytes, options) {
|
|
167
|
-
return new MigrateExistingApikeyResponse().fromBinary(bytes, options);
|
|
168
|
-
}
|
|
169
|
-
static fromJson(jsonValue, options) {
|
|
170
|
-
return new MigrateExistingApikeyResponse().fromJson(jsonValue, options);
|
|
171
|
-
}
|
|
172
|
-
static fromJsonString(jsonString, options) {
|
|
173
|
-
return new MigrateExistingApikeyResponse().fromJsonString(jsonString, options);
|
|
174
|
-
}
|
|
175
|
-
static equals(a, b) {
|
|
176
|
-
return proto3.util.equals(MigrateExistingApikeyResponse, a, b);
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
|
-
MigrateExistingApikeyResponse.runtime = proto3;
|
|
180
|
-
MigrateExistingApikeyResponse.typeName = "uniswap.platformservice.v1.MigrateExistingApikeyResponse";
|
|
181
|
-
MigrateExistingApikeyResponse.fields = proto3.util.newFieldList(() => [
|
|
182
|
-
{ no: 1, name: "hashed_api_key", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
183
|
-
]);
|