@huolala-tech/page-spy-types
Advanced tools
Comparing version 1.9.2 to 1.9.3
import { SocketStoreType } from './base'; | ||
import { DataItem as ConsoleData } from './console'; | ||
import { DataItem as StorageData } from './storage'; | ||
import { DataItem as PageData } from './page'; | ||
import { DataItem as DatabaseData } from './database'; | ||
import { DataItem as SystemData } from './system'; | ||
import { RequestInfo } from './network'; | ||
@@ -56,6 +62,18 @@ export interface InitConfigBase { | ||
/** | ||
* | ||
* Indicate whether serialize non-primitive data in offline log. | ||
*/ | ||
serializeData?: boolean; | ||
/** | ||
* | ||
*/ | ||
dataProcessor?: { | ||
console?: (data: ConsoleData) => boolean; | ||
network?: (data: RequestInfo) => boolean; | ||
storage?: (data: StorageData) => boolean; | ||
database?: (data: DatabaseData) => boolean; | ||
page?: (data: PageData) => boolean; | ||
system?: (data: SystemData) => boolean; | ||
}; | ||
[key: string]: any; | ||
@@ -62,0 +80,0 @@ } |
export interface DataItem { | ||
html: string; | ||
location: Record<keyof Location, string>; | ||
location: Location; | ||
} |
{ | ||
"name": "@huolala-tech/page-spy-types", | ||
"version": "1.9.2", | ||
"version": "1.9.3", | ||
"description": "Types for PageSpy SDK", | ||
@@ -22,3 +22,3 @@ "license": "MIT", | ||
}, | ||
"gitHead": "a58bd8709a155b816e894788c507b25bf3464a11" | ||
"gitHead": "63f19ef319ea27265608f499d89edef5c36cb800" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
18625
637