JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • 0
  • Score
    100M100P100Q51263F
  • License MIT

A utility library for Zendesk's App Framework that enables users to easily set global parameters for requests to a specific external host.

Package Exports

  • zendesk-request-wrapper
  • zendesk-request-wrapper/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (zendesk-request-wrapper) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Zendesk App's Framework Request Wrapper

This is a small typescript project that implements a wrapper around the ZAF client allowing for users to add in global params to all requests that go to a particular external host.

Installation

yarn add zendesk-request-wrapper

Usage

Config.setUrl('https://askstylo.com')
Config.setGlobalParams({ appName: 'Stylo Assist' });

const styloClient = new ZafClientWrapper(yourZendeskClientInstance);