triarc-erne-intrexx-com-lib
v1.0.1
Published
## Implementation
Readme
Erne Intrexx Integration
Implementation
Example for parent
import {TrComListener} from 'triarc-erne-intrexx-com-lib';
new TrComListener(true, {
'get-auth': async () => ({token: 'eyJhb.....'}),
'get-current-project-id': async () => ({projectNumber: '123'}),
'echo': async (data) => data,
});Example for client
import {TrComListener} from 'triarc-erne-intrexx-com-lib';
const client = new TrComClient(false);
const response = await this.client.send('echo', {message:'a'});