UNPKG

atriusmaps-node-sdk

Version:

This project provides an API to Atrius Personal Wayfinder maps within a Node environment. See the README.md for more information

2 lines (1 loc) 363 B
import e from"../../../src/extModules/flexapi/src/index.js";function t(t){const n=e();return t.bus.on("clientAPI/registerCommand",e=>n.registerCommand(e,e=>t.bus.get(`clientAPI/${e.command}`,e))),t.bus.on("clientAPI/registerCustomType",({name:e,spec:t})=>n.registerCustomType(e,t)),t.bus.on("clientAPI/execute",e=>n.execute(e)),{init:()=>{}}}export{t as create};