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) 287 B
import*as e from"ramda";import"zousan";function o(o,r,n){const p=JSON.parse(r);return Object.keys(p).forEach(r=>{const s=p[r];let t=o.plugins[r];if(!t&&n&&(t=o.plugins[r]={}),t){const o=t.deepLinkProps;t.deepLinkProps=o?e.mergeDeepRight(o,s):s}}),o}export{o as setStateFromStateString};