@amityco/ts-sdk 7.11.1-fec87c5.0 → 7.12.1-501d118.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.
Files changed (50) hide show
  1. package/dist/@types/core/events.d.ts +5 -4
  2. package/dist/@types/core/events.d.ts.map +1 -1
  3. package/dist/@types/core/linkPreviewMetadata.d.ts +12 -0
  4. package/dist/@types/core/linkPreviewMetadata.d.ts.map +1 -0
  5. package/dist/@types/domains/community.d.ts +2 -7
  6. package/dist/@types/domains/community.d.ts.map +1 -1
  7. package/dist/@types/domains/post.d.ts +10 -0
  8. package/dist/@types/domains/post.d.ts.map +1 -1
  9. package/dist/@types/domains/room.d.ts +12 -2
  10. package/dist/@types/domains/room.d.ts.map +1 -1
  11. package/dist/client/api/fetchLinkPreview.d.ts +3 -0
  12. package/dist/client/api/fetchLinkPreview.d.ts.map +1 -1
  13. package/dist/client/api/getLinkPreviewMetadata.d.ts +14 -0
  14. package/dist/client/api/getLinkPreviewMetadata.d.ts.map +1 -0
  15. package/dist/client/api/index.d.ts +1 -0
  16. package/dist/client/api/index.d.ts.map +1 -1
  17. package/dist/core/events.d.ts +3 -3
  18. package/dist/core/events.d.ts.map +1 -1
  19. package/dist/eventRepository/internalApi/getEvent.d.ts.map +1 -1
  20. package/dist/index.cjs.js +631 -475
  21. package/dist/index.esm.js +487 -331
  22. package/dist/index.umd.js +3 -3
  23. package/dist/liveReactionRepository/api/createReaction.d.ts +7 -2
  24. package/dist/liveReactionRepository/api/createReaction.d.ts.map +1 -1
  25. package/dist/liveReactionRepository/internalApi/createLiveReaction.d.ts +3 -2
  26. package/dist/liveReactionRepository/internalApi/createLiveReaction.d.ts.map +1 -1
  27. package/dist/liveReactionRepository/service/ReactionSyncEngine.d.ts +2 -1
  28. package/dist/liveReactionRepository/service/ReactionSyncEngine.d.ts.map +1 -1
  29. package/dist/postRepository/api/createPost.d.ts +1 -0
  30. package/dist/postRepository/api/createPost.d.ts.map +1 -1
  31. package/dist/postRepository/api/editPost.d.ts +1 -0
  32. package/dist/postRepository/api/editPost.d.ts.map +1 -1
  33. package/dist/roomRepository/events/index.d.ts +2 -0
  34. package/dist/roomRepository/events/index.d.ts.map +1 -1
  35. package/dist/roomRepository/events/onRoomParticipantJoined.d.ts +1 -1
  36. package/dist/roomRepository/events/onRoomParticipantJoined.d.ts.map +1 -1
  37. package/dist/roomRepository/events/onRoomParticipantLeft.d.ts +1 -1
  38. package/dist/roomRepository/events/onRoomParticipantLeft.d.ts.map +1 -1
  39. package/dist/roomRepository/events/onRoomParticipantRemoved.d.ts +1 -1
  40. package/dist/roomRepository/events/onRoomParticipantRemoved.d.ts.map +1 -1
  41. package/dist/roomRepository/events/onRoomParticipantStageJoined.d.ts +17 -0
  42. package/dist/roomRepository/events/onRoomParticipantStageJoined.d.ts.map +1 -0
  43. package/dist/roomRepository/events/onRoomParticipantStageLeft.d.ts +17 -0
  44. package/dist/roomRepository/events/onRoomParticipantStageLeft.d.ts.map +1 -0
  45. package/dist/roomRepository/observers/getRoom.d.ts.map +1 -1
  46. package/dist/roomRepository/observers/getRooms/RoomLiveCollectionController.d.ts.map +1 -1
  47. package/dist/roomRepository/observers/utils.d.ts +1 -0
  48. package/dist/roomRepository/observers/utils.d.ts.map +1 -1
  49. package/dist/utils/linkedObject/roomLinkedObject.d.ts.map +1 -1
  50. package/package.json +1 -1
@@ -14,13 +14,18 @@
14
14
  * @param referenceType should be 'post'
15
15
  * @param reactionName that is the reaction name
16
16
  * @param streamId stream id
17
+ * @param roomId room id
17
18
  * @returns a success boolean if the reaction was added
18
19
  *
19
20
  * @category Live Reaction API
20
21
  * @async
21
22
  */
22
- export declare const createReaction: ({ referenceId, referenceType, reactionName, roomId, }: Pick<Amity.CreateLiveReactionRequest, "referenceType" | "reactionName"> & {
23
+ export declare const createReaction: ({ referenceId, referenceType, reactionName, streamId, roomId, }: Pick<Amity.CreateLiveReactionRequest, "referenceType" | "reactionName"> & {
23
24
  referenceId: string;
24
- roomId: string;
25
+ /**
26
+ * @deprecated streamId is deprecated. Use `roomId` instead.
27
+ */
28
+ streamId?: string | undefined;
29
+ roomId?: string | undefined;
25
30
  }) => Promise<boolean>;
26
31
  //# sourceMappingURL=createReaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createReaction.d.ts","sourceRoot":"","sources":["../../../src/liveReactionRepository/api/createReaction.ts"],"names":[],"mappings":"AAQA;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,eAAO,MAAM,cAAc;iBAMZ,MAAM;YACX,MAAM;MACZ,QAAQ,OAAO,CAwBlB,CAAC"}
1
+ {"version":3,"file":"createReaction.d.ts","sourceRoot":"","sources":["../../../src/liveReactionRepository/api/createReaction.ts"],"names":[],"mappings":"AASA;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,cAAc;iBAOZ,MAAM;IACnB;;OAEG;;;MAGD,QAAQ,OAAO,CAkClB,CAAC"}
@@ -13,8 +13,9 @@
13
13
  * @category Live Reaction API
14
14
  * @async
15
15
  */
16
- export declare const createLiveReaction: ({ reactions, liveStreamId, }: {
16
+ export declare const createLiveReaction: ({ reactions, liveStreamId, roomId, }: {
17
17
  reactions: Amity.CreateLiveReactionRequest[];
18
- liveStreamId: string;
18
+ liveStreamId?: string | undefined;
19
+ roomId?: string | undefined;
19
20
  }) => Promise<Amity.CreateLiveReactionResponse>;
20
21
  //# sourceMappingURL=createLiveReaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createLiveReaction.d.ts","sourceRoot":"","sources":["../../../src/liveReactionRepository/internalApi/createLiveReaction.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;eAIlB,MAAM,yBAAyB,EAAE;kBAC9B,MAAM;MAClB,QAAQ,MAAM,0BAA0B,CAc3C,CAAC"}
1
+ {"version":3,"file":"createLiveReaction.d.ts","sourceRoot":"","sources":["../../../src/liveReactionRepository/internalApi/createLiveReaction.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,kBAAkB;eAKlB,MAAM,yBAAyB,EAAE;;;MAG1C,QAAQ,MAAM,0BAA0B,CAe3C,CAAC"}
@@ -9,7 +9,8 @@ declare class LiveReactionSyncEngine {
9
9
  startReactionsSync(): void;
10
10
  stopReactionsSync(): void;
11
11
  createLiveReaction(liveReaction: Amity.CreateLiveReactionRequest & {
12
- roomId: string;
12
+ roomId?: string;
13
+ streamId?: string;
13
14
  }): void;
14
15
  private addConnectionListener;
15
16
  private removeConnectionListener;
@@ -1 +1 @@
1
- {"version":3,"file":"ReactionSyncEngine.d.ts","sourceRoot":"","sources":["../../../src/liveReactionRepository/service/ReactionSyncEngine.ts"],"names":[],"mappings":"AAKA,cAAM,sBAAsB;IAC1B,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAc;IAEhD,OAAO,CAAC,MAAM,CAAgE;IAE9E,OAAO,CAAC,KAAK,CAA2B;IAExC,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,kBAAkB,CAAsB;IAEhD,OAAO,CAAC,WAAW,CAAQ;;IAM3B,kBAAkB;IAQlB,iBAAiB;IAOjB,kBAAkB,CAAC,YAAY,EAAE,KAAK,CAAC,yBAAyB,GAAG;QAAE,MAAM,EAAE,MAAM,CAAA;KAAE;IAIrF,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,wBAAwB;IAOhC,OAAO,CAAC,iBAAiB;IAoCzB,OAAO,CAAC,WAAW;IAKnB,oBAAoB;IAKpB,kBAAkB;IAclB,cAAc;CAGf;;;;AAID,wBAOE"}
1
+ {"version":3,"file":"ReactionSyncEngine.d.ts","sourceRoot":"","sources":["../../../src/liveReactionRepository/service/ReactionSyncEngine.ts"],"names":[],"mappings":"AAKA,cAAM,sBAAsB;IAC1B,OAAO,CAAC,QAAQ,CAAC,iBAAiB,CAAc;IAEhD,OAAO,CAAC,MAAM,CAAoF;IAElG,OAAO,CAAC,KAAK,CAA2B;IAExC,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,kBAAkB,CAAsB;IAEhD,OAAO,CAAC,WAAW,CAAQ;;IAM3B,kBAAkB;IAQlB,iBAAiB;IAOjB,kBAAkB,CAChB,YAAY,EAAE,KAAK,CAAC,yBAAyB,GAAG;QAAE,MAAM,CAAC,EAAE,MAAM,CAAC;QAAC,QAAQ,CAAC,EAAE,MAAM,CAAA;KAAE;IAKxF,OAAO,CAAC,qBAAqB;IAe7B,OAAO,CAAC,wBAAwB;IAOhC,OAAO,CAAC,iBAAiB;IAoDzB,OAAO,CAAC,WAAW;IAKnB,oBAAoB;IAKpB,kBAAkB;IAclB,cAAc;CAGf;;;;AAID,wBAOE"}
@@ -25,5 +25,6 @@ export declare const createPost: <T extends string>(bundle: Pick<Amity.Post<T>,
25
25
  type: T;
26
26
  fileId: Amity.File['fileId'];
27
27
  }[] | undefined;
28
+ links?: Amity.Link[] | undefined;
28
29
  }) => Promise<Amity.Cached<Amity.Post>>;
29
30
  //# sourceMappingURL=createPost.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createPost.d.ts","sourceRoot":"","sources":["../../../src/postRepository/api/createPost.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,UAAU;;;;;;;gBAKgB,UAAU,CAAC,QAAQ,CAAC;;MAExD,QAAQ,MAAM,MAAM,CAAC,MAAM,IAAI,CAAC,CAyBlC,CAAC"}
1
+ {"version":3,"file":"createPost.d.ts","sourceRoot":"","sources":["../../../src/postRepository/api/createPost.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,UAAU;;;;;;;gBAKgB,UAAU,CAAC,QAAQ,CAAC;;;MAGxD,QAAQ,MAAM,MAAM,CAAC,MAAM,IAAI,CAAC,CAyBlC,CAAC"}
@@ -20,5 +20,6 @@ export declare const editPost: <T extends string>(postId: Amity.Post['postId'],
20
20
  type: T;
21
21
  fileId: Amity.File['fileId'];
22
22
  }[] | undefined;
23
+ links?: Amity.Link[] | undefined;
23
24
  }) => Promise<Amity.Cached<Amity.Post>>;
24
25
  //# sourceMappingURL=editPost.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"editPost.d.ts","sourceRoot":"","sources":["../../../src/postRepository/api/editPost.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ,6BACX,MAAM,IAAI,CAAC,QAAQ,CAAC;;;gBAIhB,UAAU,CAAC,QAAQ,CAAC;;MAG/B,QAAQ,MAAM,MAAM,CAAC,MAAM,IAAI,CAAC,CAsBlC,CAAC"}
1
+ {"version":3,"file":"editPost.d.ts","sourceRoot":"","sources":["../../../src/postRepository/api/editPost.ts"],"names":[],"mappings":"AAUA;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,QAAQ,6BACX,MAAM,IAAI,CAAC,QAAQ,CAAC;;;gBAIhB,UAAU,CAAC,QAAQ,CAAC;;;MAI/B,QAAQ,MAAM,MAAM,CAAC,MAAM,IAAI,CAAC,CAsBlC,CAAC"}
@@ -8,6 +8,8 @@ export * from './onRoomCoHostInviteRejected';
8
8
  export * from './onRoomCoHostInviteCanceled';
9
9
  export * from './onRoomParticipantJoined';
10
10
  export * from './onRoomParticipantLeft';
11
+ export * from './onRoomParticipantStageLeft';
12
+ export * from './onRoomParticipantStageJoined';
11
13
  export * from './onRoomTerminated';
12
14
  export * from './onRoomCreated';
13
15
  export * from './onRoomUpdated';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,oBAAoB,CAAC;AAGnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,cAAc,CAAC"}
@@ -13,5 +13,5 @@
13
13
  *
14
14
  * @category Room Events
15
15
  */
16
- export declare const onRoomParticipantJoined: (callback: Amity.Listener<Amity.RawRoom>) => Amity.Unsubscriber;
16
+ export declare const onRoomParticipantJoined: (callback: Amity.Listener<Amity.CoHostEvent>) => Amity.Unsubscriber;
17
17
  //# sourceMappingURL=onRoomParticipantJoined.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"onRoomParticipantJoined.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomParticipantJoined.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,aACxB,MAAM,QAAQ,CAAC,MAAM,OAAO,CAAC,KACtC,MAAM,YAcR,CAAC"}
1
+ {"version":3,"file":"onRoomParticipantJoined.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomParticipantJoined.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,uBAAuB,aACxB,MAAM,QAAQ,CAAC,MAAM,WAAW,CAAC,KAC1C,MAAM,YAkBR,CAAC"}
@@ -13,5 +13,5 @@
13
13
  *
14
14
  * @category Room Events
15
15
  */
16
- export declare const onRoomParticipantLeft: (callback: Amity.Listener<Amity.RawRoom>) => Amity.Unsubscriber;
16
+ export declare const onRoomParticipantLeft: (callback: Amity.Listener<Amity.CoHostEvent>) => Amity.Unsubscriber;
17
17
  //# sourceMappingURL=onRoomParticipantLeft.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"onRoomParticipantLeft.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomParticipantLeft.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,aACtB,MAAM,QAAQ,CAAC,MAAM,OAAO,CAAC,KACtC,MAAM,YAcR,CAAC"}
1
+ {"version":3,"file":"onRoomParticipantLeft.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomParticipantLeft.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,qBAAqB,aACtB,MAAM,QAAQ,CAAC,MAAM,WAAW,CAAC,KAC1C,MAAM,YAkBR,CAAC"}
@@ -13,5 +13,5 @@
13
13
  *
14
14
  * @category Room Events
15
15
  */
16
- export declare const onRoomParticipantRemoved: (callback: Amity.Listener<Amity.InternalRoom>) => Amity.Unsubscriber;
16
+ export declare const onRoomParticipantRemoved: (callback: Amity.Listener<Amity.CoHostEvent>) => Amity.Unsubscriber;
17
17
  //# sourceMappingURL=onRoomParticipantRemoved.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"onRoomParticipantRemoved.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomParticipantRemoved.ts"],"names":[],"mappings":"AAKA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB,aACzB,MAAM,QAAQ,CAAC,MAAM,YAAY,CAAC,KAC3C,MAAM,YAcR,CAAC"}
1
+ {"version":3,"file":"onRoomParticipantRemoved.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomParticipantRemoved.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,wBAAwB,aACzB,MAAM,QAAQ,CAAC,MAAM,WAAW,CAAC,KAC1C,MAAM,YAkBR,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { onRoomParticipantStageJoined } from '@amityco/ts-sdk'
4
+ * const dispose = onRoomParticipantStageJoined(room => {
5
+ * // ...
6
+ * })
7
+ * ```
8
+ *
9
+ * Fired when a participant has joined the stage of a {@link Amity.Room}
10
+ *
11
+ * @param callback The function to call when the event was fired
12
+ * @returns an {@link Amity.Unsubscriber} function to stop listening
13
+ *
14
+ * @category Room Events
15
+ */
16
+ export declare const onRoomParticipantStageJoined: (callback: Amity.Listener<Amity.CoHostEvent>) => Amity.Unsubscriber;
17
+ //# sourceMappingURL=onRoomParticipantStageJoined.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onRoomParticipantStageJoined.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomParticipantStageJoined.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4BAA4B,aAC7B,MAAM,QAAQ,CAAC,MAAM,WAAW,CAAC,KAC1C,MAAM,YAkBR,CAAC"}
@@ -0,0 +1,17 @@
1
+ /**
2
+ * ```js
3
+ * import { onRoomParticipantStageLeft } from '@amityco/ts-sdk'
4
+ * const dispose = onRoomParticipantStageLeft(room => {
5
+ * // ...
6
+ * })
7
+ * ```
8
+ *
9
+ * Fired when a participant has left the stage of a {@link Amity.Room}
10
+ *
11
+ * @param callback The function to call when the event was fired
12
+ * @returns an {@link Amity.Unsubscriber} function to stop listening
13
+ *
14
+ * @category Room Events
15
+ */
16
+ export declare const onRoomParticipantStageLeft: (callback: Amity.Listener<Amity.CoHostEvent>) => Amity.Unsubscriber;
17
+ //# sourceMappingURL=onRoomParticipantStageLeft.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"onRoomParticipantStageLeft.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/events/onRoomParticipantStageLeft.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,0BAA0B,aAC3B,MAAM,QAAQ,CAAC,MAAM,WAAW,CAAC,KAC1C,MAAM,YAkBR,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getRoom.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/observers/getRoom.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,OAAO,WACV,MAAM,YACJ,MAAM,kBAAkB,CAAC,MAAM,IAAI,CAAC,KAC7C,MAAM,YA0BR,CAAC"}
1
+ {"version":3,"file":"getRoom.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/observers/getRoom.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,OAAO,WACV,MAAM,YACJ,MAAM,kBAAkB,CAAC,MAAM,IAAI,CAAC,KAC7C,MAAM,YA2BR,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"RoomLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/roomRepository/observers/getRooms/RoomLiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAK1F,qBAAa,4BAA6B,SAAQ,wBAAwB,CACxE,MAAM,EACN,KAAK,CAAC,kBAAkB,EACxB,KAAK,CAAC,IAAI,EACV,wBAAwB,CACzB;IACC,OAAO,CAAC,qBAAqB,CAA4B;IAEzD,OAAO,CAAC,KAAK,CAA2B;gBAE5B,KAAK,EAAE,KAAK,CAAC,kBAAkB,EAAE,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC;IAmB/F,SAAS,CAAC,KAAK;cAUC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,UAAU;IAI/E,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,MAAM,CAAC;IAIvD,iBAAiB;IAIjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAsBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,YAAY,EAAE;CA2BvC"}
1
+ {"version":3,"file":"RoomLiveCollectionController.d.ts","sourceRoot":"","sources":["../../../../src/roomRepository/observers/getRooms/RoomLiveCollectionController.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAEtE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gDAAgD,CAAC;AAM1F,qBAAa,4BAA6B,SAAQ,wBAAwB,CACxE,MAAM,EACN,KAAK,CAAC,kBAAkB,EACxB,KAAK,CAAC,IAAI,EACV,wBAAwB,CACzB;IACC,OAAO,CAAC,qBAAqB,CAA4B;IAEzD,OAAO,CAAC,KAAK,CAA2B;gBAE5B,KAAK,EAAE,KAAK,CAAC,kBAAkB,EAAE,QAAQ,EAAE,KAAK,CAAC,sBAAsB,CAAC,KAAK,CAAC,IAAI,CAAC;IAmB/F,SAAS,CAAC,KAAK;cAUC,YAAY,CAAC,YAAY,EAAE,KAAK,CAAC,WAAW,GAAG,KAAK,CAAC,UAAU;IAI/E,SAAS,CAAC,kBAAkB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,OAAO,GACR,EAAE,KAAK,CAAC,sCAAsC,CAAC,MAAM,CAAC;IAIvD,iBAAiB;IAIjB,YAAY,CAAC,EAAE,MAAM,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,KAAK,CAAC,0BAA0B;IAsBzE,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,YAAY,EAAE;CA2BvC"}
@@ -1,4 +1,5 @@
1
1
  import { EnumRoomActions } from './enums';
2
+ export declare const convertToRoomEventPayload: (eventHandler: (callback: Amity.Listener<Amity.CoHostEvent>) => Amity.Unsubscriber) => (callback: Amity.Listener<Amity.Room>) => Amity.Unsubscriber;
2
3
  export declare const getRoomSubscription: () => {
3
4
  fn: (callback: Amity.Listener<Amity.RawRoom>) => Amity.Unsubscriber;
4
5
  action: EnumRoomActions;
@@ -1 +1 @@
1
- {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/observers/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAI1C,eAAO,MAAM,mBAAmB;;;GAa/B,CAAC"}
1
+ {"version":3,"file":"utils.d.ts","sourceRoot":"","sources":["../../../src/roomRepository/observers/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAgB1C,eAAO,MAAM,yBAAyB,4BACV,MAAM,QAAQ,CAAC,MAAM,WAAW,CAAC,KAAK,MAAM,YAAY,gBACvE,MAAM,QAAQ,CAAC,MAAM,IAAI,CAAC,uBAGjC,CAAC;AAGP,eAAO,MAAM,mBAAmB;mBACf,MAAM,QAAQ,CAAC,MAAM,OAAO,CAAC,KAAK,MAAM,YAAY;YAC3D,eAAe;GA8CxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"roomLinkedObject.d.ts","sourceRoot":"","sources":["../../../src/utils/linkedObject/roomLinkedObject.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,SAAU,MAAM,YAAY,KAAG,MAAM,IA+DjE,CAAC"}
1
+ {"version":3,"file":"roomLinkedObject.d.ts","sourceRoot":"","sources":["../../../src/utils/linkedObject/roomLinkedObject.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,gBAAgB,SAAU,MAAM,YAAY,KAAG,MAAM,IAkDjE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amityco/ts-sdk",
3
- "version": "7.11.1-fec87c5.0",
3
+ "version": "7.12.1-501d118.0",
4
4
  "license": "CC-BY-ND-4.0",
5
5
  "author": "amity.co <developers@amity.co> (https://amity.co)",
6
6
  "description": "Amity Social Cloud Typescript SDK",