@parkwebit/ase-browser
v0.1.2
Published
Browser SDK for All Seeing Eye client-side telemetry and privacy-safe session context.
Readme
@parkwebit/ase-browser
Browser SDK for All Seeing Eye.
npm install @parkwebit/ase-browserimport { initAse } from '@parkwebit/ase-browser'
const ase = initAse({
dsn: import.meta.env.VITE_ASE_DSN,
release: import.meta.env.VITE_APP_VERSION,
environment: 'production',
captureWarnings: true,
sessionReplay: {
enabled: true,
captureClicks: true,
captureNavigation: true,
captureScroll: true,
captureTyping: true,
maskInputs: true,
},
})
ase.captureMessage('Checkout warning', 'warning')
ase.captureException(new Error('Checkout failed'))Privacy defaults:
- session replay is opt-in;
- input values are masked by default;
- password, email, telephone, hidden inputs and contenteditable values are never captured raw;
- request bodies, cookies and authorization headers are not captured;
- behavior data is sent as bounded breadcrumbs/extra context, not video.
