@barumetric/contracts 1.4.4 → 1.4.5

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.
@@ -143,7 +143,7 @@ export interface ListingsServiceClient {
143
143
 
144
144
  createListing(request: CreateListingRequest): Observable<CreateListingResponse>;
145
145
 
146
- updateListing(request: CreateListingRequest): Observable<CreateListingResponse>;
146
+ updateListing(request: UpdateListingRequest): Observable<UpdateListingResponse>;
147
147
 
148
148
  deleteListing(request: DeleteListingRequest): Observable<DeleteListingResponse>;
149
149
  }
@@ -166,8 +166,8 @@ export interface ListingsServiceController {
166
166
  ): Promise<CreateListingResponse> | Observable<CreateListingResponse> | CreateListingResponse;
167
167
 
168
168
  updateListing(
169
- request: CreateListingRequest,
170
- ): Promise<CreateListingResponse> | Observable<CreateListingResponse> | CreateListingResponse;
169
+ request: UpdateListingRequest,
170
+ ): Promise<UpdateListingResponse> | Observable<UpdateListingResponse> | UpdateListingResponse;
171
171
 
172
172
  deleteListing(
173
173
  request: DeleteListingRequest,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@barumetric/contracts",
3
- "version": "1.4.4",
3
+ "version": "1.4.5",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -11,7 +11,7 @@ service ListingsService {
11
11
  rpc GetListingsByCategory (GetListingsByCategoryRequest) returns (GetListingsByCategoryResponse);
12
12
 
13
13
  rpc CreateListing (CreateListingRequest) returns (CreateListingResponse);
14
- rpc UpdateListing (CreateListingRequest) returns (CreateListingResponse);
14
+ rpc UpdateListing (UpdateListingRequest) returns (UpdateListingResponse);
15
15
  rpc DeleteListing (DeleteListingRequest) returns (DeleteListingResponse);
16
16
  }
17
17