@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) • 1.79 kB
JavaScript
import{b as t}from"../chunks/beam-errors-Ci0d3926.esm.js";import{e as a}from"../chunks/events-Dki0ka4F.esm.js";import{logger as i}from"./logger.js";import{initNetworkListeners as d}from"./network-listeners.js";import{createScopedLocalStorage as C}from"./local-storage.js";import{waitForElement as l}from"./wait-for-element.js";import{deleteCookieValue as S,getCookieMap as x,getCookieValue as P,setCookieValue as k}from"./cookies.js";import{getRemoteSession as c,saveRemoteSession as A}from"./remote-session.js";import{memoizeLast as L}from"./memoize-last.js";import{d as R,i as v}from"../chunks/lodash-D3TLHRR_.esm.js";import{formatStoreAndReturnPromoCodes as V,getAllPromoCodesFromCookie as b,getPromoCodeFromShopifyCookie as q,getPromoCodesFromCart as w,getPromoCodesLocalStorage as z,getSanitizedUrlForStorage as I,isEmptyPromoData as U,mapToUnvalidatedPromoCodes as h,mergeStoreAndReturnPromos as D,parseJsonStringArray as J,promoCodesAreEqual as M,setPromoCodeInCookie as N,setPromoCodesInLocalStorage as T}from"./promoManager.js";import"../chunks/promo-types-DKAOFHJr.esm.js";export{C as createScopedLocalStorage,R as debounce,S as deleteCookieValue,t as errors,a as events,V as formatStoreAndReturnPromoCodes,b as getAllPromoCodesFromCookie,x as getCookieMap,P as getCookieValue,q as getPromoCodeFromShopifyCookie,w as getPromoCodesFromCart,z as getPromoCodesLocalStorage,c as getRemoteSession,I as getSanitizedUrlForStorage,d as initNetworkListeners,U as isEmptyPromoData,v as isEqual,i as logger,h as mapToUnvalidatedPromoCodes,L as memoizeLast,D as mergeStoreAndReturnPromos,J as parseJsonStringArray,M as promoCodesAreEqual,A as saveRemoteSession,k as setCookieValue,N as setPromoCodeInCookie,T as setPromoCodesInLocalStorage,l as waitForElement};
//# sourceMappingURL=index.js.map