send-sls-logger 0.0.37 → 0.0.38
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/index.d.ts +1 -1
- package/lib/mini.d.ts +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ interface Options extends WebTrackerBrowserOptions {
|
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/** 对最终发送的日志进行兜底处理,只能在init中使用 */
|
|
12
|
-
type FormatResult = (result:
|
|
12
|
+
type FormatResult = (result: any) => any;
|
|
13
13
|
|
|
14
14
|
interface initConfig {
|
|
15
15
|
/** 日志默认值,可以配置字符串或者function,如果是function,每次发送日志都会执行,通常用于获取当前页面的url等 */
|
package/lib/mini.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ interface Options extends WebTrackerBrowserOptions {
|
|
|
7
7
|
isMiniApp?: boolean;
|
|
8
8
|
}
|
|
9
9
|
/** 对最终发送的日志进行兜底处理,只能在init中使用 */
|
|
10
|
-
type FormatResult = (result:
|
|
10
|
+
type FormatResult = (result: any) => any;
|
|
11
11
|
|
|
12
12
|
interface initConfig {
|
|
13
13
|
/** 日志默认值,可以配置字符串或者function,如果是function,每次发送日志都会执行,通常用于获取当前页面的url等 */
|