@elliemae/pui-logrocket 1.0.1 → 1.0.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/dist/cjs/logrocket.js +15 -4
- package/dist/esm/logrocket.js +15 -4
- package/dist/public/index.html +1 -1
- package/dist/public/js/{emuiLogrocket.39770f624a74bf9d8e47.js → emuiLogrocket.6856581ccca61dc0bae2.js} +17 -17
- package/dist/public/js/emuiLogrocket.6856581ccca61dc0bae2.js.br +0 -0
- package/dist/public/js/emuiLogrocket.6856581ccca61dc0bae2.js.gz +0 -0
- package/dist/public/js/emuiLogrocket.6856581ccca61dc0bae2.js.map +1 -0
- package/dist/types/lib/logrocket.d.ts +23 -1
- package/dist/types/lib/typings/window.d.ts +6 -0
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/dist/umd/index.js +16 -16
- package/dist/umd/index.js.br +0 -0
- package/dist/umd/index.js.gz +0 -0
- package/dist/umd/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/public/js/emuiLogrocket.39770f624a74bf9d8e47.js.br +0 -0
- package/dist/public/js/emuiLogrocket.39770f624a74bf9d8e47.js.gz +0 -0
- package/dist/public/js/emuiLogrocket.39770f624a74bf9d8e47.js.map +0 -1
|
@@ -1,6 +1,28 @@
|
|
|
1
1
|
import LogRocket from 'logrocket';
|
|
2
2
|
export type LROptions = Parameters<typeof LogRocket.init>[1] & {
|
|
3
|
+
/**
|
|
4
|
+
* unique identifier of the logrocket project
|
|
5
|
+
* @example 'your-project/your-app'
|
|
6
|
+
* @default window.emui.logRocketConfig.appId
|
|
7
|
+
*/
|
|
8
|
+
appId?: string;
|
|
9
|
+
/**
|
|
10
|
+
* indicates if the application is using react framework
|
|
11
|
+
* @default true
|
|
12
|
+
*/
|
|
3
13
|
isReact?: boolean;
|
|
4
14
|
};
|
|
5
|
-
|
|
15
|
+
/**
|
|
16
|
+
* initialize LogRocket
|
|
17
|
+
* @example
|
|
18
|
+
* initLogRocket({
|
|
19
|
+
* appId: 'your-project/your-app',
|
|
20
|
+
* isReact: true, // default is true
|
|
21
|
+
* rootHostname: '.ice.com', // default is .ice.com
|
|
22
|
+
* childDomains: ['.your-domain.com'], // default is null
|
|
23
|
+
* parentDomain: '.your-domain.com', // default is null
|
|
24
|
+
* });
|
|
25
|
+
* @param options LROptions option to initialize logrocket
|
|
26
|
+
*/
|
|
27
|
+
declare const initLogRocket: (options?: LROptions) => void;
|
|
6
28
|
export { LogRocket, initLogRocket };
|