@sistent/sistent 0.14.204 → 0.14.206

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
@@ -1250,6 +1250,7 @@ interface Props$1 {
1250
1250
  path?: string;
1251
1251
  courseCount: number;
1252
1252
  courseType: string;
1253
+ cardKey?: string;
1253
1254
  }
1254
1255
  declare const LearningCard: React__default.FC<Props$1>;
1255
1256
 
@@ -3219,11 +3220,11 @@ interface UserMapping {
3219
3220
  };
3220
3221
  }
3221
3222
  interface UseRoomActivityParams {
3222
- provider_url: string;
3223
- getUserProfile: () => Promise<{
3223
+ provider_url?: string;
3224
+ getUserProfile?: () => Promise<{
3224
3225
  data: UserProfile;
3225
3226
  }>;
3226
- getUserAccessToken: () => Promise<{
3227
+ getUserAccessToken?: () => Promise<{
3227
3228
  data: string;
3228
3229
  }>;
3229
3230
  }
@@ -3239,7 +3240,7 @@ declare const getCollaborationConfig: ({ provider_url, getUserProfile, getUserAc
3239
3240
  /**
3240
3241
  * Hook to subscribe to and get room activity data
3241
3242
  */
3242
- declare const useRoomActivity: ({ provider_url, getUserProfile, getUserAccessToken }: UseRoomActivityParams) => [UserMapping, MutableRefObject<WebSocket | null>];
3243
+ declare const useRoomActivity: ({ provider_url, getUserProfile, getUserAccessToken }?: UseRoomActivityParams) => [UserMapping, MutableRefObject<WebSocket | null>];
3243
3244
  declare const subscribeToRoom: (ws: WebSocket, room: string) => void;
3244
3245
  declare const unSubscribeRoom: (ws: WebSocket, room: string) => void;
3245
3246
 
package/dist/index.d.ts CHANGED
@@ -1250,6 +1250,7 @@ interface Props$1 {
1250
1250
  path?: string;
1251
1251
  courseCount: number;
1252
1252
  courseType: string;
1253
+ cardKey?: string;
1253
1254
  }
1254
1255
  declare const LearningCard: React__default.FC<Props$1>;
1255
1256
 
@@ -3219,11 +3220,11 @@ interface UserMapping {
3219
3220
  };
3220
3221
  }
3221
3222
  interface UseRoomActivityParams {
3222
- provider_url: string;
3223
- getUserProfile: () => Promise<{
3223
+ provider_url?: string;
3224
+ getUserProfile?: () => Promise<{
3224
3225
  data: UserProfile;
3225
3226
  }>;
3226
- getUserAccessToken: () => Promise<{
3227
+ getUserAccessToken?: () => Promise<{
3227
3228
  data: string;
3228
3229
  }>;
3229
3230
  }
@@ -3239,7 +3240,7 @@ declare const getCollaborationConfig: ({ provider_url, getUserProfile, getUserAc
3239
3240
  /**
3240
3241
  * Hook to subscribe to and get room activity data
3241
3242
  */
3242
- declare const useRoomActivity: ({ provider_url, getUserProfile, getUserAccessToken }: UseRoomActivityParams) => [UserMapping, MutableRefObject<WebSocket | null>];
3243
+ declare const useRoomActivity: ({ provider_url, getUserProfile, getUserAccessToken }?: UseRoomActivityParams) => [UserMapping, MutableRefObject<WebSocket | null>];
3243
3244
  declare const subscribeToRoom: (ws: WebSocket, room: string) => void;
3244
3245
  declare const unSubscribeRoom: (ws: WebSocket, room: string) => void;
3245
3246