MCPcopy
hub / github.com/slackapi/node-slack-sdk / addAppMetadata

Function addAppMetadata

packages/web-api/src/instrument.ts:22–24  ·  view source on GitHub ↗
({ name, version }: { name: string, version: string })

Source from the content-addressed store, hash-verified

20 * @param appMetadata.version version of tool to be counted in instrumentation
21 */
22export function addAppMetadata({ name, version }: { name: string, version: string }): void {
23 appMetadata[replaceSlashes(name)] = version;
24}
25
26/**
27 * Returns the current User-Agent value for instrumentation

Callers 2

RTMClient.tsFile · 0.90
WebClient.spec.jsFile · 0.70

Calls 1

replaceSlashesFunction · 0.70

Tested by

no test coverage detected