@heyatom/bastion-client 0.5.0 → 0.6.0

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.
@@ -96,6 +96,8 @@ export interface BastionClientContext {
96
96
  }
97
97
  export interface BastionSocialAccount {
98
98
  provider: string;
99
+ /** The provider's own id for the account (e.g. the Twitch user id), as verified by the OAuth flow. */
100
+ providerId: string;
99
101
  username: string | null;
100
102
  email: string | null;
101
103
  avatar: string | null;
@@ -96,6 +96,8 @@ export interface BastionClientContext {
96
96
  }
97
97
  export interface BastionSocialAccount {
98
98
  provider: string;
99
+ /** The provider's own id for the account (e.g. the Twitch user id), as verified by the OAuth flow. */
100
+ providerId: string;
99
101
  username: string | null;
100
102
  email: string | null;
101
103
  avatar: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heyatom/bastion-client",
3
- "version": "0.5.0",
3
+ "version": "0.6.0",
4
4
  "description": "Consumer SDK for the Bastion identity provider: JWKS verification, service-client auth, audit writes, NestJS guards",
5
5
  "license": "MIT",
6
6
  "author": "Andrea Tombolato <hey@heyatom.dev> (https://heyatom.dev)",