UNPKG

@beamimpact/web-sdk

Version:

The Beam SDK enables brands to connect with their customers over shared values, not transactional discounts, to build stronger loyalty. Our integration achieves this by allowing customers to (a) choose a nonprofit where the brand will donate part of their

3 lines (2 loc) 394 B
import{createScopedLocalStorage as o}from"./local-storage.esm.js";import"../chunks/beam-errors-Ci0d3926.esm.js";import"./logger.esm.js";const t="remote_session_id";function s({remoteSessionId:e,apiKey:i=""}){o({apiKey:i}).setItem(t,e)}function r({apiKey:e=""}){return o({apiKey:e}).getItem(t)}export{r as getRemoteSession,s as saveRemoteSession}; //# sourceMappingURL=remote-session.esm.js.map