@arbiwallet/contracts 1.0.148 → 1.0.150
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 +9 -0
- package/package.json +1 -1
- package/proto/auth.proto +9 -0
package/gen/auth.ts
CHANGED
|
@@ -54,6 +54,9 @@ export interface AuthExchangeCodeResponse {
|
|
|
54
54
|
|
|
55
55
|
export interface AppleAuthRequest {
|
|
56
56
|
identityToken: string;
|
|
57
|
+
authorizationCode?: string | undefined;
|
|
58
|
+
firstName?: string | undefined;
|
|
59
|
+
lastName?: string | undefined;
|
|
57
60
|
}
|
|
58
61
|
|
|
59
62
|
export interface ContactCodeRequest {
|
|
@@ -75,10 +78,16 @@ export interface AccessTokenRequest {
|
|
|
75
78
|
accessToken: string;
|
|
76
79
|
}
|
|
77
80
|
|
|
81
|
+
export interface AuthUserProfile {
|
|
82
|
+
firstName?: string | undefined;
|
|
83
|
+
lastName?: string | undefined;
|
|
84
|
+
}
|
|
85
|
+
|
|
78
86
|
export interface AuthTokensResponse {
|
|
79
87
|
accessToken: string;
|
|
80
88
|
refreshToken: string;
|
|
81
89
|
returnUrl?: string | undefined;
|
|
90
|
+
user?: AuthUserProfile | undefined;
|
|
82
91
|
}
|
|
83
92
|
|
|
84
93
|
export interface AccessTokenResponse {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@arbiwallet/contracts",
|
|
3
3
|
"descriptions": "Generate and manage smart contracts for ArbiWallet",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.150",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"generate": "protoc -I ./proto ./proto/*.proto --ts_proto_out=./gen --ts_proto_opt=nestJs=true,package=omit"
|
|
7
7
|
},
|
package/proto/auth.proto
CHANGED
|
@@ -60,6 +60,9 @@ message AuthExchangeCodeResponse {
|
|
|
60
60
|
|
|
61
61
|
message AppleAuthRequest {
|
|
62
62
|
string identity_token = 1;
|
|
63
|
+
optional string authorization_code = 2;
|
|
64
|
+
optional string first_name = 3;
|
|
65
|
+
optional string last_name = 4;
|
|
63
66
|
}
|
|
64
67
|
|
|
65
68
|
message ContactCodeRequest {
|
|
@@ -81,10 +84,16 @@ message AccessTokenRequest {
|
|
|
81
84
|
string access_token = 1;
|
|
82
85
|
}
|
|
83
86
|
|
|
87
|
+
message AuthUserProfile {
|
|
88
|
+
optional string first_name = 1;
|
|
89
|
+
optional string last_name = 2;
|
|
90
|
+
}
|
|
91
|
+
|
|
84
92
|
message AuthTokensResponse {
|
|
85
93
|
string access_token = 1;
|
|
86
94
|
string refresh_token = 2;
|
|
87
95
|
optional string return_url = 3;
|
|
96
|
+
optional AuthUserProfile user = 4;
|
|
88
97
|
}
|
|
89
98
|
|
|
90
99
|
message AccessTokenResponse {
|