@amityco/ulta-ui-kit 2.0.0 → 2.0.2-beta01

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/index.d.mts CHANGED
@@ -333,6 +333,12 @@ interface UltaConfigContextProps {
333
333
  termsAndConditionsUrl: string;
334
334
  allowUpdateDisplayName?: boolean;
335
335
  defaultTab?: 'explore' | 'newsfeed';
336
+ deeplink?: {
337
+ origin?: string;
338
+ groupQueryString?: string;
339
+ postQueryString?: string;
340
+ userQueryString?: string;
341
+ };
336
342
  }
337
343
 
338
344
  type AmityUIKitConfig = Config;
@@ -371,6 +377,7 @@ interface AmityUIKitProviderProps {
371
377
  getAuthToken?: () => Promise<string>;
372
378
  configs?: AmityUIKitConfig;
373
379
  ultaConfig: UltaConfigContextProps;
380
+ onRouteChange?: (route: string) => void;
374
381
  }
375
382
  declare const AmityUIKitProvider: React.FC<AmityUIKitProviderProps>;
376
383
 
package/dist/index.d.ts CHANGED
@@ -333,6 +333,12 @@ interface UltaConfigContextProps {
333
333
  termsAndConditionsUrl: string;
334
334
  allowUpdateDisplayName?: boolean;
335
335
  defaultTab?: 'explore' | 'newsfeed';
336
+ deeplink?: {
337
+ origin?: string;
338
+ groupQueryString?: string;
339
+ postQueryString?: string;
340
+ userQueryString?: string;
341
+ };
336
342
  }
337
343
 
338
344
  type AmityUIKitConfig = Config;
@@ -371,6 +377,7 @@ interface AmityUIKitProviderProps {
371
377
  getAuthToken?: () => Promise<string>;
372
378
  configs?: AmityUIKitConfig;
373
379
  ultaConfig: UltaConfigContextProps;
380
+ onRouteChange?: (route: string) => void;
374
381
  }
375
382
  declare const AmityUIKitProvider: React.FC<AmityUIKitProviderProps>;
376
383