@pmcretail/pmc-service

1.5.9 • Public • Published

pmc-service

pmc-service is a JavaScript library for creating login into PMC e-basket as well as to use cordova plugins

The pmc-service package contains only the functionality necessary to login and custom plugin usage. It is typically used to achieve login process expose for client the component.The pmc-service includes three enviroment for login namely QA,Pre-Production and Production

Note:

Install

npm i @pmcretail/pmc-service

Example Usage

import { PMCEnvironment, PMCLogin } from '@pmcretail/pmc-service';

PMCLogin("username","password","organizationCode",PMCEnvironment.qa)
 .then(function(value)
 {
  // Handle success full response
 })
 .catch(function(error) 
 {
  //Handle error
 })

Readme

Keywords

none

Package Sidebar

Install

npm i @pmcretail/pmc-service

Weekly Downloads

2

Version

1.5.9

License

MIT

Unpacked Size

60.3 kB

Total Files

6

Last publish

Collaborators

  • globalnpm
  • dewg
  • graphenetest
  • admininstaller
  • jay-gandhi
  • daniel.price
  • sampmc
  • khodakovskyia
  • sachisolanki-pmc
  • aakashbumiya
  • apatel10
  • manojpawar
  • hybriddev
  • winskille