UNPKG

filecoin-pin

Version:

Bridge IPFS content to Filecoin Onchain Cloud using familiar tools

16 lines 528 B
import { name as packageName, version as packageVersion } from '../utils/version.js'; export const getTelemetryConfig = (config) => { return { ...config, sentryInitOptions: { enabled: true, // allow config.enabled to override default ...config?.sentryInitOptions, }, sentrySetTags: { ...config?.sentrySetTags, filecoinPinVersion: `${packageName}@v${packageVersion}`, }, }; }; //# sourceMappingURL=telemetry-config.js.map