@amityco/ui-kit-open-source 4.1.0 → 4.2.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.
- package/dist/esm/index.css +1 -1
- package/dist/esm/index.js +694 -694
- package/dist/index.css +1 -1
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +756 -756
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/package.json +3 -3
package/dist/index.d.mts
CHANGED
|
@@ -323,6 +323,10 @@ interface PageBehavior {
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
type AmityUIKitConfig = Config;
|
|
326
|
+
type AmityRoute = {
|
|
327
|
+
route: string;
|
|
328
|
+
id?: string;
|
|
329
|
+
};
|
|
326
330
|
interface AmityUIKitProviderProps {
|
|
327
331
|
apiKey: string;
|
|
328
332
|
apiRegion: string;
|
|
@@ -357,6 +361,9 @@ interface AmityUIKitProviderProps {
|
|
|
357
361
|
onDisconnected?: () => void;
|
|
358
362
|
getAuthToken?: () => Promise<string>;
|
|
359
363
|
configs?: AmityUIKitConfig;
|
|
364
|
+
activeRoute?: AmityRoute;
|
|
365
|
+
onRouteChange?: (route: AmityRoute) => void;
|
|
366
|
+
seoOptimizationEnabled?: boolean;
|
|
360
367
|
}
|
|
361
368
|
declare const AmityUIKitProvider: React.FC<AmityUIKitProviderProps>;
|
|
362
369
|
|
|
@@ -568,6 +575,7 @@ declare class AmityUIKitManager {
|
|
|
568
575
|
http?: string;
|
|
569
576
|
mqtt?: string;
|
|
570
577
|
};
|
|
578
|
+
seoOptimizationEnabled?: boolean;
|
|
571
579
|
}): void;
|
|
572
580
|
/**
|
|
573
581
|
* Registers a device with the Amity SDK and handles the login process.
|
package/dist/index.d.ts
CHANGED
|
@@ -323,6 +323,10 @@ interface PageBehavior {
|
|
|
323
323
|
}
|
|
324
324
|
|
|
325
325
|
type AmityUIKitConfig = Config;
|
|
326
|
+
type AmityRoute = {
|
|
327
|
+
route: string;
|
|
328
|
+
id?: string;
|
|
329
|
+
};
|
|
326
330
|
interface AmityUIKitProviderProps {
|
|
327
331
|
apiKey: string;
|
|
328
332
|
apiRegion: string;
|
|
@@ -357,6 +361,9 @@ interface AmityUIKitProviderProps {
|
|
|
357
361
|
onDisconnected?: () => void;
|
|
358
362
|
getAuthToken?: () => Promise<string>;
|
|
359
363
|
configs?: AmityUIKitConfig;
|
|
364
|
+
activeRoute?: AmityRoute;
|
|
365
|
+
onRouteChange?: (route: AmityRoute) => void;
|
|
366
|
+
seoOptimizationEnabled?: boolean;
|
|
360
367
|
}
|
|
361
368
|
declare const AmityUIKitProvider: React.FC<AmityUIKitProviderProps>;
|
|
362
369
|
|
|
@@ -568,6 +575,7 @@ declare class AmityUIKitManager {
|
|
|
568
575
|
http?: string;
|
|
569
576
|
mqtt?: string;
|
|
570
577
|
};
|
|
578
|
+
seoOptimizationEnabled?: boolean;
|
|
571
579
|
}): void;
|
|
572
580
|
/**
|
|
573
581
|
* Registers a device with the Amity SDK and handles the login process.
|