0.0.1-alpha.13 • Published 3 years ago

@lcwd/developer-sdk v0.0.1-alpha.13

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

Developer SDK

Description

Installation

The package can be installed directly from NPM.

npm install --save @lcwd/developer-sdk

The NPM package is distributed both as a CommonJS and ES6 module. It should be used together with a module bundler, such as Webpack or Rollup.

We also distribute a UMD build of the package, which can be used directly in the browser.

<script src="https://unpkg.com/@lcwd/developer-sdk@latest/dist/developer-sdk.umd.min.js"></script>

Basic usage

const config: DeveloperAppConfig = {
    appId: "xxxxx",
    appAuth: {
        mode: "popup",
        accounts: {
            client_id: 'xxxxx',
            server_url: 'xxxxx',
        },
    },
    urls: {
        accounts: "xxxx".,
        api: {
            livechat: "xxxx",

        }
    }
};

const developerApp = await DeveloperApp.init(config);

...
developerApp.utils.reporting.notifyUserActivity();
developerApp.utils.reporting.sendError(ErrorType.5xx);
developerApp.utils.reporting.sendEvent(...);
0.0.1-alpha.13

3 years ago

0.0.1-alpha.12

3 years ago

0.0.1-alpha.11

3 years ago

0.0.1-alpha.10

3 years ago

0.0.1-alpha.9

3 years ago

0.0.1-alpha.8

3 years ago

0.0.1-alpha.5

3 years ago

0.0.1-alpha.4

3 years ago

0.0.1-alpha.3

3 years ago

0.0.1-alpha.2

3 years ago

0.0.1-alpha.1

3 years ago

0.0.0-alpha.8

3 years ago

0.0.0-alpha.7

3 years ago

0.0.0-alpha.6

3 years ago

0.0.0-alpha.5

3 years ago

0.0.0-alpha.4

3 years ago

0.0.0-alpha.3

3 years ago

0.0.0-alpha.2

3 years ago

0.0.0-alpha.1

3 years ago