0.1.5 • Published 5 years ago
@oculushealth/utils v0.1.5
@oculushealth/utils
Utils package that is used in the Oculushealth projects.
Environment Variables
Following environment variables are needed
    PLIVO_AUTH_ID
    PLIVO_AUTH_TOKEN
    PLIVO_PHLO_ID
    PLIVO_SOURCE_NUMBER
    ENC_ALGO
    ENC_SALT
    AWS_REGION_NAME
    MAILGUN_API_KEYExample usage
import {
  invokeLambda
} from "@oculushealth/utils";
(async function() {
  const response = await invokeLambda( {
    functionNme: "oh-lambda-function",
    invocationType: "RequestResponse",
    params: { organizationId: "", updatedAt: "" }
  });
})();