{"version":3,"sources":["../../src/utils/collector.ts"],"sourcesContent":["/**\n * Utility for generating collector identification string\n */\n\nimport { PACKAGE_NAME, PACKAGE_VERSION } from '../version.js';\n\n/**\n * Collection methods available\n */\nexport type CollectionMethod = 'global-monitoring' | 'manual' | 'auto-monitor';\n\n/**\n * Gets the collector identification string\n * Format: \"packagename-X.Y.Z-method\"\n * @param method Optional collection method suffix\n * @returns Collector string identifying this SDK version and collection method\n */\nexport function getCollectorString(method?: CollectionMethod): string {\n  const base = `${PACKAGE_NAME}-${PACKAGE_VERSION}`;\n  return method ? `${base}-${method}` : base;\n}\n\n/**\n * Gets the package name\n */\nexport function getPackageName(): string {\n  return PACKAGE_NAME;\n}\n\n/**\n * Gets the package version\n */\nexport function getPackageVersion(): string {\n  return PACKAGE_VERSION;\n}"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAIA,qBAA8C;AAavC,SAAS,mBAAmB,QAAmC;AACpE,QAAM,OAAO,GAAG,2BAAY,IAAI,8BAAe;AAC/C,SAAO,SAAS,GAAG,IAAI,IAAI,MAAM,KAAK;AACxC;AAKO,SAAS,iBAAyB;AACvC,SAAO;AACT;AAKO,SAAS,oBAA4B;AAC1C,SAAO;AACT;","names":[]}