@kaltura-apps/genie-chat-react 1.5.0-tools.3 → 1.5.3
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/index.esm.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { jsx } from 'react/jsx-runtime';
|
|
2
2
|
import { createUnisphereSandbox } from '@unisphere/runtime-react';
|
|
3
|
+
import { createUseTranslation } from '@unisphere/ui-i18n-react';
|
|
3
4
|
|
|
4
5
|
const appId = 'kaltura-apps-genie-chat';
|
|
5
6
|
// Create sandbox at module level
|
|
@@ -1204,4 +1205,16 @@ const GenieChat = ({
|
|
|
1204
1205
|
});
|
|
1205
1206
|
};
|
|
1206
1207
|
|
|
1207
|
-
|
|
1208
|
+
var en = {
|
|
1209
|
+
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
const supportedLanguages = ['en-US'];
|
|
1213
|
+
|
|
1214
|
+
const useTranslation = createUseTranslation({
|
|
1215
|
+
packageName: '@kaltura-apps/genie-chat-react',
|
|
1216
|
+
defaultTranslations: en,
|
|
1217
|
+
supportedLanguages
|
|
1218
|
+
});
|
|
1219
|
+
|
|
1220
|
+
export { GenieChat, GenieChatProvider, GenieChatSandboxContext, GenieChatVisual, useTranslation };
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kaltura-apps/genie-chat-react",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"author": "kaltura",
|
|
5
5
|
"license": "AGPL-3.0",
|
|
6
6
|
"repository": {
|
|
@@ -9,8 +9,9 @@
|
|
|
9
9
|
},
|
|
10
10
|
"types": "./src/index.d.ts",
|
|
11
11
|
"dependencies": {
|
|
12
|
-
"@unisphere/genie-types": "^1.
|
|
13
|
-
"@unisphere/runtime-react": "^1.
|
|
12
|
+
"@unisphere/genie-types": "^1.25.5",
|
|
13
|
+
"@unisphere/runtime-react": "^1.90.2",
|
|
14
|
+
"@unisphere/ui-i18n-react": "^1.70.1",
|
|
14
15
|
"react": "^19.0.0"
|
|
15
16
|
},
|
|
16
17
|
"module": "./index.esm.js",
|
package/src/index.d.ts
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const supportedLanguages: string[];
|