UNPKG

pcp-server-nodejs-sdk

Version:

[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=PAYONE-GmbH_PCP-server-nodeJS-SDK&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=PAYONE-GmbH_PCP-server-nodeJS-SDK) [![Coverage](https://sonarcloud.io/api/pr

10 lines 449 B
import * as os from 'os'; export class ServerMetaInfo { constructor(integrator) { this.platformIdentifier = `${os.platform()}, node version is: ${process.version}`; this.sdkIdentifier = 'NodeServerSDK/v1.2.0'; // version gets updated automatically after calling npm version <major|minor|patch> this.sdkCreator = 'PAYONE GmbH'; this.integrator = integrator || ''; } } //# sourceMappingURL=ServerMetaInfo.js.map