This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

@pitcher/app-sdk

2.4.3 • Public • Published

Pitcher APP SDK

Quality Gate Status Coverage Maintainability Rating Reliability Rating Security Rating Vulnerabilities Technical Debt Bugs Code Smells Duplicated Lines (%) Lines of Code

Installation

$ yarn add @pitcher/app-sdk

or

$ npm install @pitcher/app-sdk

Usage

import { usePitcherAPI } from '@pitcher/app-sdk'

const pitcher = usePitcherAPI()

// low level api
const env1 = await pitcher.API.request('getEnv')

// high level api
const env2 = await pitcher.getEnv()

// events
pitcher.on('envChanged', (env) => {
  console.log('env changed', env)
})

Documentation

https://pitcher-ag.atlassian.net/wiki/spaces/PG/pages/334530467/JS+APP+SDK

For more API endpoint definitions:

https://pitcher-ag.atlassian.net/wiki/spaces/PG/pages/317260517/JS+API+for+Impact+NG+Specification

Keywords

none

Install

DownloadsWeekly Downloads

4

Version

2.4.3

License

none

Unpacked Size

53.3 MB

Total Files

1123

Last publish

Collaborators

  • chantter
  • digi604
  • geokal94
  • kouts
  • onurelibol
  • pegiadise
  • pit-joshua
  • pitcherci