Options
All
  • Public
  • Public/Protected
  • All
Menu

Module "emitter"

Index

Functions

Const addDeviceSentTimestamp

  • addDeviceSentTimestamp(payload: PayloadDictionary): PayloadDictionary
  • Adds the 'stm' paramater with the current time to the payload

    Parameters

    • payload: PayloadDictionary

      The payload which will be mutated

    Returns PayloadDictionary

Const preparePayload

  • preparePayload(payload: PayloadDictionary): Record<string, string>
  • Convert all fields in a payload dictionary to strings

    Parameters

    • payload: PayloadDictionary

      Payload on which the new dictionary is based

    Returns Record<string, string>

Generated using TypeDoc