@sistent/sistent 0.14.203 → 0.14.205

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/dist/index.d.mts CHANGED
@@ -3219,11 +3219,11 @@ interface UserMapping {
3219
3219
  };
3220
3220
  }
3221
3221
  interface UseRoomActivityParams {
3222
- provider_url: string;
3223
- getUserProfile: () => Promise<{
3222
+ provider_url?: string;
3223
+ getUserProfile?: () => Promise<{
3224
3224
  data: UserProfile;
3225
3225
  }>;
3226
- getUserAccessToken: () => Promise<{
3226
+ getUserAccessToken?: () => Promise<{
3227
3227
  data: string;
3228
3228
  }>;
3229
3229
  }
@@ -3239,7 +3239,7 @@ declare const getCollaborationConfig: ({ provider_url, getUserProfile, getUserAc
3239
3239
  /**
3240
3240
  * Hook to subscribe to and get room activity data
3241
3241
  */
3242
- declare const useRoomActivity: ({ provider_url, getUserProfile, getUserAccessToken }: UseRoomActivityParams) => [UserMapping, MutableRefObject<WebSocket | null>];
3242
+ declare const useRoomActivity: ({ provider_url, getUserProfile, getUserAccessToken }?: UseRoomActivityParams) => [UserMapping, MutableRefObject<WebSocket | null>];
3243
3243
  declare const subscribeToRoom: (ws: WebSocket, room: string) => void;
3244
3244
  declare const unSubscribeRoom: (ws: WebSocket, room: string) => void;
3245
3245
 
package/dist/index.d.ts CHANGED
@@ -3219,11 +3219,11 @@ interface UserMapping {
3219
3219
  };
3220
3220
  }
3221
3221
  interface UseRoomActivityParams {
3222
- provider_url: string;
3223
- getUserProfile: () => Promise<{
3222
+ provider_url?: string;
3223
+ getUserProfile?: () => Promise<{
3224
3224
  data: UserProfile;
3225
3225
  }>;
3226
- getUserAccessToken: () => Promise<{
3226
+ getUserAccessToken?: () => Promise<{
3227
3227
  data: string;
3228
3228
  }>;
3229
3229
  }
@@ -3239,7 +3239,7 @@ declare const getCollaborationConfig: ({ provider_url, getUserProfile, getUserAc
3239
3239
  /**
3240
3240
  * Hook to subscribe to and get room activity data
3241
3241
  */
3242
- declare const useRoomActivity: ({ provider_url, getUserProfile, getUserAccessToken }: UseRoomActivityParams) => [UserMapping, MutableRefObject<WebSocket | null>];
3242
+ declare const useRoomActivity: ({ provider_url, getUserProfile, getUserAccessToken }?: UseRoomActivityParams) => [UserMapping, MutableRefObject<WebSocket | null>];
3243
3243
  declare const subscribeToRoom: (ws: WebSocket, room: string) => void;
3244
3244
  declare const unSubscribeRoom: (ws: WebSocket, room: string) => void;
3245
3245