0.2.6 • Published 2 years ago

@boozt/sis-tools v0.2.6

Weekly downloads
19
License
ISC
Repository
-
Last release
2 years ago

SIS Tools

The package of tools that can come in handy for developing Google Cloud Function as part of the SIS project (Salesforce integration service)

A tree of components

  • requestAssistant - Retrieve and handle requests
  • customError - Handle errors
    • Warning
    • CustomError
    • ReportError
  • logger - Instead of using console.log
  • helpers - Some useful functions
    • memoryUsage - Measure memory usage
  • client - The client can be used as an alternative of sfmc-modules
  • bin/inquire.js - Allows you to inquire if there have been errors as a result of an asynchronous request.
  • api - The API client

Settings

To use the client and inquire.js you should set up the following ENV variables:

  • SFMC_BASE_URL
  • SFMC_TOKEN_URL
  • SFMC_CLIENT_ID
  • SFMC_CLIENT_SECRET

You can use .env file to set up these variables

Example to run without using .env:

export SFMC_BASE_URL=""; export SFMC_TOKEN_URL=""; export SFMC_CLIENT_ID=""; export SFMC_CLIENT_SECRET=""; npm run inquire

Changelog

See: CHANGELOG.MD

0.2.6

2 years ago

0.2.5

3 years ago

0.2.4

3 years ago

0.2.3

4 years ago

0.2.2

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.0

4 years ago

0.0.1

4 years ago