1.0.1 • Published 3 years ago

@ecomplus/apps-manager v1.0.1

Weekly downloads
66
License
AGPL-3.0
Repository
github
Last release
3 years ago

apps-manager

Publish CodeFactor npm version License AGPL

JS lib to manage E-Com Plus store applications

Changelog

Usage

The @ecomplus/apps-manager package can be used to work with E-Com Plus Market and Store API applications, with methods for apps search, install, edit and delete.

It's available for both Node.js and browser environments.

Example

import ecomAuth from '@ecomplus/auth'
import ecomApps from '@ecomplus/apps-manager'

ecomApps.listFromMarket()
  .then(availableApps => {
    console.log(availableApps)
  })
  .catch(console.error)

const listStoreApps = () => {
  ecomApps.list()
    .then(installedApps => {
      console.log(installedApps)
    })
    .catch(console.error)
}

if (ecomAuth.checkLogin()) {
  listStoreApps()
} else {
  ecomAuth.on('login', listStoreApps)
}
1.0.1

3 years ago

1.0.0

3 years ago

1.0.0-rc.4

3 years ago

1.0.0-rc.3

3 years ago

1.0.0-rc.2

3 years ago

1.0.0-rc.1

3 years ago

1.0.0-rc.0

3 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.0

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

5 years ago

0.0.1

5 years ago