@8wave/ai-elements 0.125.0-beta.47 → 0.125.0-beta.48

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.
@@ -18,7 +18,8 @@ export interface MediaServiceDependency {
18
18
  * Custom `getUserInfo` for the Microsoft provider.
19
19
  *
20
20
  * It exists to store the profile photo on blob storage instead of inlining it
21
- * as base64 in `user.image`, which is what the built-in provider does.
21
+ * as base64 in `user.image`, which is what the built-in provider does, and to
22
+ * return only an address the user's tenant proves (`resolveMicrosoftEmail`).
22
23
  *
23
24
  * Takes a **getter** rather than the media service itself: the dependency is a
24
25
  * module-level mutable in `index.ts`, set later by `setMediaService()` from the
@@ -27,7 +28,7 @@ export interface MediaServiceDependency {
27
28
  */
28
29
  export declare const createMicrosoftGetUserInfo: (getMediaService: () => MediaServiceDependency | null) => (token: OAuth2Tokens) => Promise<{
29
30
  user: {
30
- email: any;
31
+ email: string | undefined;
31
32
  name: any;
32
33
  image: string | undefined;
33
34
  emailVerified: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@8wave/ai-elements",
3
3
  "private": false,
4
- "version": "0.125.0-beta.47",
4
+ "version": "0.125.0-beta.48",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite --port 8082 --open --host",