npm install @wiotp/sdk --save
import {ApplicationClient, ApplicationConfig} from '@wiotp/sdk';
let appConfig = ApplicationConfig.parseEnvVars();
let appClient = new ApplicationClient(appConfig);
appClient.connect();
// Do stuff
appClient.disconnect();
import {DeviceClient, DeviceConfig} from '@wiotp/sdk';
let deviceConfig = DeviceConfig.parseEnvVars();
let deviceClient = new DeviceClient(deviceConfig);
deviceClient.connect();
// Do stuff
deviceClient.disconnect();
import {GatewayClient, GatewayConfig} from '@wiotp/sdk';
let gwConfig = GatewayConfig.parseEnvVars();
let gwClient = new GatewayClient(gwConfig);
gwClient.connect();
// Do stuff
gwClient.disconnect();
npm i
npm run build
npm login
npm publish .