package.build.cjs.propagationContext.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of utils Show documentation
Show all versions of utils Show documentation
Utilities for all Sentry JavaScript SDKs
Object.defineProperty(exports, '__esModule', { value: true });
const misc = require('./misc.js');
/**
* Returns a new minimal propagation context
*/
function generatePropagationContext() {
return {
traceId: misc.uuid4(),
spanId: misc.uuid4().substring(16),
};
}
exports.generatePropagationContext = generatePropagationContext;
//# sourceMappingURL=propagationContext.js.map