Dialog Java Core
Installation
npm install --save @dlghq/dialog-java-core
Usage
import createCore from '@dlghq/dialog-java-core';
createCore({
endpoints: [],
customAppName: 'Dialog'
}, (messenger) => {
const user = messenger.getUser(messenger.getUid());
console.log({ user });
});