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) 392 B
import{getCookieValue as r}from"./cookies.esm.js";import{createScopedLocalStorage as o}from"./local-storage.esm.js";import"../chunks/beam-errors-P-Lu07Ce.esm.js";import"./logger.esm.js";const a=(t,e)=>o(e).getItemJson("cart")?.beamCartId??r(t)??null,m=(t,e)=>o(e).getItemJson("cart")?.cartId??r(t)??null;export{a as getBeamCartId,m as getExternalCartId}; //# sourceMappingURL=cart.esm.js.map