@avaya/infinity-omni-sdk-messaging-ui 1.0.1 → 1.0.2

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/lib/index.d.ts CHANGED
@@ -116,6 +116,7 @@ export declare class AvayaInfinityOmniSdkMessagingUi extends HTMLElement {
116
116
  * @returns The current theme name.
117
117
  */
118
118
  static get currentThemeName(): string;
119
+ /* Excluded from this release type: unload */
119
120
  /**
120
121
  * Returns a boolean indicating whether the instance of {@link AvayaInfinityOmniSdkMessagingUi} has been initialized.
121
122
  * @returns A boolean indicating whether the instance has been initialized.
@@ -127,6 +128,15 @@ export declare class AvayaInfinityOmniSdkMessagingUi extends HTMLElement {
127
128
  * @param locale - The locale to set. The locale should be in the ISO 639-1 format, example "en-US".
128
129
  */
129
130
  static setLocale(locale: Locale): void;
131
+ /**
132
+ * Get the list of all the locales for which translation resources have been loaded
133
+ * in Messaging UI.
134
+ *
135
+ * @returns An array of available locale strings (e.g., "en", "de", ... etc).
136
+ * Each locale string follows the ISO 639-1 format and represents a language
137
+ * for which translations are available.
138
+ */
139
+ static getAvailableLocales(): Locale[];
130
140
  /**
131
141
  * Sets the theme for the {@link AvayaInfinityOmniSdkMessagingUi}. The theme should be one of the
132
142
  * themes that were provided in the {@link MessagingUiConfig}.
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@avaya/infinity-omni-sdk-messaging-ui",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "type": "module",
5
5
  "dependencies": {
6
6
  "@ant-design/icons": "^5.4.0",
7
- "@avaya/infinity-omni-sdk-core": "^1.0.1",
8
- "@avaya/infinity-omni-sdk-messaging": "^1.0.1",
7
+ "@avaya/infinity-omni-sdk-core": "^1.0.2",
8
+ "@avaya/infinity-omni-sdk-messaging": "^1.0.2",
9
9
  "@avaya/neo-react": "^1.1.10",
10
10
  "@emoji-mart/data": "^1.1.2",
11
11
  "@emoji-mart/react": "^1.1.1",