Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@boozt/sis-tools

Package Overview
Dependencies
Maintainers
6
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boozt/sis-tools

The set of tools for SIS

latest
npmnpm
Version
0.2.6
Version published
Maintainers
6
Created
Source

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

Keywords

boozt

FAQs

Package last updated on 17 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts