Skip to content

Commit 491a816

Browse files
feat: Expose browser sessions on auth timeline events
1 parent 4ea095f commit 491a816

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

‎.stats.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 127
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-a7f011596b06b94e4be1999585d4675992a5c08e13bc3943764971b78412f020.yml
3-
openapi_spec_hash: 6c6b46659fd5220d57d5ef806986154c
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel/kernel-1dffe057847b596dd311ce4b6e0e8036126dce3e97d390636c9c8e6d2f4823e1.yml
3+
openapi_spec_hash: c06336c199ee64c222ba3122deae9463
44
config_hash: 77ee715aa17061166f9a02b264a21b8d

‎src/resources/auth/connections.ts‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -909,6 +909,11 @@ export interface ManagedAuthTimelineEvent {
909909
*/
910910
type: 'login' | 'reauth' | 'health_check';
911911

912+
/**
913+
* Browser session that produced the event, if one was created.
914+
*/
915+
browser_session_id?: string;
916+
912917
/**
913918
* Machine-readable error code. Present when a login/reauth event failed.
914919
*/

0 commit comments

Comments
 (0)