@allmodule/contracts 1.0.0 → 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/auth.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v2.10.1
4
- // protoc v6.33.3
4
+ // protoc v3.21.12
5
5
  // source: auth.proto
6
6
 
7
7
  /* eslint-disable */
package/package.json CHANGED
@@ -1,9 +1,9 @@
1
1
  {
2
2
  "name": "@allmodule/contracts",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "Protobuf definitions and generated TS types",
5
5
  "scripts": {
6
- "gen": "protoc --plugin=protoc-gen-ts_proto=\"%LOCALAPPDATA%\\Yarn\\bin\\protoc-gen-ts_proto.cmd\" -I .\\proto .\\proto\\*.proto --ts_proto_out=.\\gen --ts_proto_opt=nestJs=true,package=omit"
6
+ "gen": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
7
7
  },
8
8
  "files": [
9
9
  "proto",
package/proto/auth.proto CHANGED
@@ -1,16 +1,16 @@
1
- syntax = "proto3";
2
-
3
- package auth.v1;
4
-
5
- service AuthService {
6
- rpc SendOtp (SendOtpRequest) returns (SendOtpResponse);
7
- }
8
-
9
- message SendOtpRequest {
10
- string identifier = 1;
11
- string type = 2;
12
- }
13
-
14
- message SendOtpResponse {
15
- bool ok = 1;
1
+ syntax = "proto3";
2
+
3
+ package auth.v1;
4
+
5
+ service AuthService {
6
+ rpc SendOtp (SendOtpRequest) returns (SendOtpResponse);
7
+ }
8
+
9
+ message SendOtpRequest {
10
+ string identifier = 1;
11
+ string type = 2;
12
+ }
13
+
14
+ message SendOtpResponse {
15
+ bool ok = 1;
16
16
  }