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

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