@etainabl/nodejs-sdk 1.3.148 → 1.3.150

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -671,7 +671,7 @@ interface AutomationRunLog<DateType = Date | string> {
671
671
  lambdaMessageId: string;
672
672
  }
673
673
  interface AccountResult<IDType = ObjectId | string, DateType = Date | string> {
674
- accountId: IDType;
674
+ id: IDType;
675
675
  mpan: string;
676
676
  name: string;
677
677
  deviceId?: string;
package/dist/index.d.ts CHANGED
@@ -671,7 +671,7 @@ interface AutomationRunLog<DateType = Date | string> {
671
671
  lambdaMessageId: string;
672
672
  }
673
673
  interface AccountResult<IDType = ObjectId | string, DateType = Date | string> {
674
- accountId: IDType;
674
+ id: IDType;
675
675
  mpan: string;
676
676
  name: string;
677
677
  deviceId?: string;
package/dist/index.js CHANGED
@@ -16228,7 +16228,7 @@ var localFormat = import_winston.default.format.combine(
16228
16228
  var logger_default = (namespace, betterStackOptions) => {
16229
16229
  const transports = [new import_winston.default.transports.Console()];
16230
16230
  let logtail;
16231
- if (betterStackOptions?.betterstack && betterStackOptions?.betterStackToken && betterStackOptions?.betterStackHost) {
16231
+ if (betterStackOptions?.betterstack && betterStackOptions?.betterStackToken && betterStackOptions?.betterStackHost && (process.env.ENV === "prod" || process.env.ENV === "dev")) {
16232
16232
  logtail = new import_node.Logtail(betterStackOptions.betterStackToken, {
16233
16233
  endpoint: betterStackOptions.betterStackHost
16234
16234
  });