@uniswap/client-platform-service 0.0.41 → 0.0.42

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.
@@ -1,7 +1,13 @@
1
1
  import { MethodKind } from "@bufbuild/protobuf";
2
2
  import { CreateUserRequest, CreateUserResponse, DeleteUserRequest, DeleteUserResponse, GetUserByEmailRequest, GetUserByEmailResponse, GetUserRequest, GetUserResponse, InternalDeleteUserRequest, InternalDeleteUserResponse, InternalModifyUserRequest, InternalModifyUserResponse, ModifyUserRequest, ModifyUserResponse } from "./userService_pb.js";
3
3
  /**
4
- * External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
4
+ * Internal endpoint - create a user row from a verified OAuth identity
5
+ * (not exposed via EGW). Called in-process by SessionServiceBL.verify()
6
+ * after the OAuth login succeeds; it trusts its caller and authorizes
7
+ * nothing itself, so the row is written from the email alone. Routing it
8
+ * is unauthenticated account creation plus an email-enumeration oracle:
9
+ * routing is the only barrier, and entry-gateway-go's routes_test.go pins
10
+ * it unrouted.
5
11
  *
6
12
  * @generated from rpc uniswap.platformservice.v1.UserService.CreateUser
7
13
  */
@@ -16,6 +22,8 @@ export declare const createUser: {
16
22
  };
17
23
  };
18
24
  /**
25
+ * External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
26
+ *
19
27
  * @generated from rpc uniswap.platformservice.v1.UserService.ModifyUser
20
28
  */
21
29
  export declare const modifyUser: {
@@ -5,7 +5,13 @@
5
5
  import { MethodKind } from "@bufbuild/protobuf";
6
6
  import { CreateUserRequest, CreateUserResponse, DeleteUserRequest, DeleteUserResponse, GetUserByEmailRequest, GetUserByEmailResponse, GetUserRequest, GetUserResponse, InternalDeleteUserRequest, InternalDeleteUserResponse, InternalModifyUserRequest, InternalModifyUserResponse, ModifyUserRequest, ModifyUserResponse } from "./userService_pb.js";
7
7
  /**
8
- * External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
8
+ * Internal endpoint - create a user row from a verified OAuth identity
9
+ * (not exposed via EGW). Called in-process by SessionServiceBL.verify()
10
+ * after the OAuth login succeeds; it trusts its caller and authorizes
11
+ * nothing itself, so the row is written from the email alone. Routing it
12
+ * is unauthenticated account creation plus an email-enumeration oracle:
13
+ * routing is the only barrier, and entry-gateway-go's routes_test.go pins
14
+ * it unrouted.
9
15
  *
10
16
  * @generated from rpc uniswap.platformservice.v1.UserService.CreateUser
11
17
  */
@@ -20,6 +26,8 @@ export const createUser = {
20
26
  }
21
27
  };
22
28
  /**
29
+ * External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
30
+ *
23
31
  * @generated from rpc uniswap.platformservice.v1.UserService.ModifyUser
24
32
  */
25
33
  export const modifyUser = {
@@ -7,7 +7,13 @@ export declare const UserService: {
7
7
  readonly typeName: "uniswap.platformservice.v1.UserService";
8
8
  readonly methods: {
9
9
  /**
10
- * External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
10
+ * Internal endpoint - create a user row from a verified OAuth identity
11
+ * (not exposed via EGW). Called in-process by SessionServiceBL.verify()
12
+ * after the OAuth login succeeds; it trusts its caller and authorizes
13
+ * nothing itself, so the row is written from the email alone. Routing it
14
+ * is unauthenticated account creation plus an email-enumeration oracle:
15
+ * routing is the only barrier, and entry-gateway-go's routes_test.go pins
16
+ * it unrouted.
11
17
  *
12
18
  * @generated from rpc uniswap.platformservice.v1.UserService.CreateUser
13
19
  */
@@ -18,6 +24,8 @@ export declare const UserService: {
18
24
  readonly kind: MethodKind.Unary;
19
25
  };
20
26
  /**
27
+ * External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
28
+ *
21
29
  * @generated from rpc uniswap.platformservice.v1.UserService.ModifyUser
22
30
  */
23
31
  readonly modifyUser: {
@@ -11,7 +11,13 @@ export const UserService = {
11
11
  typeName: "uniswap.platformservice.v1.UserService",
12
12
  methods: {
13
13
  /**
14
- * External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
14
+ * Internal endpoint - create a user row from a verified OAuth identity
15
+ * (not exposed via EGW). Called in-process by SessionServiceBL.verify()
16
+ * after the OAuth login succeeds; it trusts its caller and authorizes
17
+ * nothing itself, so the row is written from the email alone. Routing it
18
+ * is unauthenticated account creation plus an email-enumeration oracle:
19
+ * routing is the only barrier, and entry-gateway-go's routes_test.go pins
20
+ * it unrouted.
15
21
  *
16
22
  * @generated from rpc uniswap.platformservice.v1.UserService.CreateUser
17
23
  */
@@ -22,6 +28,8 @@ export const UserService = {
22
28
  kind: MethodKind.Unary,
23
29
  },
24
30
  /**
31
+ * External facing & Authed endpoints - get UserID directly through ctx.auth.userID header
32
+ *
25
33
  * @generated from rpc uniswap.platformservice.v1.UserService.ModifyUser
26
34
  */
27
35
  modifyUser: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniswap/client-platform-service",
3
- "version": "0.0.41",
3
+ "version": "0.0.42",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },