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

33 lines (30 loc) 2.26 kB
import { b as beamErrors } from './beam-errors-fXDkG1zo.esm.js'; import { e as events } from './events-ZCTR9JGZ.esm.js'; import { logger } from '../utils/logger.js'; import { initNetworkListeners } from '../utils/network-listeners.js'; import { createScopedLocalStorage } from '../utils/local-storage.js'; import { waitForElement } from '../utils/wait-for-element.js'; import { CookieChangeEvent, deleteCookieValue, getCookieMap, getCookieValue, setCookieValue } from '../utils/cookies.js'; import { getRemoteSession, saveRemoteSession } from '../utils/remote-session.js'; import { memoizeLast } from '../utils/memoize-last.js'; import debounce from 'lodash-es/debounce'; import isEqual from 'lodash-es/isEqual'; declare const index_CookieChangeEvent: typeof CookieChangeEvent; declare const index_createScopedLocalStorage: typeof createScopedLocalStorage; declare const index_debounce: typeof debounce; declare const index_deleteCookieValue: typeof deleteCookieValue; declare const index_events: typeof events; declare const index_getCookieMap: typeof getCookieMap; declare const index_getCookieValue: typeof getCookieValue; declare const index_getRemoteSession: typeof getRemoteSession; declare const index_initNetworkListeners: typeof initNetworkListeners; declare const index_isEqual: typeof isEqual; declare const index_logger: typeof logger; declare const index_memoizeLast: typeof memoizeLast; declare const index_saveRemoteSession: typeof saveRemoteSession; declare const index_setCookieValue: typeof setCookieValue; declare const index_waitForElement: typeof waitForElement; declare namespace index { export { index_CookieChangeEvent as CookieChangeEvent, index_createScopedLocalStorage as createScopedLocalStorage, index_debounce as debounce, index_deleteCookieValue as deleteCookieValue, beamErrors as errors, index_events as events, index_getCookieMap as getCookieMap, index_getCookieValue as getCookieValue, index_getRemoteSession as getRemoteSession, index_initNetworkListeners as initNetworkListeners, index_isEqual as isEqual, index_logger as logger, index_memoizeLast as memoizeLast, index_saveRemoteSession as saveRemoteSession, index_setCookieValue as setCookieValue, index_waitForElement as waitForElement }; } export { index as i };