Files
klz-cables.com/.pnpm-store/v10/files/c7/25883bd4eef2dbdc8a3990f70c412c9b84e592769896fb666f51868ab811eeba2a7e37960b0748346cb07b2d8f26d0bc774eb6592931b78281ac9838b15e22
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

28 lines
737 B
Plaintext

Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const envelope = require('./envelope.js');
const time = require('./time.js');
/**
* Creates client report envelope
* @param discarded_events An array of discard events
* @param dsn A DSN that can be set on the header. Optional.
*/
function createClientReportEnvelope(
discarded_events,
dsn,
timestamp,
) {
const clientReportItem = [
{ type: 'client_report' },
{
timestamp: timestamp || time.dateTimestampInSeconds(),
discarded_events,
},
];
return envelope.createEnvelope(dsn ? { dsn } : {}, [clientReportItem]);
}
exports.createClientReportEnvelope = createClientReportEnvelope;
//# sourceMappingURL=clientreport.js.map