@pga-cinema/contracts 1.0.8 → 1.0.9

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
@@ -45,12 +45,12 @@ export interface TelegramInitResponse {
45
45
  }
46
46
 
47
47
  export interface TelegramVerifyRequest {
48
- id: number;
48
+ id: string;
49
49
  firstName: string;
50
50
  lastName: string;
51
51
  username: string;
52
52
  photoUrl: string;
53
- authDate: number;
53
+ authDate: string;
54
54
  hash: string;
55
55
  }
56
56
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pga-cinema/contracts",
3
- "version": "1.0.8",
3
+ "version": "1.0.9",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
package/proto/auth.proto CHANGED
@@ -47,12 +47,12 @@ message TelegramInitResponse {
47
47
  }
48
48
 
49
49
  message TelegramVerifyRequest {
50
- int64 id = 1;
50
+ string id = 1;
51
51
  string first_name = 2;
52
52
  string last_name = 3;
53
53
  string username = 4;
54
54
  string photo_url = 5;
55
- int64 auth_date = 6;
55
+ string auth_date = 6;
56
56
  string hash = 7;
57
57
  }
58
58