@streamlayer/react 0.39.0 → 0.39.1
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/cjs/masters2.js +10 -10
- package/lib/cjs/useStreamLayerApp.js +1 -1
- package/lib/dist/cjs/masters.js +54 -54
- package/lib/dist/es/masters.js +10388 -10382
- package/lib/dist/index.d.ts +9 -12
- package/lib/es/masters2.js +278 -281
- package/lib/es/useStreamLayerApp.js +1 -1
- package/package.json +12 -12
package/lib/dist/index.d.ts
CHANGED
|
@@ -615,20 +615,24 @@ declare module "../../sdk-web-core/src/store/store" {
|
|
|
615
615
|
[Index in keyof StoreObj]: (params: FetcherValue<CoreStoreInterface[Index]>) => void;
|
|
616
616
|
};
|
|
617
617
|
}
|
|
618
|
+
declare module "../../sdk-web-logger/src/index" {
|
|
619
|
+
import { pino, ChildLoggerOptions } from 'pino';
|
|
620
|
+
export const createLogger: (name: string, options?: ChildLoggerOptions) => pino.Logger<never>;
|
|
621
|
+
export type Logger = ReturnType<typeof createLogger>;
|
|
622
|
+
}
|
|
618
623
|
declare module "../../sdk-web-core/src/deepLink/index" {
|
|
619
624
|
import { StreamLayerContext } from '../../sdk-web-interfaces/src/index.ts';
|
|
620
625
|
import { MapStore } from '../../sdk-web-interfaces/src/index.ts';
|
|
621
626
|
type DeepLinkContextData = {
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
sessionId?: string;
|
|
627
|
+
handled?: boolean;
|
|
628
|
+
parsed?: boolean;
|
|
629
|
+
used?: boolean;
|
|
626
630
|
data?: DeepLinkUrlParams;
|
|
627
631
|
};
|
|
628
632
|
export type DeepLinkCallback = (deepLinkData: DeepLinkContextData['data']) => void;
|
|
629
633
|
export interface DeepLinkContext {
|
|
630
634
|
$store: DeepLinkContextStore;
|
|
631
|
-
getDeepLinkData: () => DeepLinkContextData
|
|
635
|
+
getDeepLinkData: () => Pick<DeepLinkContextData, 'data' | 'used'>;
|
|
632
636
|
deepLinkUsed: (inviterId: string) => void;
|
|
633
637
|
onDeepLinkHandlers: Set<DeepLinkCallback>;
|
|
634
638
|
}
|
|
@@ -639,8 +643,6 @@ declare module "../../sdk-web-core/src/deepLink/index" {
|
|
|
639
643
|
}
|
|
640
644
|
interface StreamLayerSDK {
|
|
641
645
|
onDeepLinkHandled: (cb: DeepLinkCallback) => void;
|
|
642
|
-
deepLinkHandled: () => void;
|
|
643
|
-
getInviterId: () => string | undefined;
|
|
644
646
|
}
|
|
645
647
|
}
|
|
646
648
|
export const DEEP_LINK_PREFIX = "sldl";
|
|
@@ -800,11 +802,6 @@ declare module "../../react-ui/src/index" {
|
|
|
800
802
|
}>;
|
|
801
803
|
export { StreamLayerThemeProvider } from 'ui/theme';
|
|
802
804
|
}
|
|
803
|
-
declare module "../../sdk-web-logger/src/index" {
|
|
804
|
-
import { pino, ChildLoggerOptions } from 'pino';
|
|
805
|
-
export const createLogger: (name: string, options?: ChildLoggerOptions) => pino.Logger<never>;
|
|
806
|
-
export type Logger = ReturnType<typeof createLogger>;
|
|
807
|
-
}
|
|
808
805
|
declare module "../../sdk-web-notifications/src/queue/index" {
|
|
809
806
|
import { SingleStore, createComputedStore } from '../../sdk-web-interfaces/src/index.ts';
|
|
810
807
|
import { Notification } from "../../sdk-web-notifications/src/index";
|