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-wrapperUsage
Config.setUrl('https://askstylo.com')
Config.setGlobalParams({ appName: 'Stylo Assist' });
const styloClient = new ZafClientWrapper(yourZendeskClientInstance);