Skip to content

SDK_VERSION

SDK_VERSION

At a glance — The SDK version string, frozen at build time. Useful to tag logs or to include when reporting an issue to support.

Signature

import { SDK_VERSION } from '@nexpips/sdk-trading';
// e.g. SDK_VERSION === '0.1.0'

Example

meta/print-version
import { SDK_VERSION } from '@nexpips/sdk-trading';
/**
* Lire la version du SDK à l'exécution — utile dans les logs d'un bot ou
* pour le support. `SDK_VERSION` est une constante chaîne figée au build.
*/
export const runningSdkVersion = `nexpips-sdk@${SDK_VERSION}`;

Tag your logs with the running SDK version.

See also