@azure/communication-react 1.5.1-alpha-202304120012 → 1.5.1-alpha-202304140012

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 (23) hide show
  1. package/README.md +1 -1
  2. package/dist/communication-react.d.ts +2 -2
  3. package/dist/dist-cjs/communication-react/index.js +156 -168
  4. package/dist/dist-cjs/communication-react/index.js.map +1 -1
  5. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js +1 -1
  6. package/dist/dist-esm/acs-ui-common/src/telemetryVersion.js.map +1 -1
  7. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.d.ts +0 -1
  8. package/dist/dist-esm/calling-stateful-client/src/LocalVideoStreamVideoEffectsSubscriber.js.map +1 -1
  9. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js +4 -4
  10. package/dist/dist-esm/react-composites/src/composites/CallComposite/styles/LobbyTile.styles.js.map +1 -1
  11. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.d.ts +2 -1
  12. package/dist/dist-esm/react-composites/src/composites/CallWithChatComposite/adapter/CallWithChatAdapter.js.map +1 -1
  13. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.d.ts +3 -1
  14. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js +38 -15
  15. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationChatAdapter.js.map +1 -1
  16. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.d.ts +1 -4
  17. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js +1 -29
  18. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/AzureCommunicationFileUploadAdapter.js.map +1 -1
  19. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.d.ts +2 -0
  20. package/dist/dist-esm/react-composites/src/composites/ChatComposite/adapter/ChatAdapter.js.map +1 -1
  21. package/dist/dist-esm/react-composites/src/composites/common/icons.js +4 -10
  22. package/dist/dist-esm/react-composites/src/composites/common/icons.js.map +1 -1
  23. package/package.json +8 -8
package/README.md CHANGED
@@ -25,7 +25,7 @@ you can most consistently use the API from the core libraries in your applicatio
25
25
 
26
26
  ```bash
27
27
  npm i @azure/communication-calling@1.4.4
28
- npm i @azure/communication-chat@1.1.0
28
+ npm i @azure/communication-chat@1.3.2-beta.1
29
29
  ```
30
30
 
31
31
  ## Storybook
@@ -2285,7 +2285,7 @@ export declare interface CallWithChatAdapterManagement {
2285
2285
  updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
2286
2286
  /** @beta */
2287
2287
  updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
2288
- downloadAuthenticatedAttachment?: (attachmentUrl: string) => Promise<string>;
2288
+ downloadAuthenticatedAttachment?: (attachmentUrl: string) => Promise<AttachmentDownloadResult>;
2289
2289
  /**
2290
2290
  * Puts the Call in a Localhold.
2291
2291
  *
@@ -3161,6 +3161,7 @@ export declare interface ChatAdapterThreadManagement {
3161
3161
  *
3162
3162
  */
3163
3163
  loadPreviousChatMessages(messagesToLoad: number): Promise<boolean>;
3164
+ downloadAuthenticatedAttachment?: (attachmentUrl: string) => Promise<AttachmentDownloadResult>;
3164
3165
  }
3165
3166
 
3166
3167
  /**
@@ -5526,7 +5527,6 @@ export declare interface FileUploadAdapter {
5526
5527
  updateFileUploadProgress: (id: string, progress: number) => void;
5527
5528
  updateFileUploadErrorMessage: (id: string, errorMessage: string) => void;
5528
5529
  updateFileUploadMetadata: (id: string, metadata: FileMetadata) => void;
5529
- downloadAuthenticatedAttachment?: (attachmentUrl: string) => Promise<string>;
5530
5530
  }
5531
5531
 
5532
5532
  /**