@funpay-plasma/contracts 1.0.2 → 1.0.3

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/gen/account.ts CHANGED
@@ -11,9 +11,11 @@ import { Observable } from "rxjs";
11
11
  export const protobufPackage = "account.v1";
12
12
 
13
13
  export interface GetAccountRequest {
14
+ string: string;
14
15
  }
15
16
 
16
17
  export interface GetAccountResponse {
18
+ ok: boolean;
17
19
  }
18
20
 
19
21
  export const ACCOUNT_V1_PACKAGE_NAME = "account.v1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funpay-plasma/contracts",
3
- "version": "1.0.2",
3
+ "version": "1.0.3",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "scripts": {
6
6
  "generate": "npx protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
@@ -6,6 +6,10 @@ service AccountService {
6
6
  rpc GetAccount(GetAccountRequest) returns (GetAccountResponse);
7
7
  }
8
8
 
9
- message GetAccountRequest {}
9
+ message GetAccountRequest {
10
+ string string = 1;
11
+ }
10
12
 
11
- message GetAccountResponse {}
13
+ message GetAccountResponse {
14
+ bool ok = 1;
15
+ }